rnd-20021023-1-src
[rocksndiamonds.git] / src / main.c
index ccd297a68af2450981075e97d86d70f47fff60a2..18547e320a43309b986593bf3f49da729555702b 100644 (file)
@@ -203,10 +203,17 @@ struct ConfigInfo image_config[] =
   { "bd_rock.falling.xpos",                    "4"                     },
   { "bd_rock.falling.ypos",                    "2"                     },
   { "bd_rock.falling.frames",                  "1"                     },
-  { "bd_rock.pushing",                         "RocksMore.pcx"         },
-  { "bd_rock.pushing.xpos",                    "4"                     },
-  { "bd_rock.pushing.ypos",                    "2"                     },
-  { "bd_rock.pushing.frames",                  "4"                     },
+  { "bd_rock.moving_left",                     "RocksMore.pcx"         },
+  { "bd_rock.moving_left.xpos",                        "4"                     },
+  { "bd_rock.moving_left.ypos",                        "2"                     },
+  { "bd_rock.moving_left.frames",              "4"                     },
+  { "bd_rock.moving_left.delay",               "2"                     },
+  { "bd_rock.moving_right",                    "RocksMore.pcx"         },
+  { "bd_rock.moving_right.xpos",               "4"                     },
+  { "bd_rock.moving_right.ypos",               "2"                     },
+  { "bd_rock.moving_right.frames",             "4"                     },
+  { "bd_rock.moving_right.delay",              "2"                     },
+  { "bd_rock.moving_right.mode_reverse",       "1"                     },
 
   { "bd_diamond",                              "RocksElements.pcx"     },
   { "bd_diamond.xpos",                         "0"                     },
@@ -346,10 +353,17 @@ struct ConfigInfo image_config[] =
   { "sp_zonk.falling.xpos",                    "1"                     },
   { "sp_zonk.falling.ypos",                    "0"                     },
   { "sp_zonk.falling.frames",                  "1"                     },
-  { "sp_zonk.pushing",                         "RocksSP.pcx"           },
-  { "sp_zonk.pushing.xpos",                    "0"                     },
-  { "sp_zonk.pushing.ypos",                    "6"                     },
-  { "sp_zonk.pushing.frames",                  "4"                     },
+  { "sp_zonk.moving_left",                     "RocksSP.pcx"           },
+  { "sp_zonk.moving_left.xpos",                        "0"                     },
+  { "sp_zonk.moving_left.ypos",                        "6"                     },
+  { "sp_zonk.moving_left.frames",              "4"                     },
+  { "sp_zonk.moving_left.delay",               "2"                     },
+  { "sp_zonk.moving_right",                    "RocksSP.pcx"           },
+  { "sp_zonk.moving_right.xpos",               "0"                     },
+  { "sp_zonk.moving_right.ypos",               "6"                     },
+  { "sp_zonk.moving_right.frames",             "4"                     },
+  { "sp_zonk.moving_right.delay",              "2"                     },
+  { "sp_zonk.moving_right.mode_reverse",       "1"                     },
 
   { "sp_base",                                 "RocksSP.pcx"           },
   { "sp_base.xpos",                            "2"                     },
@@ -369,11 +383,13 @@ struct ConfigInfo image_config[] =
   { "sp_murphy_left.moving.ypos",              "0"                     },
   { "sp_murphy_left.moving.frames",            "3"                     },
   { "sp_murphy_left.moving.mode_pingpong",     "1"                     },
+  { "sp_murphy_left.moving.delay",             "2"                     },
   { "sp_murphy_left.digging",                  "RocksSP.pcx"           },
   { "sp_murphy_left.digging.xpos",             "8"                     },
   { "sp_murphy_left.digging.ypos",             "0"                     },
   { "sp_murphy_left.digging.frames",           "3"                     },
   { "sp_murphy_left.digging.mode_pingpong",    "1"                     },
+  { "sp_murphy_left.digging.delay",            "2"                     },
   { "sp_murphy_left.pushing",                  "RocksSP.pcx"           },
   { "sp_murphy_left.pushing.xpos",             "11"                    },
   { "sp_murphy_left.pushing.ypos",             "1"                     },
