rnd-20030218-3-src
[rocksndiamonds.git] / src / conf_gfx.c
index 830e88d2fa43355b116eb16ff086e2fe277b443b..8496c637eeaf30231ddb8a162d45ea03ce4465e0 100644 (file)
@@ -45,6 +45,8 @@ struct ConfigInfo image_config_suffix[] =
   { ".step_delay",                     "1",            TYPE_INTEGER },
   { ".direction",                      ARG_UNDEFINED,  TYPE_STRING  },
   { ".position",                       ARG_UNDEFINED,  TYPE_STRING  },
+  { ".draw_xoffset",                   "0",            TYPE_INTEGER },
+  { ".draw_yoffset",                   "0",            TYPE_INTEGER },
   { ".name",                           ARG_UNDEFINED,  TYPE_STRING  },
 
   { NULL,                              NULL,           0            }
@@ -2621,73 +2623,22 @@ struct ConfigInfo image_config[] =
   { "invisible_steelwall_vertical.EDITOR.xpos",        "11"                    },
   { "invisible_steelwall_vertical.EDITOR.ypos",        "13"                    },
 
-  { "arrow_blue.left",                         "RocksDC.pcx"           },
-  { "arrow_blue.left.xpos",                    "8"                     },
-  { "arrow_blue.left.ypos",                    "8"                     },
-  { "arrow_blue.left.frames",                  "1"                     },
-  { "arrow_blue.right",                                "RocksDC.pcx"           },
-  { "arrow_blue.right.xpos",                   "9"                     },
-  { "arrow_blue.right.ypos",                   "8"                     },
-  { "arrow_blue.right.frames",                 "1"                     },
-  { "arrow_blue.up",                           "RocksDC.pcx"           },
-  { "arrow_blue.up.xpos",                      "10"                    },
-  { "arrow_blue.up.ypos",                      "8"                     },
-  { "arrow_blue.up.frames",                    "1"                     },
-  { "arrow_blue.down",                         "RocksDC.pcx"           },
-  { "arrow_blue.down.xpos",                    "11"                    },
-  { "arrow_blue.down.ypos",                    "8"                     },
-  { "arrow_blue.down.frames",                  "1"                     },
-
-  { "arrow_red.left",                          "RocksDC.pcx"           },
-  { "arrow_red.left.xpos",                     "8"                     },
-  { "arrow_red.left.ypos",                     "9"                     },
-  { "arrow_red.left.frames",                   "1"                     },
-  { "arrow_red.right",                         "RocksDC.pcx"           },
-  { "arrow_red.right.xpos",                    "9"                     },
-  { "arrow_red.right.ypos",                    "9"                     },
-  { "arrow_red.right.frames",                  "1"                     },
-  { "arrow_red.up",                            "RocksDC.pcx"           },
-  { "arrow_red.up.xpos",                       "10"                    },
-  { "arrow_red.up.ypos",                       "9"                     },
-  { "arrow_red.up.frames",                     "1"                     },
-  { "arrow_red.down",                          "RocksDC.pcx"           },
-  { "arrow_red.down.xpos",                     "11"                    },
-  { "arrow_red.down.ypos",                     "9"                     },
-  { "arrow_red.down.frames",                   "1"                     },
-
-  { "ball_red",                                        "RocksElements.pcx"     },
-  { "ball_red.xpos",                           "12"                    },
-  { "ball_red.ypos",                           "8"                     },
-  { "ball_red.frames",                         "1"                     },
-  { "ball_blue",                               "RocksElements.pcx"     },
-  { "ball_blue.xpos",                          "13"                    },
-  { "ball_blue.ypos",                          "8"                     },
-  { "ball_blue.frames",                                "1"                     },
-  { "ball_yellow",                             "RocksElements.pcx"     },
-  { "ball_yellow.xpos",                                "14"                    },
-  { "ball_yellow.ypos",                                "8"                     },
-  { "ball_yellow.frames",                      "1"                     },
-  { "ball_gray",                               "RocksElements.pcx"     },
-  { "ball_gray.xpos",                          "15"                    },
-  { "ball_gray.ypos",                          "8"                     },
-  { "ball_gray.frames",                                "1"                     },
-
-  { "scrollbar_blue",                          "RocksDC.pcx"           },
-  { "scrollbar_blue.xpos",                     "8"                     },
-  { "scrollbar_blue.ypos",                     "10"                    },
-  { "scrollbar_blue.frames",                   "1"                     },
-  { "scrollbar_red",                           "RocksDC.pcx"           },
-  { "scrollbar_red.xpos",                      "9"                     },
-  { "scrollbar_red.ypos",                      "10"                    },
-  { "scrollbar_red.frames",                    "1"                     },
-  { "scrollbar_green",                         "RocksDC.pcx"           },
-  { "scrollbar_green.xpos",                    "10"                    },
-  { "scrollbar_green.ypos",                    "10"                    },
-  { "scrollbar_green.frames",                  "1"                     },
-  { "scrollbar_yellow",                                "RocksDC.pcx"           },
-  { "scrollbar_yellow.xpos",                   "11"                    },
-  { "scrollbar_yellow.ypos",                   "10"                    },
-  { "scrollbar_yellow.frames",                 "1"                     },
+  { "arrow_left",                              "RocksDC.pcx"           },
+  { "arrow_left.xpos",                         "8"                     },
+  { "arrow_left.ypos",                         "8"                     },
+  { "arrow_left.frames",                       "1"                     },
+  { "arrow_right",                             "RocksDC.pcx"           },
+  { "arrow_right.xpos",                                "9"                     },
+  { "arrow_right.ypos",                                "8"                     },
+  { "arrow_right.frames",                      "1"                     },
+  { "arrow_up",                                        "RocksDC.pcx"           },
+  { "arrow_up.xpos",                           "10"                    },
+  { "arrow_up.ypos",                           "8"                     },
+  { "arrow_up.frames",                         "1"                     },
+  { "arrow_down",                              "RocksDC.pcx"           },
+  { "arrow_down.xpos",                         "11"                    },
+  { "arrow_down.ypos",                         "8"                     },
+  { "arrow_down.frames",                       "1"                     },
 
 #include "conf_chr.c"  /* include auto-generated data structure definitions */
 #include "conf_cus.c"  /* include auto-generated data structure definitions */
