diff options
Diffstat (limited to 'src/game.c')
| -rw-r--r-- | src/game.c | 17 |
1 files changed, 3 insertions, 14 deletions
@@ -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) |
