X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fconf_gfx.c;h=1a14bf85c2b9158dbfa06d14d6dbf7c3cc99ba81;hp=7fe204c964282c5bc09048cf567e4f50227875dc;hb=e14d20831f1abdbcfccd5c8afcaf715e3849f468;hpb=0d94a23b362fe86e235879506500512a1a6d1486 diff --git a/src/conf_gfx.c b/src/conf_gfx.c index 7fe204c9..1a14bf85 100644 --- a/src/conf_gfx.c +++ b/src/conf_gfx.c @@ -52,7 +52,7 @@ struct ConfigTypeInfo image_config_suffix[] = { ".position", ARG_UNDEFINED, TYPE_STRING }, { ".draw_xoffset", "0", TYPE_INTEGER }, { ".draw_yoffset", "0", TYPE_INTEGER }, - { ".draw_masked", "false", TYPE_BOOLEAN }, + { ".draw_masked", ARG_UNDEFINED, TYPE_BOOLEAN }, { ".draw_order", ARG_UNDEFINED, TYPE_INTEGER }, { ".init_delay_fixed", ARG_UNDEFINED, TYPE_INTEGER }, { ".init_delay_random", ARG_UNDEFINED, TYPE_INTEGER }, @@ -60,6 +60,8 @@ struct ConfigTypeInfo image_config_suffix[] = { ".anim_delay_random", ARG_UNDEFINED, TYPE_INTEGER }, { ".post_delay_fixed", ARG_UNDEFINED, TYPE_INTEGER }, { ".post_delay_random", ARG_UNDEFINED, TYPE_INTEGER }, + { ".init_event", ARG_UNDEFINED, TYPE_STRING }, + { ".anim_event", ARG_UNDEFINED, TYPE_STRING }, { ".name", ARG_UNDEFINED, TYPE_STRING }, { ".scale_up_factor", ARG_UNDEFINED, TYPE_INTEGER }, { ".tile_size", ARG_UNDEFINED, TYPE_INTEGER }, @@ -5461,6 +5463,29 @@ struct ConfigInfo image_config[] = { "gfx.editor.button.properties.height", "20" }, { "gfx.editor.button.properties.pressed_xoffset", "-100" }, + { "gfx.editor.button.element_left", "RocksDoor2.png" }, + { "gfx.editor.button.element_left.x", "368" }, + { "gfx.editor.button.element_left.y", "48" }, + { "gfx.editor.button.element_left.width", "16" }, + { "gfx.editor.button.element_left.height", "16" }, + { "gfx.editor.button.element_left.pressed_xoffset", "0" }, + + { "gfx.editor.button.element_middle", "RocksDoor2.png" }, + { "gfx.editor.button.element_middle.x", "368" }, + { "gfx.editor.button.element_middle.y", "48" }, + { "gfx.editor.button.element_middle.width", "16" }, + { "gfx.editor.button.element_middle.height", "16" }, + { "gfx.editor.button.element_middle.pressed_xoffset", "0" }, + + { "gfx.editor.button.element_right", "RocksDoor2.png" }, + { "gfx.editor.button.element_right.x", "368" }, + { "gfx.editor.button.element_right.y", "48" }, + { "gfx.editor.button.element_right.width", "16" }, + { "gfx.editor.button.element_right.height", "16" }, + { "gfx.editor.button.element_right.pressed_xoffset", "0" }, + + { "gfx.editor.button.palette", UNDEFINED_FILENAME }, + { "editor.no_toolbox_button", "RocksDoor.png" }, { "editor.no_toolbox_button.x", "506" }, { "editor.no_toolbox_button.y", "286" }, @@ -7665,6 +7690,19 @@ struct ConfigInfo image_config[] = { "editor.button.properties.x", "5" }, { "editor.button.properties.y", "230" }, + { "editor.button.element_left.x", "-1" }, + { "editor.button.element_left.y", "-1" }, + { "editor.button.element_left.tile_size", "-1" }, + { "editor.button.element_middle.x", "-1" }, + { "editor.button.element_middle.y", "-1" }, + { "editor.button.element_middle.tile_size", "-1" }, + { "editor.button.element_right.x", "-1" }, + { "editor.button.element_right.y", "-1" }, + { "editor.button.element_right.tile_size", "-1" }, + + { "editor.button.palette.x", "-1" }, + { "editor.button.palette.y", "-1" }, + { "editor.button.draw_single.x", "6" }, { "editor.button.draw_single.y", "6" }, { "editor.button.draw_connected.x", "28" }, @@ -7730,6 +7768,8 @@ struct ConfigInfo image_config[] = { "editor.palette.cols", "4" }, { "editor.palette.rows", "10" }, { "editor.palette.tile_size", "16" }, + { "editor.palette.show_as_separate_screen", "false" }, + { "editor.palette.show_on_element_buttons", "false" }, { "editor.palette.element_left.x", "6" }, { "editor.palette.element_left.y", "258" },