diff options
author | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-07-18 05:54:30 -0600 |
---|---|---|
committer | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-07-18 05:54:30 -0600 |
commit | f3f5fedbf591c10fa675a32103bab9480b42abe8 (patch) | |
tree | 54b46a23279cc45091393762c0d01b9c3637b729 /src/game.c | |
parent | 77a06748f9f394486cad833e2ca351e8dbcc7361 (diff) |
Bullet system added
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); + + // Bullets. + initBullets(&game->bullets); // World. initWorld(&game->world); @@ -39,6 +42,7 @@ void initGame(Game * game) { void closeGame(Game * game) { unloadAssets(&game->assets); + freeBullets(&game->bullets); freeWorld(&game->world); // Close window last. |