aboutsummaryrefslogtreecommitdiffstats
path: root/src/game.c
diff options
context:
space:
mode:
authornathan <nathansmith@disroot.org>2025-07-06 17:11:56 +0000
committernathan <nathansmith@disroot.org>2025-07-06 17:11:56 +0000
commit255c938a77f8a73229b1867aadd10f3bf9c44f2e (patch)
tree7972e9a81d5e1a221bb160c7d82397c80b07fac7 /src/game.c
parentb00544e8f0e77c149d44dca3ab81d97a07fcea3f (diff)
downloadFindThings-255c938a77f8a73229b1867aadd10f3bf9c44f2e.tar.gz
FindThings-255c938a77f8a73229b1867aadd10f3bf9c44f2e.tar.bz2
FindThings-255c938a77f8a73229b1867aadd10f3bf9c44f2e.zip
Playing around with world generating a bit
Diffstat (limited to 'src/game.c')
-rw-r--r--src/game.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/game.c b/src/game.c
index 4de6a32..c97914b 100644
--- a/src/game.c
+++ b/src/game.c
@@ -18,19 +18,11 @@ void initGame(Game* game)
// Player.
game->player = createPlayer();
- game->player.position = (Vector3){50.0, 30.0, 50.0};
+ game->player.position = (Vector3){0.0, 30.0, 0.0};
// World.
game->world = createWorld(&game->assets);
- game->entities[0] = createEntity(OLD_MINT, (Vector3){100.0, 0.0, 100.0});
- game->entities[1] = createEntity(STICKY_NICKEL,
- (Vector3){100.0, 0.0, 105.0});
- game->entities[0].position.y = getWorldHeightAtLocation(game->world,
- 100, 100) + 1.0;
- game->entities[1].position.y = getWorldHeightAtLocation(game->world,
- 100, 105) + 1.0;
-
DisableCursor();
}
@@ -49,11 +41,6 @@ void updateGameScene(Game* game)
updateWorld(&game->world, game);
- for (int index = 0; index < 2; ++index)
- {
- updateEntity(&game->entities[index], game);
- }
-
EndMode3D();
}