rnd-20020930-1-src
[rocksndiamonds.git] / src / main.c
index 8a6dd77e41a420c67283023e838c7e17ebc6f86d..6cafa8eaa5a2942a2e9848e1373092a6550301fd 100644 (file)
@@ -221,18 +221,26 @@ struct ConfigInfo image_config[] =
   { "bd_magic_wall.active.xpos",               "12"                    },
   { "bd_magic_wall.active.ypos",               "10"                    },
   { "bd_magic_wall.active.frames",             "4"                     },
+  { "bd_magic_wall.active.reverse",            "1"                     },
+  { "bd_magic_wall.active.delay",              "4"                     },
   { "bd_magic_wall.filling",                   "RocksElements.pcx"     },
   { "bd_magic_wall.filling.xpos",              "12"                    },
   { "bd_magic_wall.filling.ypos",              "10"                    },
   { "bd_magic_wall.filling.frames",            "4"                     },
+  { "bd_magic_wall.filling.reverse",           "1"                     },
+  { "bd_magic_wall.filling.delay",             "4"                     },
   { "bd_magic_wall.full",                      "RocksElements.pcx"     },
   { "bd_magic_wall.full.xpos",                 "12"                    },
   { "bd_magic_wall.full.ypos",                 "10"                    },
   { "bd_magic_wall.full.frames",               "4"                     },
+  { "bd_magic_wall.full.reverse",              "1"                     },
+  { "bd_magic_wall.full.delay",                        "4"                     },
   { "bd_magic_wall.emptying",                  "RocksElements.pcx"     },
   { "bd_magic_wall.emptying.xpos",             "12"                    },
   { "bd_magic_wall.emptying.ypos",             "10"                    },
   { "bd_magic_wall.emptying.frames",           "4"                     },
+  { "bd_magic_wall.emptying.reverse",          "1"                     },
+  { "bd_magic_wall.emptying.delay",            "4"                     },
   { "bd_magic_wall.dead",                      "RocksElements.pcx"     },
   { "bd_magic_wall.dead.xpos",                 "12"                    },
   { "bd_magic_wall.dead.ypos",                 "10"                    },
@@ -821,18 +829,26 @@ struct ConfigInfo image_config[] =
   { "magic_wall.active.xpos",                  "0"                     },
   { "magic_wall.active.ypos",                  "8"                     },
   { "magic_wall.active.frames",                        "4"                     },
+  { "magic_wall.active.reverse",               "1"                     },
+  { "magic_wall.active.delay",                 "4"                     },
   { "magic_wall.filling",                      "RocksElements.pcx"     },
   { "magic_wall.filling.xpos",                 "0"                     },
   { "magic_wall.filling.ypos",                 "8"                     },
   { "magic_wall.filling.frames",               "4"                     },
+  { "magic_wall.filling.reverse",              "1"                     },
+  { "magic_wall.filling.delay",                        "4"                     },
   { "magic_wall.full",                         "RocksElements.pcx"     },
   { "magic_wall.full.xpos",                    "0"                     },
   { "magic_wall.full.ypos",                    "8"                     },
   { "magic_wall.full.frames",                  "4"                     },
+  { "magic_wall.full.reverse",                 "1"                     },
+  { "magic_wall.full.delay",                   "4"                     },
   { "magic_wall.emptying",                     "RocksElements.pcx"     },
   { "magic_wall.emptying.xpos",                        "0"                     },
   { "magic_wall.emptying.ypos",                        "8"                     },
   { "magic_wall.emptying.frames",              "4"                     },
+  { "magic_wall.emptying.reverse",             "1"                     },
+  { "magic_wall.emptying.delay",               "4"                     },
   { "magic_wall.dead",                         "RocksElements.pcx"     },
   { "magic_wall.dead.xpos",                    "0"                     },
   { "magic_wall.dead.ypos",                    "8"                     },
@@ -880,6 +896,7 @@ struct ConfigInfo image_config[] =
   { "acid.xpos",                               "12"                    },
   { "acid.ypos",                               "7"                     },
   { "acid.frames",                             "4"                     },
