X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fconf_gfx.c;h=58bb898c42219ac0a048447c53d247372e482349;hb=92d7b07acc61a8fba6cb8f79c843e952bcb9dd92;hp=66f823c27713a14c59291cb46a87e7b55587dcd8;hpb=14b5ed161164a42c7513700fe101c4bd2e3b63e3;p=rocksndiamonds.git diff --git a/src/conf_gfx.c b/src/conf_gfx.c index 66f823c2..58bb898c 100644 --- a/src/conf_gfx.c +++ b/src/conf_gfx.c @@ -1,15 +1,13 @@ -/*********************************************************** -* Rocks'n'Diamonds -- McDuffin Strikes Back! * -*----------------------------------------------------------* -* (c) 1995-2006 Artsoft Entertainment * -* Holger Schemel * -* Detmolder Strasse 189 * -* 33604 Bielefeld * -* Germany * -* e-mail: info@artsoft.org * -*----------------------------------------------------------* -* conf_gfx.c * -***********************************************************/ +// ============================================================================ +// Rocks'n'Diamonds - McDuffin Strikes Back! +// ---------------------------------------------------------------------------- +// (c) 1995-2014 by Artsoft Entertainment +// Holger Schemel +// info@artsoft.org +// http://www.artsoft.org/ +// ---------------------------------------------------------------------------- +// conf_gfx.c +// ============================================================================ #include "libgame/libgame.h" #include "main.h" @@ -59,6 +57,7 @@ struct ConfigTypeInfo image_config_suffix[] = { ".post_delay_random", ARG_UNDEFINED, TYPE_INTEGER }, { ".name", ARG_UNDEFINED, TYPE_STRING }, { ".scale_up_factor", ARG_UNDEFINED, TYPE_INTEGER }, + { ".tile_size", ARG_UNDEFINED, TYPE_INTEGER }, { ".clone_from", ARG_UNDEFINED, TYPE_GRAPHIC }, { ".fade_mode", ARG_UNDEFINED, TYPE_INTEGER }, { ".fade_delay", ARG_UNDEFINED, TYPE_INTEGER }, @@ -4744,6 +4743,9 @@ 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" }, @@ -5226,10 +5228,82 @@ struct ConfigInfo image_config[] = { "editor.cascade_list.active.ypos", "8" }, { "editor.cascade_list.active.frames", "1" }, - { "editor.palette_button", "RocksDoor.png" }, - { "editor.palette_button.x", "525" }, - { "editor.palette_button.y", "30" }, - { "editor.palette_button.pressed_xoffset", "-20" }, + { "editor.palette.button", "RocksDoor.png" }, + { "editor.palette.button.x", "525" }, + { "editor.palette.button.y", "30" }, + { "editor.palette.button.width", "20" }, + { "editor.palette.button.height", "20" }, + { "editor.palette.button.pressed_xoffset", "-20" }, + + { "editor.palette.scroll_up", "RocksDoor.png" }, + { "editor.palette.scroll_up.x", "750" }, + { "editor.palette.scroll_up.y", "0" }, + { "editor.palette.scroll_up.width", "10" }, + { "editor.palette.scroll_up.height", "10" }, + { "editor.palette.scroll_up.pressed_xoffset", "-10" }, + + { "editor.palette.scroll_down", "RocksDoor.png" }, + { "editor.palette.scroll_down.x", "750" }, + { "editor.palette.scroll_down.y", "10" }, + { "editor.palette.scroll_down.width", "10" }, + { "editor.palette.scroll_down.height", "10" }, + { "editor.palette.scroll_down.pressed_xoffset", "-10" }, + + { "editor.palette.scrollbar", "RocksDoor.png" }, + { "editor.palette.scrollbar.x", "750" }, + { "editor.palette.scrollbar.y", "20" }, + { "editor.palette.scrollbar.width", "10" }, + { "editor.palette.scrollbar.height", "10" }, + { "editor.palette.scrollbar.pressed_xoffset", "-10" }, + + { "editor.playfield.scroll_up", "RocksDoor.png" }, + { "editor.playfield.scroll_up.x", "724" }, + { "editor.playfield.scroll_up.y", "0" }, + { "editor.playfield.scroll_up.width", "16" }, + { "editor.playfield.scroll_up.height", "16" }, + { "editor.playfield.scroll_up.pressed_xoffset", "-16" }, + + { "editor.playfield.scroll_down", "RocksDoor.png" }, + { "editor.playfield.scroll_down.x", "724" }, + { "editor.playfield.scroll_down.y", "16" }, + { "editor.playfield.scroll_down.width", "16" }, + { "editor.playfield.scroll_down.height", "16" }, + { "editor.playfield.scroll_down.pressed_xoffset", "-16" }, + + { "editor.playfield.scroll_left", "RocksDoor.png" }, + { "editor.playfield.scroll_left.x", "724" }, + { "editor.playfield.scroll_left.y", "32" }, + { "editor.playfield.scroll_left.width", "16" }, + { "editor.playfield.scroll_left.height", "16" }, + { "editor.playfield.scroll_left.pressed_xoffset", "-16" }, + + { "editor.playfield.scroll_right", "RocksDoor.png" }, + { "editor.playfield.scroll_right.x", "724" }, + { "editor.playfield.scroll_right.y", "48" }, + { "editor.playfield.scroll_right.width", "16" }, + { "editor.playfield.scroll_right.height", "16" }, + { "editor.playfield.scroll_right.pressed_xoffset", "-16" }, + + { "editor.playfield.scrollbar", "RocksDoor.png" }, + { "editor.playfield.scrollbar.x", "724" }, + { "editor.playfield.scrollbar.y", "64" }, + { "editor.playfield.scrollbar.width", "16" }, + { "editor.playfield.scrollbar.height", "16" }, + { "editor.playfield.scrollbar.pressed_xoffset", "-16" }, + + { "editor.button.gfx.prev_level", "RocksDoor.png" }, + { "editor.button.gfx.prev_level.x", "724" }, + { "editor.button.gfx.prev_level.y", "32" }, + { "editor.button.gfx.prev_level.width", "16" }, + { "editor.button.gfx.prev_level.height", "16" }, + { "editor.button.gfx.prev_level.pressed_xoffset", "-16" }, + + { "editor.button.gfx.next_level", "RocksDoor.png" }, + { "editor.button.gfx.next_level.x", "724" }, + { "editor.button.gfx.next_level.y", "48" }, + { "editor.button.gfx.next_level.width", "16" }, + { "editor.button.gfx.next_level.height", "16" }, + { "editor.button.gfx.next_level.pressed_xoffset", "-16" }, { "background", UNDEFINED_FILENAME }, { "background.TITLE_INITIAL", UNDEFINED_FILENAME }, @@ -5344,62 +5418,74 @@ struct ConfigInfo image_config[] = { "door_1.gfx.part_1.y", "0" }, { "door_1.gfx.part_1.width", "100" }, { "door_1.gfx.part_1.height", "77" }, + { "door_1.gfx.part_1.frames", "1" }, { "door_1.gfx.part_2", "RocksDoor.png" }, { "door_1.gfx.part_2.x", "0" }, { "door_1.gfx.part_2.y", "77" }, { "door_1.gfx.part_2.width", "100" }, { "door_1.gfx.part_2.height", "63" }, + { "door_1.gfx.part_2.frames", "1" }, { "door_1.gfx.part_3", "RocksDoor.png" }, { "door_1.gfx.part_3.x", "0" }, { "door_1.gfx.part_3.y", "140" }, { "door_1.gfx.part_3.width", "100" }, { "door_1.gfx.part_3.height", "63" }, + { "door_1.gfx.part_3.frames", "1" }, { "door_1.gfx.part_4", "RocksDoor.png" }, { "door_1.gfx.part_4.x", "0" }, { "door_1.gfx.part_4.y", "203" }, { "door_1.gfx.part_4.width", "100" }, { "door_1.gfx.part_4.height", "77" }, + { "door_1.gfx.part_4.frames", "1" }, { "door_1.gfx.part_5", "RocksDoor.png" }, { "door_1.gfx.part_5.x", "100" }, { "door_1.gfx.part_5.y", "0" }, { "door_1.gfx.part_5.width", "100" }, { "door_1.gfx.part_5.height", "77" }, + { "door_1.gfx.part_5.frames", "1" }, { "door_1.gfx.part_6", "RocksDoor.png" }, { "door_1.gfx.part_6.x", "100" }, { "door_1.gfx.part_6.y", "77" }, { "door_1.gfx.part_6.width", "100" }, { "door_1.gfx.part_6.height", "63" }, + { "door_1.gfx.part_6.frames", "1" }, { "door_1.gfx.part_7", "RocksDoor.png" }, { "door_1.gfx.part_7.x", "100" }, { "door_1.gfx.part_7.y", "140" }, { "door_1.gfx.part_7.width", "100" }, { "door_1.gfx.part_7.height", "63" }, + { "door_1.gfx.part_7.frames", "1" }, { "door_1.gfx.part_8", "RocksDoor.png" }, { "door_1.gfx.part_8.x", "100" }, { "door_1.gfx.part_8.y", "203" }, { "door_1.gfx.part_8.width", "100" }, { "door_1.gfx.part_8.height", "77" }, + { "door_1.gfx.part_8.frames", "1" }, { "door_2.gfx.part_1", "RocksDoor.png" }, { "door_2.gfx.part_1.x", "0" }, { "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_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_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_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_5", UNDEFINED_FILENAME }, { "door_2.gfx.part_6", UNDEFINED_FILENAME }, { "door_2.gfx.part_7", UNDEFINED_FILENAME }, @@ -5640,10 +5726,10 @@ struct ConfigInfo image_config[] = { "titlemessage_5.post_delay", ARG_DEFAULT }, { "titlemessage_5.auto_delay", ARG_DEFAULT }, - { "readme.x", "272" }, - { "readme.y", "150" }, - { "readme.width", "480" }, - { "readme.height", "364" }, + { "readme.x", "-1" }, + { "readme.y", "-1" }, + { "readme.width", "-1" }, + { "readme.height", "-1" }, { "readme.chars", "-1" }, { "readme.lines", "-1" }, { "readme.align", "center" }, @@ -5754,6 +5840,8 @@ struct ConfigInfo image_config[] = { "menu.draw_yoffset.SETUP[ARTWORK]", "0" }, { "menu.draw_xoffset.SETUP[INPUT]", "0" }, { "menu.draw_yoffset.SETUP[INPUT]", "0" }, + { "menu.draw_xoffset.SETUP[TOUCH]", "0" }, + { "menu.draw_yoffset.SETUP[TOUCH]", "0" }, { "menu.draw_xoffset.SETUP[SHORTCUTS]", "0" }, { "menu.draw_yoffset.SETUP[SHORTCUTS]", "0" }, { "menu.draw_xoffset.SETUP[SHORTCUTS_1]", "0" }, @@ -6927,6 +7015,10 @@ struct ConfigInfo image_config[] = { "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" }, @@ -7000,17 +7092,19 @@ struct ConfigInfo image_config[] = { "tape.text.time.digits", "-1" }, { "tape.text.time.font", "font.tape_recorder" }, + { "tape.show_game_buttons", "false" }, + { "editor.palette.x", "5" }, { "editor.palette.y", "30" }, { "editor.palette.cols", "4" }, { "editor.palette.rows", "11" }, - { "editor.element_left.x", "6" }, - { "editor.element_left.y", "258" }, - { "editor.element_middle.x", "42" }, - { "editor.element_middle.y", "258" }, - { "editor.element_right.x", "78" }, - { "editor.element_right.y", "258" }, + { "editor.palette.element_left.x", "6" }, + { "editor.palette.element_left.y", "258" }, + { "editor.palette.element_middle.x", "42" }, + { "editor.palette.element_middle.y", "258" }, + { "editor.palette.element_right.x", "78" }, + { "editor.palette.element_right.y", "258" }, { "request.button.yes.x", "2" }, { "request.button.yes.y", "250" },