projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added various new element action sounds to native BD engine
[rocksndiamonds.git]
/
src
/
game_em
/
emerald.h
diff --git
a/src/game_em/emerald.h
b/src/game_em/emerald.h
index 8b5e05f2b4fb708041f4f31ef7ac35a1d82bc8a0..01219b9ea9726f4a9d743f70117ad05f8aced617 100644
(file)
--- a/
src/game_em/emerald.h
+++ b/
src/game_em/emerald.h
@@
-112,6
+112,15
@@
enum
Xfake_acid_7,
Xfake_acid_8,
Xfake_acid_7,
Xfake_acid_8,
+ Xfake_acid_1_player, /* newly added to EM engine */
+ Xfake_acid_2_player,
+ Xfake_acid_3_player,
+ Xfake_acid_4_player,
+ Xfake_acid_5_player,
+ Xfake_acid_6_player,
+ Xfake_acid_7_player,
+ Xfake_acid_8_player,
+
Xgrass,
Ygrass_nB,
Ygrass_eB,
Xgrass,
Ygrass_nB,
Ygrass_eB,
@@
-620,14
+629,14
@@
enum
struct PLAYER
{
struct PLAYER
{
+ int num; /* player number */
int anim;
int anim;
+
int x;
int y;
int prev_x;
int prev_y;
int x;
int y;
int prev_x;
int prev_y;
- int num; /* player number */
-
boolean exists; /* flag if player exists in cave */
boolean alive; /* flag if player is alive */
boolean exists; /* flag if player exists in cave */
boolean alive; /* flag if player is alive */
@@
-637,13
+646,13
@@
struct PLAYER
int last_move_dir;
int last_move_dir;
-
int joy_n:1
;
-
int joy_e:1
;
-
int joy_s:1
;
-
int joy_w:1
;
-
int joy_snap:1
;
-
int joy_drop:1
;
-
int joy_stick:1
;
+
boolean joy_n
;
+
boolean joy_e
;
+
boolean joy_s
;
+
boolean joy_w
;
+
boolean joy_snap
;
+
boolean joy_drop
;
+
boolean joy_stick
;
};
struct LOGIC
};
struct LOGIC
@@
-702,6
+711,7
@@
struct LOGIC
int eater_pos; /* counter for eater array position */
int shine_cnt; /* counter for emerald/diamond shining */
int eater_pos; /* counter for eater array position */
int shine_cnt; /* counter for emerald/diamond shining */
+ int num_eater_arrays; /* number of eater data arrays used */
int num_ball_arrays; /* number of ball data arrays used */
int home_initial; /* number of players (initial) */
int num_ball_arrays; /* number of ball data arrays used */
int home_initial; /* number of players (initial) */
@@
-709,6
+719,8
@@
struct LOGIC
/* 0 == all players at home */
boolean testmode; /* test mode */
/* 0 == all players at home */
boolean testmode; /* test mode */
+ boolean infinite; /* flag for infinitely wide cave */
+ boolean infinite_true; /* flag for truely infinitely wide cave */
boolean killed_out_of_time; /* kill player due to time out */
int exit_x, exit_y; /* kludge for playing player exit sound */
boolean killed_out_of_time; /* kill player due to time out */
int exit_x, exit_y; /* kludge for playing player exit sound */