+  { "acid.delay",                              "10"                    },
 
   { "acid.splashing_left",                     "RocksHeroes.pcx"       },
   { "acid.splashing_left.xpos",                        "8"                     },
@@ -1006,6 +1023,7 @@ struct ConfigInfo image_config[] =
   { "balloon.moving.ypos",                     "7"                     },
   { "balloon.moving.frames",                   "4"                     },
   { "balloon.moving.pingpong",                 "1"                     },
+  { "balloon.moving.delay",                    "2"                     },
 
   { "balloon_send_left",                       "RocksDC.pcx"           },
   { "balloon_send_left.xpos",                  "8"                     },
@@ -1714,10 +1732,12 @@ struct ConfigInfo image_config[] =
   { "pig_down.moving.xpos",                    "8"                     },
   { "pig_down.moving.ypos",                    "0"                     },
   { "pig_down.moving.frames",                  "4"                     },
+  { "pig_down.moving.delay",                   "2"                     },
   { "pig_down.eating",                         "RocksHeroes.pcx"       },
   { "pig_down.eating.xpos",                    "8"                     },
   { "pig_down.eating.ypos",                    "0"                     },
   { "pig_down.eating.frames",                  "4"                     },
+  { "pig_down.eating.delay",                   "2"                     },
   { "pig_up",                                  "RocksHeroes.pcx"       },
   { "pig_up.xpos",                             "12"                    },
   { "pig_up.ypos",                             "0"                     },
@@ -1726,10 +1746,12 @@ struct ConfigInfo image_config[] =
   { "pig_up.moving.xpos",                      "12"                    },
   { "pig_up.moving.ypos",                      "0"                     },
   { "pig_up.moving.frames",                    "4"                     },
+  { "pig_up.moving.delay",                     "2"                     },
   { "pig_up.eating",                           "RocksHeroes.pcx"       },
   { "pig_up.eating.xpos",                      "12"                    },
   { "pig_up.eating.ypos",                      "0"                     },
   { "pig_up.eating.frames",                    "4"                     },
+  { "pig_up.eating.delay",                     "2"                     },
   { "pig_left",                                        "RocksHeroes.pcx"       },
   { "pig_left.xpos",                           "8"                     },
   { "pig_left.ypos",                           "1"                     },
@@ -1738,10 +1760,12 @@ struct ConfigInfo image_config[] =
   { "pig_left.moving.xpos",                    "8"                     },
   { "pig_left.moving.ypos",                    "1"                     },
   { "pig_left.moving.frames",                  "4"                     },
+  { "pig_left.moving.delay",                   "2"                     },
   { "pig_left.eating",                         "RocksHeroes.pcx"       },
   { "pig_left.eating.xpos",                    "8"                     },
   { "pig_left.eating.ypos",                    "1"                     },
   { "pig_left.eating.frames",                  "4"                     },
+  { "pig_left.eating.delay",                   "2"                     },
   { "pig_right",                               "RocksHeroes.pcx"       },
   { "pig_right.xpos",                          "12"                    },
   { "pig_right.ypos",                          "1"                     },
@@ -1750,10 +1774,12 @@ struct ConfigInfo image_config[] =
   { "pig_right.moving.xpos",                   "12"                    },
   { "pig_right.moving.ypos",                   "1"                     },
   { "pig_right.moving.frames",                 "4"                     },
+  { "pig_right.moving.delay",                  "2"                     },
   { "pig_right.eating",                                "RocksHeroes.pcx"       },
   { "pig_right.eating.xpos",                   "12"                    },
   { "pig_right.eating.ypos",                   "1"                     },
   { "pig_right.eating.frames",                 "4"                     },
+  { "pig_right.eating.delay",                  "2"                     },
 
   { "dragon_down",                             "RocksHeroes.pcx"       },
   { "dragon_down.xpos",                                "8"                     },
@@ -1763,10 +1789,11 @@ struct ConfigInfo image_config[] =
   { "dragon_down.moving.xpos",                 "8"                     },
   { "dragon_down.moving.ypos",                 "2"                     },
   { "dragon_down.moving.frames",               "4"                     },
