X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fconf_gfx.c;h=5fb7849384501cc03a889ffb401971308ca50293;hb=87382cdd307aa01757ed5c8a863ebb7dcb812e8e;hp=b781128a4d92a2e025d3657f8f53ac8e6d9db78c;hpb=b1750ae5f6404a4faacc38425e0b31c29ea12c37;p=rocksndiamonds.git diff --git a/src/conf_gfx.c b/src/conf_gfx.c index b781128a..5fb78493 100644 --- a/src/conf_gfx.c +++ b/src/conf_gfx.c @@ -67,6 +67,12 @@ struct ConfigTypeInfo image_config_suffix[] = { ".align", ARG_UNDEFINED, TYPE_INTEGER }, { ".valign", ARG_UNDEFINED, TYPE_INTEGER }, { ".sort_priority", ARG_UNDEFINED, TYPE_INTEGER }, + { ".class", ARG_UNDEFINED, TYPE_STRING }, + { ".style", ARG_UNDEFINED, TYPE_STRING }, + { ".active_xoffset", "0", TYPE_INTEGER }, + { ".active_yoffset", "0", TYPE_INTEGER }, + { ".pressed_xoffset", "0", TYPE_INTEGER }, + { ".pressed_yoffset", "0", TYPE_INTEGER }, { NULL, NULL, 0 } }; @@ -281,7 +287,7 @@ struct ConfigInfo image_config[] = { "[sp_default].exploding.xpos", "8" }, { "[sp_default].exploding.ypos", "3" }, { "[sp_default].exploding.frames", "8" }, - { "[sp_default].exploding.delay", "3" }, + { "[sp_default].exploding.delay", "4" }, { "[sp_default].exploding.anim_mode", "linear" }, { "sp_zonk", "RocksSP.pcx" }, @@ -753,7 +759,7 @@ struct ConfigInfo image_config[] = { "sp_electron.exploding.xpos", "8" }, { "sp_electron.exploding.ypos", "4" }, { "sp_electron.exploding.frames", "8" }, - { "sp_electron.exploding.delay", "3" }, + { "sp_electron.exploding.delay", "4" }, { "sp_electron.exploding.anim_mode", "linear" }, { "sp_terminal", "RocksSP.pcx" }, @@ -4363,10 +4369,6 @@ struct ConfigInfo image_config[] = /* images not associated to game elements (used for menu screens etc.) */ /* keyword to stop parser: "NO_MORE_ELEMENT_IMAGES" <-- do not change! */ -#if 1 - { "sp_objects", "sp_objects.pcx" }, -#endif - #if 1 /* !!! TEMPORARILY STORED HERE -- PROBABLY TO BE CHANGED !!! */ @@ -4383,6 +4385,16 @@ struct ConfigInfo image_config[] = #endif #endif + { "sp_frame_horizontal", "RocksSP.pcx" }, + { "sp_frame_horizontal.xpos", "7" }, + { "sp_frame_horizontal.ypos", "14" }, + { "sp_frame_vertical", "RocksSP.pcx" }, + { "sp_frame_vertical.xpos", "6" }, + { "sp_frame_vertical.ypos", "14" }, + { "sp_frame_corner", "RocksSP.pcx" }, + { "sp_frame_corner.xpos", "5" }, + { "sp_frame_corner.ypos", "14" }, + { "toon_1", "RocksToons.pcx" }, { "toon_1.x", "2" }, { "toon_1.y", "72" }, @@ -4684,6 +4696,83 @@ struct ConfigInfo image_config[] = { "menu.scrollbar.active.ypos", "10" }, { "menu.scrollbar.active.frames", "1" }, + { "game.button.gfx.stop", "RocksDoor.pcx" }, + { "game.button.gfx.stop.x", "305" }, + { "game.button.gfx.stop.y", "185" }, + { "game.button.gfx.stop.width", "30" }, + { "game.button.gfx.stop.height", "30" }, + { "game.button.gfx.stop.pressed_xoffset", "-100" }, + { "game.button.gfx.pause", "RocksDoor.pcx" }, + { "game.button.gfx.pause.x", "335" }, + { "game.button.gfx.pause.y", "185" }, + { "game.button.gfx.pause.width", "30" }, + { "game.button.gfx.pause.height", "30" }, + { "game.button.gfx.pause.pressed_xoffset", "-100" }, + { "game.button.gfx.play", "RocksDoor.pcx" }, + { "game.button.gfx.play.x", "365" }, + { "game.button.gfx.play.y", "185" }, + { "game.button.gfx.play.width", "30" }, + { "game.button.gfx.play.height", "30" }, + { "game.button.gfx.play.pressed_xoffset", "-100" }, + { "game.button.gfx.sound_music", "RocksDoor.pcx" }, + { "game.button.gfx.sound_music.x", "305" }, + { "game.button.gfx.sound_music.y", "245" }, + { "game.button.gfx.sound_music.width", "30" }, + { "game.button.gfx.sound_music.height", "30" }, + { "game.button.gfx.sound_music.pressed_xoffset", "-100" }, + { "game.button.gfx.sound_music.active_yoffset", "-30" }, + { "game.button.gfx.sound_loops", "RocksDoor.pcx" }, + { "game.button.gfx.sound_loops.x", "335" }, + { "game.button.gfx.sound_loops.y", "245" }, + { "game.button.gfx.sound_loops.width", "30" }, + { "game.button.gfx.sound_loops.height", "30" }, + { "game.button.gfx.sound_loops.pressed_xoffset", "-100" }, + { "game.button.gfx.sound_loops.active_yoffset", "-30" }, + { "game.button.gfx.sound_simple", "RocksDoor.pcx" }, + { "game.button.gfx.sound_simple.x", "365" }, + { "game.button.gfx.sound_simple.y", "245" }, + { "game.button.gfx.sound_simple.width", "30" }, + { "game.button.gfx.sound_simple.height", "30" }, + { "game.button.gfx.sound_simple.pressed_xoffset", "-100" }, + { "game.button.gfx.sound_simple.active_yoffset", "-30" }, + + { "tape.button.gfx.eject", "RocksDoor.pcx" }, + { "tape.button.gfx.eject.x", "305" }, + { "tape.button.gfx.eject.y", "357" }, + { "tape.button.gfx.eject.width", "18" }, + { "tape.button.gfx.eject.height", "18" }, + { "tape.button.gfx.eject.pressed_xoffset", "-100" }, + { "tape.button.gfx.extra", "RocksDoor.pcx" }, + { "tape.button.gfx.extra.x", "505" }, + { "tape.button.gfx.extra.y", "357" }, + { "tape.button.gfx.extra.width", "18" }, + { "tape.button.gfx.extra.height", "18" }, + { "tape.button.gfx.extra.pressed_xoffset", "-100" }, + { "tape.button.gfx.stop", "RocksDoor.pcx" }, + { "tape.button.gfx.stop.x", "323" }, + { "tape.button.gfx.stop.y", "357" }, + { "tape.button.gfx.stop.width", "18" }, + { "tape.button.gfx.stop.height", "18" }, + { "tape.button.gfx.stop.pressed_xoffset", "-100" }, + { "tape.button.gfx.pause", "RocksDoor.pcx" }, + { "tape.button.gfx.pause.x", "341" }, + { "tape.button.gfx.pause.y", "357" }, + { "tape.button.gfx.pause.width", "18" }, + { "tape.button.gfx.pause.height", "18" }, + { "tape.button.gfx.pause.pressed_xoffset", "-100" }, + { "tape.button.gfx.record", "RocksDoor.pcx" }, + { "tape.button.gfx.record.x", "359" }, + { "tape.button.gfx.record.y", "357" }, + { "tape.button.gfx.record.width", "18" }, + { "tape.button.gfx.record.height", "18" }, + { "tape.button.gfx.record.pressed_xoffset", "-100" }, + { "tape.button.gfx.play", "RocksDoor.pcx" }, + { "tape.button.gfx.play.x", "377" }, + { "tape.button.gfx.play.y", "357" }, + { "tape.button.gfx.play.width", "18" }, + { "tape.button.gfx.play.height", "18" }, + { "tape.button.gfx.play.pressed_xoffset", "-100" }, + { "font.initial_1", "RocksFontSmall.pcx" }, { "font.initial_1.x", "0" }, { "font.initial_1.y", "0" }, @@ -5401,10 +5490,16 @@ 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[SHORTCUTS]", "0" }, + { "menu.draw_yoffset.SETUP[SHORTCUTS]", "0" }, { "menu.draw_xoffset.SETUP[SHORTCUTS_1]", "0" }, { "menu.draw_yoffset.SETUP[SHORTCUTS_1]", "0" }, { "menu.draw_xoffset.SETUP[SHORTCUTS_2]", "0" }, { "menu.draw_yoffset.SETUP[SHORTCUTS_2]", "0" }, + { "menu.draw_xoffset.SETUP[SHORTCUTS_3]", "0" }, + { "menu.draw_yoffset.SETUP[SHORTCUTS_3]", "0" }, + { "menu.draw_xoffset.SETUP[SHORTCUTS_4]", "0" }, + { "menu.draw_yoffset.SETUP[SHORTCUTS_4]", "0" }, { "menu.draw_xoffset.SETUP[CHOOSE_ARTWORK]", "0" }, { "menu.draw_yoffset.SETUP[CHOOSE_ARTWORK]", "0" }, { "menu.draw_xoffset.SETUP[CHOOSE_OTHER]", "0" }, @@ -5828,6 +5923,15 @@ struct ConfigInfo image_config[] = { "game.panel.time_ss.draw_masked", "true" }, { "game.panel.time_ss.draw_order", "0" }, + { "game.panel.frame.x", "-1" }, + { "game.panel.frame.y", "-1" }, + { "game.panel.frame.align", "left" }, + { "game.panel.frame.valign", "top" }, + { "game.panel.frame.digits", "-1" }, + { "game.panel.frame.font", "font.text_2" }, + { "game.panel.frame.draw_masked", "true" }, + { "game.panel.frame.draw_order", "0" }, + { "game.panel.shield_normal.x", "-1" }, { "game.panel.shield_normal.y", "-1" }, { "game.panel.shield_normal.tile_size", "16" }, @@ -6373,6 +6477,17 @@ struct ConfigInfo image_config[] = { "game.button.sound_simple.x", "65" }, { "game.button.sound_simple.y", "245" }, + { "tape.button.eject.x", "5" }, + { "tape.button.eject.y", "77" }, + { "tape.button.stop.x", "23" }, + { "tape.button.stop.y", "77" }, + { "tape.button.pause.x", "41" }, + { "tape.button.pause.y", "77" }, + { "tape.button.record.x", "59" }, + { "tape.button.record.y", "77" }, + { "tape.button.play.x", "77" }, + { "tape.button.play.y", "77" }, + { "game.forced_scroll_delay_value", "-1" }, { "game.use_native_emc_graphics_engine", "false" }, { "game.use_native_sp_graphics_engine", "true" }, @@ -6383,5 +6498,44 @@ struct ConfigInfo image_config[] = { "[player].sleeping_delay_fixed", "2000" }, { "[player].sleeping_delay_random", "2000" }, + { "viewport.window.width", "672" }, + { "viewport.window.height", "560" }, + { "viewport.playfield.x", "6" }, + { "viewport.playfield.y", "6" }, + { "viewport.playfield.width", "548" }, + { "viewport.playfield.height", "548" }, + { "viewport.playfield.border_size", "2" }, + { "viewport.playfield.MAIN.x", ARG_DEFAULT }, + { "viewport.playfield.MAIN.y", ARG_DEFAULT }, + { "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.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.door_1.x", "566" }, + { "viewport.door_1.y", "60" }, + { "viewport.door_1.MAIN.x", ARG_DEFAULT }, + { "viewport.door_1.MAIN.y", ARG_DEFAULT }, + { "viewport.door_1.PLAYING.x", ARG_DEFAULT }, + { "viewport.door_1.PLAYING.y", ARG_DEFAULT }, + { "viewport.door_1.EDITOR.x", ARG_DEFAULT }, + { "viewport.door_1.EDITOR.y", ARG_DEFAULT }, + { "viewport.door_2.x", "566" }, + { "viewport.door_2.y", "400" }, + { "viewport.door_2.MAIN.x", ARG_DEFAULT }, + { "viewport.door_2.MAIN.y", ARG_DEFAULT }, + { "viewport.door_2.PLAYING.x", ARG_DEFAULT }, + { "viewport.door_2.PLAYING.y", ARG_DEFAULT }, + { "viewport.door_2.EDITOR.x", "566" }, + { "viewport.door_2.EDITOR.y", "356" }, + { NULL, NULL } };