X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_em%2Femerald.h;h=63009f63d3f67d332debda4dd93ab87481f04e64;hb=2174ec0a6b545b47aaea3153ef9a67993fc59a93;hp=8b5e05f2b4fb708041f4f31ef7ac35a1d82bc8a0;hpb=76966ac62fb1c36c12b64d60915afcbe149635ff;p=rocksndiamonds.git diff --git a/src/game_em/emerald.h b/src/game_em/emerald.h index 8b5e05f2..63009f63 100644 --- a/src/game_em/emerald.h +++ b/src/game_em/emerald.h @@ -620,14 +620,14 @@ enum struct PLAYER { + int num; /* player number */ int anim; + 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 */ @@ -637,13 +637,13 @@ struct PLAYER 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