+  { "dragon_down.moving.delay",                        "2"                     },
   { "dragon_down.attacking",                   "RocksHeroes.pcx"       },
   { "dragon_down.attacking.xpos",              "8"                     },
   { "dragon_down.attacking.ypos",              "2"                     },
-  { "dragon_down.attacking.frames",            "4"                     },
+  { "dragon_down.attacking.frames",            "1"                     },
   { "dragon_up",                               "RocksHeroes.pcx"       },
   { "dragon_up.xpos",                          "12"                    },
   { "dragon_up.ypos",                          "2"                     },
@@ -1775,10 +1802,11 @@ struct ConfigInfo image_config[] =
   { "dragon_up.moving.xpos",                   "12"                    },
   { "dragon_up.moving.ypos",                   "2"                     },
   { "dragon_up.moving.frames",                 "4"                     },
+  { "dragon_up.moving.delay",                  "2"                     },
   { "dragon_up.attacking",                     "RocksHeroes.pcx"       },
   { "dragon_up.attacking.xpos",                        "12"                    },
   { "dragon_up.attacking.ypos",                        "2"                     },
-  { "dragon_up.attacking.frames",              "4"                     },
+  { "dragon_up.attacking.frames",              "1"                     },
   { "dragon_left",                             "RocksHeroes.pcx"       },
   { "dragon_left.xpos",                                "8"                     },
   { "dragon_left.ypos",                                "3"                     },
@@ -1787,10 +1815,11 @@ struct ConfigInfo image_config[] =
   { "dragon_left.moving.xpos",                 "8"                     },
   { "dragon_left.moving.ypos",                 "3"                     },
   { "dragon_left.moving.frames",               "4"                     },
+  { "dragon_left.moving.delay",                        "2"                     },
   { "dragon_left.attacking",                   "RocksHeroes.pcx"       },
   { "dragon_left.attacking.xpos",              "8"                     },
   { "dragon_left.attacking.ypos",              "3"                     },
-  { "dragon_left.attacking.frames",            "4"                     },
+  { "dragon_left.attacking.frames",            "1"                     },
   { "dragon_right",                            "RocksHeroes.pcx"       },
   { "dragon_right.xpos",                       "12"                    },
   { "dragon_right.ypos",                       "3"                     },
@@ -1799,10 +1828,11 @@ struct ConfigInfo image_config[] =
   { "dragon_right.moving.xpos",                        "12"                    },
   { "dragon_right.moving.ypos",                        "3"                     },
   { "dragon_right.moving.frames",              "4"                     },
+  { "dragon_right.moving.delay",               "2"                     },
   { "dragon_right.attacking",                  "RocksHeroes.pcx"       },
   { "dragon_right.attacking.xpos",             "12"                    },
   { "dragon_right.attacking.ypos",             "3"                     },
-  { "dragon_right.attacking.frames",           "4"                     },
+  { "dragon_right.attacking.frames",           "1"                     },
 
   { "mole_down",                               "RocksHeroes.pcx"       },
   { "mole_down.xpos",                          "8"                     },
@@ -1812,10 +1842,12 @@ struct ConfigInfo image_config[] =
   { "mole_down.moving.xpos",                   "8"                     },
   { "mole_down.moving.ypos",                   "4"                     },
   { "mole_down.moving.frames",                 "4"                     },
+  { "mole_down.moving.delay",                  "2"                     },
   { "mole_down.digging",                       "RocksHeroes.pcx"       },
   { "mole_down.digging.xpos",                  "8"                     },
   { "mole_down.digging.ypos",                  "4"                     },
   { "mole_down.digging.frames",                        "4"                     },
+  { "mole_down.digging.delay",                 "2"                     },
   { "mole_up",                                 "RocksHeroes.pcx"       },
   { "mole_up.xpos",                            "12"                    },
   { "mole_up.ypos",                            "4"                     },
@@ -1824,10 +1856,12 @@ struct ConfigInfo image_config[] =
   { "mole_up.moving.xpos",                     "12"                    },
   { "mole_up.moving.ypos",                     "4"                     },
   { "mole_up.moving.frames",                   "4"                     },
