rnd-20030924-B-src
[rocksndiamonds.git] / src / conf_gfx.c
index 2e4691128dab9fbc03527772ec29355a7e710169..2a129b4fad4c3f84018ba55af824c260f74faff7 100644 (file)
@@ -37,12 +37,16 @@ struct ConfigInfo image_config_suffix[] =
   { ".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            }
@@ -223,11 +227,6 @@ struct ConfigInfo image_config[] =
   { "[sp_default].exploding.delay",            "3"                     },
   { "[sp_default].exploding.anim_mode",                "linear"                },
 
-  { "sp_empty_space",                          "RocksSP.pcx"           },
-  { "sp_empty_space.xpos",                     "0"                     },
-  { "sp_empty_space.ypos",                     "0"                     },
-  { "sp_empty_space.frames",                   "1"                     },
-
   { "sp_zonk",                                 "RocksSP.pcx"           },
   { "sp_zonk.xpos",                            "1"                     },
   { "sp_zonk.ypos",                            "0"                     },
@@ -409,6 +408,10 @@ struct ConfigInfo image_config[] =
   { "sp_disk_red.collecting.xpos",             "8"                     },
   { "sp_disk_red.collecting.ypos",             "5"                     },
   { "sp_disk_red.collecting.frames",           "8"                     },
+  { "sp_disk_red.active",                      "RocksSP.pcx"           },
+  { "sp_disk_red.active.xpos",                 "4"                     },
+  { "sp_disk_red.active.ypos",                 "2"                     },
+  { "sp_disk_red.active.frames",               "1"                     },
 
   { "sp_port_right",                           "RocksSP.pcx"           },
   { "sp_port_right.xpos",                      "1"                     },
@@ -578,10 +581,14 @@ struct ConfigInfo image_config[] =
   { "empty_space.ypos",                                "0"                     },
   { "empty_space.frames",                      "1"                     },
 
-  { "sand",                                    "RocksMore.pcx"         },
+  { "sand",                                    "RocksElements.pcx"     },
   { "sand.xpos",                               "0"                     },
-  { "sand.ypos",                               "2"                     },
+  { "sand.ypos",                               "0"                     },
   { "sand.frames",                             "1"                     },
+  { "sand.CRUMBLED",                           "RocksElements.pcx"     },
+  { "sand.CRUMBLED.xpos",                      "1"                     },
+  { "sand.CRUMBLED.ypos",                      "0"                     },
+  { "sand.CRUMBLED.frames",                    "1"                     },
   { "sand.digging.left",                       "RocksMore.pcx"         },
   { "sand.digging.left.xpos",                  "6"                     },
   { "sand.digging.left.ypos",                  "3"                     },
@@ -606,44 +613,40 @@ struct ConfigInfo image_config[] =
   { "sand.digging.down.frames",                        "3"                     },
   { "sand.digging.down.delay",                 "2"                     },
   { "sand.digging.down.anim_mode",             "linear"                },
-  { "sand_crumbled",                           "RocksMore.pcx"         },
-  { "sand_crumbled.xpos",                      "1"                     },
-  { "sand_crumbled.ypos",                      "2"                     },
-  { "sand_crumbled.frames",                    "1"                     },
-  { "sand_crumbled.digging.left",              "RocksMore.pcx"         },
-  { "sand_crumbled.digging.left.xpos",         "6"                     },
-  { "sand_crumbled.digging.left.ypos",         "0"                     },
-  { "sand_crumbled.digging.left.frames",       "3"                     },
-  { "sand_crumbled.digging.left.delay",                "2"                     },
-  { "sand_crumbled.digging.left.anim_mode",    "linear"                },
-  { "sand_crumbled.digging.right",             "RocksMore.pcx"         },
-  { "sand_crumbled.digging.right.xpos",                "9"                     },
-  { "sand_crumbled.digging.right.ypos",                "0"                     },
-  { "sand_crumbled.digging.right.frames",      "3"                     },
-  { "sand_crumbled.digging.right.delay",       "2"                     },
-  { "sand_crumbled.digging.right.anim_mode",   "linear"                },
-  { "sand_crumbled.digging.up",                        "RocksMore.pcx"         },
-  { "sand_crumbled.digging.up.xpos",           "0"                     },
-  { "sand_crumbled.digging.up.ypos",           "0"                     },
-  { "sand_crumbled.digging.up.frames",         "3"                     },
-  { "sand_crumbled.digging.up.delay",          "2"                     },
-  { "sand_crumbled.digging.up.anim_mode",      "linear"                },
-  { "sand_crumbled.digging.down",              "RocksMore.pcx"         },
-  { "sand_crumbled.digging.down.xpos",         "3"                     },
-  { "sand_crumbled.digging.down.ypos",         "0"                     },
-  { "sand_crumbled.digging.down.frames",       "3"                     },
-  { "sand_crumbled.digging.down.delay",                "2"                     },
-  { "sand_crumbled.digging.down.anim_mode",    "linear"                },
+  { "sand.digging.left.CRUMBLED",              "RocksMore.pcx"         },
+  { "sand.digging.left.CRUMBLED.xpos",         "6"                     },
+  { "sand.digging.left.CRUMBLED.ypos",         "0"                     },
+  { "sand.digging.left.CRUMBLED.frames",       "3"                     },
+  { "sand.digging.left.CRUMBLED.delay",                "2"                     },
+  { "sand.digging.left.CRUMBLED.anim_mode",    "linear"                },
+  { "sand.digging.right.CRUMBLED",             "RocksMore.pcx"         },
+  { "sand.digging.right.CRUMBLED.xpos",                "9"                     },
+  { "sand.digging.right.CRUMBLED.ypos",                "0"                     },
+  { "sand.digging.right.CRUMBLED.frames",      "3"                     },
+  { "sand.digging.right.CRUMBLED.delay",       "2"                     },
+  { "sand.digging.right.CRUMBLED.anim_mode",   "linear"                },
+  { "sand.digging.up.CRUMBLED",                        "RocksMore.pcx"         },
+  { "sand.digging.up.CRUMBLED.xpos",           "0"                     },
+  { "sand.digging.up.CRUMBLED.ypos",           "0"                     },
+  { "sand.digging.up.CRUMBLED.frames",         "3"                     },
+  { "sand.digging.up.CRUMBLED.delay",          "2"                     },
+  { "sand.digging.up.CRUMBLED.anim_mode",      "linear"                },
+  { "sand.digging.down.CRUMBLED",              "RocksMore.pcx"         },
+  { "sand.digging.down.CRUMBLED.xpos",         "3"                     },
+  { "sand.digging.down.CRUMBLED.ypos",         "0"                     },
+  { "sand.digging.down.CRUMBLED.frames",       "3"                     },
+  { "sand.digging.down.CRUMBLED.delay",                "2"                     },
+  { "sand.digging.down.CRUMBLED.anim_mode",    "linear"                },
 
   { "wall",                                    "RocksElements.pcx"     },
   { "wall.xpos",                               "5"                     },
   { "wall.ypos",                               "0"                     },
   { "wall.frames",                             "1"                     },
 
-  { "wall_crumbled",                           "RocksElements.pcx"     },
-  { "wall_crumbled.xpos",                      "6"                     },
-  { "wall_crumbled.ypos",                      "0"                     },
-  { "wall_crumbled.frames",                    "1"                     },
+  { "wall_slippery",                           "RocksElements.pcx"     },
+  { "wall_slippery.xpos",                      "6"                     },
+  { "wall_slippery.ypos",                      "0"                     },
+  { "wall_slippery.frames",                    "1"                     },
 
   { "steelwall",                               "RocksElements.pcx"     },
   { "steelwall.xpos",                          "4"                     },
@@ -1117,6 +1120,12 @@ struct ConfigInfo image_config[] =
   { "exit_open.frames",                                "4"                     },
   { "exit_open.delay",                         "4"                     },
   { "exit_open.anim_mode",                     "pingpong"              },
+  { "exit.closing",                            "RocksElements.pcx"     },
+  { "exit.closing.xpos",                       "0"                     },
+  { "exit.closing.ypos",                       "11"                    },
+  { "exit.closing.frames",                     "5"                     },
+  { "exit.closing.delay",                      "6"                     },
+  { "exit.closing.anim_mode",                  "linear,reverse"        },
 
   /* images for Emerald Mine Club style elements and actions */
 
@@ -1437,10 +1446,22 @@ struct ConfigInfo image_config[] =
   { "timegate_switch.active.ypos",             "15"                    },
   { "timegate_switch.active.frames",           "4"                     },
 
-  { "envelope",                                        "RocksDC.pcx"           },
-  { "envelope.xpos",                           "4"                     },
-  { "envelope.ypos",                           "14"                    },
-  { "envelope.frames",                         "1"                     },
+  { "envelope_1",                              "RocksDC.pcx"           },
+  { "envelope_1.xpos",                         "4"                     },
+  { "envelope_1.ypos",                         "14"                    },
+  { "envelope_1.frames",                       "1"                     },
+  { "envelope_2",                              "RocksDC.pcx"           },
+  { "envelope_2.xpos",                         "4"                     },
+  { "envelope_2.ypos",                         "14"                    },
+  { "envelope_2.frames",                       "1"                     },
+  { "envelope_3",                              "RocksDC.pcx"           },
+  { "envelope_3.xpos",                         "4"                     },
+  { "envelope_3.ypos",                         "14"                    },
+  { "envelope_3.frames",                       "1"                     },
+  { "envelope_4",                              "RocksDC.pcx"           },
+  { "envelope_4.xpos",                         "4"                     },
+  { "envelope_4.ypos",                         "14"                    },
+  { "envelope_4.frames",                       "1"                     },
 
   { "sign_exclamation",                                "RocksDC.pcx"           },
   { "sign_exclamation.xpos",                   "5"                     },
@@ -1456,11 +1477,12 @@ struct ConfigInfo image_config[] =
   { "landmine.xpos",                           "7"                     },
   { "landmine.ypos",                           "14"                    },
   { "landmine.frames",                         "1"                     },
+  { "landmine.crumbled_like",                  "sand"                  },
 
-  { "steelwall_slanted",                       "RocksDC.pcx"           },
-  { "steelwall_slanted.xpos",                  "5"                     },
-  { "steelwall_slanted.ypos",                  "15"                    },
-  { "steelwall_slanted.frames",                        "1"                     },
+  { "steelwall_slippery",                      "RocksDC.pcx"           },
+  { "steelwall_slippery.xpos",                 "5"                     },
+  { "steelwall_slippery.ypos",                 "15"                    },
+  { "steelwall_slippery.frames",               "1"                     },
 
   { "extra_time",                              "RocksDC.pcx"           },
   { "extra_time.xpos",                         "8"                     },
@@ -1619,12 +1641,15 @@ struct ConfigInfo image_config[] =
   { "trap.xpos",                               "12"                    },
   { "trap.ypos",                               "8"                     },
   { "trap.frames",                             "1"                     },
+  { "trap.crumbled_like",                      "sand"                  },
+  { "trap.diggable_like",                      "sand"                  },
   { "trap.active",                             "RocksDC.pcx"           },
   { "trap.active.xpos",                                "12"                    },
   { "trap.active.ypos",                                "8"                     },
   { "trap.active.frames",                      "4"                     },
   { "trap.active.delay",                       "4"                     },
   { "trap.active.anim_mode",                   "pingpong2"             },
+  { "trap.active.crumbled_like",               "sand"                  },
 
   { "dx_supabomb",                             "RocksDC.pcx"           },
   { "dx_supabomb.xpos",                                "15"                    },
@@ -3253,6 +3278,11 @@ struct ConfigInfo image_config[] =
   { "font.text_1.PREVIEW.y",                   "160"                   },
   { "font.text_1.PREVIEW.width",               "16"                    },
   { "font.text_1.PREVIEW.height",              "16"                    },
+  { "font.text_1.PLAYING",                     "RocksFontEM.pcx"       },
+  { "font.text_1.PLAYING.x",                   "0"                     },
+  { "font.text_1.PLAYING.y",                   "160"                   },
+  { "font.text_1.PLAYING.width",               "16"                    },
+  { "font.text_1.PLAYING.height",              "16"                    },
   { "font.text_1.SCORES",                      "RocksFontMedium.pcx"   },
   { "font.text_1.SCORES.x",                    "0"                     },
   { "font.text_1.SCORES.y",                    "480"                   },
@@ -3425,6 +3455,12 @@ struct ConfigInfo image_config[] =
   { "editor.element_border_input.xpos",                "0"                     },
   { "editor.element_border_input.ypos",                "0"                     },
 
+  { "game.envelope_background",                        "RocksScreen.pcx"       },
+  { "game.envelope_background.x",              "0"                     },
+  { "game.envelope_background.y",              "0"                     },
+  { "game.envelope_background.width",          "560"                   },
+  { "game.envelope_background.height",         "560"                   },
+
   { "background",                              UNDEFINED_FILENAME      },
   { "background.MAIN",                         UNDEFINED_FILENAME      },
   { "background.LEVELS",                       UNDEFINED_FILENAME      },
@@ -3463,6 +3499,9 @@ struct ConfigInfo image_config[] =
 
   { "door.step_offset",                                "2"                     },
   { "door.step_delay",                         "10"                    },
+  { "door.anim_mode",                          "default"               },
+
+  { "game.envelope.anim_mode",                 "full"                  },
 
   { NULL,                                      NULL                    }
 };