projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed default player name to "no name" for all but the first user
[rocksndiamonds.git]
/
src
/
game.h
diff --git
a/src/game.h
b/src/game.h
index a4b1b0c5951e11bf8e8f55e67b60c83dca41882c..0851c5400d29e4e1bdf1a134c6c07d1deb398bbc 100644
(file)
--- a/
src/game.h
+++ b/
src/game.h
@@
-4,7
+4,7
@@
// (c) 1995-2014 by Artsoft Entertainment
// Holger Schemel
// info@artsoft.org
// (c) 1995-2014 by Artsoft Entertainment
// Holger Schemel
// info@artsoft.org
-// http://www.artsoft.org/
+// http
s
://www.artsoft.org/
// ----------------------------------------------------------------------------
// game.h
// ============================================================================
// ----------------------------------------------------------------------------
// game.h
// ============================================================================
@@
-178,6
+178,10
@@
struct GameInfo
boolean max_num_changes_per_frame;
boolean use_reverse_scan_direction;
boolean max_num_changes_per_frame;
boolean use_reverse_scan_direction;
+ // flags to indicate which game actions are used in this game
+ boolean use_key_actions;
+ boolean use_mouse_actions;
+
// variable within running game
int yamyam_content_nr;
boolean robot_wheel_active;
// variable within running game
int yamyam_content_nr;
boolean robot_wheel_active;
@@
-215,7
+219,7
@@
struct GameInfo
// values for the new EMC elements
int lenses_time_left;
int magnify_time_left;
// values for the new EMC elements
int lenses_time_left;
int magnify_time_left;
- boolean ball_
stat
e;
+ boolean ball_
activ
e;
int ball_content_nr;
// values for player idle animation (no effect on engine)
int ball_content_nr;
// values for player idle animation (no effect on engine)
@@
-237,7
+241,7
@@
struct GameInfo
int centered_player_nr;
int centered_player_nr_next;
boolean set_centered_player;
int centered_player_nr;
int centered_player_nr_next;
boolean set_centered_player;
- boolean set_centered_player_
fast
;
+ boolean set_centered_player_
wrap
;
// values for random number generator initialization after snapshot
unsigned int num_random_calls;
// values for random number generator initialization after snapshot
unsigned int num_random_calls;