X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fconf_gfx.c;h=f2ddadfda4fcab17151e74edcf21c571183524c4;hp=35870aefefde53bfd3a8a0b65985752ac3d8c6a7;hb=6f5b701331e07bdd3e02eeb61f66bfa14d5b530f;hpb=f73fd0cea8ac4e9836ea9a4c12c89be0acef03ba diff --git a/src/conf_gfx.c b/src/conf_gfx.c index 35870aef..f2ddadfd 100644 --- a/src/conf_gfx.c +++ b/src/conf_gfx.c @@ -4721,6 +4721,40 @@ struct ConfigInfo image_config[] = { "game.button.gfx.play.width", "30" }, { "game.button.gfx.play.height", "30" }, { "game.button.gfx.play.pressed_xoffset", "-100" }, + + { "game.button.gfx.undo", "RocksDoor2.png" }, + { "game.button.gfx.undo.x", "105" }, + { "game.button.gfx.undo.y", "20" }, + { "game.button.gfx.undo.width", "30" }, + { "game.button.gfx.undo.height", "30" }, + { "game.button.gfx.undo.pressed_xoffset", "-100" }, + { "game.button.gfx.redo", "RocksDoor2.png" }, + { "game.button.gfx.redo.x", "165" }, + { "game.button.gfx.redo.y", "20" }, + { "game.button.gfx.redo.width", "30" }, + { "game.button.gfx.redo.height", "30" }, + { "game.button.gfx.redo.pressed_xoffset", "-100" }, + + { "game.button.gfx.save", "RocksDoor2.png" }, + { "game.button.gfx.save.x", "105" }, + { "game.button.gfx.save.y", "50" }, + { "game.button.gfx.save.width", "30" }, + { "game.button.gfx.save.height", "30" }, + { "game.button.gfx.save.pressed_xoffset", "-100" }, + { "game.button.gfx.pause2", "RocksDoor2.png" }, + { "game.button.gfx.pause2.x", "135" }, + { "game.button.gfx.pause2.y", "50" }, + { "game.button.gfx.pause2.width", "30" }, + { "game.button.gfx.pause2.height", "30" }, + { "game.button.gfx.pause2.pressed_xoffset", "-100" }, + { "game.button.gfx.pause2.active_yoffset", "-30" }, + { "game.button.gfx.load", "RocksDoor2.png" }, + { "game.button.gfx.load.x", "165" }, + { "game.button.gfx.load.y", "50" }, + { "game.button.gfx.load.width", "30" }, + { "game.button.gfx.load.height", "30" }, + { "game.button.gfx.load.pressed_xoffset", "-100" }, + { "game.button.gfx.sound_music", "RocksDoor.png" }, { "game.button.gfx.sound_music.x", "305" }, { "game.button.gfx.sound_music.y", "245" }, @@ -4743,9 +4777,6 @@ struct ConfigInfo image_config[] = { "game.button.gfx.sound_simple.pressed_xoffset", "-100" }, { "game.button.gfx.sound_simple.active_yoffset", "-30" }, - { "game.button.gfx.save", UNDEFINED_FILENAME }, - { "game.button.gfx.load", UNDEFINED_FILENAME }, - { "tape.button.gfx.eject", "RocksDoor.png" }, { "tape.button.gfx.eject.x", "305" }, { "tape.button.gfx.eject.y", "357" }, @@ -5199,25 +5230,107 @@ struct ConfigInfo image_config[] = { "font.info.levelset", UNDEFINED_FILENAME }, { "font.info.levelset.clone_from", "font.level_number" }, - { "global.border", "RocksScreen.png" }, - { "global.door", "RocksDoor.png" }, - - { "global.busy", "RocksBusy.png" }, - { "global.busy.x", "0" }, - { "global.busy.y", "0" }, - { "global.busy.width", "32" }, - { "global.busy.height", "32" }, - { "global.busy.frames", "28" }, - { "global.busy.frames_per_line", "7" }, - { "global.busy.delay", "2" }, - { "editor.element_border", "RocksMore.png" }, { "editor.element_border.xpos", "0" }, { "editor.element_border.ypos", "2" }, + { "editor.element_border.border_size", "8" }, { "editor.element_border_input", "RocksMore.png" }, { "editor.element_border_input.xpos", "10" }, { "editor.element_border_input.ypos", "7" }, + { "editor.element_border_input.border_size", "4" }, + + { "editor.counter.down", "RocksDoor.png" }, + { "editor.counter.down.x", "302" }, + { "editor.counter.down.y", "60" }, + { "editor.counter.down.width", "20" }, + { "editor.counter.down.height", "20" }, + { "editor.counter.down.pressed_xoffset", "-100" }, + + { "editor.counter.up", "RocksDoor.png" }, + { "editor.counter.up.x", "378" }, + { "editor.counter.up.y", "60" }, + { "editor.counter.up.width", "20" }, + { "editor.counter.up.height", "20" }, + { "editor.counter.up.pressed_xoffset", "-100" }, + + { "editor.counter.input", "RocksDoor.png" }, + { "editor.counter.input.x", "324" }, + { "editor.counter.input.y", "60" }, + { "editor.counter.input.width", "52" }, + { "editor.counter.input.height", "20" }, + { "editor.counter.input.active_xoffset", "-100" }, + { "editor.counter.input.border_size", "3" }, + + { "editor.selectbox.input", "RocksDoor.png" }, + { "editor.selectbox.input.x", "324" }, + { "editor.selectbox.input.y", "82" }, + { "editor.selectbox.input.width", "52" }, + { "editor.selectbox.input.height", "20" }, + { "editor.selectbox.input.active_xoffset", "-100" }, + { "editor.selectbox.input.border_size", "3" }, + + { "editor.selectbox.button", UNDEFINED_FILENAME }, + { "editor.selectbox.button.width", "14" }, + + { "editor.checkbox", "RocksDoor.png" }, + { "editor.checkbox.x", "302" }, + { "editor.checkbox.y", "82" }, + { "editor.checkbox.width", "20" }, + { "editor.checkbox.height", "20" }, + { "editor.checkbox.pressed_xoffset", "-100" }, + { "editor.checkbox.active_xoffset", "76" }, + + { "editor.radiobutton", "RocksDoor.png" }, + { "editor.radiobutton.x", "302" }, + { "editor.radiobutton.y", "104" }, + { "editor.radiobutton.width", "20" }, + { "editor.radiobutton.height", "20" }, + { "editor.radiobutton.pressed_xoffset", "-100" }, + { "editor.radiobutton.active_xoffset", "76" }, + + { "editor.stickybutton", "RocksDoor.png" }, + { "editor.stickybutton.x", "302" }, + { "editor.stickybutton.y", "126" }, + { "editor.stickybutton.width", "20" }, + { "editor.stickybutton.height", "20" }, + { "editor.stickybutton.pressed_xoffset", "-100" }, + { "editor.stickybutton.active_xoffset", "76" }, + + { "editor.tabbutton", "RocksDoor.png" }, + { "editor.tabbutton.x", "324" }, + { "editor.tabbutton.y", "104" }, + { "editor.tabbutton.width", "52" }, + { "editor.tabbutton.height", "20" }, + { "editor.tabbutton.pressed_xoffset", "-100" }, + { "editor.tabbutton.active_yoffset", "22" }, + { "editor.tabbutton.border_size", "3" }, + { "editor.tabbutton.draw_xoffset", "2" }, + + { "editor.textbutton", "RocksDoor.png" }, + { "editor.textbutton.x", "324" }, + { "editor.textbutton.y", "148" }, + { "editor.textbutton.width", "52" }, + { "editor.textbutton.height", "20" }, + { "editor.textbutton.pressed_xoffset", "-100" }, + { "editor.textbutton.border_size", "3" }, + { "editor.textbutton.draw_xoffset", "2" }, + + { "editor.input.text", "RocksDoor.png" }, + { "editor.input.text.x", "324" }, + { "editor.input.text.y", "60" }, + { "editor.input.text.width", "52" }, + { "editor.input.text.height", "20" }, + { "editor.input.text.active_xoffset", "-100" }, + { "editor.input.text.border_size", "3" }, + + { "editor.input.textarea", "RocksDoor.png" }, + { "editor.input.textarea.x", "324" }, + { "editor.input.textarea.y", "60" }, + { "editor.input.textarea.width", "52" }, + { "editor.input.textarea.height", "20" }, + { "editor.input.textarea.active_xoffset", "-100" }, + { "editor.input.textarea.border_size", "3" }, { "editor.cascade_list", "RocksMore.png" }, { "editor.cascade_list.xpos", "9" }, @@ -5255,6 +5368,7 @@ struct ConfigInfo image_config[] = { "editor.palette.scrollbar.width", "10" }, { "editor.palette.scrollbar.height", "10" }, { "editor.palette.scrollbar.pressed_xoffset", "-10" }, + { "editor.palette.scrollbar.border_size", "3" }, { "editor.playfield.scroll_up", "RocksDoor.png" }, { "editor.playfield.scroll_up.x", "724" }, @@ -5290,6 +5404,7 @@ struct ConfigInfo image_config[] = { "editor.playfield.scrollbar.width", "16" }, { "editor.playfield.scrollbar.height", "16" }, { "editor.playfield.scrollbar.pressed_xoffset", "-16" }, + { "editor.playfield.scrollbar.border_size", "3" }, { "editor.button.gfx.prev_level", "RocksDoor.png" }, { "editor.button.gfx.prev_level.x", "724" }, @@ -5305,12 +5420,12 @@ struct ConfigInfo image_config[] = { "editor.button.gfx.next_level.height", "16" }, { "editor.button.gfx.next_level.pressed_xoffset", "-16" }, - { "editor.button.gfx.properties", "RocksDoor.png" }, - { "editor.button.gfx.properties.x", "505" }, - { "editor.button.gfx.properties.y", "110" }, + { "editor.button.gfx.properties", "RocksDoor2.png" }, + { "editor.button.gfx.properties.x", "105" }, + { "editor.button.gfx.properties.y", "0" }, { "editor.button.gfx.properties.width", "90" }, { "editor.button.gfx.properties.height", "20" }, - { "editor.button.gfx.properties.pressed_yoffset", "-20" }, + { "editor.button.gfx.properties.pressed_xoffset", "-100" }, { "editor.no_toolbox_button", "RocksDoor.png" }, { "editor.no_toolbox_button.x", "506" }, @@ -5398,13 +5513,13 @@ struct ConfigInfo image_config[] = { "editor.button.gfx.rotate_left.pressed_xoffset", "-100" }, { "editor.button.gfx.rotate_left.active_yoffset", "-94" }, - { "editor.button.gfx.zoom_level", "RocksDoor.png" }, - { "editor.button.gfx.zoom_level.x", "750" }, - { "editor.button.gfx.zoom_level.y", "286" }, + { "editor.button.gfx.zoom_level", "RocksDoor2.png" }, + { "editor.button.gfx.zoom_level.x", "350" }, + { "editor.button.gfx.zoom_level.y", "22" }, { "editor.button.gfx.zoom_level.width", "22" }, { "editor.button.gfx.zoom_level.height", "22" }, { "editor.button.gfx.zoom_level.pressed_xoffset", "-100" }, - { "editor.button.gfx.zoom_level.active_yoffset", "-94" }, + { "editor.button.gfx.zoom_level.active_yoffset", "-22" }, { "editor.button.gfx.rotate_right", "RocksDoor.png" }, { "editor.button.gfx.rotate_right.x", "772" }, @@ -5484,6 +5599,20 @@ struct ConfigInfo image_config[] = { "editor.button.gfx.ce_paste.height", "22" }, { "editor.button.gfx.ce_paste.pressed_xoffset", "-100" }, + { "editor.button.gfx.cp_copy", "RocksDoor.png" }, + { "editor.button.gfx.cp_copy.x", "525" }, + { "editor.button.gfx.cp_copy.y", "50" }, + { "editor.button.gfx.cp_copy.width", "20" }, + { "editor.button.gfx.cp_copy.height", "20" }, + { "editor.button.gfx.cp_copy.pressed_xoffset", "-20" }, + + { "editor.button.gfx.cp_paste", "RocksDoor.png" }, + { "editor.button.gfx.cp_paste.x", "525" }, + { "editor.button.gfx.cp_paste.y", "70" }, + { "editor.button.gfx.cp_paste.width", "20" }, + { "editor.button.gfx.cp_paste.height", "20" }, + { "editor.button.gfx.cp_paste.pressed_xoffset", "-20" }, + { "editor.button.gfx.undo", "RocksDoor.png" }, { "editor.button.gfx.undo.x", "705" }, { "editor.button.gfx.undo.y", "335" }, @@ -5533,6 +5662,23 @@ struct ConfigInfo image_config[] = { "editor.input.gfx.level_number.height", "16" }, { "editor.input.gfx.level_number.border_size","1" }, + { "global.border", "RocksScreen.png" }, + { "global.border.MAIN", UNDEFINED_FILENAME }, + { "global.border.SCORES", UNDEFINED_FILENAME }, + { "global.border.EDITOR", UNDEFINED_FILENAME }, + { "global.border.PLAYING", UNDEFINED_FILENAME }, + + { "global.door", "RocksDoor.png" }, + + { "global.busy", "RocksBusy.png" }, + { "global.busy.x", "0" }, + { "global.busy.y", "0" }, + { "global.busy.width", "32" }, + { "global.busy.height", "32" }, + { "global.busy.frames", "28" }, + { "global.busy.frames_per_line", "7" }, + { "global.busy.delay", "2" }, + { "background", UNDEFINED_FILENAME }, { "background.TITLE_INITIAL", UNDEFINED_FILENAME }, { "background.TITLE", UNDEFINED_FILENAME }, @@ -5695,25 +5841,25 @@ struct ConfigInfo image_config[] = { "door_2.gfx.part_1.y", "280" }, { "door_2.gfx.part_1.width", "100" }, { "door_2.gfx.part_1.height", "50" }, - { "door_1.gfx.part_1.frames", "1" }, + { "door_2.gfx.part_1.frames", "1" }, { "door_2.gfx.part_2", "RocksDoor.png" }, { "door_2.gfx.part_2.x", "0" }, { "door_2.gfx.part_2.y", "330" }, { "door_2.gfx.part_2.width", "100" }, { "door_2.gfx.part_2.height", "50" }, - { "door_1.gfx.part_2.frames", "1" }, + { "door_2.gfx.part_2.frames", "1" }, { "door_2.gfx.part_3", "RocksDoor.png" }, { "door_2.gfx.part_3.x", "100" }, { "door_2.gfx.part_3.y", "280" }, { "door_2.gfx.part_3.width", "100" }, { "door_2.gfx.part_3.height", "50" }, - { "door_1.gfx.part_3.frames", "1" }, + { "door_2.gfx.part_3.frames", "1" }, { "door_2.gfx.part_4", "RocksDoor.png" }, { "door_2.gfx.part_4.x", "100" }, { "door_2.gfx.part_4.y", "330" }, { "door_2.gfx.part_4.width", "100" }, { "door_2.gfx.part_4.height", "50" }, - { "door_1.gfx.part_4.frames", "1" }, + { "door_2.gfx.part_4.frames", "1" }, { "door_2.gfx.part_5", UNDEFINED_FILENAME }, { "door_2.gfx.part_6", UNDEFINED_FILENAME }, { "door_2.gfx.part_7", UNDEFINED_FILENAME }, @@ -6094,6 +6240,7 @@ struct ConfigInfo image_config[] = { "menu.list_size.LEVELNR", "-1" }, { "menu.list_size.SCORES", "-1" }, { "menu.list_size.INFO", "-1" }, + { "menu.list_size.INFO[ELEMENTS]", "-1" }, { "menu.list_size.SETUP", "-1" }, { "main.button.name.x", "0" }, @@ -7237,16 +7384,22 @@ struct ConfigInfo image_config[] = { "game.button.pause.y", "215" }, { "game.button.play.x", "65" }, { "game.button.play.y", "215" }, + { "game.button.undo.x", "-1" }, + { "game.button.undo.y", "-1" }, + { "game.button.redo.x", "-1" }, + { "game.button.redo.y", "-1" }, + { "game.button.save.x", "-1" }, + { "game.button.save.y", "-1" }, + { "game.button.pause2.x", "-1" }, + { "game.button.pause2.y", "-1" }, + { "game.button.load.x", "-1" }, + { "game.button.load.y", "-1" }, { "game.button.sound_music.x", "5" }, { "game.button.sound_music.y", "245" }, { "game.button.sound_loops.x", "35" }, { "game.button.sound_loops.y", "245" }, { "game.button.sound_simple.x", "65" }, { "game.button.sound_simple.y", "245" }, - { "game.button.save.x", "-1" }, - { "game.button.save.y", "-1" }, - { "game.button.load.x", "-1" }, - { "game.button.load.y", "-1" }, { "tape.button.eject.x", "5" }, { "tape.button.eject.y", "77" }, @@ -7477,6 +7630,28 @@ struct ConfigInfo image_config[] = { "editor.palette.element_right.y", "258" }, { "editor.palette.element_right.tile_size", "16" }, + { "editor.drawingarea.tile_size", "16" }, + + { "editor.settings.headline.x", "272" }, + { "editor.settings.headline.y", "16" }, + { "editor.settings.headline.align", "center" }, + { "editor.settings.element_graphic.x", "24" }, + { "editor.settings.element_graphic.y", "64" }, + { "editor.settings.element_name.x", "-1" }, + { "editor.settings.element_name.y", "-1" }, + { "editor.settings.tabs.x", "24" }, + { "editor.settings.tabs.y", "64" }, + { "editor.settings.tabs.2nd_yoffset", "64" }, + { "editor.settings.tabs.draw_xoffset", "0" }, + { "editor.settings.tabs.draw_yoffset", "8" }, + + { "editor.gadget.normal_spacing", "4" }, + { "editor.gadget.small_spacing", "2" }, + { "editor.gadget.tiny_spacing", "1" }, + { "editor.gadget.line_spacing", "4" }, + { "editor.gadget.text_spacing", "4" }, + { "editor.gadget.separator_line.height", "2" }, + { "request.button.yes.x", "2" }, { "request.button.yes.y", "250" }, { "request.button.no.x", "52" }, @@ -7509,6 +7684,8 @@ struct ConfigInfo image_config[] = { "request.step_offset", "10" }, { "request.step_delay", "20" }, { "request.anim_mode", "default" }, + { "request.align", "center" }, + { "request.valign", "middle" }, { "request.autowrap", "false" }, { "request.centered", "true" }, { "request.wrap_single_words", "true" }, @@ -7538,16 +7715,21 @@ struct ConfigInfo image_config[] = { "viewport.playfield.MAIN.width", ARG_DEFAULT }, { "viewport.playfield.MAIN.height", ARG_DEFAULT }, { "viewport.playfield.MAIN.border_size", ARG_DEFAULT }, - { "viewport.playfield.PLAYING.x", ARG_DEFAULT }, - { "viewport.playfield.PLAYING.y", ARG_DEFAULT }, - { "viewport.playfield.PLAYING.width", ARG_DEFAULT }, - { "viewport.playfield.PLAYING.height", ARG_DEFAULT }, - { "viewport.playfield.PLAYING.border_size", ARG_DEFAULT }, + { "viewport.playfield.SCORES.x", ARG_DEFAULT }, + { "viewport.playfield.SCORES.y", ARG_DEFAULT }, + { "viewport.playfield.SCORES.width", ARG_DEFAULT }, + { "viewport.playfield.SCORES.height", ARG_DEFAULT }, + { "viewport.playfield.SCORES.border_size", ARG_DEFAULT }, { "viewport.playfield.EDITOR.x", ARG_DEFAULT }, { "viewport.playfield.EDITOR.y", ARG_DEFAULT }, { "viewport.playfield.EDITOR.width", ARG_DEFAULT }, { "viewport.playfield.EDITOR.height", ARG_DEFAULT }, { "viewport.playfield.EDITOR.border_size", ARG_DEFAULT }, + { "viewport.playfield.PLAYING.x", ARG_DEFAULT }, + { "viewport.playfield.PLAYING.y", ARG_DEFAULT }, + { "viewport.playfield.PLAYING.width", ARG_DEFAULT }, + { "viewport.playfield.PLAYING.height", ARG_DEFAULT }, + { "viewport.playfield.PLAYING.border_size", ARG_DEFAULT }, { "viewport.door_1.x", "566" }, { "viewport.door_1.y", "60" }, { "viewport.door_1.width", "100" }, @@ -7558,16 +7740,21 @@ struct ConfigInfo image_config[] = { "viewport.door_1.MAIN.width", ARG_DEFAULT }, { "viewport.door_1.MAIN.height", ARG_DEFAULT }, { "viewport.door_1.MAIN.border_size", ARG_DEFAULT }, - { "viewport.door_1.PLAYING.x", ARG_DEFAULT }, - { "viewport.door_1.PLAYING.y", ARG_DEFAULT }, - { "viewport.door_1.PLAYING.width", ARG_DEFAULT }, - { "viewport.door_1.PLAYING.height", ARG_DEFAULT }, - { "viewport.door_1.PLAYING.border_size", ARG_DEFAULT }, + { "viewport.door_1.SCORES.x", ARG_DEFAULT }, + { "viewport.door_1.SCORES.y", ARG_DEFAULT }, + { "viewport.door_1.SCORES.width", ARG_DEFAULT }, + { "viewport.door_1.SCORES.height", ARG_DEFAULT }, + { "viewport.door_1.SCORES.border_size", ARG_DEFAULT }, { "viewport.door_1.EDITOR.x", ARG_DEFAULT }, { "viewport.door_1.EDITOR.y", ARG_DEFAULT }, { "viewport.door_1.EDITOR.width", ARG_DEFAULT }, { "viewport.door_1.EDITOR.height", ARG_DEFAULT }, { "viewport.door_1.EDITOR.border_size", ARG_DEFAULT }, + { "viewport.door_1.PLAYING.x", ARG_DEFAULT }, + { "viewport.door_1.PLAYING.y", ARG_DEFAULT }, + { "viewport.door_1.PLAYING.width", ARG_DEFAULT }, + { "viewport.door_1.PLAYING.height", ARG_DEFAULT }, + { "viewport.door_1.PLAYING.border_size", ARG_DEFAULT }, { "viewport.door_2.x", "566" }, { "viewport.door_2.y", "400" }, { "viewport.door_2.width", "100" }, @@ -7578,16 +7765,21 @@ struct ConfigInfo image_config[] = { "viewport.door_2.MAIN.width", ARG_DEFAULT }, { "viewport.door_2.MAIN.height", ARG_DEFAULT }, { "viewport.door_2.MAIN.border_size", ARG_DEFAULT }, - { "viewport.door_2.PLAYING.x", ARG_DEFAULT }, - { "viewport.door_2.PLAYING.y", ARG_DEFAULT }, - { "viewport.door_2.PLAYING.width", ARG_DEFAULT }, - { "viewport.door_2.PLAYING.height", ARG_DEFAULT }, - { "viewport.door_2.PLAYING.border_size", ARG_DEFAULT }, + { "viewport.door_2.SCORES.x", ARG_DEFAULT }, + { "viewport.door_2.SCORES.y", ARG_DEFAULT }, + { "viewport.door_2.SCORES.width", ARG_DEFAULT }, + { "viewport.door_2.SCORES.height", ARG_DEFAULT }, + { "viewport.door_2.SCORES.border_size", ARG_DEFAULT }, { "viewport.door_2.EDITOR.x", "566" }, { "viewport.door_2.EDITOR.y", "356" }, { "viewport.door_2.EDITOR.width", "100" }, { "viewport.door_2.EDITOR.height", "144" }, { "viewport.door_2.EDITOR.border_size", "4" }, + { "viewport.door_2.PLAYING.x", ARG_DEFAULT }, + { "viewport.door_2.PLAYING.y", ARG_DEFAULT }, + { "viewport.door_2.PLAYING.width", ARG_DEFAULT }, + { "viewport.door_2.PLAYING.height", ARG_DEFAULT }, + { "viewport.door_2.PLAYING.border_size", ARG_DEFAULT }, { NULL, NULL } };