X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fmain.h;h=aeceace327d92fc67579bd6cd9e0b27d1d61a199;hb=686d4883428879e2e882222a6579e376d9e4ac4c;hp=8e1546fe86b29214ed20241d1966854ed1aa577f;hpb=ba9b97935eee3017ffdbad3d0c06d3c47a74c49a;p=rocksndiamonds.git diff --git a/src/main.h b/src/main.h index 8e1546fe..aeceace3 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 @@ -1976,7 +1985,7 @@ #define PROGRAM_TITLE_STRING "Rocks'n'Diamonds" #define PROGRAM_AUTHOR_STRING "Holger Schemel" -#define PROGRAM_COPYRIGHT_STRING "Copyright \xa9""1995-2014 by Holger Schemel" +#define PROGRAM_COPYRIGHT_STRING "Copyright \xa9""1995-2015 by Holger Schemel" #define PROGRAM_EMAIL_STRING "info@artsoft.org" #define PROGRAM_WEBSITE_STRING "http://www.artsoft.org/" #define PROGRAM_GAME_BY_STRING "A Game by Artsoft Entertainment" @@ -2239,10 +2248,75 @@ struct PreviewInfo int anim_mode; }; +struct EditorTabsInfo +{ + int x; + int y; + int yoffset2; + int width; + int height; + int draw_xoffset; + int draw_yoffset; +}; + +struct EditorSettingsInfo +{ + struct MenuPosInfo headline; + + struct XY element_graphic; + struct XY element_name; + + struct EditorTabsInfo tabs; +}; + +struct EditorGadgetInfo +{ + int normal_spacing; + int small_spacing; + int tiny_spacing; + int line_spacing; + int text_spacing; + int tab_spacing; + + struct Rect separator_line; +}; + 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 @@ -2269,6 +2343,8 @@ struct EditorPaletteInfo struct EditorInfo { + struct EditorSettingsInfo settings; + struct EditorGadgetInfo gadget; struct EditorButtonInfo button; struct EditorInputInfo input; struct EditorPaletteInfo palette;