@@ -2881,27 +2832,183 @@ struct ConfigInfo image_config[] =
   { "toon_20.direction",                       "down"                  },
   { "toon_20.position",                                "any"                   },
 
-  { "global.num_toons",                                "20"                    },
+  { "menu.calibrate_red",                      "RocksElements.pcx"     },
+  { "menu.calibrate_red.xpos",                 "12"                    },
+  { "menu.calibrate_red.ypos",                 "8"                     },
+  { "menu.calibrate_red.frames",               "1"                     },
+  { "menu.calibrate_blue",                     "RocksElements.pcx"     },
+  { "menu.calibrate_blue.xpos",                        "13"                    },
+  { "menu.calibrate_blue.ypos",                        "8"                     },
+  { "menu.calibrate_blue.frames",              "1"                     },
+  { "menu.calibrate_yellow",                   "RocksElements.pcx"     },
+  { "menu.calibrate_yellow.xpos",              "14"                    },
+  { "menu.calibrate_yellow.ypos",              "8"                     },
+  { "menu.calibrate_yellow.frames",            "1"                     },
+
+  { "menu.button",                             "RocksElements.pcx"     },
+  { "menu.button.xpos",                                "13"                    },
+  { "menu.button.ypos",                                "8"                     },
+  { "menu.button.frames",                      "1"                     },
+  { "menu.button.active",                      "RocksElements.pcx"     },
+  { "menu.button.active.xpos",                 "12"                    },
+  { "menu.button.active.ypos",                 "8"                     },
+  { "menu.button.active.frames",               "1"                     },
+
+  { "menu.button_left",                                "RocksDC.pcx"           },
+  { "menu.button_left.xpos",                   "8"                     },
+  { "menu.button_left.ypos",                   "8"                     },
+  { "menu.button_left.frames",                 "1"                     },
+  { "menu.button_right",                       "RocksDC.pcx"           },
+  { "menu.button_right.xpos",                  "9"                     },
+  { "menu.button_right.ypos",                  "8"                     },
+  { "menu.button_right.frames",                        "1"                     },
+  { "menu.button_up",                          "RocksDC.pcx"           },
+  { "menu.button_up.xpos",                     "10"                    },
+  { "menu.button_up.ypos",                     "8"                     },
+  { "menu.button_up.frames",                   "1"                     },
+  { "menu.button_down",                                "RocksDC.pcx"           },
+  { "menu.button_down.xpos",                   "11"                    },
+  { "menu.button_down.ypos",                   "8"                     },
+  { "menu.button_down.frames",                 "1"                     },
+  { "menu.button_left.active",                 "RocksDC.pcx"           },
+  { "menu.button_left.active.xpos",            "8"                     },
+  { "menu.button_left.active.ypos",            "9"                     },
+  { "menu.button_left.active.frames",          "1"                     },
+  { "menu.button_right.active",                        "RocksDC.pcx"           },
+  { "menu.button_right.active.xpos",           "9"                     },
+  { "menu.button_right.active.ypos",           "9"                     },
+  { "menu.button_right.active.frames",         "1"                     },
+  { "menu.button_up.active",                   "RocksDC.pcx"           },
+  { "menu.button_up.active.xpos",              "10"                    },
+  { "menu.button_up.active.ypos",              "9"                     },
+  { "menu.button_up.active.frames",            "1"                     },
+  { "menu.button_down.active",                 "RocksDC.pcx"           },
+  { "menu.button_down.active.xpos",            "11"                    },
+  { "menu.button_down.active.ypos",            "9"                     },
+  { "menu.button_down.active.frames",          "1"                     },
+
+  { "menu.scrollbar",                          "RocksDC.pcx"           },
+  { "menu.scrollbar.xpos",                     "8"                     },
+  { "menu.scrollbar.ypos",                     "10"                    },
+  { "menu.scrollbar.frames",                   "1"                     },
+  { "menu.scrollbar.active",                   "RocksDC.pcx"           },
+  { "menu.scrollbar.active.xpos",              "9"                     },
+  { "menu.scrollbar.active.ypos",              "10"                    },
+  { "menu.scrollbar.active.frames",            "1"                     },
+
+  { "font.initial_1",                          "RocksFontSmall.pcx"    },
+  { "font.initial_1.x",                                "0"                     },
+  { "font.initial_1.y",                                "0"                     },
+  { "font.initial_1.width",                    "14"                    },
+  { "font.initial_1.height",                   "14"                    },
+  { "font.initial_2",                          "RocksFontSmall.pcx"    },
+  { "font.initial_2.x",                                "0"                     },
+  { "font.initial_2.y",                                "56"                    },
+  { "font.initial_2.width",                    "14"                    },
+  { "font.initial_2.height",                   "14"                    },
+  { "font.initial_3",                          "RocksFontSmall.pcx"    },
+  { "font.initial_3.x",                                "0"                     },
+  { "font.initial_3.y",                                "112"                   },
+  { "font.initial_3.width",                    "14"                    },
+  { "font.initial_3.height",                   "14"                    },
+  { "font.initial_4",                          "RocksFontSmall.pcx"    },
+  { "font.initial_4.x",                                "0"                     },
+  { "font.initial_4.y",                                "168"                   },
+  { "font.initial_4.width",                    "14"                    },
+  { "font.initial_4.height",                   "14"                    },
+
+  { "font.big_1",                              "RocksFontBig.pcx"      },
+  { "font.big_1.x",                            "0"                     },
+  { "font.big_1.y",                            "0"                     },
+  { "font.big_1.width",                                "32"                    },
+  { "font.big_1.height",                       "32"                    },
+  { "font.big_2",                              "RocksFontBig.pcx"      },
+  { "font.big_2.x",                            "0"                     },
+  { "font.big_2.y",                            "128"                   },
+  { "font.big_2.width",                                "32"                    },
+  { "font.big_2.height",                       "32"                    },
+  { "font.big_3",                              "RocksFontBig.pcx"      },
+  { "font.big_3.x",                            "0"                     },
+  { "font.big_3.y",                            "256"                   },
+  { "font.big_3.width",                                "32"                    },
+  { "font.big_3.height",                       "32"                    },
+  { "font.big_4",                              "RocksFontBig.pcx"      },
+  { "font.big_4.x",                            "0"                     },
+  { "font.big_4.y",                            "384"                   },
+  { "font.big_4.width",                                "32"                    },
+  { "font.big_4.height",                       "32"                    },
+
+  { "font.medium_1",                           "RocksFontMedium.pcx"   },
+  { "font.medium_1.x",                         "0"                     },
+  { "font.medium_1.y",                         "0"                     },
+  { "font.medium_1.width",                     "16"                    },
+  { "font.medium_1.height",                    "32"                    },
+  { "font.medium_2",                           "RocksFontMedium.pcx"   },
+  { "font.medium_2.x",                         "0"                     },
+  { "font.medium_2.y",                         "128"                   },
+  { "font.medium_2.width",                     "16"                    },
+  { "font.medium_2.height",                    "32"                    },
+  { "font.medium_3",                           "RocksFontMedium.pcx"   },
+  { "font.medium_3.x",                         "0"                     },
+  { "font.medium_3.y",                         "256"                   },
+  { "font.medium_3.width",                     "16"                    },
+  { "font.medium_3.height",                    "32"                    },
+  { "font.medium_4",                           "RocksFontMedium.pcx"   },
+  { "font.medium_4.x",                         "0"                     },
+  { "font.medium_4.y",                         "384"                   },
+  { "font.medium_4.width",                     "16"                    },
+  { "font.medium_4.height",                    "32"                    },
+
+  { "font.small_1",                            "RocksFontSmall.pcx"    },
+  { "font.small_1.x",                          "0"                     },
+  { "font.small_1.y",                          "0"                     },
+  { "font.small_1.width",                      "14"                    },
+  { "font.small_1.height",                     "14"                    },
+  { "font.small_2",                            "RocksFontSmall.pcx"    },
+  { "font.small_2.x",                          "0"                     },
+  { "font.small_2.y",                          "56"                    },
+  { "font.small_2.width",                      "14"                    },
+  { "font.small_2.height",                     "14"                    },
+  { "font.small_3",                            "RocksFontSmall.pcx"    },
+  { "font.small_3.x",                          "0"                     },
+  { "font.small_3.y",                          "112"                   },
+  { "font.small_3.width",                      "14"                    },
+  { "font.small_3.height",                     "14"                    },
+  { "font.small_4",                            "RocksFontSmall.pcx"    },
+  { "font.small_4.x",                          "0"                     },
+  { "font.small_4.y",                          "168"                   },
+  { "font.small_4.width",                      "14"                    },
+  { "font.small_4.height",                     "14"                    },
+
+  { "font.tape",                               "RocksFontSmall.pcx"    },
+  { "font.tape.x",                             "0"                     },
+  { "font.tape.y",                             "224"                   },
+  { "font.tape.width",                         "11"                    },
+  { "font.tape.height",                                "14"                    },
+
+  { "font.game",                               "RocksFontEM.pcx"       },
+  { "font.game.x",                             "0"                     },
+  { "font.game.y",                             "160"                   },
+  { "font.game.width",                         "16"                    },
+  { "font.game.height",                                "16"                    },
+
+  { "font.narrow",                             "RocksFontSmall.pcx"    },
+  { "font.narrow.x",                           "0"                     },
+  { "font.narrow.y",                           "280"                   },
+  { "font.narrow.width",                       "10"                    },
+  { "font.narrow.height",                      "14"                    },
 
   { "global.border",                           "RocksScreen.pcx"       },
   { "global.door",                             "RocksDoor.pcx"         },
 
