aboutsummaryrefslogtreecommitdiffstats
path: root/src/game.c
diff options
context:
space:
mode:
authornathan <nathansmith@disroot.org>2025-11-24 09:49:11 +0000
committernathan <nathansmith@disroot.org>2025-11-24 09:49:11 +0000
commite3d80fbb561d43e53d8fd7bac49f46dbadfd291e (patch)
tree920c21c727da1c9488cc2f023e7317c5a93b5fc8 /src/game.c
parentfc72bf3d757340382ad8e422eb31e701577544f8 (diff)
downloadFindThings-e3d80fbb561d43e53d8fd7bac49f46dbadfd291e.tar.gz
FindThings-e3d80fbb561d43e53d8fd7bac49f46dbadfd291e.tar.bz2
FindThings-e3d80fbb561d43e53d8fd7bac49f46dbadfd291e.zip
Working on things and broke something
This reverts commit fc72bf3d757340382ad8e422eb31e701577544f8.
Diffstat (limited to 'src/game.c')
-rw-r--r--src/game.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game.c b/src/game.c
index 6f87639..e2cf7e8 100644
--- a/src/game.c
+++ b/src/game.c
@@ -82,6 +82,9 @@ void initGame(Game* game)
game->player.camera.fovy = game->settings.fov;
game->player.position = Vector3Scale(game->world.size, 0.5);
+ // Map.
+ initMap(&game->map, &game->settings);
+
disableGameCursor(game);
}
@@ -182,6 +185,8 @@ void updateGameScene(Game* game)
drawGameScreen(game);
+ updateMap(&game->map, game);
+
// Cross hair.
if (IsKeyPressed(game->settings.toggleCrossHairKey))
{