diff options
author | UnavailableDev <69792062+UnavailableDev@users.noreply.github.com> | 2023-04-03 18:03:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-03 18:03:36 +0200 |
commit | f47d082d2fb2d5e5b5a4d3e685d8d093699938d7 (patch) | |
tree | c1ccb7a2dcda405df3ab850f66927e9b3d12c7c3 /src/GameLoop/startingScreen.c | |
parent | 68862666219c07ee62c9e59dd6866c1c7b26cc00 (diff) | |
parent | 9166352dfabdb0732d222be5d4ed10953f12a872 (diff) |
Merge pull request #50 from heavydemon21/dev
player controller update
Diffstat (limited to 'src/GameLoop/startingScreen.c')
-rw-r--r-- | src/GameLoop/startingScreen.c | 32 |
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; -} |