X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fmain.h;h=b0ebc13d67372c1f9335f00496161006f0bb2282;hb=d8edd05c7bc6f88a893fc52e3dd7008cf6e866c5;hp=3dd32c3dd986bfe8f6df2667001984e9bd2005a1;hpb=98a36b5814c35b32554409b491139104f3bf7a3c;p=rocksndiamonds.git diff --git a/src/main.h b/src/main.h index 3dd32c3d..b0ebc13d 100644 --- a/src/main.h +++ b/src/main.h @@ -2570,7 +2570,7 @@ enum // program information and versioning definitions #define PROGRAM_VERSION_SUPER 4 #define PROGRAM_VERSION_MAJOR 2 -#define PROGRAM_VERSION_MINOR 1 +#define PROGRAM_VERSION_MINOR 2 #define PROGRAM_VERSION_PATCH 1 #define PROGRAM_VERSION_EXTRA "" @@ -2894,6 +2894,11 @@ struct RequestInfo boolean autowrap; boolean centered; boolean wrap_single_words; + + // run-time values + Bitmap *bitmap; + int sx, sy; + int xsize, ysize; }; struct PreviewInfo @@ -3181,6 +3186,7 @@ struct LevelInfo boolean sb_objects_needed; // all Sokoban objects must be solved boolean auto_exit_sokoban; // automatically finish solved Sokoban levels boolean solved_by_one_player; // level is solved if one player enters exit + boolean finish_dig_collect; // only finished dig/collect triggers ce action boolean continuous_snapping; // repeated snapping without releasing key boolean block_snap_field; // snapping blocks field to show animation @@ -3198,6 +3204,8 @@ struct LevelInfo // ('int' instead of 'boolean' because used as selectbox value in editor) int use_step_counter; // count steps instead of seconds for level + int time_score_base; // use time score for 1 or 10 seconds/steps + short field[MAX_LEV_FIELDX][MAX_LEV_FIELDY]; boolean use_custom_template; // use custom properties from template file