set default position for snapshot buttons (for old level set compatibility)
[rocksndiamonds.git] / src / conf_gfx.c
index f8263ca5cae5e40a1ddb3800ea7f6831eb3f3a90..3bf86692669a6b71d04c64cf7efd096d73e6a729 100644 (file)
@@ -4721,6 +4721,40 @@ struct ConfigInfo image_config[] =
   { "game.button.gfx.play.width",              "30"                    },
   { "game.button.gfx.play.height",             "30"                    },
   { "game.button.gfx.play.pressed_xoffset",    "-100"                  },
+
+  { "game.button.gfx.undo",                    "RocksDoor2.png"        },
+  { "game.button.gfx.undo.x",                  "105"                   },
+  { "game.button.gfx.undo.y",                  "20"                    },
+  { "game.button.gfx.undo.width",              "30"                    },
+  { "game.button.gfx.undo.height",             "30"                    },
+  { "game.button.gfx.undo.pressed_xoffset",    "-100"                  },
+  { "game.button.gfx.redo",                    "RocksDoor2.png"        },
+  { "game.button.gfx.redo.x",                  "165"                   },
+  { "game.button.gfx.redo.y",                  "20"                    },
+  { "game.button.gfx.redo.width",              "30"                    },
+  { "game.button.gfx.redo.height",             "30"                    },
+  { "game.button.gfx.redo.pressed_xoffset",    "-100"                  },
+
+  { "game.button.gfx.save",                    "RocksDoor2.png"        },
+  { "game.button.gfx.save.x",                  "105"                   },
+  { "game.button.gfx.save.y",                  "50"                    },
+  { "game.button.gfx.save.width",              "30"                    },
+  { "game.button.gfx.save.height",             "30"                    },
+  { "game.button.gfx.save.pressed_xoffset",    "-100"                  },
+  { "game.button.gfx.pause2",                  "RocksDoor2.png"        },
+  { "game.button.gfx.pause2.x",                        "135"                   },
+  { "game.button.gfx.pause2.y",                        "50"                    },
+  { "game.button.gfx.pause2.width",            "30"                    },
+  { "game.button.gfx.pause2.height",           "30"                    },
+  { "game.button.gfx.pause2.pressed_xoffset",  "-100"                  },
+  { "game.button.gfx.pause2.active_yoffset",   "-30"                   },
+  { "game.button.gfx.load",                    "RocksDoor2.png"        },
+  { "game.button.gfx.load.x",                  "165"                   },
+  { "game.button.gfx.load.y",                  "50"                    },
+  { "game.button.gfx.load.width",              "30"                    },
+  { "game.button.gfx.load.height",             "30"                    },
+  { "game.button.gfx.load.pressed_xoffset",    "-100"                  },
+
   { "game.button.gfx.sound_music",             "RocksDoor.png"         },
   { "game.button.gfx.sound_music.x",           "305"                   },
   { "game.button.gfx.sound_music.y",           "245"                   },
@@ -4743,9 +4777,6 @@ struct ConfigInfo image_config[] =
   { "game.button.gfx.sound_simple.pressed_xoffset", "-100"             },
   { "game.button.gfx.sound_simple.active_yoffset", "-30"               },
 
-  { "game.button.gfx.save",                    UNDEFINED_FILENAME      },
-  { "game.button.gfx.load",                    UNDEFINED_FILENAME      },
-
   { "tape.button.gfx.eject",                   "RocksDoor.png"         },
   { "tape.button.gfx.eject.x",                 "305"                   },
   { "tape.button.gfx.eject.y",                 "357"                   },
@@ -5199,18 +5230,6 @@ struct ConfigInfo image_config[] =
   { "font.info.levelset",                      UNDEFINED_FILENAME      },
   { "font.info.levelset.clone_from",           "font.level_number"     },
 
-  { "global.border",                           "RocksScreen.png"       },
-  { "global.door",                             "RocksDoor.png"         },
-
-  { "global.busy",                             "RocksBusy.png"         },
-  { "global.busy.x",                           "0"                     },
-  { "global.busy.y",                           "0"                     },
-  { "global.busy.width",                       "32"                    },
-  { "global.busy.height",                      "32"                    },
-  { "global.busy.frames",                      "28"                    },
-  { "global.busy.frames_per_line",             "7"                     },
-  { "global.busy.delay",                       "2"                     },
-
   { "editor.element_border",                   "RocksMore.png"         },
   { "editor.element_border.xpos",              "0"                     },
   { "editor.element_border.ypos",              "2"                     },