@@ -392,11 +408,13 @@ struct ConfigInfo image_config[] =
   { "sp_murphy_right.moving.ypos",             "0"                     },
   { "sp_murphy_right.moving.frames",           "3"                     },
   { "sp_murphy_right.moving.mode_pingpong",    "1"                     },
+  { "sp_murphy_right.moving.delay",            "2"                     },
   { "sp_murphy_right.digging",                 "RocksSP.pcx"           },
   { "sp_murphy_right.digging.xpos",            "11"                    },
   { "sp_murphy_right.digging.ypos",            "0"                     },
   { "sp_murphy_right.digging.frames",          "3"                     },
   { "sp_murphy_right.digging.mode_pingpong",   "1"                     },
+  { "sp_murphy_right.digging.delay",           "2"                     },
   { "sp_murphy_right.pushing",                 "RocksSP.pcx"           },
   { "sp_murphy_right.pushing.xpos",            "10"                    },
   { "sp_murphy_right.pushing.ypos",            "1"                     },
@@ -601,10 +619,12 @@ struct ConfigInfo image_config[] =
   { "sp_terminal.xpos",                                "8"                     },
   { "sp_terminal.ypos",                                "11"                    },
   { "sp_terminal.frames",                      "7"                     },
+  { "sp_terminal.delay",                       "12"                    },
   { "sp_terminal.active",                      "RocksSP.pcx"           },
   { "sp_terminal.active.xpos",                 "8"                     },
   { "sp_terminal.active.ypos",                 "12"                    },
   { "sp_terminal.active.frames",               "7"                     },
+  { "sp_terminal.active.delay",                        "4"                     },
 
   { "sp_buggy_base",                           "RocksSP.pcx"           },
   { "sp_buggy_base.xpos",                      "1"                     },
@@ -704,10 +724,17 @@ struct ConfigInfo image_config[] =
   { "rock.falling.xpos",                       "12"                    },
   { "rock.falling.ypos",                       "0"                     },
   { "rock.falling.frames",                     "1"                     },
-  { "rock.pushing",                            "RocksElements.pcx"     },
-  { "rock.pushing.xpos",                       "12"                    },
-  { "rock.pushing.ypos",                       "0"                     },
-  { "rock.pushing.frames",                     "4"                     },
+  { "rock.moving_left",                                "RocksElements.pcx"     },
+  { "rock.moving_left.xpos",                   "12"                    },
+  { "rock.moving_left.ypos",                   "0"                     },
+  { "rock.moving_left.frames",                 "4"                     },
+  { "rock.moving_left.delay",                  "2"                     },
+  { "rock.moving_right",                       "RocksElements.pcx"     },
+  { "rock.moving_right.xpos",                  "12"                    },
+  { "rock.moving_right.ypos",                  "0"                     },
+  { "rock.moving_right.frames",                        "4"                     },
+  { "rock.moving_right.delay",                 "2"                     },
+  { "rock.moving_right.mode_reverse",          "1"                     },
 
   { "emerald",                                 "RocksElements.pcx"     },
   { "emerald.xpos",                            "8"                     },
@@ -908,16 +935,16 @@ struct ConfigInfo image_config[] =
   { "acid.frames",                             "4"                     },
   { "acid.delay",                              "10"                    },
 
-  { "acid.splashing_left",                     "RocksHeroes.pcx"       },
-  { "acid.splashing_left.xpos",                        "8"                     },
-  { "acid.splashing_left.ypos",                        "10"                    },
-  { "acid.splashing_left.frames",              "4"                     },
-  { "acid.splashing_left.delay",               "2"                     },
-  { "acid.splashing_right",                    "RocksHeroes.pcx"       },
-  { "acid.splashing_right.xpos",               "12"                    },
-  { "acid.splashing_right.ypos",               "10"                    },
-  { "acid.splashing_right.frames",             "4"                     },
-  { "acid.splashing_right.delay",              "2"                     },
+  { "acid_splash_left",                                "RocksHeroes.pcx"       },
+  { "acid_splash_left.xpos",                   "8"                     },
+  { "acid_splash_left.ypos",                   "10"                    },
+  { "acid_splash_left.frames",                 "4"                     },
+  { "acid_splash_left.delay",                  "2"                     },
+  { "acid_splash_right",                       "RocksHeroes.pcx"       },
+  { "acid_splash_right.xpos",                  "12"                    },
+  { "acid_splash_right.ypos",                  "10"                    },
+  { "acid_splash_right.frames",                        "4"                     },
+  { "acid_splash_right.delay",                 "2"                     },
 
   { "amoeba_drop",                             "RocksElements.pcx"     },
   { "amoeba_drop.xpos",                                "5"                     },
