X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fconf_gfx.c;h=4956ed8a01062d0c1a6f24a48a3257cc5bd78c4e;hb=abe44529b439ad39b4d8dbf19cbd67c9b9844279;hp=d503d1b8f57dce33bd6b6fc1299a7c7715c2e950;hpb=769c024e3cbfa77b7214bb91358fd14bb02deba9;p=rocksndiamonds.git diff --git a/src/conf_gfx.c b/src/conf_gfx.c index d503d1b8..4956ed8a 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,6 +5228,83 @@ 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.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 }, { "background.TITLE", UNDEFINED_FILENAME }, @@ -5254,6 +5333,16 @@ struct ConfigInfo image_config[] = { "background.PANEL.y", "0" }, { "background.PANEL.width", "100" }, { "background.PANEL.height", "280" }, + { "background.PALETTE", "RocksDoor.png" }, + { "background.PALETTE.x", "500" }, + { "background.PALETTE.y", "0" }, + { "background.PALETTE.width", "100" }, + { "background.PALETTE.height", "280" }, + { "background.TOOLBOX", "RocksDoor.png" }, + { "background.TOOLBOX.x", "700" }, + { "background.TOOLBOX.y", "236" }, + { "background.TOOLBOX.width", "100" }, + { "background.TOOLBOX.height", "144" }, { "background.titlescreen_initial_1", UNDEFINED_FILENAME }, { "background.titlescreen_initial_2", UNDEFINED_FILENAME }, @@ -5739,6 +5828,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" }, @@ -6912,6 +7003,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" }, @@ -6985,6 +7080,20 @@ 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.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" }, { "request.button.no.x", "52" },