-  { "menu.main.hide_static_text",              "false"                 },
-
-  { "font.big",                                        "RocksFontBig.pcx"      },
-  { "font.medium",                             "RocksFontMedium.pcx"   },
-  { "font.small",                              "RocksFontSmall.pcx"    },
-  { "font.em",                                 "RocksFontEM.pcx"       },
-
-  { "background.default",                      UNDEFINED_FILENAME      },
-  { "background.door",                         UNDEFINED_FILENAME      },
+  { "background",                              UNDEFINED_FILENAME      },
   { "background.main",                         UNDEFINED_FILENAME      },
-  { "background.level_series",                 UNDEFINED_FILENAME      },
-  { "background.hall_of_fame",                 UNDEFINED_FILENAME      },
-  { "background.editor_settings_level",                UNDEFINED_FILENAME      },
-  { "background.editor_settings_element",      UNDEFINED_FILENAME      },
+  { "background.levels",                       UNDEFINED_FILENAME      },
+  { "background.scores",                       UNDEFINED_FILENAME      },
+  { "background.editor",                       UNDEFINED_FILENAME      },
   { "background.info",                         UNDEFINED_FILENAME      },
   { "background.setup",                                UNDEFINED_FILENAME      },
+  { "background.door",                         UNDEFINED_FILENAME      },
 
   { "info.font_em_1",                          "RocksFontEM.pcx"       },
   { "info.font_em_1.xpos",                     "0"                     },
@@ -2929,5 +3036,12 @@ struct ConfigInfo image_config[] =
   { "info.font_em_5.frames",                   "4"                     },
   { "info.font_em_5.delay",                    "10"                    },
 
+  /* the following directives are not associated with an image,
+     but make sense to be defined in "graphicsinfo.conf", too */
+
+  { "global.num_toons",                                "20"                    },
+
+  { "menu.main.hide_static_text",              "false"                 },
+
   { NULL,                                      NULL                    }
 };