@@ -1215,6 +1242,7 @@ struct ConfigInfo image_config[] =
   { "conveyor_belt1_middle.active.xpos",       "0"                     },
   { "conveyor_belt1_middle.active.ypos",       "0"                     },
   { "conveyor_belt1_middle.active.frames",     "8"                     },
+  { "conveyor_belt1_middle.active.delay",      "2"                     },
   { "conveyor_belt1_left",                     "RocksDC.pcx"           },
   { "conveyor_belt1_left.xpos",                        "0"                     },
   { "conveyor_belt1_left.ypos",                        "1"                     },
@@ -1223,6 +1251,7 @@ struct ConfigInfo image_config[] =
   { "conveyor_belt1_left.active.xpos",         "0"                     },
   { "conveyor_belt1_left.active.ypos",         "1"                     },
   { "conveyor_belt1_left.active.frames",       "8"                     },
+  { "conveyor_belt1_left.active.delay",                "2"                     },
   { "conveyor_belt1_right",                    "RocksDC.pcx"           },
   { "conveyor_belt1_right.xpos",               "0"                     },
   { "conveyor_belt1_right.ypos",               "2"                     },
@@ -1231,6 +1260,7 @@ struct ConfigInfo image_config[] =
   { "conveyor_belt1_right.active.xpos",                "0"                     },
   { "conveyor_belt1_right.active.ypos",                "2"                     },
   { "conveyor_belt1_right.active.frames",      "8"                     },
+  { "conveyor_belt1_right.active.delay",       "2"                     },
   { "conveyor_belt1_switch_left",              "RocksDC.pcx"           },
   { "conveyor_belt1_switch_left.xpos",         "0"                     },
   { "conveyor_belt1_switch_left.ypos",         "12"                    },
@@ -1252,6 +1282,7 @@ struct ConfigInfo image_config[] =
   { "conveyor_belt2_middle.active.xpos",       "0"                     },
   { "conveyor_belt2_middle.active.ypos",       "3"                     },
   { "conveyor_belt2_middle.active.frames",     "8"                     },
+  { "conveyor_belt2_middle.active.delay",      "2"                     },
   { "conveyor_belt2_left",                     "RocksDC.pcx"           },
   { "conveyor_belt2_left.xpos",                        "0"                     },
   { "conveyor_belt2_left.ypos",                        "4"                     },
@@ -1260,6 +1291,7 @@ struct ConfigInfo image_config[] =
   { "conveyor_belt2_left.active.xpos",         "0"                     },
   { "conveyor_belt2_left.active.ypos",         "4"                     },
   { "conveyor_belt2_left.active.frames",       "8"                     },
+  { "conveyor_belt2_left.active.delay",                "2"                     },
   { "conveyor_belt2_right",                    "RocksDC.pcx"           },
   { "conveyor_belt2_right.xpos",               "0"                     },
   { "conveyor_belt2_right.ypos",               "5"                     },
@@ -1268,6 +1300,8 @@ struct ConfigInfo image_config[] =
   { "conveyor_belt2_right.active.xpos",                "0"                     },
   { "conveyor_belt2_right.active.ypos",                "5"                     },
   { "conveyor_belt2_right.active.frames",      "8"                     },
+  { "conveyor_belt2_right.active.delay",       "2"                     },
+  { "conveyor_belt2_right.active.delay",       "2"                     },
   { "conveyor_belt2_switch_left",              "RocksDC.pcx"           },
   { "conveyor_belt2_switch_left.xpos",         "1"                     },
   { "conveyor_belt2_switch_left.ypos",         "12"                    },
