X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fconf_gfx.c;h=5fb7849384501cc03a889ffb401971308ca50293;hb=87382cdd307aa01757ed5c8a863ebb7dcb812e8e;hp=b51564903b5db4ee42c044959e952f1bb90d8248;hpb=4179dabc517f32c163c5d2c9aec2e15c57225d42;p=rocksndiamonds.git diff --git a/src/conf_gfx.c b/src/conf_gfx.c index b5156490..5fb78493 100644 --- a/src/conf_gfx.c +++ b/src/conf_gfx.c @@ -69,6 +69,10 @@ struct ConfigTypeInfo image_config_suffix[] = { ".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 } }; @@ -4692,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" }, @@ -6396,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" }, @@ -6408,14 +6500,26 @@ struct ConfigInfo image_config[] = { "viewport.window.width", "672" }, { "viewport.window.height", "560" }, - { "viewport.playfield.width", "17" }, - { "viewport.playfield.height", "17" }, + { "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 },