Subversion Repositories Games.Chess Giants

Rev

Rev 171 | Rev 175 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 171 Rev 172
Line 253... Line 253...
253
   player_t players[2]; // game state data structure for both opposing sides (COLOR_BLACK and COLOR_WHITE)
253
   player_t players[2]; // game state data structure for both opposing sides (COLOR_BLACK and COLOR_WHITE)
254
   bool want_playerswap; // set to TRUE when a players swap is requested
254
   bool want_playerswap; // set to TRUE when a players swap is requested
255
   int game_state; // one of the STATE_XXX #defines that describe the game and victory state
255
   int game_state; // one of the STATE_XXX #defines that describe the game and victory state
256
   float lastmove_time; // date of last move
256
   float lastmove_time; // date of last move
257
   bool reevaluate; // set to TRUE if the game state should be reevaluated
257
   bool reevaluate; // set to TRUE if the game state should be reevaluated
-
 
258
   wchar_t game_rules[32]; // current rules, e.g. "standard", "blitz", "lightning", "untimed", "losers", "atomic"...
258
} board_t;
259
} board_t;
259
 
260
 
260
 
261
 
261
// scene object definition
262
// scene object definition
262
typedef struct sceneobject_s
263
typedef struct sceneobject_s