diff options
Diffstat (limited to 'src/demo.c')
-rw-r--r-- | src/demo.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -59,20 +59,22 @@ void hh_demo_loop(unsigned long frame) { } break; case hh_e_state_shop: - hh_shop(&hh_game_states); + hh_shop(&hh_game_states, &hh_game.shop); break; case hh_e_state_gameplay: hh_gameplay(&hh_game, &hh_game_states); break; case hh_e_state_game_over: - // todo: + // TODO: // function: show game over screen // function: after time goto high score + hh_game_states = hh_e_state_high_score; break; case hh_e_state_high_score: // todo: // fucntion: show all previously scored points // function: button pressed goto starting screen + hh_game_states = hh_e_state_starting_screen; break; default: hh_game_states = hh_e_state_starting_screen; |