@@ -1289,6 +1323,7 @@ struct ConfigInfo image_config[] =
   { "conveyor_belt3_middle.active.xpos",       "0"                     },
   { "conveyor_belt3_middle.active.ypos",       "6"                     },
   { "conveyor_belt3_middle.active.frames",     "8"                     },
+  { "conveyor_belt3_middle.active.delay",      "2"                     },
   { "conveyor_belt3_left",                     "RocksDC.pcx"           },
   { "conveyor_belt3_left.xpos",                        "0"                     },
   { "conveyor_belt3_left.ypos",                        "7"                     },
@@ -1297,6 +1332,7 @@ struct ConfigInfo image_config[] =
   { "conveyor_belt3_left.active.xpos",         "0"                     },
   { "conveyor_belt3_left.active.ypos",         "7"                     },
   { "conveyor_belt3_left.active.frames",       "8"                     },
+  { "conveyor_belt3_left.active.delay",                "2"                     },
   { "conveyor_belt3_right",                    "RocksDC.pcx"           },
   { "conveyor_belt3_right.xpos",               "0"                     },
   { "conveyor_belt3_right.ypos",               "8"                     },
@@ -1305,6 +1341,8 @@ struct ConfigInfo image_config[] =
   { "conveyor_belt3_right.active.xpos",                "0"                     },
   { "conveyor_belt3_right.active.ypos",                "8"                     },
   { "conveyor_belt3_right.active.frames",      "8"                     },
+  { "conveyor_belt3_right.active.delay",       "2"                     },
+  { "conveyor_belt3_right.active.delay",       "2"                     },
   { "conveyor_belt3_switch_left",              "RocksDC.pcx"           },
   { "conveyor_belt3_switch_left.xpos",         "2"                     },
   { "conveyor_belt3_switch_left.ypos",         "12"                    },
@@ -1326,6 +1364,7 @@ struct ConfigInfo image_config[] =
   { "conveyor_belt4_middle.active.xpos",       "0"                     },
   { "conveyor_belt4_middle.active.ypos",       "9"                     },
   { "conveyor_belt4_middle.active.frames",     "8"                     },
+  { "conveyor_belt4_middle.active.delay",      "2"                     },
   { "conveyor_belt4_left",                     "RocksDC.pcx"           },
   { "conveyor_belt4_left.xpos",                        "0"                     },
   { "conveyor_belt4_left.ypos",                        "10"                    },
@@ -1334,6 +1373,7 @@ struct ConfigInfo image_config[] =
   { "conveyor_belt4_left.active.xpos",         "0"                     },
   { "conveyor_belt4_left.active.ypos",         "10"                    },
   { "conveyor_belt4_left.active.frames",       "8"                     },
+  { "conveyor_belt4_left.active.delay",                "2"                     },
   { "conveyor_belt4_right",                    "RocksDC.pcx"           },
   { "conveyor_belt4_right.xpos",               "0"                     },
   { "conveyor_belt4_right.ypos",               "11"                    },
@@ -1342,6 +1382,8 @@ struct ConfigInfo image_config[] =
   { "conveyor_belt4_right.active.xpos",                "0"                     },
   { "conveyor_belt4_right.active.ypos",                "11"                    },
   { "conveyor_belt4_right.active.frames",      "8"                     },
+  { "conveyor_belt4_right.active.delay",       "2"                     },
+  { "conveyor_belt4_right.active.delay",       "2"                     },
   { "conveyor_belt4_switch_left",              "RocksDC.pcx"           },
   { "conveyor_belt4_switch_left.xpos",         "3"                     },
   { "conveyor_belt4_switch_left.ypos",         "12"                    },
@@ -1411,27 +1453,32 @@ struct ConfigInfo image_config[] =
   { "extra_time.xpos",                         "8"                     },
   { "extra_time.ypos",                         "0"                     },
   { "extra_time.frames",                       "6"                     },
+  { "extra_time.delay",                                "4"                     },
 
   { "shield_normal",                           "RocksDC.pcx"           },
   { "shield_normal.xpos",                      "8"                     },
   { "shield_normal.ypos",                      "2"                     },
   { "shield_normal.frames",                    "6"                     },
