]> git.pond.sub.org Git - empserver/blobdiff - include/game.h
Update known contributors comments
[empserver] / include / game.h
index 8a52509c5313f4a848b2d1ab84149d523fd06c18..9f77dc0ff875a3cdbb14153c9de917151ed96928 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2008, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2009, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                           Ken Stevens, Steve McClure
  *
  *  This program is free software; you can redistribute it and/or modify
@@ -26,9 +26,9 @@
  *  ---
  *
  *  game.h: The game file
- * 
+ *
  *  Known contributors to this file:
- *       Markus Armbruster, 2007-2008
+ *       Markus Armbruster, 2007-2009
  */
 
 #ifndef GAME_H
@@ -40,9 +40,11 @@ struct gamestr {
     /* initial part must match struct empobj */
     short ef_type;
     short game_uid;
+    unsigned game_seqno;
     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.
@@ -57,6 +59,9 @@ 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);
 extern int game_tick_to_now(short *);