diff options
author | nathansmithsmith <nathansmith7@mailfence.com> | 2023-09-18 19:03:52 -0600 |
---|---|---|
committer | nathansmithsmith <nathansmith7@mailfence.com> | 2023-09-18 19:03:52 -0600 |
commit | 9d42d9dcc3b492951785b35e08f0851842d7d148 (patch) | |
tree | 3d8bd6002ca34941bcac6235f60d90e35974ac22 /src/game.c | |
parent | 2c3290f9edebbde37737cc446a0e9f93e9430c06 (diff) |
Started working on some gui stuff
Diffstat (limited to 'src/game.c')
-rw-r--r-- | src/game.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -19,6 +19,9 @@ void initGame(Game * game) { // Camera. initPlayerCamera(&game->playerCamera); + + // Game screen. + initGameScreen(&game->gameScreen); // World. initWorld(&game->world); @@ -49,6 +52,7 @@ void initGame(Game * game) { void closeGame(Game * game) { unloadAssets(&game->assets); freeWorld(&game->world); + freeGameScreen(&game->gameScreen); // Close window last. CloseWindow(); |