rnd-20100617-1-src
[rocksndiamonds.git] / src / conf_gfx.c
index 156d48557ef3222f458b989dbba4a07728e09f60..459879202234452cad886686bcf4cfde8a0f98a9 100644 (file)
@@ -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,172 @@ 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"                  },
+
+  { "tape.symbol.gfx.eject",                   UNDEFINED_FILENAME      },
+  { "tape.symbol.gfx.stop",                    UNDEFINED_FILENAME      },
+  { "tape.symbol.gfx.pause",                   "RocksDoor.pcx"         },
+  { "tape.symbol.gfx.pause.x",                 "340"                   },
+  { "tape.symbol.gfx.pause.y",                 "321"                   },
+  { "tape.symbol.gfx.pause.width",             "17"                    },
+  { "tape.symbol.gfx.pause.height",            "13"                    },
+  { "tape.symbol.gfx.record",                  "RocksDoor.pcx"         },
+  { "tape.symbol.gfx.record.x",                        "325"                   },
+  { "tape.symbol.gfx.record.y",                        "321"                   },
+  { "tape.symbol.gfx.record.width",            "16"                    },
+  { "tape.symbol.gfx.record.height",           "16"                    },
+  { "tape.symbol.gfx.play",                    "RocksDoor.pcx"         },
+  { "tape.symbol.gfx.play.x",                  "357"                   },
+  { "tape.symbol.gfx.play.y",                  "321"                   },
+  { "tape.symbol.gfx.play.width",              "11"                    },
+  { "tape.symbol.gfx.play.height",             "13"                    },
+  { "tape.symbol.gfx.fast_forward",            "RocksDoor.pcx"         },
+  { "tape.symbol.gfx.fast_forward.x",          "539"                   },
+  { "tape.symbol.gfx.fast_forward.y",          "193"                   },
+  { "tape.symbol.gfx.fast_forward.width",      "27"                    },
+  { "tape.symbol.gfx.fast_forward.height",     "13"                    },
+  { "tape.symbol.gfx.warp_forward",            "RocksDoor.pcx"         },
+  { "tape.symbol.gfx.warp_forward.x",          "539"                   },
+  { "tape.symbol.gfx.warp_forward.y",          "152"                   },
+  { "tape.symbol.gfx.warp_forward.width",      "27"                    },
+  { "tape.symbol.gfx.warp_forward.height",     "13"                    },
+  { "tape.symbol.gfx.warp_forward_blind",      "RocksDoor.pcx"         },
+  { "tape.symbol.gfx.warp_forward_blind.x",    "539"                   },
+  { "tape.symbol.gfx.warp_forward_blind.y",    "165"                   },
+  { "tape.symbol.gfx.warp_forward_blind.width",        "27"                    },
+  { "tape.symbol.gfx.warp_forward_blind.height","13"                   },
+  { "tape.symbol.gfx.pause_before_end",                "RocksDoor.pcx"         },
+  { "tape.symbol.gfx.pause_before_end.x",      "539"                   },
+  { "tape.symbol.gfx.pause_before_end.y",      "221"                   },
+  { "tape.symbol.gfx.pause_before_end.width",  "27"                    },
+  { "tape.symbol.gfx.pause_before_end.height", "13"                    },
+  { "tape.symbol.gfx.single_step",             UNDEFINED_FILENAME      },
+
+  { "tape.label.gfx.eject",                    UNDEFINED_FILENAME      },
+  { "tape.label.gfx.stop",                     UNDEFINED_FILENAME      },
+  { "tape.label.gfx.pause",                    "RocksDoor.pcx"         },
+  { "tape.label.gfx.pause.x",                  "305"                   },
+  { "tape.label.gfx.pause.y",                  "341"                   },
+  { "tape.label.gfx.pause.width",              "35"                    },
+  { "tape.label.gfx.pause.height",             "8"                     },
+  { "tape.label.gfx.record",                   "RocksDoor.pcx"         },
+  { "tape.label.gfx.record.x",                 "305"                   },
+  { "tape.label.gfx.record.y",                 "321"                   },
+  { "tape.label.gfx.record.width",             "20"                    },
+  { "tape.label.gfx.record.height",            "12"                    },
+  { "tape.label.gfx.play",                     "RocksDoor.pcx"         },
+  { "tape.label.gfx.play.x",                   "370"                   },
+  { "tape.label.gfx.play.y",                   "321"                   },
+  { "tape.label.gfx.play.width",               "22"                    },
+  { "tape.label.gfx.play.height",              "12"                    },
+  { "tape.label.gfx.fast_forward",             "RocksDoor.pcx"         },
+  { "tape.label.gfx.fast_forward.x",           "505"                   },
+  { "tape.label.gfx.fast_forward.y",           "193"                   },
+  { "tape.label.gfx.fast_forward.width",       "40"                    },
+  { "tape.label.gfx.fast_forward.height",      "28"                    },
+  { "tape.label.gfx.warp_forward",             "RocksDoor.pcx"         },
+  { "tape.label.gfx.warp_forward.x",           "505"                   },
+  { "tape.label.gfx.warp_forward.y",           "165"                   },
+  { "tape.label.gfx.warp_forward.width",       "40"                    },
+  { "tape.label.gfx.warp_forward.height",      "28"                    },
+  { "tape.label.gfx.warp_forward_blind",       "RocksDoor.pcx"         },
+  { "tape.label.gfx.warp_forward_blind.x",     "505"                   },
+  { "tape.label.gfx.warp_forward_blind.y",     "165"                   },
+  { "tape.label.gfx.warp_forward_blind.width", "40"                    },
+  { "tape.label.gfx.warp_forward_blind.height",        "28"                    },
+  { "tape.label.gfx.pause_before_end",         "RocksDoor.pcx"         },
+  { "tape.label.gfx.pause_before_end.x",       "505"                   },
+  { "tape.label.gfx.pause_before_end.y",       "221"                   },
+  { "tape.label.gfx.pause_before_end.width",   "40"                    },
+  { "tape.label.gfx.pause_before_end.height",  "28"                    },
+  { "tape.label.gfx.single_step",              "RocksDoor.pcx"         },
+  { "tape.label.gfx.single_step.x",            "557"                   },
+  { "tape.label.gfx.single_step.y",            "139"                   },
+  { "tape.label.gfx.single_step.width",                "38"                    },
+  { "tape.label.gfx.single_step.height",       "13"                    },
+
+  { "tape.label.gfx.date",                     "RocksDoor.pcx"         },
+  { "tape.label.gfx.date.x",                   "305"                   },
+  { "tape.label.gfx.date.y",                   "285"                   },
+  { "tape.label.gfx.date.width",               "90"                    },
+  { "tape.label.gfx.date.height",              "13"                    },
+  { "tape.label.gfx.time",                     UNDEFINED_FILENAME      },
+
   { "font.initial_1",                          "RocksFontSmall.pcx"    },
   { "font.initial_1.x",                                "0"                     },
   { "font.initial_1.y",                                "0"                     },