+  { "shield_normal.delay",                     "4"                     },
 
   { "shield_deadly",                           "RocksDC.pcx"           },
   { "shield_deadly.xpos",                      "8"                     },
   { "shield_deadly.ypos",                      "1"                     },
   { "shield_deadly.frames",                    "6"                     },
+  { "shield_deadly.delay",                     "4"                     },
 
   { "shield_normal.active",                    "RocksHeroes.pcx"       },
   { "shield_normal.active.xpos",               "1"                     },
   { "shield_normal.active.ypos",               "13"                    },
   { "shield_normal.active.frames",             "3"                     },
+  { "shield_normal.active.delay",              "8"                     },
   { "shield_normal.active.mode_pingpong",      "1"                     },
 
   { "shield_deadly.active",                    "RocksHeroes.pcx"       },
   { "shield_deadly.active.xpos",               "5"                     },
   { "shield_deadly.active.ypos",               "13"                    },
   { "shield_deadly.active.frames",             "3"                     },
+  { "shield_deadly.active.delay",              "8"                     },
   { "shield_deadly.active.mode_pingpong",      "1"                     },
 
   { "switchgate_closed",                       "RocksDC.pcx"           },
@@ -1565,6 +1612,8 @@ struct ConfigInfo image_config[] =
   { "trap.active.xpos",                                "4"                     },
   { "trap.active.ypos",                                "0"                     },
   { "trap.active.frames",                      "4"                     },
+  { "trap.active.delay",                       "4"                     },
+  { "trap.active.mode_pingpong2",              "1"                     },
 
   { "dx_supabomb",                             "RocksMore.pcx"         },
   { "dx_supabomb.xpos",                                "7"                     },
@@ -1718,6 +1767,10 @@ struct ConfigInfo image_config[] =
   { "wall_bd_diamond.ypos",                    "8"                     },
   { "wall_bd_diamond.frames",                  "1"                     },
 
+  { "wall_growing",                            "RocksElements.pcx"     },
+  { "wall_growing.xpos",                       "11"                    },
+  { "wall_growing.ypos",                       "10"                    },
+  { "wall_growing.frames",                     "1"                     },
   { "wall_growing_xy",                         "RocksElements.pcx"     },
   { "wall_growing_xy.xpos",                    "4"                     },
   { "wall_growing_xy.ypos",                    "9"                     },
@@ -1735,18 +1788,22 @@ struct ConfigInfo image_config[] =
   { "wall_growing_active_left.xpos",           "8"                     },
   { "wall_growing_active_left.ypos",           "10"                    },
   { "wall_growing_active_left.frames",         "3"                     },
+  { "wall_growing_active_left.delay",          "6"                     },
   { "wall_growing_active_right",               "RocksElements.pcx"     },
   { "wall_growing_active_right.xpos",          "5"                     },
   { "wall_growing_active_right.ypos",          "10"                    },
   { "wall_growing_active_right.frames",                "3"                     },
+  { "wall_growing_active_right.delay",         "6"                     },
   { "wall_growing_active_up",                  "RocksHeroes.pcx"       },
   { "wall_growing_active_up.xpos",             "3"                     },
   { "wall_growing_active_up.ypos",             "12"                    },
   { "wall_growing_active_up.frames",           "3"                     },
+  { "wall_growing_active_up.delay",            "6"                     },
   { "wall_growing_active_down",                        "RocksHeroes.pcx"       },
   { "wall_growing_active_down.xpos",           "0"                     },
   { "wall_growing_active_down.ypos",           "12"                    },
   { "wall_growing_active_down.frames",         "3"                     },
+  { "wall_growing_active_down.delay",          "6"                     },
 
   { "black_orb",                               "RocksElements.pcx"     },
   { "black_orb.xpos",                          "13"                    },
@@ -1807,6 +1864,10 @@ struct ConfigInfo image_config[] =
   { "dynabomb_xl.ypos",                                "9"                     },
   { "dynabomb_xl.frames",                      "1"                     },
 
