projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20040301-1-src
[rocksndiamonds.git]
/
src
/
main.h
diff --git
a/src/main.h
b/src/main.h
index 370d28910103f66e59f26e633d23cff59ed1bd4b..e40f4d8858c266354c05ceb91ae1d068da0a492b 100644
(file)
--- a/
src/main.h
+++ b/
src/main.h
@@
-1372,6
+1372,7
@@
struct PlayerInfo
int shield_deadly_time_left;
int inventory_element[MAX_INVENTORY_SIZE];
int shield_deadly_time_left;
int inventory_element[MAX_INVENTORY_SIZE];
+ int inventory_infinite_element;
int inventory_size;
};
int inventory_size;
};
@@
-1422,7
+1423,7
@@
struct LevelInfo
int time_light;
int time_timegate;
int time_light;
int time_timegate;
- int can_move_into_acid
;
/* bits indicate property for element groups */
+ int can_move_into_acid
_bits;
/* bits indicate property for element groups */
boolean double_speed;
boolean initial_gravity;
boolean double_speed;
boolean initial_gravity;
@@
-1431,6
+1432,8
@@
struct LevelInfo
boolean sp_block_last_field; /* player blocks previous field while moving */
boolean use_spring_bug; /* for compatibility with old levels */
boolean sp_block_last_field; /* player blocks previous field while moving */
boolean use_spring_bug; /* for compatibility with old levels */
+ int use_step_counter; /* count steps instead of seconds for level */
+
short field[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
boolean use_custom_template; /* use custom properties from template file */
short field[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
boolean use_custom_template; /* use custom properties from template file */
@@
-1843,7
+1846,7
@@
extern int ZX, ZY;
extern int ExitX, ExitY;
extern int AllPlayersGone;
extern int ExitX, ExitY;
extern int AllPlayersGone;
-extern int TimeFrames, TimePlayed, TimeLeft;
+extern int TimeFrames, TimePlayed, TimeLeft
, TapeTime
;
extern boolean SiebAktiv;
extern int SiebCount;
extern boolean SiebAktiv;
extern int SiebCount;