rnd-20030210-1-src
[rocksndiamonds.git] / src / conf_gfx.c
index d693881c1aeb5011e4b194fc2d16de3c1b5c0925..830e88d2fa43355b116eb16ff086e2fe277b443b 100644 (file)
 
 struct ConfigInfo image_config_suffix[] =
 {
-  { ".xpos",                           "0",            TYPE_INTEGER },
-  { ".ypos",                           "0",            TYPE_INTEGER },
-  { ".offset",                         "32",           TYPE_INTEGER },
+  { ".x",                              ARG_UNDEFINED,  TYPE_INTEGER },
+  { ".y",                              ARG_UNDEFINED,  TYPE_INTEGER },
+  { ".xpos",                           ARG_UNDEFINED,  TYPE_INTEGER },
+  { ".ypos",                           ARG_UNDEFINED,  TYPE_INTEGER },
+  { ".width",                          ARG_UNDEFINED,  TYPE_INTEGER },
+  { ".height",                         ARG_UNDEFINED,  TYPE_INTEGER },
+  { ".offset",                         ARG_UNDEFINED,  TYPE_INTEGER },
   { ".vertical",                       "false",        TYPE_BOOLEAN },
   { ".xoffset",                                ARG_UNDEFINED,  TYPE_INTEGER },
   { ".yoffset",                                ARG_UNDEFINED,  TYPE_INTEGER },
@@ -37,6 +41,10 @@ struct ConfigInfo image_config_suffix[] =
   { ".mode_random",                    "false",        TYPE_BOOLEAN },
   { ".mode_reverse",                   "false",        TYPE_BOOLEAN },
   { ".global_sync",                    "false",        TYPE_BOOLEAN },
+  { ".step_offset",                    "4",            TYPE_INTEGER },
+  { ".step_delay",                     "1",            TYPE_INTEGER },
+  { ".direction",                      ARG_UNDEFINED,  TYPE_STRING  },
+  { ".position",                       ARG_UNDEFINED,  TYPE_STRING  },
   { ".name",                           ARG_UNDEFINED,  TYPE_STRING  },
 
   { NULL,                              NULL,           0            }
@@ -2687,9 +2695,198 @@ struct ConfigInfo image_config[] =
   /* images not associated to game elements (used for menu screens etc.) */
   /* keyword to stop parser: "NO_MORE_ELEMENT_IMAGES" <-- do not change! */
 
+  { "toon_1",                                  "RocksToons.pcx"        },
+  { "toon_1.x",                                        "2"                     },
+  { "toon_1.y",                                        "72"                    },
+  { "toon_1.width",                            "40"                    },
+  { "toon_1.height",                           "48"                    },
+  { "toon_1.frames",                           "8"                     },
+  { "toon_1.delay",                            "1"                     },
+  { "toon_1.step_offset",                      "4"                     },
+  { "toon_1.step_delay",                       "5"                     },
+  { "toon_1.direction",                                "right"                 },
+  { "toon_1.position",                         "bottom"                },
+
+  { "toon_2",                                  "RocksToons.pcx"        },
+  { "toon_2.x",                                        "2"                     },
+  { "toon_2.y",                                        "186"                   },
+  { "toon_2.width",                            "40"                    },
+  { "toon_2.height",                           "48"                    },
+  { "toon_2.frames",                           "8"                     },
+  { "toon_2.delay",                            "1"                     },
+  { "toon_2.step_offset",                      "4"                     },
+  { "toon_2.step_delay",                       "5"                     },
+  { "toon_2.direction",                                "left"                  },
+  { "toon_2.position",                         "bottom"                },
+
+  { "toon_3",                                  "RocksToons.pcx"        },
+  { "toon_3.x",                                        "2"                     },
+  { "toon_3.y",                                        "125"                   },
+  { "toon_3.width",                            "48"                    },
+  { "toon_3.height",                           "56"                    },
+  { "toon_3.frames",                           "8"                     },
+  { "toon_3.delay",                            "1"                     },
+  { "toon_3.step_offset",                      "4"                     },
+  { "toon_3.step_delay",                       "5"                     },
+  { "toon_3.direction",                                "right"                 },
+  { "toon_3.position",                         "bottom"                },
+
+  { "toon_4",                                  "RocksToons.pcx"        },
+  { "toon_4.x",                                        "327"                   },
+  { "toon_4.y",                                        "10"                    },
+  { "toon_4.width",                            "80"                    },
+  { "toon_4.height",                           "110"                   },
+  { "toon_4.frames",                           "1"                     },
+  { "toon_4.delay",                            "1"                     },
+  { "toon_4.step_offset",                      "1"                     },
+  { "toon_4.step_delay",                       "1"                     },
+  { "toon_4.direction",                                "up"                    },
+  { "toon_4.position",                         "any"                   },
+
+  { "toon_5",                                  "RocksToons.pcx"        },
+  { "toon_5.x",                                        "2"                     },
+  { "toon_5.y",                                        "2"                     },
+  { "toon_5.width",                            "32"                    },
+  { "toon_5.height",                           "30"                    },
+  { "toon_5.frames",                           "8"                     },
+  { "toon_5.delay",                            "2"                     },
+  { "toon_5.mode_pingpong2",                   "true"                  },
+  { "toon_5.step_offset",                      "2"                     },
+  { "toon_5.step_delay",                       "1"                     },
+  { "toon_5.direction",                                "right"                 },
+  { "toon_5.position",                         "upper"                 },
+
+  { "toon_6",                                  "RocksToons.pcx"        },
+  { "toon_6.x",                                        "2"                     },
+  { "toon_6.y",                                        "37"                    },
+  { "toon_6.width",                            "32"                    },
+  { "toon_6.height",                           "30"                    },
+  { "toon_6.frames",                           "8"                     },
+  { "toon_6.delay",                            "2"                     },
+  { "toon_6.mode_pingpong2",                   "true"                  },
+  { "toon_6.step_offset",                      "2"                     },
+  { "toon_6.step_delay",                       "1"                     },
+  { "toon_6.direction",                                "left"                  },
+  { "toon_6.position",                         "upper"                 },
+
+  { "toon_7",                                  "RocksHeroes.pcx"       },
+  { "toon_7.xpos",                             "0"                     },
+  { "toon_7.ypos",                             "1"                     },
+  { "toon_7.frames",                           "4"                     },
+  { "toon_7.delay",                            "4"                     },
+  { "toon_7.direction",                                "left"                  },
+  { "toon_7.position",                         "bottom"                },
+
+  { "toon_8",                                  "RocksHeroes.pcx"       },
+  { "toon_8.xpos",                             "4"                     },
+  { "toon_8.ypos",                             "1"                     },
+  { "toon_8.frames",                           "4"                     },
+  { "toon_8.delay",                            "4"                     },
+  { "toon_8.direction",                                "right"                 },
+  { "toon_8.position",                         "bottom"                },
+
+  { "toon_9",                                  "RocksHeroes.pcx"       },
+  { "toon_9.xpos",                             "8"                     },
+  { "toon_9.ypos",                             "7"                     },
+  { "toon_9.frames",                           "4"                     },
+  { "toon_9.delay",                            "2"                     },
+  { "toon_9.direction",                                "left"                  },
+  { "toon_9.position",                         "bottom"                },
+
+  { "toon_10",                                 "RocksHeroes.pcx"       },
+  { "toon_10.xpos",                            "12"                    },
+  { "toon_10.ypos",                            "7"                     },
+  { "toon_10.frames",                          "4"                     },
+  { "toon_10.delay",                           "2"                     },
+  { "toon_10.direction",                       "right"                 },
+  { "toon_10.position",                                "bottom"                },
+
+  { "toon_11",                                 "RocksHeroes.pcx"       },
+  { "toon_11.xpos",                            "8"                     },
+  { "toon_11.ypos",                            "5"                     },
+  { "toon_11.frames",                          "4"                     },
+  { "toon_11.delay",                           "2"                     },
+  { "toon_11.direction",                       "left"                  },
+  { "toon_11.position",                                "bottom"                },
+
+  { "toon_12",                                 "RocksHeroes.pcx"       },
+  { "toon_12.xpos",                            "12"                    },
+  { "toon_12.ypos",                            "5"                     },
+  { "toon_12.frames",                          "4"                     },
+  { "toon_12.delay",                           "2"                     },
+  { "toon_12.direction",                       "right"                 },
+  { "toon_12.position",                                "bottom"                },
+
+  { "toon_13",                                 "RocksHeroes.pcx"       },
+  { "toon_13.xpos",                            "8"                     },
+  { "toon_13.ypos",                            "1"                     },
+  { "toon_13.frames",                          "4"                     },
+  { "toon_13.delay",                           "2"                     },
+  { "toon_13.direction",                       "left"                  },
+  { "toon_13.position",                                "bottom"                },
+
+  { "toon_14",                                 "RocksHeroes.pcx"       },
+  { "toon_14.xpos",                            "12"                    },
+  { "toon_14.ypos",                            "1"                     },
+  { "toon_14.frames",                          "4"                     },
+  { "toon_14.delay",                           "2"                     },
+  { "toon_14.direction",                       "right"                 },
+  { "toon_14.position",                                "bottom"                },
+
+  { "toon_15",                                 "RocksHeroes.pcx"       },
+  { "toon_15.xpos",                            "8"                     },
+  { "toon_15.ypos",                            "3"                     },
+  { "toon_15.frames",                          "4"                     },
+  { "toon_15.delay",                           "2"                     },
+  { "toon_15.direction",                       "left"                  },
+  { "toon_15.position",                                "bottom"                },
+
+  { "toon_16",                                 "RocksHeroes.pcx"       },
+  { "toon_16.xpos",                            "12"                    },
+  { "toon_16.ypos",                            "3"                     },
+  { "toon_16.frames",                          "4"                     },
+  { "toon_16.delay",                           "2"                     },
+  { "toon_16.direction",                       "right"                 },
+  { "toon_16.position",                                "bottom"                },
+
+  { "toon_17",                                 "RocksHeroes.pcx"       },
+  { "toon_17.xpos",                            "8"                     },
+  { "toon_17.ypos",                            "9"                     },
+  { "toon_17.frames",                          "8"                     },
+  { "toon_17.delay",                           "2"                     },
+  { "toon_17.direction",                       "left"                  },
+  { "toon_17.position",                                "any"                   },
+
+  { "toon_18",                                 "RocksHeroes.pcx"       },
+  { "toon_18.xpos",                            "8"                     },
+  { "toon_18.ypos",                            "9"                     },
+  { "toon_18.frames",                          "8"                     },
+  { "toon_18.delay",                           "2"                     },
+  { "toon_18.direction",                       "right"                 },
+  { "toon_18.position",                                "any"                   },
+
+  { "toon_19",                                 "RocksElements.pcx"     },
+  { "toon_19.xpos",                            "8"                     },
+  { "toon_19.ypos",                            "0"                     },
+  { "toon_19.frames",                          "2"                     },
+  { "toon_19.delay",                           "4"                     },
+  { "toon_19.direction",                       "down"                  },
+  { "toon_19.position",                                "any"                   },
+
+  { "toon_20",                                 "RocksElements.pcx"     },
+  { "toon_20.xpos",                            "10"                    },
+  { "toon_20.ypos",                            "0"                     },
+  { "toon_20.frames",                          "2"                     },
+  { "toon_20.delay",                           "4"                     },
+  { "toon_20.direction",                       "down"                  },
+  { "toon_20.position",                                "any"                   },
+
+  { "global.num_toons",                                "20"                    },
+
   { "global.border",                           "RocksScreen.pcx"       },
   { "global.door",                             "RocksDoor.pcx"         },
-  { "global.toons",                            "RocksToons.pcx"        },
+
+  { "menu.main.hide_static_text",              "false"                 },
 
   { "font.big",                                        "RocksFontBig.pcx"      },
   { "font.medium",                             "RocksFontMedium.pcx"   },