aboutsummaryrefslogtreecommitdiff
path: root/src/GameLoop/startingScreen.c
diff options
context:
space:
mode:
authorUnavailableDev <69792062+UnavailableDev@users.noreply.github.com>2023-04-03 09:52:40 +0200
committerGitHub <noreply@github.com>2023-04-03 09:52:40 +0200
commit0a014f39c375c0cf28de70ebaab6cb0a5266f3c2 (patch)
tree4ee2404a1e796e8803035dd9285debcfdcb7bbea /src/GameLoop/startingScreen.c
parentd32a4942c7e16af5daf71a769906b17cb44de8e1 (diff)
parentcc23564547b736125fe7e7869de277ea4d4455ab (diff)
Merge branch 'lonkaars:dev' into dev
Diffstat (limited to 'src/GameLoop/startingScreen.c')
-rw-r--r--src/GameLoop/startingScreen.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/GameLoop/startingScreen.c b/src/GameLoop/startingScreen.c
deleted file mode 100644
index 4fc5af9..0000000
--- a/src/GameLoop/startingScreen.c
+++ /dev/null
@@ -1,32 +0,0 @@
-#include "startingScreen.h"
-#include "input.h"
-#include "engine/title_screen.h"
-#include "engine/draw_screen.h"
-// #include "engine/player_controller.h"
-
-bool hh_show_startingScreen(){
- static hh_e_screenStates hh_e_startingScreen = hh_e_STATE_SHOW;
-
- switch (hh_e_startingScreen)
- {
- case hh_e_STATE_SHOW:
- hh_clear_screen();
- hh_init_title_screen();
- hh_e_startingScreen = hh_e_STATE_Input;
- return false;
- break;
- case hh_e_STATE_Input:
- if(g_hh_controller_p1.button_primary){
- hh_e_startingScreen = hh_e_STATE_END;
- }
- break;
- case hh_e_STATE_END:
- hh_e_startingScreen = hh_e_STATE_SHOW;
- return true;
- break;
- default:
- hh_e_startingScreen = hh_e_STATE_SHOW;
- break;
- }
- return false;
-}