projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20060812-2-src
[rocksndiamonds.git]
/
src
/
game.h
diff --git
a/src/game.h
b/src/game.h
index 10ae3eaf9e7a8378f79daecd7055b6d2be1bddef..1718f8357a61448cb2cb43868cb55521741c5b5a 100644
(file)
--- a/
src/game.h
+++ b/
src/game.h
@@
-20,8
+20,21
@@
#define MAX_NUM_KEYS 8
#define MAX_NUM_KEYS 8
+struct GamePanelInfo
+{
+ struct XY level;
+ struct XY gems;
+ struct XY inventory;
+ struct XY keys;
+ struct XY score;
+ struct XY time;
+};
+
struct GameInfo
{
struct GameInfo
{
+ /* values for control panel */
+ struct GamePanelInfo panel;
+
/* values for engine initialization */
int default_push_delay_fixed;
int default_push_delay_random;
/* values for engine initialization */
int default_push_delay_fixed;
int default_push_delay_random;
@@
-115,6
+128,8
@@
struct PlayerInfo
int last_move_dir;
int last_move_dir;
+ boolean is_active;
+
boolean is_waiting;
boolean is_moving;
boolean is_auto_moving;
boolean is_waiting;
boolean is_moving;
boolean is_auto_moving;