@@ -5016,6 +5186,12 @@ struct ConfigInfo image_config[] =
   { "background.SETUP",                                UNDEFINED_FILENAME      },
   { "background.PLAYING",                      UNDEFINED_FILENAME      },
   { "background.DOOR",                         UNDEFINED_FILENAME      },
+  { "background.PANEL",                                UNDEFINED_FILENAME      },
+  { "background.TAPE",                         "RocksDoor.pcx"         },
+  { "background.TAPE.x",                       "200"                   },
+  { "background.TAPE.y",                       "280"                   },
+  { "background.TAPE.width",                   "100"                   },
+  { "background.TAPE.height",                  "100"                   },
 
   { "background.titlescreen_initial_1",                UNDEFINED_FILENAME      },
   { "background.titlescreen_initial_2",                UNDEFINED_FILENAME      },
@@ -6396,6 +6572,78 @@ 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"                    },
+
+  { "tape.symbol.eject.x",                     "-1"                    },
+  { "tape.symbol.eject.y",                     "-1"                    },
+  { "tape.symbol.stop.x",                      "-1"                    },
+  { "tape.symbol.stop.y",                      "-1"                    },
+  { "tape.symbol.pause.x",                     "40"                    },
+  { "tape.symbol.pause.y",                     "41"                    },
+  { "tape.symbol.record.x",                    "25"                    },
+  { "tape.symbol.record.y",                    "41"                    },
+  { "tape.symbol.play.x",                      "57"                    },
+  { "tape.symbol.play.y",                      "41"                    },
+  { "tape.symbol.fast_forward.x",              "39"                    },
+  { "tape.symbol.fast_forward.y",              "42"                    },
+  { "tape.symbol.warp_forward.x",              "39"                    },
+  { "tape.symbol.warp_forward.y",              "42"                    },
+  { "tape.symbol.warp_forward_blind.x",                "39"                    },
+  { "tape.symbol.warp_forward_blind.y",                "42"                    },
+  { "tape.symbol.pause_before_end.x",          "39"                    },
+  { "tape.symbol.pause_before_end.y",          "42"                    },
+  { "tape.symbol.single_step.x",               "-1"                    },
+  { "tape.symbol.single_step.y",               "-1"                    },
+
+  { "tape.label.eject.x",                      "-1"                    },
+  { "tape.label.eject.y",                      "-1"                    },
+  { "tape.label.stop.x",                       "-1"                    },
+  { "tape.label.stop.y",                       "-1"                    },
+  { "tape.label.pause.x",                      "5"                     },
+  { "tape.label.pause.y",                      "61"                    },
+  { "tape.label.record.x",                     "5"                     },
+  { "tape.label.record.y",                     "41"                    },
+  { "tape.label.play.x",                       "70"                    },
+  { "tape.label.play.y",                       "41"                    },
+  { "tape.label.fast_forward.x",               "5"                     },
+  { "tape.label.fast_forward.y",               "42"                    },
+  { "tape.label.warp_forward.x",               "-1"                    },
+  { "tape.label.warp_forward.y",               "-1"                    },
+  { "tape.label.warp_forward_blind.x",         "5"                     },
+  { "tape.label.warp_forward_blind.y",         "42"                    },
+  { "tape.label.pause_before_end.x",           "5"                     },
+  { "tape.label.pause_before_end.y",           "42"                    },
+  { "tape.label.single_step.x",                        "57"                    },
+  { "tape.label.single_step.y",                        "42"                    },
+
+  { "tape.label.date.x",                       "5"                     },
+  { "tape.label.date.y",                       "5"                     },
+  { "tape.label.time.x",                       "-1"                    },
+  { "tape.label.time.y",                       "-1"                    },
+
+  { "tape.text.date.x",                                "7"                     },
+  { "tape.text.date.y",                                "19"                    },
+  { "tape.text.date.align",                    "left"                  },
+  { "tape.text.date.valign",                   "top"                   },
+  { "tape.text.date.digits",                   "-1"                    },
+  { "tape.text.date.font",                     "font.tape_recorder"    },
+
+  { "tape.text.time.x",                                "44"                    },
+  { "tape.text.time.y",                                "55"                    },
+  { "tape.text.time.align",                    "left"                  },
+  { "tape.text.time.valign",                   "top"                   },
+  { "tape.text.time.digits",                   "-1"                    },
+  { "tape.text.time.font",                     "font.tape_recorder"    },
+
   { "game.forced_scroll_delay_value",          "-1"                    },
   { "game.use_native_emc_graphics_engine",     "false"                 },
   { "game.use_native_sp_graphics_engine",      "true"                  },
