aboutsummaryrefslogtreecommitdiffstats
path: root/src/game.c
diff options
context:
space:
mode:
authornathan <nathansmith@disroot.org>2026-01-10 10:25:32 +0000
committernathan <nathansmith@disroot.org>2026-01-10 10:25:32 +0000
commit013ac4a2f4ae24d71f425f31edd77a8e29ed1da8 (patch)
treedffc4b36c7c94a734940d0e3fac3536be99c2ad6 /src/game.c
parent6e0fabd2798d7e602e243a35a922703cde7ef750 (diff)
downloadFindThings-013ac4a2f4ae24d71f425f31edd77a8e29ed1da8.tar.gz
FindThings-013ac4a2f4ae24d71f425f31edd77a8e29ed1da8.tar.bz2
FindThings-013ac4a2f4ae24d71f425f31edd77a8e29ed1da8.zip
Working on inventory
Diffstat (limited to 'src/game.c')
-rw-r--r--src/game.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game.c b/src/game.c
index fb7e01d..06ce527 100644
--- a/src/game.c
+++ b/src/game.c
@@ -95,6 +95,9 @@ void initGame(Game* game)
initInteractionChat(&game->interactionChat, &game->settings);
initInteractionMenu(&game->interactionMenu, &game->settings);
+ // Inventory.
+ initInventory(&game->inventory);
+
disableGameCursor(game);
}
@@ -324,6 +327,7 @@ void updateGameScene(Game* game)
updateGameStatus(game);
updateInteractionChat(&game->interactionChat, game);
updateInteractionMenu(&game->interactionMenu, game);
+ updateInventory(&game->inventory);
}
void handleGameResize(Game* game)