X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fmain.h;h=51fe54c7a7c213726c55d3f7a3655308bedfb1d5;hb=dd923608f42e41f8d77c5190e5ab613bbc7b6d21;hp=523b9793d550ae456770b8a07513e69f0703d461;hpb=df6224302f39ef4315c3d794bc8204d645ab0df7;p=rocksndiamonds.git diff --git a/src/main.h b/src/main.h index 523b9793..51fe54c7 100644 --- a/src/main.h +++ b/src/main.h @@ -43,6 +43,15 @@ #define DEFAULT_FULLSCREEN_MODE "800x600" +#define WIN_XSIZE_DEFAULT 672 +#define WIN_YSIZE_DEFAULT 560 + +#define SCR_FIELDX_DEFAULT 17 +#define SCR_FIELDY_DEFAULT 17 + +#define SXSIZE_DEFAULT (SCR_FIELDX_DEFAULT * TILEX) +#define SYSIZE_DEFAULT (SCR_FIELDY_DEFAULT * TILEY) + #define MAX_BUF_XSIZE (SCR_FIELDX + 2) #define MAX_BUF_YSIZE (SCR_FIELDY + 2) #define MIN_LEV_FIELDX 3 @@ -2243,7 +2252,38 @@ struct EditorButtonInfo { struct XY prev_level; struct XY next_level; + struct XY properties; + + struct XY draw_single; + struct XY draw_connected; + struct XY draw_line; + struct XY draw_arc; + struct XY draw_rectangle; + struct XY draw_filled_box; + struct XY rotate_up; + struct XY draw_text; + struct XY flood_fill; + struct XY rotate_left; + struct XY zoom_level; + struct XY rotate_right; + struct XY draw_random; + struct XY grab_brush; + struct XY rotate_down; + struct XY pick_element; + + struct XY ce_copy_from; + struct XY ce_copy_to; + struct XY ce_swap; + struct XY ce_copy; + struct XY ce_paste; + + struct XY undo; + struct XY conf; + struct XY save; + struct XY clear; + struct XY test; + struct XY exit; }; struct EditorInputInfo