map: implement seeded generation; allow passing custom seed

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I742b7e59c7ca872539d4ebfe3a03b44f6a6a6964
This commit is contained in:
raf 2026-04-10 10:43:03 +03:00
commit f51b754e76
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
3 changed files with 32 additions and 8 deletions

View file

@ -173,6 +173,8 @@ typedef struct {
int potions_used;
int floors_reached;
int final_score;
// Seed for this run
unsigned int run_seed;
} GameState;