+  { "pig",                                     "RocksHeroes.pcx"       },
+  { "pig.xpos",                                        "8"                     },
+  { "pig.ypos",                                        "0"                     },
+  { "pig.frames",                              "1"                     },
   { "pig_down",                                        "RocksHeroes.pcx"       },
   { "pig_down.xpos",                           "8"                     },
   { "pig_down.ypos",                           "0"                     },
@@ -1864,6 +1925,10 @@ struct ConfigInfo image_config[] =
   { "pig_right.eating.frames",                 "4"                     },
   { "pig_right.eating.delay",                  "2"                     },
 
+  { "dragon",                                  "RocksHeroes.pcx"       },
+  { "dragon.xpos",                             "8"                     },
+  { "dragon.ypos",                             "2"                     },
+  { "dragon.frames",                           "1"                     },
   { "dragon_down",                             "RocksHeroes.pcx"       },
   { "dragon_down.xpos",                                "8"                     },
   { "dragon_down.ypos",                                "2"                     },
@@ -1917,6 +1982,10 @@ struct ConfigInfo image_config[] =
   { "dragon_right.attacking.ypos",             "3"                     },
   { "dragon_right.attacking.frames",           "1"                     },
 
+  { "mole",                                    "RocksHeroes.pcx"       },
+  { "mole.xpos",                               "8"                     },
+  { "mole.ypos",                               "4"                     },
+  { "mole.frames",                             "1"                     },
   { "mole_down",                               "RocksHeroes.pcx"       },
   { "mole_down.xpos",                          "8"                     },
   { "mole_down.ypos",                          "4"                     },
@@ -1974,6 +2043,10 @@ struct ConfigInfo image_config[] =
   { "mole_right.digging.frames",               "4"                     },
   { "mole_right.digging.delay",                        "2"                     },
 
+  { "penguin",                                 "RocksHeroes.pcx"       },
+  { "penguin.xpos",                            "8"                     },
+  { "penguin.ypos",                            "6"                     },
+  { "penguin.frames",                          "1"                     },
   { "penguin_down",                            "RocksHeroes.pcx"       },
   { "penguin_down.xpos",                       "8"                     },
   { "penguin_down.ypos",                       "6"                     },
@@ -2535,6 +2608,23 @@ struct ConfigInfo image_config[] =
   { "arrow_red_down.ypos",                     "1"                     },
   { "arrow_red_down.frames",                   "1"                     },
 
+  { "ball_red",                                        "RocksElements.pcx"     },
+  { "ball_red.xpos",                           "12"                    },
+  { "ball_red.ypos",                           "8"                     },
+  { "ball_red.frames",                         "1"                     },
+  { "ball_blue",                               "RocksElements.pcx"     },
+  { "ball_blue.xpos",                          "13"                    },
+  { "ball_blue.ypos",                          "8"                     },
+  { "ball_blue.frames",                                "1"                     },
+  { "ball_yellow",                             "RocksElements.pcx"     },
+  { "ball_yellow.xpos",                                "14"                    },
+  { "ball_yellow.ypos",                                "8"                     },
+  { "ball_yellow.frames",                      "1"                     },
+  { "ball_gray",                               "RocksElements.pcx"     },
+  { "ball_gray.xpos",                          "15"                    },
+  { "ball_gray.ypos",                          "8"                     },
+  { "ball_gray.frames",                                "1"                     },
+
   { "scrollbar_blue",                          "RocksMore.pcx"         },
   { "scrollbar_blue.xpos",                     "0"                     },
   { "scrollbar_blue.ypos",                     "2"                     },
@@ -2552,10 +2642,7 @@ struct ConfigInfo image_config[] =
   { "scrollbar_yellow.ypos",                   "2"                     },
   { "scrollbar_yellow.frames",                 "1"                     },
 
-  { "char_question",                           "RocksFontEM.pcx"       },
-  { "char_question.xpos",                      "15"                    },
-  { "char_question.ypos",                      "1"                     },
-  { "char_question.frames",                    "1"                     },
+#include "conf_chr.c"  /* include auto-generated data structure definitions */
 
   { NULL,                                      NULL                    }
 };