rogged: re-seed on game-over; display seed in game-end screen
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I0178392036902a87b64fde63f5a5f56a6a6a6964
This commit is contained in:
parent
f51b754e76
commit
8bbca55b78
3 changed files with 16 additions and 8 deletions
|
|
@ -68,6 +68,7 @@
|
|||
#define END_OVERLAY (Color){0, 0, 0, 210}
|
||||
#define END_BOX_BG (Color){20, 20, 20, 240}
|
||||
#define END_BOX_BORDER (Color){100, 100, 100, 255}
|
||||
#define END_SEED (Color){150, 200, 255, 255}
|
||||
|
||||
// Portrait placeholder
|
||||
// FIXME: remove when player sprites are available
|
||||
|
|
@ -99,7 +100,7 @@ void render_floating_texts(FloatingText *texts, int count, int shake_x, int shak
|
|||
|
||||
// Render end screen (victory or death) with stats breakdown
|
||||
void render_end_screen(int is_victory, int kills, int items, int damage_dealt, int damage_taken, int crits,
|
||||
int times_hit, int potions, int floors, int turns, int score);
|
||||
int times_hit, int potions, int floors, int turns, int score, unsigned int seed);
|
||||
|
||||
// Render a message popup
|
||||
void render_message(const char *message);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue