set default position for snapshot buttons (for old level set compatibility)
[rocksndiamonds.git] / src / conf_gfx.c
index e749b222c01f9a8e7ecd54a8efd83c56bab3eaf2..3bf86692669a6b71d04c64cf7efd096d73e6a729 100644 (file)
@@ -4722,21 +4722,38 @@ struct ConfigInfo image_config[] =
   { "game.button.gfx.play.height",             "30"                    },
   { "game.button.gfx.play.pressed_xoffset",    "-100"                  },
 
-  { "game.button.gfx.undo",                    "RocksDoor.png"         },
-  { "game.button.gfx.undo.x",                  "405"                   },
-  { "game.button.gfx.undo.y",                  "215"                   },
+  { "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_yoffset",    "30"                    },
-  { "game.button.gfx.redo",                    "RocksDoor.png"         },
-  { "game.button.gfx.redo.x",                  "465"                   },
-  { "game.button.gfx.redo.y",                  "215"                   },
+  { "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_yoffset",    "30"                    },
-
-  { "game.button.gfx.save",                    UNDEFINED_FILENAME      },
-  { "game.button.gfx.load",                    UNDEFINED_FILENAME      },
+  { "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"                   },
@@ -5213,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"                     },
@@ -5416,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"                   },
@@ -5509,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"                   },
@@ -5607,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"                   },
@@ -5658,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      },
@@ -6219,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"                     },
@@ -7362,12 +7380,14 @@ struct ConfigInfo image_config[] =
   { "game.button.pause.y",                     "215"                   },
   { "game.button.play.x",                      "65"                    },
   { "game.button.play.y",                      "215"                   },
-  { "game.button.undo.x",                      "5"                     },
-  { "game.button.undo.y",                      "215"                   },
-  { "game.button.redo.x",                      "65"                    },
-  { "game.button.redo.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"                     },
@@ -7658,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"                  },