projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed bug with synchronization problem with "play again" in network mode
[rocksndiamonds.git]
/
src
/
game.h
diff --git
a/src/game.h
b/src/game.h
index 947d4662653923e0ea14e8ad15a06a9e72979c2e..bd26e264633cf7d6cea0c9f413bffaa9bd7cf5d0 100644
(file)
--- a/
src/game.h
+++ b/
src/game.h
@@
-208,6
+208,9
@@
struct GameInfo
/* trigger message to ask for restarting the game */
char *restart_game_message;
/* trigger message to ask for restarting the game */
char *restart_game_message;
+ /* values for special request dialog control */
+ boolean request_active;
+
/* values for special game control */
int centered_player_nr;
int centered_player_nr_next;
/* values for special game control */
int centered_player_nr;
int centered_player_nr_next;
@@
-414,6
+417,11
@@
void RaiseScoreElement(int);
void RequestQuitGameExt(boolean, boolean, char *);
void RequestQuitGame(boolean);
void RequestRestartGame(char *);
void RequestQuitGameExt(boolean, boolean, char *);
void RequestQuitGame(boolean);
void RequestRestartGame(char *);
+void CheckGameOver(void);
+
+boolean checkGameSolved(void);
+boolean checkGameFailed(void);
+boolean checkGameEnded(void);
unsigned int InitEngineRandom_RND(int);
unsigned int RND(int);
unsigned int InitEngineRandom_RND(int);
unsigned int RND(int);