X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fconf_gfx.c;h=6a8faeec72483d27c57c6835efd449ff527388c7;hb=462bca0782be497b984922afda26b5bf12bd3d75;hp=b67f1f53c8568eb7a4ceb6da462409197550a7b2;hpb=7758484aa10294db3689a7eacc9c4b64132d5d6e;p=rocksndiamonds.git diff --git a/src/conf_gfx.c b/src/conf_gfx.c index b67f1f53..6a8faeec 100644 --- a/src/conf_gfx.c +++ b/src/conf_gfx.c @@ -60,6 +60,9 @@ struct ConfigTypeInfo image_config_suffix[] = { ".name", ARG_UNDEFINED, TYPE_STRING }, { ".scale_up_factor", ARG_UNDEFINED, TYPE_INTEGER }, { ".clone_from", ARG_UNDEFINED, TYPE_TOKEN }, + { ".fade_delay", ARG_UNDEFINED, TYPE_INTEGER }, + { ".post_delay", ARG_UNDEFINED, TYPE_INTEGER }, + { ".auto_delay", ARG_UNDEFINED, TYPE_INTEGER }, { NULL, NULL, 0 } }; @@ -4184,10 +4187,10 @@ struct ConfigInfo image_config[] = { "menu.button_next_level.clone_from", "menu.button_right" }, { "menu.button_next_level.active", "RocksDC.pcx" }, { "menu.button_next_level.active.clone_from", "menu.button_right.active" }, - { "menu.button_last_level", "RocksDC.pcx" }, - { "menu.button_last_level.clone_from", "menu.button_left" }, - { "menu.button_last_level.active", "RocksDC.pcx" }, - { "menu.button_last_level.active.clone_from", "menu.button_left.active" }, + { "menu.button_prev_level", "RocksDC.pcx" }, + { "menu.button_prev_level.clone_from", "menu.button_left" }, + { "menu.button_prev_level.active", "RocksDC.pcx" }, + { "menu.button_prev_level.active.clone_from", "menu.button_left.active" }, { "menu.scrollbar", "RocksDC.pcx" }, { "menu.scrollbar.xpos", "8" }, @@ -4235,11 +4238,21 @@ struct ConfigInfo image_config[] = { "font.menu_1.y", "320" }, { "font.menu_1.width", "32" }, { "font.menu_1.height", "32" }, + { "font.menu_1.active", "RocksFontBig.pcx" }, + { "font.menu_1.active.x", "0" }, + { "font.menu_1.active.y", "480" }, + { "font.menu_1.active.width", "32" }, + { "font.menu_1.active.height", "32" }, { "font.menu_2", "RocksFontMedium.pcx" }, { "font.menu_2.x", "0" }, { "font.menu_2.y", "320" }, { "font.menu_2.width", "16" }, { "font.menu_2.height", "32" }, + { "font.menu_2.active", "RocksFontMedium.pcx" }, + { "font.menu_2.active.x", "0" }, + { "font.menu_2.active.y", "480" }, + { "font.menu_2.active.width", "16" }, + { "font.menu_2.active.height", "32" }, { "font.text_1", "RocksFontSmall.pcx" }, { "font.text_1.x", "0" }, @@ -4487,14 +4500,9 @@ struct ConfigInfo image_config[] = { "background.envelope_4.anim_mode", "default" }, { "background.envelope_4.draw_masked", "false" }, - { "titlescreen_1", UNDEFINED_FILENAME }, - { "titlescreen_2", UNDEFINED_FILENAME }, - { "titlescreen_3", UNDEFINED_FILENAME }, - { "titlescreen_4", UNDEFINED_FILENAME }, - { "titlescreen_5", UNDEFINED_FILENAME }, - { "background", UNDEFINED_FILENAME }, { "background.TITLE", UNDEFINED_FILENAME }, + { "background.MESSAGE", UNDEFINED_FILENAME }, { "background.MAIN", UNDEFINED_FILENAME }, { "background.LEVELS", UNDEFINED_FILENAME }, { "background.SCORES", UNDEFINED_FILENAME }, @@ -4508,11 +4516,40 @@ struct ConfigInfo image_config[] = { "background.SETUP", UNDEFINED_FILENAME }, { "background.DOOR", UNDEFINED_FILENAME }, + { "titlescreen_initial_1", UNDEFINED_FILENAME }, + { "titlescreen_initial_2", UNDEFINED_FILENAME }, + { "titlescreen_initial_3", UNDEFINED_FILENAME }, + { "titlescreen_initial_4", UNDEFINED_FILENAME }, + { "titlescreen_initial_5", UNDEFINED_FILENAME }, + { "titlescreen_1", UNDEFINED_FILENAME }, + { "titlescreen_2", UNDEFINED_FILENAME }, + { "titlescreen_3", UNDEFINED_FILENAME }, + { "titlescreen_4", UNDEFINED_FILENAME }, + { "titlescreen_5", UNDEFINED_FILENAME }, + /* the following directives are not associated with an image, but probably make sense to be defined in "graphicsinfo.conf", too */ { "global.num_toons", "20" }, + { "border.draw_masked.TITLE", "false" }, + { "border.draw_masked.MAIN", "false" }, + { "border.draw_masked.LEVELS", "false" }, + { "border.draw_masked.SCORES", "false" }, + { "border.draw_masked.EDITOR", "false" }, + { "border.draw_masked.INFO", "false" }, + { "border.draw_masked.SETUP", "false" }, + { "border.draw_masked.PLAYING", "false" }, + { "border.draw_masked.DOOR", "false" }, + + { "title.fade_delay", "500" }, + { "title.post_delay", "250" }, + { "title.auto_delay", "-1" }, + + { "menu.fade_delay", "250" }, + { "menu.post_delay", "125" }, + { "menu.auto_delay", "-1" }, + { "menu.draw_xoffset", "0" }, { "menu.draw_yoffset", "0" }, { "menu.draw_xoffset.MAIN", "0" }, @@ -4525,6 +4562,16 @@ struct ConfigInfo image_config[] = { "menu.draw_yoffset.EDITOR", "0" }, { "menu.draw_xoffset.INFO", "0" }, { "menu.draw_yoffset.INFO", "0" }, + { "menu.draw_xoffset.INFO[ELEMENTS]", "0" }, + { "menu.draw_yoffset.INFO[ELEMENTS]", "0" }, + { "menu.draw_xoffset.INFO[MUSIC]", "0" }, + { "menu.draw_yoffset.INFO[MUSIC]", "0" }, + { "menu.draw_xoffset.INFO[CREDITS]", "0" }, + { "menu.draw_yoffset.INFO[CREDITS]", "0" }, + { "menu.draw_xoffset.INFO[PROGRAM]", "0" }, + { "menu.draw_yoffset.INFO[PROGRAM]", "0" }, + { "menu.draw_xoffset.INFO[LEVELSET]", "0" }, + { "menu.draw_yoffset.INFO[LEVELSET]", "0" }, { "menu.draw_xoffset.SETUP", "0" }, { "menu.draw_yoffset.SETUP", "0" }, @@ -4535,8 +4582,109 @@ struct ConfigInfo image_config[] = { "menu.list_size.SCORES", "-1" }, { "menu.list_size.INFO", "-1" }, - { "menu.fade_delay", "250" }, - { "menu.post_delay", "125" }, + { "main.button.name.x", "0" }, + { "main.button.name.y", "64" }, + { "main.button.levels.x", "0" }, + { "main.button.levels.y", "96" }, + { "main.button.scores.x", "0" }, + { "main.button.scores.y", "128" }, + { "main.button.editor.x", "0" }, + { "main.button.editor.y", "160" }, + { "main.button.info.x", "0" }, + { "main.button.info.y", "192" }, + { "main.button.game.x", "0" }, + { "main.button.game.y", "224" }, + { "main.button.setup.x", "0" }, + { "main.button.setup.y", "256" }, + { "main.button.quit.x", "0" }, + { "main.button.quit.y", "288" }, + + { "main.button.prev_level.x", "320" }, + { "main.button.prev_level.y", "96" }, + { "main.button.next_level.x", "448" }, + { "main.button.next_level.y", "96" }, + + { "main.text.name.x", "-1" }, + { "main.text.name.y", "-1" }, + { "main.text.name.width", "-1" }, + { "main.text.name.height", "-1" }, + { "main.text.name.align", "left" }, + { "main.text.levels.x", "-1" }, + { "main.text.levels.y", "-1" }, + { "main.text.levels.width", "-1" }, + { "main.text.levels.height", "-1" }, + { "main.text.levels.align", "left" }, + { "main.text.scores.x", "-1" }, + { "main.text.scores.y", "-1" }, + { "main.text.scores.width", "-1" }, + { "main.text.scores.height", "-1" }, + { "main.text.scores.align", "left" }, + { "main.text.editor.x", "-1" }, + { "main.text.editor.y", "-1" }, + { "main.text.editor.width", "-1" }, + { "main.text.editor.height", "-1" }, + { "main.text.editor.align", "left" }, + { "main.text.info.x", "-1" }, + { "main.text.info.y", "-1" }, + { "main.text.info.width", "-1" }, + { "main.text.info.height", "-1" }, + { "main.text.info.align", "left" }, + { "main.text.game.x", "-1" }, + { "main.text.game.y", "-1" }, + { "main.text.game.width", "-1" }, + { "main.text.game.height", "-1" }, + { "main.text.game.align", "left" }, + { "main.text.setup.x", "-1" }, + { "main.text.setup.y", "-1" }, + { "main.text.setup.width", "-1" }, + { "main.text.setup.height", "-1" }, + { "main.text.setup.align", "left" }, + { "main.text.quit.x", "-1" }, + { "main.text.quit.y", "-1" }, + { "main.text.quit.width", "-1" }, + { "main.text.quit.height", "-1" }, + { "main.text.quit.align", "left" }, + + { "main.text.current_level.x", "352" }, + { "main.text.current_level.y", "96" }, + { "main.text.current_level.align", "left" }, + { "main.text.first_level.x", "488" }, + { "main.text.first_level.y", "98" }, + { "main.text.first_level.align", "left" }, + { "main.text.last_level.x", "488" }, + { "main.text.last_level.y", "112" }, + { "main.text.last_level.align", "left" }, + { "main.text.level_info_1.x", "272" }, + { "main.text.level_info_1.y", "352" }, + { "main.text.level_info_1.align", "center" }, + { "main.text.level_info_2.x", "272" }, + { "main.text.level_info_2.y", "523" }, + { "main.text.level_info_2.align", "center" }, + { "main.text.title_1.x", "272" }, + { "main.text.title_1.y", "8" }, + { "main.text.title_1.align", "center" }, + { "main.text.title_2.x", "272" }, + { "main.text.title_2.y", "46" }, + { "main.text.title_2.align", "center" }, + { "main.text.title_3.x", "272" }, + { "main.text.title_3.y", "326" }, + { "main.text.title_3.align", "center" }, + + { "main.input.name.x", "-1" }, + { "main.input.name.y", "-1" }, + { "main.input.name.align", "left" }, + + { "preview.x", "272" }, + { "preview.y", "380" }, + { "preview.align", "center" }, + { "preview.xsize", "66" }, + { "preview.ysize", "34" }, + { "preview.xoffset", "0" }, + { "preview.yoffset", "0" }, + { "preview.tile_size", "4" }, + { "preview.step_offset", "1" }, + { "preview.step_delay", "50" }, + { "preview.anim_mode", "default" }, { "door_1.width", "-1" }, { "door_1.height", "-1" }, @@ -4550,14 +4698,6 @@ struct ConfigInfo image_config[] = { "door_2.step_delay", "10" }, { "door_2.anim_mode", "default" }, - { "preview.x", "148" }, - { "preview.y", "388" }, - { "preview.xsize", "66" }, - { "preview.ysize", "34" }, - { "preview.tile_size", "4" }, - { "preview.step_offset", "1" }, - { "preview.step_delay", "50" }, - { "game.panel.level.x", "37" }, { "game.panel.level.y", "20" }, { "game.panel.gems.x", "29" },