X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fmain.h;h=170a1fe53166293f95da3e79c30dbf5ca4450771;hb=bec4e2a1fb71569a3302583f71fbb11aa3f58b63;hp=506fecb570fa0e10e140349b6e14a3286df218ac;hpb=90a176e848f9a21c6352c8b9aba303441fcfc27a;p=rocksndiamonds.git diff --git a/src/main.h b/src/main.h index 506fecb5..170a1fe5 100644 --- a/src/main.h +++ b/src/main.h @@ -23,6 +23,7 @@ #include #include "libgame/libgame.h" +#include "libem/libem.h" #include "conf_gfx.h" /* include auto-generated data structure definitions */ #include "conf_snd.h" /* include auto-generated data structure definitions */ @@ -1529,6 +1530,8 @@ struct LevelInfo boolean use_custom_template; /* use custom properties from template file */ boolean no_valid_file; /* set when level file missing or invalid */ + + boolean changed; /* set when level was changed in the editor */ }; struct TapeInfo @@ -1580,6 +1583,10 @@ struct GameInfo int initial_move_delay_value; int initial_push_delay_value; + /* flags to handle bugs in and changes between different engine versions */ + /* (for the latest engine version, these flags should always be "FALSE") */ + boolean use_bug_change_when_pushing; + /* variable within running game */ int yamyam_content_nr; boolean magic_wall_active;