aboutsummaryrefslogtreecommitdiffstats
path: root/src/game.h
diff options
context:
space:
mode:
authornathan <nathansmith@disroot.org>2025-07-04 14:06:42 +0000
committernathan <nathansmith@disroot.org>2025-07-04 14:06:42 +0000
commita5b8ea449bbb6fe30a6bf27843eab1df6a21ccef (patch)
tree1be8416daa7a089b058a351bf8abd29f636c09c5 /src/game.h
parent2b2b69ee31f00aa46ab6baa967e12437ce7334d1 (diff)
downloadFindThings-a5b8ea449bbb6fe30a6bf27843eab1df6a21ccef.tar.gz
FindThings-a5b8ea449bbb6fe30a6bf27843eab1df6a21ccef.tar.bz2
FindThings-a5b8ea449bbb6fe30a6bf27843eab1df6a21ccef.zip
Started getting walking on heightmap working
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/game.h b/src/game.h
index f25c97f..8c9969a 100644
--- a/src/game.h
+++ b/src/game.h
@@ -6,18 +6,20 @@
#ifndef GAME_H
#define GAME_H
-typedef enum SceneID {
+typedef enum {
MAIN_MENU_SCENE,
GAME_SCENE
} SceneID;
-typedef struct Game {
+struct Game {
SceneID sceneId;
Settings settings;
Assets assets;
Player player;
+
Model heightmap;
-} Game;
+ Color* heightmapColors;
+};
void initGame(Game* game);
void updateGame(Game* game);