+  { "mole_up.moving.delay",                    "2"                     },
   { "mole_up.digging",                         "RocksHeroes.pcx"       },
   { "mole_up.digging.xpos",                    "12"                    },
   { "mole_up.digging.ypos",                    "4"                     },
   { "mole_up.digging.frames",                  "4"                     },
+  { "mole_up.digging.delay",                   "2"                     },
   { "mole_left",                               "RocksHeroes.pcx"       },
   { "mole_left.xpos",                          "8"                     },
   { "mole_left.ypos",                          "5"                     },
@@ -1836,10 +1870,12 @@ struct ConfigInfo image_config[] =
   { "mole_left.moving.xpos",                   "8"                     },
   { "mole_left.moving.ypos",                   "5"                     },
   { "mole_left.moving.frames",                 "4"                     },
+  { "mole_left.moving.delay",                  "2"                     },
   { "mole_left.digging",                       "RocksHeroes.pcx"       },
   { "mole_left.digging.xpos",                  "8"                     },
   { "mole_left.digging.ypos",                  "5"                     },
   { "mole_left.digging.frames",                        "4"                     },
+  { "mole_left.digging.delay",                 "2"                     },
   { "mole_right",                              "RocksHeroes.pcx"       },
   { "mole_right.xpos",                         "12"                    },
   { "mole_right.ypos",                         "5"                     },
@@ -1848,10 +1884,12 @@ struct ConfigInfo image_config[] =
   { "mole_right.moving.xpos",                  "12"                    },
   { "mole_right.moving.ypos",                  "5"                     },
   { "mole_right.moving.frames",                        "4"                     },
+  { "mole_right.moving.delay",                 "2"                     },
   { "mole_right.digging",                      "RocksHeroes.pcx"       },
   { "mole_right.digging.xpos",                 "12"                    },
   { "mole_right.digging.ypos",                 "5"                     },
   { "mole_right.digging.frames",               "4"                     },
+  { "mole_right.digging.delay",                        "2"                     },
 
   { "penguin_down",                            "RocksHeroes.pcx"       },
   { "penguin_down.xpos",                       "8"                     },
@@ -1861,6 +1899,7 @@ struct ConfigInfo image_config[] =
   { "penguin_down.moving.xpos",                        "8"                     },
   { "penguin_down.moving.ypos",                        "6"                     },
   { "penguin_down.moving.frames",              "4"                     },
+  { "penguin_down.moving.delay",               "2"                     },
   { "penguin_up",                              "RocksHeroes.pcx"       },
   { "penguin_up.xpos",                         "12"                    },
   { "penguin_up.ypos",                         "6"                     },
@@ -1869,6 +1908,7 @@ struct ConfigInfo image_config[] =
   { "penguin_up.moving.xpos",                  "12"                    },
   { "penguin_up.moving.ypos",                  "6"                     },
   { "penguin_up.moving.frames",                        "4"                     },
+  { "penguin_up.moving.delay",                 "2"                     },
   { "penguin_left",                            "RocksHeroes.pcx"       },
   { "penguin_left.xpos",                       "8"                     },
   { "penguin_left.ypos",                       "7"                     },
@@ -1877,6 +1917,7 @@ struct ConfigInfo image_config[] =
   { "penguin_left.moving.xpos",                        "8"                     },
   { "penguin_left.moving.ypos",                        "7"                     },
   { "penguin_left.moving.frames",              "4"                     },
+  { "penguin_left.moving.delay",               "2"                     },
   { "penguin_right",                           "RocksHeroes.pcx"       },
   { "penguin_right.xpos",                      "12"                    },
   { "penguin_right.ypos",                      "7"                     },
@@ -1885,6 +1926,7 @@ struct ConfigInfo image_config[] =
   { "penguin_right.moving.xpos",               "12"                    },
   { "penguin_right.moving.ypos",               "7"                     },
   { "penguin_right.moving.frames",             "4"                     },
+  { "penguin_right.moving.delay",              "2"                     },
 
   { "satellite",                               "RocksHeroes.pcx"       },
   { "satellite.xpos",                          "8"                     },