Store game down flag in the game table
This avoids the silly opening of downfil all the time. For what it's worth, it also makes the information visible in xdump, as new game selector down.
This commit is contained in:
parent
f1d89514a5
commit
fe9f02ccfb
5 changed files with 36 additions and 2 deletions
|
@ -44,6 +44,7 @@ struct gamestr {
|
|||
time_t game_timestamp;
|
||||
/* end of part matching struct empobj */
|
||||
char game_upd_disable; /* updates disabled? */
|
||||
char game_down; /* playing disabled? */
|
||||
/*
|
||||
* The Empire clock.
|
||||
* Access it through game_tick_tick(), or else it'll be late.
|
||||
|
@ -58,6 +59,8 @@ struct gamestr {
|
|||
|
||||
extern void game_ctrl_update(int);
|
||||
extern int updates_disabled(void);
|
||||
extern void game_ctrl_play(int);
|
||||
extern int game_play_disabled(void);
|
||||
extern void game_note_bsanct(void);
|
||||
extern void game_record_update(time_t);
|
||||
extern struct gamestr *game_tick_tick(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue