X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_em%2Femerald.h;h=a74769fd9f08855bd2b788d1bab7e56d38e8644f;hb=038fb64da88a05a91c974dc1e3b14cf4cdc69743;hp=50038d4d2135a3ed5cba9a795d4a0514b6370f1f;hpb=fc74bc0bdaa45f861017061025c56f3148cf1b59;p=rocksndiamonds.git diff --git a/src/game_em/emerald.h b/src/game_em/emerald.h index 50038d4d..a74769fd 100644 --- a/src/game_em/emerald.h +++ b/src/game_em/emerald.h @@ -620,20 +620,20 @@ enum struct PLAYER { - int num; - int exists; - int alive_initial; - int alive; - - int dynamite; - int dynamite_cnt; - int keys; int anim; - int x; int y; - int oldx; - int oldy; + 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 */ + + int dynamite; /* number of pieces of collected dynamite */ + int dynamite_cnt; /* how long the player has held down fire */ + int keys; /* keys the player has collected */ int last_move_dir; @@ -644,7 +644,6 @@ struct PLAYER int joy_snap:1; int joy_drop:1; int joy_stick:1; - int joy_spin:1; }; struct LOGIC