diff options
author | nathan <nathansmith@disroot.org> | 2025-07-04 14:06:42 +0000 |
---|---|---|
committer | nathan <nathansmith@disroot.org> | 2025-07-04 14:06:42 +0000 |
commit | a5b8ea449bbb6fe30a6bf27843eab1df6a21ccef (patch) | |
tree | 1be8416daa7a089b058a351bf8abd29f636c09c5 /src/game.c | |
parent | 2b2b69ee31f00aa46ab6baa967e12437ce7334d1 (diff) | |
download | FindThings-a5b8ea449bbb6fe30a6bf27843eab1df6a21ccef.tar.gz FindThings-a5b8ea449bbb6fe30a6bf27843eab1df6a21ccef.tar.bz2 FindThings-a5b8ea449bbb6fe30a6bf27843eab1df6a21ccef.zip |
Started getting walking on heightmap working
Diffstat (limited to 'src/game.c')
-rw-r--r-- | src/game.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -27,6 +27,9 @@ void initGame(Game* game) game->heightmap.materials[0].maps[MATERIAL_MAP_DIFFUSE].texture = game->assets.textures[HEIGHT_MAP_TEXTURE]; + game->heightmapColors = LoadImageColors( + game->assets.images[HEIGHT_MAP_IMAGE]); + DisableCursor(); } @@ -73,5 +76,6 @@ void closeGame(Game* game) { closeAssets(&game->assets); UnloadModel(game->heightmap); + UnloadImageColors(game->heightmapColors); CloseWindow(); } |