map: implement seeded generation; allow passing custom seed
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I742b7e59c7ca872539d4ebfe3a03b44f6a6a6964
This commit is contained in:
parent
09f7e659b5
commit
f51b754e76
3 changed files with 32 additions and 8 deletions
|
|
@ -173,6 +173,8 @@ typedef struct {
|
|||
int potions_used;
|
||||
int floors_reached;
|
||||
int final_score;
|
||||
// Seed for this run
|
||||
unsigned int run_seed;
|
||||
} GameState;
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue