aboutsummaryrefslogtreecommitdiff
path: root/src/demo.c
diff options
context:
space:
mode:
authorUnavailableDev <69792062+UnavailableDev@users.noreply.github.com>2023-04-07 11:27:22 +0200
committerGitHub <noreply@github.com>2023-04-07 11:27:22 +0200
commit23db4dc8f94d174c2e291d5f12fab55097700c70 (patch)
tree8f35ef5263fc17dd39a51109a0a1d53839ccce0d /src/demo.c
parentb2c58b8d52717f8b5bf04d87b9799c7467e4eeb6 (diff)
parent0257e8e106e4cef0aeac673468370b443ef78bc3 (diff)
Merge pull request #61 from UnavailableDev/dev
added highscore screen with kb nav
Diffstat (limited to 'src/demo.c')
-rw-r--r--src/demo.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/demo.c b/src/demo.c
index d072dbc..fd008bd 100644
--- a/src/demo.c
+++ b/src/demo.c
@@ -14,6 +14,7 @@
#include "engine/level_const.h"
#include "game_loop/starting_screen.h"
+#include "game_loop/high_score.h"
#include "game_loop/gameplay.h"
#include "game_loop/shop.h"
@@ -76,7 +77,8 @@ void hh_demo_loop(unsigned long frame) {
// todo:
// fucntion: show all previously scored points
// function: button pressed goto starting screen
- hh_game_states = hh_e_state_starting_screen;
+ hh_high_score(&hh_game_states);
+ // hh_game_states = hh_e_state_starting_screen;
break;
default:
hh_game_states = hh_e_state_starting_screen;