X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fmain.h;h=1085907150c93f831b66040344b9becb1dfedb53;hb=0e661055e1233e585fb259832e4884f68d3833a4;hp=faf24a99a057b426d5411c8f517246d260bfabfa;hpb=c3fa9fcf03db2a48bbd8fa343b79a94c42d4cac3;p=rocksndiamonds.git diff --git a/src/main.h b/src/main.h index faf24a99..10859071 100644 --- a/src/main.h +++ b/src/main.h @@ -2051,6 +2051,11 @@ #define NUM_ENGINE_TYPES 4 +/* values for automatically playing tapes */ +#define AUTOPLAY_TEST 0 +#define AUTOPLAY_PLAY 1 +#define AUTOPLAY_FFWD 2 + struct BorderInfo { @@ -2322,6 +2327,11 @@ struct EditorPaletteInfo struct EditorPaletteElementInfo element_right; }; +struct EditorDrawingAreaInfo +{ + int tile_size; +}; + struct EditorInfo { struct EditorSettingsInfo settings; @@ -2329,6 +2339,7 @@ struct EditorInfo struct EditorButtonInfo button; struct EditorInputInfo input; struct EditorPaletteInfo palette; + struct EditorDrawingAreaInfo drawingarea; }; struct ViewportInfo @@ -2487,6 +2498,7 @@ struct LevelInfo boolean use_time_orb_bug; /* for compatibility with old levels */ boolean instant_relocation; /* no visual delay when relocating player */ boolean shifted_relocation; /* no level centering when relocating player */ + boolean lazy_relocation; /* only redraw off-screen player relocation */ boolean can_pass_to_walkable; /* player can pass to empty or walkable tile */ boolean grow_into_diggable; /* amoeba can grow into anything diggable */ boolean auto_exit_sokoban; /* automatically finish solved Sokoban levels */ @@ -2516,6 +2528,7 @@ struct GlobalInfo char *autoplay_leveldir; int autoplay_level[MAX_TAPES_PER_SET]; boolean autoplay_all; + boolean autoplay_mode; char *convert_leveldir; int convert_level_nr;