@@ -6408,24 +6656,42 @@ struct ConfigInfo image_config[] =
 
   { "viewport.window.width",                   "672"                   },
   { "viewport.window.height",                  "560"                   },
-  { "viewport.playfield.menu.width",           "17"                    },
-  { "viewport.playfield.menu.height",          "17"                    },
-  { "viewport.playfield.game.width",           "17"                    },
-  { "viewport.playfield.game.height",          "17"                    },
-  { "viewport.playfield.editor.width",         "17"                    },
-  { "viewport.playfield.editor.height",                "17"                    },
-  { "viewport.door_1.menu.x",                  "566"                   },
-  { "viewport.door_1.menu.y",                  "60"                    },
-  { "viewport.door_1.game.x",                  "566"                   },
-  { "viewport.door_1.game.y",                  "60"                    },
-  { "viewport.door_1.editor.x",                        "566"                   },
-  { "viewport.door_1.editor.y",                        "60"                    },
-  { "viewport.door_2.menu.x",                  "566"                   },
-  { "viewport.door_2.menu.y",                  "400"                   },
-  { "viewport.door_2.game.x",                  "566"                   },
-  { "viewport.door_2.game.y",                  "400"                   },
-  { "viewport.door_2.editor.x",                        "566"                   },
-  { "viewport.door_2.editor.y",                        "356"                   },
+  { "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                    }
 };