rnd-20031205-B-src
[rocksndiamonds.git] / src / conf_gfx.c
index 67bc7ca05e8dae8de41cdbe840e6af2ac3efa85a..984c0972d24e6e0e14cc5562fbfa94279a919a37 100644 (file)
 
 struct ConfigInfo image_config_suffix[] =
 {
-  { ".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 },
-  { ".frames",                         ARG_UNDEFINED,  TYPE_INTEGER },
-  { ".frames_per_line",                        ARG_UNDEFINED,  TYPE_INTEGER },
-  { ".start_frame",                    ARG_UNDEFINED,  TYPE_INTEGER },
-  { ".delay",                          "1",            TYPE_INTEGER },
-  { ".anim_mode",                      ARG_UNDEFINED,  TYPE_STRING  },
-  { ".global_sync",                    "false",        TYPE_BOOLEAN },
-  { ".crumbled_like",                  ARG_UNDEFINED,  TYPE_TOKEN   },
-  { ".diggable_like",                  ARG_UNDEFINED,  TYPE_TOKEN   },
-  { ".border_size",                    ARG_UNDEFINED,  TYPE_INTEGER },
-  { ".step_offset",                    "4",            TYPE_INTEGER },
-  { ".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 },
-  { ".draw_masked",                    "false",        TYPE_BOOLEAN },
-  { ".name",                           ARG_UNDEFINED,  TYPE_STRING  },
-
-  { NULL,                              NULL,           0            }
+  { ".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    },
+  { ".frames",                         ARG_UNDEFINED,  TYPE_INTEGER    },
+  { ".frames_per_line",                        ARG_UNDEFINED,  TYPE_INTEGER    },
+  { ".start_frame",                    ARG_UNDEFINED,  TYPE_INTEGER    },
+  { ".delay",                          "1",            TYPE_INTEGER    },
+  { ".anim_mode",                      ARG_UNDEFINED,  TYPE_STRING     },
+  { ".global_sync",                    "false",        TYPE_BOOLEAN    },
+  { ".crumbled_like",                  ARG_UNDEFINED,  TYPE_TOKEN      },
+  { ".diggable_like",                  ARG_UNDEFINED,  TYPE_TOKEN      },
+  { ".border_size",                    ARG_UNDEFINED,  TYPE_INTEGER    },
+  { ".step_offset",                    "4",            TYPE_INTEGER    },
+  { ".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    },
+  { ".draw_masked",                    "false",        TYPE_BOOLEAN    },
+  { ".anim_delay_fixed",               ARG_UNDEFINED,  TYPE_INTEGER    },
+  { ".anim_delay_random",              ARG_UNDEFINED,  TYPE_INTEGER    },
+  { ".post_delay_fixed",               ARG_UNDEFINED,  TYPE_INTEGER    },
+  { ".post_delay_random",              ARG_UNDEFINED,  TYPE_INTEGER    },
+  { ".name",                           ARG_UNDEFINED,  TYPE_STRING     },
+
+  { NULL,                              NULL,           0               }
 };
 
 struct ConfigInfo image_config[] =
@@ -166,46 +170,19 @@ struct ConfigInfo image_config[] =
   { "bd_butterfly.frames",                     "2"                     },
   { "bd_butterfly.anim_mode",                  "pingpong"              },
   { "bd_butterfly.delay",                      "4"                     },
-  { "bd_butterfly.right",                      "RocksElements.pcx"     },
-  { "bd_butterfly.right.xpos",                 "4"                     },
-  { "bd_butterfly.right.ypos",                 "12"                    },
-  { "bd_butterfly.right.frames",               "2"                     },
-  { "bd_butterfly.right.anim_mode",            "pingpong"              },
-  { "bd_butterfly.right.delay",                        "4"                     },
+  { "bd_butterfly.global_sync",                        "true"                  },
   { "bd_butterfly.right.EDITOR",               "RocksElements.pcx"     },
   { "bd_butterfly.right.EDITOR.xpos",          "8"                     },
   { "bd_butterfly.right.EDITOR.ypos",          "12"                    },
-  { "bd_butterfly.right.EDITOR.frames",                "1"                     },
-  { "bd_butterfly.up",                         "RocksElements.pcx"     },
-  { "bd_butterfly.up.xpos",                    "4"                     },
-  { "bd_butterfly.up.ypos",                    "12"                    },
-  { "bd_butterfly.up.frames",                  "2"                     },
-  { "bd_butterfly.up.anim_mode",               "pingpong"              },
-  { "bd_butterfly.up.delay",                   "4"                     },
   { "bd_butterfly.up.EDITOR",                  "RocksElements.pcx"     },
   { "bd_butterfly.up.EDITOR.xpos",             "9"                     },
   { "bd_butterfly.up.EDITOR.ypos",             "12"                    },
-  { "bd_butterfly.up.EDITOR.frames",           "1"                     },
-  { "bd_butterfly.left",                       "RocksElements.pcx"     },
-  { "bd_butterfly.left.xpos",                  "4"                     },
-  { "bd_butterfly.left.ypos",                  "12"                    },
-  { "bd_butterfly.left.frames",                        "2"                     },
-  { "bd_butterfly.left.anim_mode",             "pingpong"              },
-  { "bd_butterfly.left.delay",                 "4"                     },
   { "bd_butterfly.left.EDITOR",                        "RocksElements.pcx"     },
   { "bd_butterfly.left.EDITOR.xpos",           "10"                    },
   { "bd_butterfly.left.EDITOR.ypos",           "12"                    },
-  { "bd_butterfly.left.EDITOR.frames",         "1"                     },
-  { "bd_butterfly.down",                       "RocksElements.pcx"     },
-  { "bd_butterfly.down.xpos",                  "4"                     },
-  { "bd_butterfly.down.ypos",                  "12"                    },
-  { "bd_butterfly.down.frames",                        "2"                     },
-  { "bd_butterfly.down.anim_mode",             "pingpong"              },
-  { "bd_butterfly.down.delay",                 "4"                     },
   { "bd_butterfly.down.EDITOR",                        "RocksElements.pcx"     },
   { "bd_butterfly.down.EDITOR.xpos",           "11"                    },
   { "bd_butterfly.down.EDITOR.ypos",           "12"                    },
-  { "bd_butterfly.down.EDITOR.frames",         "1"                     },
 
   { "bd_firefly",                              "RocksElements.pcx"     },
   { "bd_firefly.xpos",                         "6"                     },
@@ -213,46 +190,19 @@ struct ConfigInfo image_config[] =
   { "bd_firefly.frames",                       "2"                     },
   { "bd_firefly.anim_mode",                    "pingpong"              },
   { "bd_firefly.delay",                                "4"                     },
-  { "bd_firefly.right",                                "RocksElements.pcx"     },
-  { "bd_firefly.right.xpos",                   "6"                     },
-  { "bd_firefly.right.ypos",                   "12"                    },
-  { "bd_firefly.right.frames",                 "2"                     },
-  { "bd_firefly.right.anim_mode",              "pingpong"              },
-  { "bd_firefly.right.delay",                  "4"                     },
+  { "bd_firefly.global_sync",                  "true"                  },
   { "bd_firefly.right.EDITOR",                 "RocksElements.pcx"     },
   { "bd_firefly.right.EDITOR.xpos",            "12"                    },
   { "bd_firefly.right.EDITOR.ypos",            "12"                    },
-  { "bd_firefly.right.EDITOR.frames",          "1"                     },
-  { "bd_firefly.up",                           "RocksElements.pcx"     },
-  { "bd_firefly.up.xpos",                      "6"                     },
-  { "bd_firefly.up.ypos",                      "12"                    },
-  { "bd_firefly.up.frames",                    "2"                     },
-  { "bd_firefly.up.anim_mode",                 "pingpong"              },
-  { "bd_firefly.up.delay",                     "4"                     },
   { "bd_firefly.up.EDITOR",                    "RocksElements.pcx"     },
   { "bd_firefly.up.EDITOR.xpos",               "13"                    },
   { "bd_firefly.up.EDITOR.ypos",               "12"                    },
-  { "bd_firefly.up.EDITOR.frames",             "1"                     },
-  { "bd_firefly.left",                         "RocksElements.pcx"     },
-  { "bd_firefly.left.xpos",                    "6"                     },
-  { "bd_firefly.left.ypos",                    "12"                    },
-  { "bd_firefly.left.frames",                  "2"                     },
-  { "bd_firefly.left.anim_mode",               "pingpong"              },
-  { "bd_firefly.left.delay",                   "4"                     },
   { "bd_firefly.left.EDITOR",                  "RocksElements.pcx"     },
   { "bd_firefly.left.EDITOR.xpos",             "14"                    },
   { "bd_firefly.left.EDITOR.ypos",             "12"                    },
-  { "bd_firefly.left.EDITOR.frames",           "1"                     },
-  { "bd_firefly.down",                         "RocksElements.pcx"     },
-  { "bd_firefly.down.xpos",                    "6"                     },
-  { "bd_firefly.down.ypos",                    "12"                    },
-  { "bd_firefly.down.frames",                  "2"                     },
-  { "bd_firefly.down.anim_mode",               "pingpong"              },
-  { "bd_firefly.down.delay",                   "4"                     },
   { "bd_firefly.down.EDITOR",                  "RocksElements.pcx"     },
   { "bd_firefly.down.EDITOR.xpos",             "15"                    },
   { "bd_firefly.down.EDITOR.ypos",             "12"                    },
-  { "bd_firefly.down.EDITOR.frames",           "1"                     },
 
   /* images for Supaplex style elements and actions */
 
@@ -529,35 +479,59 @@ struct ConfigInfo image_config[] =
   { "sp_sniksnak.turning_from_left.up",                "RocksSP.pcx"           },
   { "sp_sniksnak.turning_from_left.up.xpos",   "12"                    },
   { "sp_sniksnak.turning_from_left.up.ypos",   "6"                     },
-  { "sp_sniksnak.turning_from_left.up.frames", "1"                     },
+  { "sp_sniksnak.turning_from_left.up.frames", "2"                     },
+  { "sp_sniksnak.turning_from_left.up.delay",  "4"                     },
+  { "sp_sniksnak.turning_from_left.up.offset", "1408"                  },
+  { "sp_sniksnak.turning_from_left.up.anim_mode","linear"              },
   { "sp_sniksnak.turning_from_left.down",      "RocksSP.pcx"           },
   { "sp_sniksnak.turning_from_left.down.xpos", "13"                    },
   { "sp_sniksnak.turning_from_left.down.ypos", "6"                     },
-  { "sp_sniksnak.turning_from_left.down.frames","1"                    },
+  { "sp_sniksnak.turning_from_left.down.frames","2"                    },
+  { "sp_sniksnak.turning_from_left.down.delay",        "4"                     },
+  { "sp_sniksnak.turning_from_left.down.offset","1504"                 },
+  { "sp_sniksnak.turning_from_left.down.anim_mode","linear"            },
   { "sp_sniksnak.turning_from_right.up",       "RocksSP.pcx"           },
   { "sp_sniksnak.turning_from_right.up.xpos",  "15"                    },
   { "sp_sniksnak.turning_from_right.up.ypos",  "6"                     },
-  { "sp_sniksnak.turning_from_right.up.frames",        "1"                     },
+  { "sp_sniksnak.turning_from_right.up.frames",        "2"                     },
+  { "sp_sniksnak.turning_from_right.up.delay", "4"                     },
+  { "sp_sniksnak.turning_from_right.up.offset",        "1312"                  },
+  { "sp_sniksnak.turning_from_right.up.anim_mode","linear"             },
   { "sp_sniksnak.turning_from_right.down",     "RocksSP.pcx"           },
   { "sp_sniksnak.turning_from_right.down.xpos",        "14"                    },
   { "sp_sniksnak.turning_from_right.down.ypos",        "6"                     },
-  { "sp_sniksnak.turning_from_right.down.frames","1"                   },
+  { "sp_sniksnak.turning_from_right.down.frames","2"                   },
+  { "sp_sniksnak.turning_from_right.down.delay","4"                    },
+  { "sp_sniksnak.turning_from_right.down.offset","1472"                        },
+  { "sp_sniksnak.turning_from_right.down.anim_mode","linear"           },
   { "sp_sniksnak.turning_from_up.left",                "RocksSP.pcx"           },
   { "sp_sniksnak.turning_from_up.left.xpos",   "12"                    },
   { "sp_sniksnak.turning_from_up.left.ypos",   "6"                     },
-  { "sp_sniksnak.turning_from_up.left.frames", "1"                     },
+  { "sp_sniksnak.turning_from_up.left.frames", "2"                     },
+  { "sp_sniksnak.turning_from_up.left.delay",  "4"                     },
+  { "sp_sniksnak.turning_from_up.left.offset", "896"                   },
+  { "sp_sniksnak.turning_from_up.left.anim_mode","linear"              },
   { "sp_sniksnak.turning_from_up.right",       "RocksSP.pcx"           },
   { "sp_sniksnak.turning_from_up.right.xpos",  "15"                    },
   { "sp_sniksnak.turning_from_up.right.ypos",  "6"                     },
-  { "sp_sniksnak.turning_from_up.right.frames",        "1"                     },
+  { "sp_sniksnak.turning_from_up.right.frames",        "2"                     },
+  { "sp_sniksnak.turning_from_up.right.delay", "4"                     },
+  { "sp_sniksnak.turning_from_up.right.offset",        "928"                   },
+  { "sp_sniksnak.turning_from_up.right.anim_mode","linear"             },
   { "sp_sniksnak.turning_from_down.left",      "RocksSP.pcx"           },
   { "sp_sniksnak.turning_from_down.left.xpos", "13"                    },
   { "sp_sniksnak.turning_from_down.left.ypos", "6"                     },
-  { "sp_sniksnak.turning_from_down.left.frames","1"                    },
+  { "sp_sniksnak.turning_from_down.left.frames","2"                    },
+  { "sp_sniksnak.turning_from_down.left.delay",        "4"                     },
+  { "sp_sniksnak.turning_from_down.left.offset","864"                  },
+  { "sp_sniksnak.turning_from_down.left.anim_mode","linear"            },
   { "sp_sniksnak.turning_from_down.right",     "RocksSP.pcx"           },
   { "sp_sniksnak.turning_from_down.right.xpos",        "14"                    },
   { "sp_sniksnak.turning_from_down.right.ypos",        "6"                     },
-  { "sp_sniksnak.turning_from_down.right.frames","1"                   },
+  { "sp_sniksnak.turning_from_down.right.frames","2"                   },
+  { "sp_sniksnak.turning_from_down.right.delay","4"                    },
+  { "sp_sniksnak.turning_from_down.right.offset","960"                 },
+  { "sp_sniksnak.turning_from_down.right.anim_mode","linear"           },
 
   { "sp_electron",                             "RocksSP.pcx"           },
   { "sp_electron.xpos",                                "8"                     },
@@ -889,7 +863,7 @@ struct ConfigInfo image_config[] =
   { "bug.moving.down.delay",                   "4"                     },
   { "bug.moving.down.offset",                  "128"                   },
   { "bug.turning_from_right.up",               "RocksMore.pcx"         },
-  { "bug.turning_from_right.up.xpos",          "1"                     },
+  { "bug.turning_from_right.up.xpos",          "0"                     },
   { "bug.turning_from_right.up.ypos",          "6"                     },
   { "bug.turning_from_right.up.frames",                "4"                     },
   { "bug.turning_from_right.up.delay",         "2"                     },
@@ -925,13 +899,13 @@ struct ConfigInfo image_config[] =
   { "bug.turning_from_up.right.delay",         "2"                     },
   { "bug.turning_from_up.right.anim_mode",     "linear"                },
   { "bug.turning_from_left.up",                        "RocksMore.pcx"         },
-  { "bug.turning_from_left.up.xpos",           "12"                    },
+  { "bug.turning_from_left.up.xpos",           "13"                    },
   { "bug.turning_from_left.up.ypos",           "6"                     },
   { "bug.turning_from_left.up.frames",         "4"                     },
   { "bug.turning_from_left.up.delay",          "2"                     },
   { "bug.turning_from_left.up.anim_mode",      "linear"                },
   { "bug.turning_from_down.left",              "RocksMore.pcx"         },
-  { "bug.turning_from_down.left.xpos",         "8"                     },
+  { "bug.turning_from_down.left.xpos",         "9"                     },
   { "bug.turning_from_down.left.ypos",         "6"                     },
   { "bug.turning_from_down.left.frames",       "4"                     },
   { "bug.turning_from_down.left.delay",                "2"                     },
@@ -983,7 +957,7 @@ struct ConfigInfo image_config[] =
   { "spaceship.moving.down.delay",             "4"                     },
   { "spaceship.moving.down.offset",            "128"                   },
   { "spaceship.turning_from_right.up",         "RocksMore.pcx"         },
-  { "spaceship.turning_from_right.up.xpos",    "1"                     },
+  { "spaceship.turning_from_right.up.xpos",    "0"                     },
   { "spaceship.turning_from_right.up.ypos",    "5"                     },
   { "spaceship.turning_from_right.up.frames",  "4"                     },
   { "spaceship.turning_from_right.up.delay",   "2"                     },
@@ -1019,13 +993,13 @@ struct ConfigInfo image_config[] =
   { "spaceship.turning_from_up.right.delay",   "2"                     },
   { "spaceship.turning_from_up.right.anim_mode","linear"               },
   { "spaceship.turning_from_left.up",          "RocksMore.pcx"         },
-  { "spaceship.turning_from_left.up.xpos",     "12"                    },
+  { "spaceship.turning_from_left.up.xpos",     "13"                    },
   { "spaceship.turning_from_left.up.ypos",     "5"                     },
   { "spaceship.turning_from_left.up.frames",   "4"                     },
   { "spaceship.turning_from_left.up.delay",    "2"                     },
   { "spaceship.turning_from_left.up.anim_mode",        "linear"                },
   { "spaceship.turning_from_down.left",                "RocksMore.pcx"         },
-  { "spaceship.turning_from_down.left.xpos",   "8"                     },
+  { "spaceship.turning_from_down.left.xpos",   "9"                     },
   { "spaceship.turning_from_down.left.ypos",   "5"                     },
   { "spaceship.turning_from_down.left.frames", "4"                     },
   { "spaceship.turning_from_down.left.delay",  "2"                     },
@@ -2493,6 +2467,11 @@ struct ConfigInfo image_config[] =
   { "stoneblock.ypos",                         "1"                     },
   { "stoneblock.frames",                       "1"                     },
 
+  { "maze_runner",                             "RocksHeroes.pcx"       },
+  { "maze_runner.xpos",                                "15"                    },
+  { "maze_runner.ypos",                                "8"                     },
+  { "maze_runner.frames",                      "1"                     },
+
   /* images for other elements and actions */
 
   { "player_1",                                        "RocksHeroes.pcx"       },
@@ -3734,5 +3713,10 @@ struct ConfigInfo image_config[] =
   { "door_2.step_delay",                       "10"                    },
   { "door_2.anim_mode",                                "default"               },
 
+  { "[player].boring_delay_fixed",             "-1"                    },
+  { "[player].boring_delay_random",            "-1"                    },
+  { "[player].sleeping_delay_fixed",           "-1"                    },
+  { "[player].sleeping_delay_random",          "-1"                    },
+
   { NULL,                                      NULL                    }
 };