@@ -5220,6 +5239,7 @@ struct ConfigInfo image_config[] =
   { "editor.element_border_input.xpos",                "10"                    },
   { "editor.element_border_input.ypos",                "7"                     },
   { "editor.element_border_input.border_size", "4"                     },
+  { "editor.element_border_input.tile_size",   "16"                    },
 
   { "editor.counter.down",                     "RocksDoor.png"         },
   { "editor.counter.down.x",                   "302"                   },
@@ -5349,6 +5369,7 @@ struct ConfigInfo image_config[] =
   { "editor.palette.scrollbar.width",          "10"                    },
   { "editor.palette.scrollbar.height",         "10"                    },
   { "editor.palette.scrollbar.pressed_xoffset",        "-10"                   },
+  { "editor.palette.scrollbar.border_size",    "3"                     },
 
   { "editor.playfield.scroll_up",              "RocksDoor.png"         },
   { "editor.playfield.scroll_up.x",            "724"                   },
@@ -5384,6 +5405,7 @@ struct ConfigInfo image_config[] =
   { "editor.playfield.scrollbar.width",                "16"                    },
   { "editor.playfield.scrollbar.height",       "16"                    },
   { "editor.playfield.scrollbar.pressed_xoffset", "-16"                        },
+  { "editor.playfield.scrollbar.border_size",  "3"                     },
 
   { "editor.button.gfx.prev_level",            "RocksDoor.png"         },
   { "editor.button.gfx.prev_level.x",          "724"                   },
@@ -5399,12 +5421,12 @@ struct ConfigInfo image_config[] =
   { "editor.button.gfx.next_level.height",     "16"                    },
   { "editor.button.gfx.next_level.pressed_xoffset", "-16"              },
 
-  { "editor.button.gfx.properties",            "RocksDoor.png"         },
-  { "editor.button.gfx.properties.x",          "505"                   },
-  { "editor.button.gfx.properties.y",          "110"                   },
+  { "editor.button.gfx.properties",            "RocksDoor2.png"        },
+  { "editor.button.gfx.properties.x",          "105"                   },
+  { "editor.button.gfx.properties.y",          "0"                     },
   { "editor.button.gfx.properties.width",      "90"                    },
   { "editor.button.gfx.properties.height",     "20"                    },
-  { "editor.button.gfx.properties.pressed_yoffset", "-20"              },
+  { "editor.button.gfx.properties.pressed_xoffset", "-100"             },
 
   { "editor.no_toolbox_button",                        "RocksDoor.png"         },
   { "editor.no_toolbox_button.x",              "506"                   },
@@ -5492,13 +5514,13 @@ struct ConfigInfo image_config[] =
   { "editor.button.gfx.rotate_left.pressed_xoffset", "-100"            },
   { "editor.button.gfx.rotate_left.active_yoffset",  "-94"             },
 
-  { "editor.button.gfx.zoom_level",            "RocksDoor.png"         },
-  { "editor.button.gfx.zoom_level.x",          "750"                   },
-  { "editor.button.gfx.zoom_level.y",          "286"                   },
+  { "editor.button.gfx.zoom_level",            "RocksDoor2.png"        },
+  { "editor.button.gfx.zoom_level.x",          "350"                   },
+  { "editor.button.gfx.zoom_level.y",          "22"                    },
   { "editor.button.gfx.zoom_level.width",      "22"                    },
   { "editor.button.gfx.zoom_level.height",     "22"                    },
   { "editor.button.gfx.zoom_level.pressed_xoffset", "-100"             },
-  { "editor.button.gfx.zoom_level.active_yoffset",  "-94"              },
+  { "editor.button.gfx.zoom_level.active_yoffset",  "-22"              },
 
   { "editor.button.gfx.rotate_right",          "RocksDoor.png"         },
   { "editor.button.gfx.rotate_right.x",                "772"                   },
@@ -5590,7 +5612,7 @@ struct ConfigInfo image_config[] =
   { "editor.button.gfx.cp_paste.y",            "70"                    },
   { "editor.button.gfx.cp_paste.width",                "20"                    },
   { "editor.button.gfx.cp_paste.height",       "20"                    },
-  { "editor.button.gfx.cp_paste.pressed_xoffset", "-20"                },
+  { "editor.button.gfx.cp_paste.pressed_xoffset", "-20"                        },
 
   { "editor.button.gfx.undo",                  "RocksDoor.png"         },
   { "editor.button.gfx.undo.x",                        "705"                   },
@@ -5641,6 +5663,18 @@ struct ConfigInfo image_config[] =
   { "editor.input.gfx.level_number.height",    "16"                    },
   { "editor.input.gfx.level_number.border_size","1"                    },
 
