rnd-20061230-1-src
[rocksndiamonds.git] / src / conf_gfx.c
index c91dbcb409b2d2c65202debb6eb1b99797ad7af0..6a8faeec72483d27c57c6835efd449ff527388c7 100644 (file)
@@ -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               }
 };
@@ -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,6 +4516,17 @@ 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 */
 
@@ -4523,6 +4542,14 @@ struct ConfigInfo image_config[] =
   { "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"                     },
@@ -4535,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"                     },
 
@@ -4545,84 +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",                      "-1"                    },
-  { "main.button.name.y",                      "-1"                    },
-  { "main.button.levels.x",                    "-1"                    },
-  { "main.button.levels.y",                    "-1"                    },
-  { "main.button.scores.x",                    "-1"                    },
-  { "main.button.scores.y",                    "-1"                    },
-  { "main.button.editor.x",                    "-1"                    },
-  { "main.button.editor.y",                    "-1"                    },
-  { "main.button.info.x",                      "-1"                    },
-  { "main.button.info.y",                      "-1"                    },
-  { "main.button.game.x",                      "-1"                    },
-  { "main.button.game.y",                      "-1"                    },
-  { "main.button.setup.x",                     "-1"                    },
-  { "main.button.setup.y",                     "-1"                    },
-  { "main.button.quit.x",                      "-1"                    },
-  { "main.button.quit.y",                      "-1"                    },
-  { "main.button.prev_level.x",                        "-1"                    },
-  { "main.button.prev_level.y",                        "-1"                    },
-  { "main.button.next_level.x",                        "-1"                    },
-  { "main.button.next_level.y",                        "-1"                    },
+  { "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.current_level.x",               "-1"                    },
-  { "main.text.current_level.y",               "-1"                    },
-  { "main.text.first_level.x",                 "-1"                    },
-  { "main.text.first_level.y",                 "-1"                    },
-  { "main.text.last_level.x",                  "-1"                    },
-  { "main.text.last_level.y",                  "-1"                    },
-  { "main.text.levelset_info.x",               "-1"                    },
-  { "main.text.levelset_info.y",               "-1"                    },
-  { "main.text.level_info.x",                  "-1"                    },
-  { "main.text.level_info.y",                  "-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",                               "148"                   },
-  { "preview.y",                               "388"                   },
+  { "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"                    },