aboutsummaryrefslogtreecommitdiff
path: root/src/game.c
diff options
context:
space:
mode:
authornathansmithsmith <thenathansmithsmith@gmail.com>2023-12-22 02:13:13 -0700
committernathansmithsmith <thenathansmithsmith@gmail.com>2023-12-22 02:13:13 -0700
commitad66d7ade0528829a48ac4426d952ec882ef4329 (patch)
treea5f2b6b4d74575b4718c84c99c8861d696cb2046 /src/game.c
parent18c26edd6bae8ce5bd26e0ab632086725f492871 (diff)
Started working on info screen
Diffstat (limited to 'src/game.c')
-rw-r--r--src/game.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game.c b/src/game.c
index e39901e..a5bec7b 100644
--- a/src/game.c
+++ b/src/game.c
@@ -22,6 +22,9 @@ void initGame(Game * game) {
// How to play screen.
initHowToPlayScreen(game);
+ // Info screen.
+ initInfoScreen(game);
+
// Camera.
initCameras(game, game->cameras);
@@ -68,6 +71,10 @@ void updateGame(Game * game) {
break;
case HOW_TO_PLAY_SCREEN:
updateHowToPlayScreen(game);
+ break;
+ case INFO_SCREEN:
+ updateInfoScreen(game);
+ break;
default:
break;
}