aboutsummaryrefslogtreecommitdiffstats
path: root/src/game.c
diff options
context:
space:
mode:
authornathan <nathansmith@disroot.org>2026-01-14 11:22:09 +0000
committernathan <nathansmith@disroot.org>2026-01-14 11:22:09 +0000
commit1b6cb396a429310e2d374fb276efbefe3f6c2fc7 (patch)
treed52c1797e128fd275a21e07dc8fb737b490c5d09 /src/game.c
parentbbce25930d9910c715245f5d87a108ab1dac3426 (diff)
downloadFindThings-1b6cb396a429310e2d374fb276efbefe3f6c2fc7.tar.gz
FindThings-1b6cb396a429310e2d374fb276efbefe3f6c2fc7.tar.bz2
FindThings-1b6cb396a429310e2d374fb276efbefe3f6c2fc7.zip
Funnies
Diffstat (limited to 'src/game.c')
-rw-r--r--src/game.c17
1 files changed, 3 insertions, 14 deletions
diff --git a/src/game.c b/src/game.c
index ee1888c..85f17de 100644
--- a/src/game.c
+++ b/src/game.c
@@ -1,9 +1,6 @@
#include "game.h"
#include "utils.h"
-#include "mad-libs.h"
-#include "time.h"
-
void resetScreenScale(Game* game)
{
Texture texture = game->screen.render.texture;
@@ -84,7 +81,9 @@ void initGame(Game* game)
CUBEMAP_LAYOUT_AUTO_DETECT);
// World.
- game->world = createWorld(345893, &game->assets);
+ Seed seed = 345893;
+ game->world = createWorld(seed, &game->assets);
+ game->strangeTalkSeed = 7373;
// Player.
game->player = createPlayer();
@@ -102,16 +101,6 @@ void initGame(Game* game)
initInventory(&game->inventory, &game->settings);
disableGameCursor(game);
-
- /* char randomWord[MAD_LIBS_MAX]; */
- /* getRandomMapLibsWord(randomWord, '@', -time(NULL)); */
- /* printf("word thingy: %s\n", randomWord); */
-
- char randomThingy[512];
- mapLibs(randomThingy, "I bet your a @j @n who likes to @v to pay for @n", 512,
- -time(NULL));
- printf("hehehe: %s\n", randomThingy);
-
}
void updateMainMenuScene(Game* game)