X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fmain.h;h=33725179f04d35d79bd0d625776c6cf72d81be47;hb=d298323ec00b208324df23aecff55a808efce26a;hp=f9ffaac88eb05fd1a4231cacdcddab8bdef8a9e0;hpb=c4245ac7001dbd6a10e085ac72962611f43a1e90;p=rocksndiamonds.git diff --git a/src/main.h b/src/main.h index f9ffaac8..33725179 100644 --- a/src/main.h +++ b/src/main.h @@ -75,6 +75,7 @@ ((x) >= (xmin) && (x) <= (xmax) && \ (y) >= (ymin) && (y) <= (ymax)) +#define IN_PIX_FIELD(x, y) IN_FIELD(x, y, SXSIZE, SYSIZE) #define IN_VIS_FIELD(x, y) IN_FIELD(x, y, SCR_FIELDX, SCR_FIELDY) #define IN_LEV_FIELD(x, y) IN_FIELD(x, y, lev_fieldx, lev_fieldy) #define IN_SCR_FIELD(x, y) IN_FIELD_MINMAX(x,y, BX1,BY1, BX2,BY2) @@ -2765,6 +2766,7 @@ struct DoorInfo int height; int step_offset; int step_delay; + int post_delay; int anim_mode; }; @@ -2816,6 +2818,8 @@ struct EditorSettingsInfo struct XY element_name; struct EditorTabsInfo tabs; + + struct XY tooltip; }; struct EditorGadgetInfo