X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_em%2Fmain_em.h;h=1cc7a5b5b36e0f457e35115ae01ecd1e95bfae94;hb=524cb50afe3b330d72c8d0487f3db251f8ffd7e8;hp=cf583dbb0716c56b96c0de1a71043557750b0dd9;hpb=86e1890b2d87dd7710b320e2b306c7291d41e2a5;p=rocksndiamonds.git diff --git a/src/game_em/main_em.h b/src/game_em/main_em.h index cf583dbb..1cc7a5b5 100644 --- a/src/game_em/main_em.h +++ b/src/game_em/main_em.h @@ -362,6 +362,18 @@ enum Xfake_door_6, Xfake_door_7, Xfake_door_8, + +#if 1 + Xfake_acid_1, + Xfake_acid_2, + Xfake_acid_3, + Xfake_acid_4, + Xfake_acid_5, + Xfake_acid_6, + Xfake_acid_7, + Xfake_acid_8, +#endif + Xsteel_1, Xsteel_2, Xsteel_3, @@ -595,11 +607,14 @@ struct PLAYER unsigned int oldx; unsigned int oldy; + unsigned int last_move_dir; + unsigned joy_n:1; unsigned joy_e:1; unsigned joy_s:1; unsigned joy_w:1; - unsigned joy_fire:1; + unsigned joy_snap:1; + unsigned joy_drop:1; unsigned joy_stick:1; unsigned joy_spin:1; }; @@ -617,6 +632,11 @@ struct PLAYER #define FILE_VERSION_EM_ACTUAL FILE_VERSION_EM_V6 +struct GlobalInfo_EM +{ + Bitmap *screenbuffer; +}; + struct LevelInfo_EM { int file_version; @@ -635,6 +655,13 @@ struct GraphicInfo_EM int dst_offset_x, dst_offset_y; int width, height; + Bitmap *crumbled_bitmap; + int crumbled_src_x, crumbled_src_y; + int crumbled_border_size; + + boolean has_crumbled_graphics; + boolean preserve_background; + int unique_identifier; /* used to identify needed screen updates */ };