+  { "global.border",                           "RocksScreen.png"       },
+  { "global.door",                             "RocksDoor.png"         },
+
+  { "global.busy",                             "RocksBusy.png"         },
+  { "global.busy.x",                           "0"                     },
+  { "global.busy.y",                           "0"                     },
+  { "global.busy.width",                       "32"                    },
+  { "global.busy.height",                      "32"                    },
+  { "global.busy.frames",                      "28"                    },
+  { "global.busy.frames_per_line",             "7"                     },
+  { "global.busy.delay",                       "2"                     },
+
   { "background",                              UNDEFINED_FILENAME      },
   { "background.TITLE_INITIAL",                        UNDEFINED_FILENAME      },
   { "background.TITLE",                                UNDEFINED_FILENAME      },
@@ -6202,6 +6236,7 @@ struct ConfigInfo image_config[] =
   { "menu.list_size.LEVELNR",                  "-1"                    },
   { "menu.list_size.SCORES",                   "-1"                    },
   { "menu.list_size.INFO",                     "-1"                    },
+  { "menu.list_size.INFO[ELEMENTS]",           "-1"                    },
   { "menu.list_size.SETUP",                    "-1"                    },
 
   { "main.button.name.x",                      "0"                     },
@@ -7345,16 +7380,22 @@ struct ConfigInfo image_config[] =
   { "game.button.pause.y",                     "215"                   },
   { "game.button.play.x",                      "65"                    },
   { "game.button.play.y",                      "215"                   },
+  { "game.button.undo.x",                      "-1"                    },
+  { "game.button.undo.y",                      "-1"                    },
+  { "game.button.redo.x",                      "-1"                    },
+  { "game.button.redo.y",                      "-1"                    },
+  { "game.button.save.x",                      "-1"                    },
+  { "game.button.save.y",                      "-1"                    },
+  { "game.button.pause2.x",                    "-1"                    },
+  { "game.button.pause2.y",                    "-1"                    },
+  { "game.button.load.x",                      "-1"                    },
+  { "game.button.load.y",                      "-1"                    },
   { "game.button.sound_music.x",               "5"                     },
   { "game.button.sound_music.y",               "245"                   },
   { "game.button.sound_loops.x",               "35"                    },
   { "game.button.sound_loops.y",               "245"                   },
   { "game.button.sound_simple.x",              "65"                    },
   { "game.button.sound_simple.y",              "245"                   },
-  { "game.button.save.x",                      "-1"                    },
-  { "game.button.save.y",                      "-1"                    },
-  { "game.button.load.x",                      "-1"                    },
-  { "game.button.load.y",                      "-1"                    },
 
   { "tape.button.eject.x",                     "5"                     },
   { "tape.button.eject.y",                     "77"                    },
@@ -7585,6 +7626,26 @@ struct ConfigInfo image_config[] =
   { "editor.palette.element_right.y",          "258"                   },
   { "editor.palette.element_right.tile_size",  "16"                    },
 
+  { "editor.settings.headline.x",              "272"                   },
+  { "editor.settings.headline.y",              "16"                    },
+  { "editor.settings.headline.align",          "center"                },
+  { "editor.settings.element_graphic.x",       "24"                    },
+  { "editor.settings.element_graphic.y",       "64"                    },
+  { "editor.settings.element_name.x",          "-1"                    },
+  { "editor.settings.element_name.y",          "-1"                    },
+  { "editor.settings.tabs.x",                  "24"                    },
+  { "editor.settings.tabs.y",                  "64"                    },
+  { "editor.settings.tabs.2nd_yoffset",                "64"                    },
+  { "editor.settings.tabs.draw_xoffset",       "0"                     },
+  { "editor.settings.tabs.draw_yoffset",       "8"                     },
+
+  { "editor.gadget.normal_spacing",            "4"                     },
+  { "editor.gadget.small_spacing",             "2"                     },
+  { "editor.gadget.tiny_spacing",              "1"                     },
+  { "editor.gadget.line_spacing",              "4"                     },
+  { "editor.gadget.text_spacing",              "4"                     },
+  { "editor.gadget.separator_line.height",     "2"                     },
+
   { "request.button.yes.x",                    "2"                     },
   { "request.button.yes.y",                    "250"                   },
   { "request.button.no.x",                     "52"                    },
@@ -7617,6 +7678,8 @@ struct ConfigInfo image_config[] =
   { "request.step_offset",                     "10"                    },
   { "request.step_delay",                      "20"                    },
   { "request.anim_mode",                       "default"               },
+  { "request.align",                           "center"                },
+  { "request.valign",                          "middle"                },
   { "request.autowrap",                                "false"                 },
   { "request.centered",                                "true"                  },
   { "request.wrap_single_words",               "true"                  },