From: Holger Schemel Date: Mon, 2 Jun 2003 00:03:50 +0000 (+0200) Subject: rnd-20030602-1-src X-Git-Tag: 3.0.0^2~59 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=4c2027809249e8cfb5d81ef0ab5835f40c3a3835;p=rocksndiamonds.git rnd-20030602-1-src --- diff --git a/src/conf_e2g.c b/src/conf_e2g.c index c45c8355..f53dac2e 100644 --- a/src/conf_e2g.c +++ b/src/conf_e2g.c @@ -640,6 +640,10 @@ element_to_graphic[] = EL_WALL_DIAMOND, -1, -1, IMG_WALL_DIAMOND }, + { + EL_BUG, -1, -1, + IMG_BUG + }, { EL_BUG_RIGHT, -1, -1, IMG_BUG_RIGHT @@ -672,6 +676,26 @@ element_to_graphic[] = EL_BUG, -1, MV_BIT_DOWN, IMG_BUG_DOWN }, + { + EL_BUG, ACTION_MOVING, MV_BIT_RIGHT, + IMG_BUG_MOVING_RIGHT + }, + { + EL_BUG, ACTION_MOVING, MV_BIT_UP, + IMG_BUG_MOVING_UP + }, + { + EL_BUG, ACTION_MOVING, MV_BIT_LEFT, + IMG_BUG_MOVING_LEFT + }, + { + EL_BUG, ACTION_MOVING, MV_BIT_DOWN, + IMG_BUG_MOVING_DOWN + }, + { + EL_SPACESHIP, -1, -1, + IMG_SPACESHIP + }, { EL_SPACESHIP_RIGHT, -1, -1, IMG_SPACESHIP_RIGHT @@ -704,6 +728,22 @@ element_to_graphic[] = EL_SPACESHIP, -1, MV_BIT_DOWN, IMG_SPACESHIP_DOWN }, + { + EL_SPACESHIP, ACTION_MOVING, MV_BIT_RIGHT, + IMG_SPACESHIP_MOVING_RIGHT + }, + { + EL_SPACESHIP, ACTION_MOVING, MV_BIT_UP, + IMG_SPACESHIP_MOVING_UP + }, + { + EL_SPACESHIP, ACTION_MOVING, MV_BIT_LEFT, + IMG_SPACESHIP_MOVING_LEFT + }, + { + EL_SPACESHIP, ACTION_MOVING, MV_BIT_DOWN, + IMG_SPACESHIP_MOVING_DOWN + }, { EL_YAMYAM, -1, -1, IMG_YAMYAM @@ -1472,6 +1512,10 @@ element_to_graphic[] = EL_BIOMAZE, -1, -1, IMG_BIOMAZE }, + { + EL_PACMAN, -1, -1, + IMG_PACMAN + }, { EL_PACMAN_RIGHT, -1, -1, IMG_PACMAN_RIGHT @@ -1504,6 +1548,22 @@ element_to_graphic[] = EL_PACMAN, -1, MV_BIT_DOWN, IMG_PACMAN_DOWN }, + { + EL_PACMAN, ACTION_MOVING, MV_BIT_RIGHT, + IMG_PACMAN_MOVING_RIGHT + }, + { + EL_PACMAN, ACTION_MOVING, MV_BIT_UP, + IMG_PACMAN_MOVING_UP + }, + { + EL_PACMAN, ACTION_MOVING, MV_BIT_LEFT, + IMG_PACMAN_MOVING_LEFT + }, + { + EL_PACMAN, ACTION_MOVING, MV_BIT_DOWN, + IMG_PACMAN_MOVING_DOWN + }, { EL_LAMP, -1, -1, IMG_LAMP diff --git a/src/conf_esg.c b/src/conf_esg.c index f551718e..b2180fb3 100644 --- a/src/conf_esg.c +++ b/src/conf_esg.c @@ -227,30 +227,6 @@ element_to_special_graphic[] = EL_INVISIBLE_STEELWALL_VERTICAL, GFX_SPECIAL_ARG_EDITOR, IMG_INVISIBLE_STEELWALL_VERTICAL_EDITOR }, - { - EL_BUG, GFX_SPECIAL_ARG_EDITOR, - IMG_BUG_RIGHT - }, - { - EL_BUG, GFX_SPECIAL_ARG_PREVIEW, - IMG_BUG_RIGHT - }, - { - EL_PACMAN, GFX_SPECIAL_ARG_EDITOR, - IMG_PACMAN_RIGHT - }, - { - EL_PACMAN, GFX_SPECIAL_ARG_PREVIEW, - IMG_PACMAN_RIGHT - }, - { - EL_SPACESHIP, GFX_SPECIAL_ARG_EDITOR, - IMG_SPACESHIP_RIGHT - }, - { - EL_SPACESHIP, GFX_SPECIAL_ARG_PREVIEW, - IMG_SPACESHIP_RIGHT - }, { EL_CUSTOM_1, GFX_SPECIAL_ARG_EDITOR, IMG_CUSTOM_1_EDITOR diff --git a/src/conf_gfx.c b/src/conf_gfx.c index f84d4d81..13e23793 100644 --- a/src/conf_gfx.c +++ b/src/conf_gfx.c @@ -771,55 +771,97 @@ struct ConfigInfo image_config[] = { "wall_diamond.ypos", "8" }, { "wall_diamond.frames", "1" }, + { "bug", "RocksElements.pcx" }, + { "bug.xpos", "8" }, + { "bug.ypos", "4" }, + { "bug.frames", "4" }, + { "bug.delay", "8" }, { "bug.right", "RocksElements.pcx" }, { "bug.right.xpos", "8" }, { "bug.right.ypos", "4" }, - { "bug.right.frames", "2" }, - { "bug.right.delay", "4" }, - { "bug.right.offset", "128" }, + { "bug.right.frames", "1" }, { "bug.up", "RocksElements.pcx" }, { "bug.up.xpos", "9" }, { "bug.up.ypos", "4" }, - { "bug.up.frames", "2" }, - { "bug.up.delay", "4" }, - { "bug.up.offset", "128" }, + { "bug.up.frames", "1" }, { "bug.left", "RocksElements.pcx" }, { "bug.left.xpos", "10" }, { "bug.left.ypos", "4" }, - { "bug.left.frames", "2" }, - { "bug.left.delay", "4" }, - { "bug.left.offset", "128" }, + { "bug.left.frames", "1" }, { "bug.down", "RocksElements.pcx" }, { "bug.down.xpos", "11" }, { "bug.down.ypos", "4" }, - { "bug.down.frames", "2" }, - { "bug.down.delay", "4" }, - { "bug.down.offset", "128" }, - + { "bug.down.frames", "1" }, + { "bug.moving.right", "RocksElements.pcx" }, + { "bug.moving.right.xpos", "8" }, + { "bug.moving.right.ypos", "4" }, + { "bug.moving.right.frames", "2" }, + { "bug.moving.right.delay", "4" }, + { "bug.moving.right.offset", "128" }, + { "bug.moving.up", "RocksElements.pcx" }, + { "bug.moving.up.xpos", "9" }, + { "bug.moving.up.ypos", "4" }, + { "bug.moving.up.frames", "2" }, + { "bug.moving.up.delay", "4" }, + { "bug.moving.up.offset", "128" }, + { "bug.moving.left", "RocksElements.pcx" }, + { "bug.moving.left.xpos", "10" }, + { "bug.moving.left.ypos", "4" }, + { "bug.moving.left.frames", "2" }, + { "bug.moving.left.delay", "4" }, + { "bug.moving.left.offset", "128" }, + { "bug.moving.down", "RocksElements.pcx" }, + { "bug.moving.down.xpos", "11" }, + { "bug.moving.down.ypos", "4" }, + { "bug.moving.down.frames", "2" }, + { "bug.moving.down.delay", "4" }, + { "bug.moving.down.offset", "128" }, + + { "spaceship", "RocksElements.pcx" }, + { "spaceship.xpos", "8" }, + { "spaceship.ypos", "3" }, + { "spaceship.frames", "4" }, + { "spaceship.delay", "8" }, { "spaceship.right", "RocksElements.pcx" }, { "spaceship.right.xpos", "8" }, { "spaceship.right.ypos", "3" }, - { "spaceship.right.frames", "2" }, - { "spaceship.right.delay", "4" }, - { "spaceship.right.offset", "128" }, + { "spaceship.right.frames", "1" }, { "spaceship.up", "RocksElements.pcx" }, { "spaceship.up.xpos", "9" }, { "spaceship.up.ypos", "3" }, - { "spaceship.up.frames", "2" }, - { "spaceship.up.delay", "4" }, - { "spaceship.up.offset", "128" }, + { "spaceship.up.frames", "1" }, { "spaceship.left", "RocksElements.pcx" }, { "spaceship.left.xpos", "10" }, { "spaceship.left.ypos", "3" }, - { "spaceship.left.frames", "2" }, - { "spaceship.left.delay", "4" }, - { "spaceship.left.offset", "128" }, + { "spaceship.left.frames", "1" }, { "spaceship.down", "RocksElements.pcx" }, { "spaceship.down.xpos", "11" }, { "spaceship.down.ypos", "3" }, - { "spaceship.down.frames", "2" }, - { "spaceship.down.delay", "4" }, - { "spaceship.down.offset", "128" }, + { "spaceship.down.frames", "1" }, + { "spaceship.moving.right", "RocksElements.pcx" }, + { "spaceship.moving.right.xpos", "8" }, + { "spaceship.moving.right.ypos", "3" }, + { "spaceship.moving.right.frames", "2" }, + { "spaceship.moving.right.delay", "4" }, + { "spaceship.moving.right.offset", "128" }, + { "spaceship.moving.up", "RocksElements.pcx" }, + { "spaceship.moving.up.xpos", "9" }, + { "spaceship.moving.up.ypos", "3" }, + { "spaceship.moving.up.frames", "2" }, + { "spaceship.moving.up.delay", "4" }, + { "spaceship.moving.up.offset", "128" }, + { "spaceship.moving.left", "RocksElements.pcx" }, + { "spaceship.moving.left.xpos", "10" }, + { "spaceship.moving.left.ypos", "3" }, + { "spaceship.moving.left.frames", "2" }, + { "spaceship.moving.left.delay", "4" }, + { "spaceship.moving.left.offset", "128" }, + { "spaceship.moving.down", "RocksElements.pcx" }, + { "spaceship.moving.down.xpos", "11" }, + { "spaceship.moving.down.ypos", "3" }, + { "spaceship.moving.down.frames", "2" }, + { "spaceship.moving.down.delay", "4" }, + { "spaceship.moving.down.offset", "128" }, { "yamyam", "RocksElements.pcx" }, { "yamyam.xpos", "0" }, @@ -933,6 +975,7 @@ struct ConfigInfo image_config[] = { "acid.ypos", "7" }, { "acid.frames", "4" }, { "acid.delay", "10" }, + { "acid.global_sync", "true" }, { "acid_splash_left", "RocksHeroes.pcx" }, { "acid_splash_left.xpos", "8" }, @@ -1680,34 +1723,55 @@ struct ConfigInfo image_config[] = { "biomaze.ypos", "1" }, { "biomaze.frames", "1" }, + { "pacman", "RocksElements.pcx" }, + { "pacman.xpos", "8" }, + { "pacman.ypos", "5" }, + { "pacman.frames", "4" }, + { "pacman.delay", "8" }, { "pacman.right", "RocksElements.pcx" }, { "pacman.right.xpos", "8" }, { "pacman.right.ypos", "5" }, - { "pacman.right.frames", "2" }, - { "pacman.right.anim_mode", "reverse" }, - { "pacman.right.delay", "4" }, - { "pacman.right.offset", "128" }, + { "pacman.right.frames", "1" }, { "pacman.up", "RocksElements.pcx" }, { "pacman.up.xpos", "9" }, { "pacman.up.ypos", "5" }, - { "pacman.up.frames", "2" }, - { "pacman.up.anim_mode", "reverse" }, - { "pacman.up.delay", "4" }, - { "pacman.up.offset", "128" }, + { "pacman.up.frames", "1" }, { "pacman.left", "RocksElements.pcx" }, { "pacman.left.xpos", "10" }, { "pacman.left.ypos", "5" }, - { "pacman.left.frames", "2" }, - { "pacman.left.anim_mode", "reverse" }, - { "pacman.left.delay", "4" }, - { "pacman.left.offset", "128" }, + { "pacman.left.frames", "1" }, { "pacman.down", "RocksElements.pcx" }, { "pacman.down.xpos", "11" }, { "pacman.down.ypos", "5" }, - { "pacman.down.frames", "2" }, - { "pacman.down.anim_mode", "reverse" }, - { "pacman.down.delay", "4" }, - { "pacman.down.offset", "128" }, + { "pacman.down.frames", "1" }, + { "pacman.moving.right", "RocksElements.pcx" }, + { "pacman.moving.right.xpos", "8" }, + { "pacman.moving.right.ypos", "5" }, + { "pacman.moving.right.frames", "2" }, + { "pacman.moving.right.anim_mode", "reverse" }, + { "pacman.moving.right.delay", "4" }, + { "pacman.moving.right.offset", "128" }, + { "pacman.moving.up", "RocksElements.pcx" }, + { "pacman.moving.up.xpos", "9" }, + { "pacman.moving.up.ypos", "5" }, + { "pacman.moving.up.frames", "2" }, + { "pacman.moving.up.anim_mode", "reverse" }, + { "pacman.moving.up.delay", "4" }, + { "pacman.moving.up.offset", "128" }, + { "pacman.moving.left", "RocksElements.pcx" }, + { "pacman.moving.left.xpos", "10" }, + { "pacman.moving.left.ypos", "5" }, + { "pacman.moving.left.frames", "2" }, + { "pacman.moving.left.anim_mode", "reverse" }, + { "pacman.moving.left.delay", "4" }, + { "pacman.moving.left.offset", "128" }, + { "pacman.moving.down", "RocksElements.pcx" }, + { "pacman.moving.down.xpos", "11" }, + { "pacman.moving.down.ypos", "5" }, + { "pacman.moving.down.frames", "2" }, + { "pacman.moving.down.anim_mode", "reverse" }, + { "pacman.moving.down.delay", "4" }, + { "pacman.moving.down.offset", "128" }, { "lamp", "RocksElements.pcx" }, { "lamp.xpos", "0" }, diff --git a/src/conf_gfx.h b/src/conf_gfx.h index e601ea36..92b6b767 100644 --- a/src/conf_gfx.h +++ b/src/conf_gfx.h @@ -166,861 +166,876 @@ #define IMG_DYNAMITE_ACTIVE_EDITOR 145 #define IMG_WALL_EMERALD 146 #define IMG_WALL_DIAMOND 147 -#define IMG_BUG_RIGHT 148 -#define IMG_BUG_UP 149 -#define IMG_BUG_LEFT 150 -#define IMG_BUG_DOWN 151 -#define IMG_SPACESHIP_RIGHT 152 -#define IMG_SPACESHIP_UP 153 -#define IMG_SPACESHIP_LEFT 154 -#define IMG_SPACESHIP_DOWN 155 -#define IMG_YAMYAM 156 -#define IMG_YAMYAM_MOVING 157 -#define IMG_ROBOT 158 -#define IMG_ROBOT_MOVING 159 -#define IMG_ROBOT_WHEEL 160 -#define IMG_ROBOT_WHEEL_ACTIVE 161 -#define IMG_MAGIC_WALL 162 -#define IMG_MAGIC_WALL_ACTIVE 163 -#define IMG_MAGIC_WALL_FILLING 164 -#define IMG_MAGIC_WALL_FULL 165 -#define IMG_MAGIC_WALL_EMPTYING 166 -#define IMG_MAGIC_WALL_DEAD 167 -#define IMG_QUICKSAND_EMPTY 168 -#define IMG_QUICKSAND_FILLING 169 -#define IMG_QUICKSAND_FULL 170 -#define IMG_QUICKSAND_FULL_EDITOR 171 -#define IMG_QUICKSAND_EMPTYING 172 -#define IMG_ACID_POOL_TOPLEFT 173 -#define IMG_ACID_POOL_TOPRIGHT 174 -#define IMG_ACID_POOL_BOTTOMLEFT 175 -#define IMG_ACID_POOL_BOTTOM 176 -#define IMG_ACID_POOL_BOTTOMRIGHT 177 -#define IMG_ACID 178 -#define IMG_ACID_SPLASH_LEFT 179 -#define IMG_ACID_SPLASH_RIGHT 180 -#define IMG_AMOEBA_DROP 181 -#define IMG_AMOEBA_GROWING 182 -#define IMG_AMOEBA_SHRINKING 183 -#define IMG_AMOEBA_WET 184 -#define IMG_AMOEBA_WET_EDITOR 185 -#define IMG_AMOEBA_DROPPING 186 -#define IMG_AMOEBA_DRY 187 -#define IMG_AMOEBA_FULL 188 -#define IMG_AMOEBA_FULL_EDITOR 189 -#define IMG_AMOEBA_DEAD 190 -#define IMG_AMOEBA_DEAD_EDITOR 191 -#define IMG_EM_KEY_1 192 -#define IMG_EM_KEY_2 193 -#define IMG_EM_KEY_3 194 -#define IMG_EM_KEY_4 195 -#define IMG_EM_GATE_1 196 -#define IMG_EM_GATE_2 197 -#define IMG_EM_GATE_3 198 -#define IMG_EM_GATE_4 199 -#define IMG_EM_GATE_1_GRAY 200 -#define IMG_EM_GATE_1_GRAY_EDITOR 201 -#define IMG_EM_GATE_2_GRAY 202 -#define IMG_EM_GATE_2_GRAY_EDITOR 203 -#define IMG_EM_GATE_3_GRAY 204 -#define IMG_EM_GATE_3_GRAY_EDITOR 205 -#define IMG_EM_GATE_4_GRAY 206 -#define IMG_EM_GATE_4_GRAY_EDITOR 207 -#define IMG_EXIT_CLOSED 208 -#define IMG_EXIT_OPENING 209 -#define IMG_EXIT_OPEN 210 -#define IMG_BALLOON 211 -#define IMG_BALLOON_MOVING 212 -#define IMG_BALLOON_SWITCH_LEFT 213 -#define IMG_BALLOON_SWITCH_RIGHT 214 -#define IMG_BALLOON_SWITCH_UP 215 -#define IMG_BALLOON_SWITCH_DOWN 216 -#define IMG_BALLOON_SWITCH_ANY 217 -#define IMG_SPRING 218 -#define IMG_SPRING_MOVING 219 -#define IMG_EMC_STEELWALL_1 220 -#define IMG_EMC_STEELWALL_2 221 -#define IMG_EMC_STEELWALL_3 222 -#define IMG_EMC_STEELWALL_4 223 -#define IMG_EMC_WALL_1 224 -#define IMG_EMC_WALL_2 225 -#define IMG_EMC_WALL_3 226 -#define IMG_EMC_WALL_4 227 -#define IMG_EMC_WALL_5 228 -#define IMG_EMC_WALL_6 229 -#define IMG_EMC_WALL_7 230 -#define IMG_EMC_WALL_8 231 -#define IMG_INVISIBLE_STEELWALL 232 -#define IMG_INVISIBLE_STEELWALL_EDITOR 233 -#define IMG_INVISIBLE_STEELWALL_ACTIVE 234 -#define IMG_INVISIBLE_WALL 235 -#define IMG_INVISIBLE_WALL_EDITOR 236 -#define IMG_INVISIBLE_WALL_ACTIVE 237 -#define IMG_INVISIBLE_SAND 238 -#define IMG_INVISIBLE_SAND_EDITOR 239 -#define IMG_INVISIBLE_SAND_ACTIVE 240 -#define IMG_CONVEYOR_BELT_1_MIDDLE 241 -#define IMG_CONVEYOR_BELT_1_MIDDLE_ACTIVE 242 -#define IMG_CONVEYOR_BELT_1_LEFT 243 -#define IMG_CONVEYOR_BELT_1_LEFT_ACTIVE 244 -#define IMG_CONVEYOR_BELT_1_RIGHT 245 -#define IMG_CONVEYOR_BELT_1_RIGHT_ACTIVE 246 -#define IMG_CONVEYOR_BELT_1_SWITCH_LEFT 247 -#define IMG_CONVEYOR_BELT_1_SWITCH_MIDDLE 248 -#define IMG_CONVEYOR_BELT_1_SWITCH_RIGHT 249 -#define IMG_CONVEYOR_BELT_2_MIDDLE 250 -#define IMG_CONVEYOR_BELT_2_MIDDLE_ACTIVE 251 -#define IMG_CONVEYOR_BELT_2_LEFT 252 -#define IMG_CONVEYOR_BELT_2_LEFT_ACTIVE 253 -#define IMG_CONVEYOR_BELT_2_RIGHT 254 -#define IMG_CONVEYOR_BELT_2_RIGHT_ACTIVE 255 -#define IMG_CONVEYOR_BELT_2_SWITCH_LEFT 256 -#define IMG_CONVEYOR_BELT_2_SWITCH_MIDDLE 257 -#define IMG_CONVEYOR_BELT_2_SWITCH_RIGHT 258 -#define IMG_CONVEYOR_BELT_3_MIDDLE 259 -#define IMG_CONVEYOR_BELT_3_MIDDLE_ACTIVE 260 -#define IMG_CONVEYOR_BELT_3_LEFT 261 -#define IMG_CONVEYOR_BELT_3_LEFT_ACTIVE 262 -#define IMG_CONVEYOR_BELT_3_RIGHT 263 -#define IMG_CONVEYOR_BELT_3_RIGHT_ACTIVE 264 -#define IMG_CONVEYOR_BELT_3_SWITCH_LEFT 265 -#define IMG_CONVEYOR_BELT_3_SWITCH_MIDDLE 266 -#define IMG_CONVEYOR_BELT_3_SWITCH_RIGHT 267 -#define IMG_CONVEYOR_BELT_4_MIDDLE 268 -#define IMG_CONVEYOR_BELT_4_MIDDLE_ACTIVE 269 -#define IMG_CONVEYOR_BELT_4_LEFT 270 -#define IMG_CONVEYOR_BELT_4_LEFT_ACTIVE 271 -#define IMG_CONVEYOR_BELT_4_RIGHT 272 -#define IMG_CONVEYOR_BELT_4_RIGHT_ACTIVE 273 -#define IMG_CONVEYOR_BELT_4_SWITCH_LEFT 274 -#define IMG_CONVEYOR_BELT_4_SWITCH_MIDDLE 275 -#define IMG_CONVEYOR_BELT_4_SWITCH_RIGHT 276 -#define IMG_SWITCHGATE_SWITCH_UP 277 -#define IMG_SWITCHGATE_SWITCH_DOWN 278 -#define IMG_LIGHT_SWITCH 279 -#define IMG_LIGHT_SWITCH_ACTIVE 280 -#define IMG_TIMEGATE_SWITCH 281 -#define IMG_TIMEGATE_SWITCH_ACTIVE 282 -#define IMG_ENVELOPE 283 -#define IMG_SIGN_EXCLAMATION 284 -#define IMG_SIGN_STOP 285 -#define IMG_LANDMINE 286 -#define IMG_STEELWALL_SLANTED 287 -#define IMG_EXTRA_TIME 288 -#define IMG_SHIELD_NORMAL 289 -#define IMG_SHIELD_NORMAL_ACTIVE 290 -#define IMG_SHIELD_DEADLY 291 -#define IMG_SHIELD_DEADLY_ACTIVE 292 -#define IMG_SWITCHGATE_CLOSED 293 -#define IMG_SWITCHGATE_OPENING 294 -#define IMG_SWITCHGATE_OPEN 295 -#define IMG_SWITCHGATE_CLOSING 296 -#define IMG_TIMEGATE_CLOSED 297 -#define IMG_TIMEGATE_OPENING 298 -#define IMG_TIMEGATE_OPEN 299 -#define IMG_TIMEGATE_CLOSING 300 -#define IMG_PEARL 301 -#define IMG_PEARL_BREAKING 302 -#define IMG_CRYSTAL 303 -#define IMG_WALL_PEARL 304 -#define IMG_WALL_CRYSTAL 305 -#define IMG_TUBE_RIGHT_DOWN 306 -#define IMG_TUBE_HORIZONTAL_DOWN 307 -#define IMG_TUBE_LEFT_DOWN 308 -#define IMG_TUBE_HORIZONTAL 309 -#define IMG_TUBE_VERTICAL_RIGHT 310 -#define IMG_TUBE_ANY 311 -#define IMG_TUBE_VERTICAL_LEFT 312 -#define IMG_TUBE_VERTICAL 313 -#define IMG_TUBE_RIGHT_UP 314 -#define IMG_TUBE_HORIZONTAL_UP 315 -#define IMG_TUBE_LEFT_UP 316 -#define IMG_TRAP 317 -#define IMG_TRAP_ACTIVE 318 -#define IMG_DX_SUPABOMB 319 -#define IMG_KEY_1 320 -#define IMG_KEY_1_EDITOR 321 -#define IMG_KEY_2 322 -#define IMG_KEY_2_EDITOR 323 -#define IMG_KEY_3 324 -#define IMG_KEY_3_EDITOR 325 -#define IMG_KEY_4 326 -#define IMG_KEY_4_EDITOR 327 -#define IMG_GATE_1 328 -#define IMG_GATE_2 329 -#define IMG_GATE_3 330 -#define IMG_GATE_4 331 -#define IMG_GATE_1_GRAY 332 -#define IMG_GATE_1_GRAY_EDITOR 333 -#define IMG_GATE_2_GRAY 334 -#define IMG_GATE_2_GRAY_EDITOR 335 -#define IMG_GATE_3_GRAY 336 -#define IMG_GATE_3_GRAY_EDITOR 337 -#define IMG_GATE_4_GRAY 338 -#define IMG_GATE_4_GRAY_EDITOR 339 -#define IMG_GAME_OF_LIFE 340 -#define IMG_BIOMAZE 341 -#define IMG_PACMAN_RIGHT 342 -#define IMG_PACMAN_UP 343 -#define IMG_PACMAN_LEFT 344 -#define IMG_PACMAN_DOWN 345 -#define IMG_LAMP 346 -#define IMG_LAMP_EDITOR 347 -#define IMG_LAMP_ACTIVE 348 -#define IMG_TIME_ORB_FULL 349 -#define IMG_TIME_ORB_EMPTY 350 -#define IMG_EMERALD_YELLOW 351 -#define IMG_EMERALD_YELLOW_MOVING 352 -#define IMG_EMERALD_YELLOW_FALLING 353 -#define IMG_EMERALD_RED 354 -#define IMG_EMERALD_RED_MOVING 355 -#define IMG_EMERALD_RED_FALLING 356 -#define IMG_EMERALD_PURPLE 357 -#define IMG_EMERALD_PURPLE_MOVING 358 -#define IMG_EMERALD_PURPLE_FALLING 359 -#define IMG_WALL_EMERALD_YELLOW 360 -#define IMG_WALL_EMERALD_RED 361 -#define IMG_WALL_EMERALD_PURPLE 362 -#define IMG_WALL_BD_DIAMOND 363 -#define IMG_EXPANDABLE_WALL 364 -#define IMG_EXPANDABLE_WALL_HORIZONTAL 365 -#define IMG_EXPANDABLE_WALL_HORIZONTAL_EDITOR 366 -#define IMG_EXPANDABLE_WALL_VERTICAL 367 -#define IMG_EXPANDABLE_WALL_VERTICAL_EDITOR 368 -#define IMG_EXPANDABLE_WALL_ANY 369 -#define IMG_EXPANDABLE_WALL_ANY_EDITOR 370 -#define IMG_EXPANDABLE_WALL_GROWING_LEFT 371 -#define IMG_EXPANDABLE_WALL_GROWING_RIGHT 372 -#define IMG_EXPANDABLE_WALL_GROWING_UP 373 -#define IMG_EXPANDABLE_WALL_GROWING_DOWN 374 -#define IMG_BLACK_ORB 375 -#define IMG_SPEED_PILL 376 -#define IMG_DARK_YAMYAM 377 -#define IMG_DYNABOMB_ACTIVE 378 -#define IMG_DYNABOMB_PLAYER_1_ACTIVE 379 -#define IMG_DYNABOMB_PLAYER_2_ACTIVE 380 -#define IMG_DYNABOMB_PLAYER_3_ACTIVE 381 -#define IMG_DYNABOMB_PLAYER_4_ACTIVE 382 -#define IMG_DYNABOMB_INCREASE_NUMBER 383 -#define IMG_DYNABOMB_INCREASE_SIZE 384 -#define IMG_DYNABOMB_INCREASE_POWER 385 -#define IMG_PIG 386 -#define IMG_PIG_DOWN 387 -#define IMG_PIG_UP 388 -#define IMG_PIG_LEFT 389 -#define IMG_PIG_RIGHT 390 -#define IMG_PIG_MOVING_DOWN 391 -#define IMG_PIG_MOVING_UP 392 -#define IMG_PIG_MOVING_LEFT 393 -#define IMG_PIG_MOVING_RIGHT 394 -#define IMG_PIG_DIGGING_DOWN 395 -#define IMG_PIG_DIGGING_UP 396 -#define IMG_PIG_DIGGING_LEFT 397 -#define IMG_PIG_DIGGING_RIGHT 398 -#define IMG_DRAGON 399 -#define IMG_DRAGON_DOWN 400 -#define IMG_DRAGON_UP 401 -#define IMG_DRAGON_LEFT 402 -#define IMG_DRAGON_RIGHT 403 -#define IMG_DRAGON_MOVING_DOWN 404 -#define IMG_DRAGON_MOVING_UP 405 -#define IMG_DRAGON_MOVING_LEFT 406 -#define IMG_DRAGON_MOVING_RIGHT 407 -#define IMG_DRAGON_ATTACKING_DOWN 408 -#define IMG_DRAGON_ATTACKING_UP 409 -#define IMG_DRAGON_ATTACKING_LEFT 410 -#define IMG_DRAGON_ATTACKING_RIGHT 411 -#define IMG_MOLE 412 -#define IMG_MOLE_DOWN 413 -#define IMG_MOLE_UP 414 -#define IMG_MOLE_LEFT 415 -#define IMG_MOLE_RIGHT 416 -#define IMG_MOLE_MOVING_DOWN 417 -#define IMG_MOLE_MOVING_UP 418 -#define IMG_MOLE_MOVING_LEFT 419 -#define IMG_MOLE_MOVING_RIGHT 420 -#define IMG_MOLE_DIGGING_DOWN 421 -#define IMG_MOLE_DIGGING_UP 422 -#define IMG_MOLE_DIGGING_LEFT 423 -#define IMG_MOLE_DIGGING_RIGHT 424 -#define IMG_PENGUIN 425 -#define IMG_PENGUIN_EDITOR 426 -#define IMG_PENGUIN_DOWN 427 -#define IMG_PENGUIN_UP 428 -#define IMG_PENGUIN_LEFT 429 -#define IMG_PENGUIN_RIGHT 430 -#define IMG_PENGUIN_MOVING_DOWN 431 -#define IMG_PENGUIN_MOVING_UP 432 -#define IMG_PENGUIN_MOVING_LEFT 433 -#define IMG_PENGUIN_MOVING_RIGHT 434 -#define IMG_SATELLITE 435 -#define IMG_SATELLITE_MOVING 436 -#define IMG_FLAMES_1_LEFT 437 -#define IMG_FLAMES_2_LEFT 438 -#define IMG_FLAMES_3_LEFT 439 -#define IMG_FLAMES_1_RIGHT 440 -#define IMG_FLAMES_2_RIGHT 441 -#define IMG_FLAMES_3_RIGHT 442 -#define IMG_FLAMES_1_UP 443 -#define IMG_FLAMES_2_UP 444 -#define IMG_FLAMES_3_UP 445 -#define IMG_FLAMES_1_DOWN 446 -#define IMG_FLAMES_2_DOWN 447 -#define IMG_FLAMES_3_DOWN 448 -#define IMG_STONEBLOCK 449 -#define IMG_PLAYER_1 450 -#define IMG_PLAYER_1_EDITOR 451 -#define IMG_PLAYER_1_DOWN 452 -#define IMG_PLAYER_1_UP 453 -#define IMG_PLAYER_1_LEFT 454 -#define IMG_PLAYER_1_RIGHT 455 -#define IMG_PLAYER_1_MOVING_DOWN 456 -#define IMG_PLAYER_1_MOVING_UP 457 -#define IMG_PLAYER_1_MOVING_LEFT 458 -#define IMG_PLAYER_1_MOVING_RIGHT 459 -#define IMG_PLAYER_1_DIGGING_DOWN 460 -#define IMG_PLAYER_1_DIGGING_UP 461 -#define IMG_PLAYER_1_DIGGING_LEFT 462 -#define IMG_PLAYER_1_DIGGING_RIGHT 463 -#define IMG_PLAYER_1_COLLECTING_DOWN 464 -#define IMG_PLAYER_1_COLLECTING_UP 465 -#define IMG_PLAYER_1_COLLECTING_LEFT 466 -#define IMG_PLAYER_1_COLLECTING_RIGHT 467 -#define IMG_PLAYER_1_PUSHING_DOWN 468 -#define IMG_PLAYER_1_PUSHING_UP 469 -#define IMG_PLAYER_1_PUSHING_LEFT 470 -#define IMG_PLAYER_1_PUSHING_RIGHT 471 -#define IMG_PLAYER_1_SNAPPING_DOWN 472 -#define IMG_PLAYER_1_SNAPPING_UP 473 -#define IMG_PLAYER_1_SNAPPING_LEFT 474 -#define IMG_PLAYER_1_SNAPPING_RIGHT 475 -#define IMG_PLAYER_2 476 -#define IMG_PLAYER_2_EDITOR 477 -#define IMG_PLAYER_2_DOWN 478 -#define IMG_PLAYER_2_UP 479 -#define IMG_PLAYER_2_LEFT 480 -#define IMG_PLAYER_2_RIGHT 481 -#define IMG_PLAYER_2_MOVING_DOWN 482 -#define IMG_PLAYER_2_MOVING_UP 483 -#define IMG_PLAYER_2_MOVING_LEFT 484 -#define IMG_PLAYER_2_MOVING_RIGHT 485 -#define IMG_PLAYER_2_DIGGING_DOWN 486 -#define IMG_PLAYER_2_DIGGING_UP 487 -#define IMG_PLAYER_2_DIGGING_LEFT 488 -#define IMG_PLAYER_2_DIGGING_RIGHT 489 -#define IMG_PLAYER_2_COLLECTING_DOWN 490 -#define IMG_PLAYER_2_COLLECTING_UP 491 -#define IMG_PLAYER_2_COLLECTING_LEFT 492 -#define IMG_PLAYER_2_COLLECTING_RIGHT 493 -#define IMG_PLAYER_2_PUSHING_DOWN 494 -#define IMG_PLAYER_2_PUSHING_UP 495 -#define IMG_PLAYER_2_PUSHING_LEFT 496 -#define IMG_PLAYER_2_PUSHING_RIGHT 497 -#define IMG_PLAYER_2_SNAPPING_DOWN 498 -#define IMG_PLAYER_2_SNAPPING_UP 499 -#define IMG_PLAYER_2_SNAPPING_LEFT 500 -#define IMG_PLAYER_2_SNAPPING_RIGHT 501 -#define IMG_PLAYER_3 502 -#define IMG_PLAYER_3_EDITOR 503 -#define IMG_PLAYER_3_DOWN 504 -#define IMG_PLAYER_3_UP 505 -#define IMG_PLAYER_3_LEFT 506 -#define IMG_PLAYER_3_RIGHT 507 -#define IMG_PLAYER_3_MOVING_DOWN 508 -#define IMG_PLAYER_3_MOVING_UP 509 -#define IMG_PLAYER_3_MOVING_LEFT 510 -#define IMG_PLAYER_3_MOVING_RIGHT 511 -#define IMG_PLAYER_3_DIGGING_DOWN 512 -#define IMG_PLAYER_3_DIGGING_UP 513 -#define IMG_PLAYER_3_DIGGING_LEFT 514 -#define IMG_PLAYER_3_DIGGING_RIGHT 515 -#define IMG_PLAYER_3_COLLECTING_DOWN 516 -#define IMG_PLAYER_3_COLLECTING_UP 517 -#define IMG_PLAYER_3_COLLECTING_LEFT 518 -#define IMG_PLAYER_3_COLLECTING_RIGHT 519 -#define IMG_PLAYER_3_PUSHING_DOWN 520 -#define IMG_PLAYER_3_PUSHING_UP 521 -#define IMG_PLAYER_3_PUSHING_LEFT 522 -#define IMG_PLAYER_3_PUSHING_RIGHT 523 -#define IMG_PLAYER_3_SNAPPING_DOWN 524 -#define IMG_PLAYER_3_SNAPPING_UP 525 -#define IMG_PLAYER_3_SNAPPING_LEFT 526 -#define IMG_PLAYER_3_SNAPPING_RIGHT 527 -#define IMG_PLAYER_4 528 -#define IMG_PLAYER_4_EDITOR 529 -#define IMG_PLAYER_4_DOWN 530 -#define IMG_PLAYER_4_UP 531 -#define IMG_PLAYER_4_LEFT 532 -#define IMG_PLAYER_4_RIGHT 533 -#define IMG_PLAYER_4_MOVING_DOWN 534 -#define IMG_PLAYER_4_MOVING_UP 535 -#define IMG_PLAYER_4_MOVING_LEFT 536 -#define IMG_PLAYER_4_MOVING_RIGHT 537 -#define IMG_PLAYER_4_DIGGING_DOWN 538 -#define IMG_PLAYER_4_DIGGING_UP 539 -#define IMG_PLAYER_4_DIGGING_LEFT 540 -#define IMG_PLAYER_4_DIGGING_RIGHT 541 -#define IMG_PLAYER_4_COLLECTING_DOWN 542 -#define IMG_PLAYER_4_COLLECTING_UP 543 -#define IMG_PLAYER_4_COLLECTING_LEFT 544 -#define IMG_PLAYER_4_COLLECTING_RIGHT 545 -#define IMG_PLAYER_4_PUSHING_DOWN 546 -#define IMG_PLAYER_4_PUSHING_UP 547 -#define IMG_PLAYER_4_PUSHING_LEFT 548 -#define IMG_PLAYER_4_PUSHING_RIGHT 549 -#define IMG_PLAYER_4_SNAPPING_DOWN 550 -#define IMG_PLAYER_4_SNAPPING_UP 551 -#define IMG_PLAYER_4_SNAPPING_LEFT 552 -#define IMG_PLAYER_4_SNAPPING_RIGHT 553 -#define IMG_EXPLOSION 554 -#define IMG_TWINKLE_BLUE 555 -#define IMG_TWINKLE_WHITE 556 -#define IMG_STEELWALL_TOPLEFT 557 -#define IMG_STEELWALL_TOPRIGHT 558 -#define IMG_STEELWALL_BOTTOMLEFT 559 -#define IMG_STEELWALL_BOTTOMRIGHT 560 -#define IMG_STEELWALL_HORIZONTAL 561 -#define IMG_STEELWALL_VERTICAL 562 -#define IMG_STEELWALL_TOPLEFT_EDITOR 563 -#define IMG_STEELWALL_TOPRIGHT_EDITOR 564 -#define IMG_STEELWALL_BOTTOMLEFT_EDITOR 565 -#define IMG_STEELWALL_BOTTOMRIGHT_EDITOR 566 -#define IMG_STEELWALL_HORIZONTAL_EDITOR 567 -#define IMG_STEELWALL_VERTICAL_EDITOR 568 -#define IMG_INVISIBLE_STEELWALL_TOPLEFT 569 -#define IMG_INVISIBLE_STEELWALL_TOPRIGHT 570 -#define IMG_INVISIBLE_STEELWALL_BOTTOMLEFT 571 -#define IMG_INVISIBLE_STEELWALL_BOTTOMRIGHT 572 -#define IMG_INVISIBLE_STEELWALL_HORIZONTAL 573 -#define IMG_INVISIBLE_STEELWALL_VERTICAL 574 -#define IMG_INVISIBLE_STEELWALL_TOPLEFT_EDITOR 575 -#define IMG_INVISIBLE_STEELWALL_TOPRIGHT_EDITOR 576 -#define IMG_INVISIBLE_STEELWALL_BOTTOMLEFT_EDITOR 577 -#define IMG_INVISIBLE_STEELWALL_BOTTOMRIGHT_EDITOR 578 -#define IMG_INVISIBLE_STEELWALL_HORIZONTAL_EDITOR 579 -#define IMG_INVISIBLE_STEELWALL_VERTICAL_EDITOR 580 -#define IMG_ARROW_LEFT 581 -#define IMG_ARROW_RIGHT 582 -#define IMG_ARROW_UP 583 -#define IMG_ARROW_DOWN 584 -#define IMG_CHAR_SPACE 585 -#define IMG_CHAR_EXCLAM 586 -#define IMG_CHAR_QUOTEDBL 587 -#define IMG_CHAR_NUMBERSIGN 588 -#define IMG_CHAR_DOLLAR 589 -#define IMG_CHAR_PROCENT 590 -#define IMG_CHAR_AMPERSAND 591 -#define IMG_CHAR_APOSTROPHE 592 -#define IMG_CHAR_PARENLEFT 593 -#define IMG_CHAR_PARENRIGHT 594 -#define IMG_CHAR_ASTERISK 595 -#define IMG_CHAR_PLUS 596 -#define IMG_CHAR_COMMA 597 -#define IMG_CHAR_MINUS 598 -#define IMG_CHAR_PERIOD 599 -#define IMG_CHAR_SLASH 600 -#define IMG_CHAR_0 601 -#define IMG_CHAR_1 602 -#define IMG_CHAR_2 603 -#define IMG_CHAR_3 604 -#define IMG_CHAR_4 605 -#define IMG_CHAR_5 606 -#define IMG_CHAR_6 607 -#define IMG_CHAR_7 608 -#define IMG_CHAR_8 609 -#define IMG_CHAR_9 610 -#define IMG_CHAR_COLON 611 -#define IMG_CHAR_SEMICOLON 612 -#define IMG_CHAR_LESS 613 -#define IMG_CHAR_EQUAL 614 -#define IMG_CHAR_GREATER 615 -#define IMG_CHAR_QUESTION 616 -#define IMG_CHAR_AT 617 -#define IMG_CHAR_A 618 -#define IMG_CHAR_B 619 -#define IMG_CHAR_C 620 -#define IMG_CHAR_D 621 -#define IMG_CHAR_E 622 -#define IMG_CHAR_F 623 -#define IMG_CHAR_G 624 -#define IMG_CHAR_H 625 -#define IMG_CHAR_I 626 -#define IMG_CHAR_J 627 -#define IMG_CHAR_K 628 -#define IMG_CHAR_L 629 -#define IMG_CHAR_M 630 -#define IMG_CHAR_N 631 -#define IMG_CHAR_O 632 -#define IMG_CHAR_P 633 -#define IMG_CHAR_Q 634 -#define IMG_CHAR_R 635 -#define IMG_CHAR_S 636 -#define IMG_CHAR_T 637 -#define IMG_CHAR_U 638 -#define IMG_CHAR_V 639 -#define IMG_CHAR_W 640 -#define IMG_CHAR_X 641 -#define IMG_CHAR_Y 642 -#define IMG_CHAR_Z 643 -#define IMG_CHAR_BRACKETLEFT 644 -#define IMG_CHAR_BACKSLASH 645 -#define IMG_CHAR_BRACKETRIGHT 646 -#define IMG_CHAR_ASCIICIRCUM 647 -#define IMG_CHAR_UNDERSCORE 648 -#define IMG_CHAR_COPYRIGHT 649 -#define IMG_CHAR_AUMLAUT 650 -#define IMG_CHAR_OUMLAUT 651 -#define IMG_CHAR_UUMLAUT 652 -#define IMG_CHAR_DEGREE 653 -#define IMG_CHAR_TRADEMARK 654 -#define IMG_CHAR_CURSOR 655 -#define IMG_CUSTOM_1 656 -#define IMG_CUSTOM_1_EDITOR 657 -#define IMG_CUSTOM_2 658 -#define IMG_CUSTOM_2_EDITOR 659 -#define IMG_CUSTOM_3 660 -#define IMG_CUSTOM_3_EDITOR 661 -#define IMG_CUSTOM_4 662 -#define IMG_CUSTOM_4_EDITOR 663 -#define IMG_CUSTOM_5 664 -#define IMG_CUSTOM_5_EDITOR 665 -#define IMG_CUSTOM_6 666 -#define IMG_CUSTOM_6_EDITOR 667 -#define IMG_CUSTOM_7 668 -#define IMG_CUSTOM_7_EDITOR 669 -#define IMG_CUSTOM_8 670 -#define IMG_CUSTOM_8_EDITOR 671 -#define IMG_CUSTOM_9 672 -#define IMG_CUSTOM_9_EDITOR 673 -#define IMG_CUSTOM_10 674 -#define IMG_CUSTOM_10_EDITOR 675 -#define IMG_CUSTOM_11 676 -#define IMG_CUSTOM_11_EDITOR 677 -#define IMG_CUSTOM_12 678 -#define IMG_CUSTOM_12_EDITOR 679 -#define IMG_CUSTOM_13 680 -#define IMG_CUSTOM_13_EDITOR 681 -#define IMG_CUSTOM_14 682 -#define IMG_CUSTOM_14_EDITOR 683 -#define IMG_CUSTOM_15 684 -#define IMG_CUSTOM_15_EDITOR 685 -#define IMG_CUSTOM_16 686 -#define IMG_CUSTOM_16_EDITOR 687 -#define IMG_CUSTOM_17 688 -#define IMG_CUSTOM_17_EDITOR 689 -#define IMG_CUSTOM_18 690 -#define IMG_CUSTOM_18_EDITOR 691 -#define IMG_CUSTOM_19 692 -#define IMG_CUSTOM_19_EDITOR 693 -#define IMG_CUSTOM_20 694 -#define IMG_CUSTOM_20_EDITOR 695 -#define IMG_CUSTOM_21 696 -#define IMG_CUSTOM_21_EDITOR 697 -#define IMG_CUSTOM_22 698 -#define IMG_CUSTOM_22_EDITOR 699 -#define IMG_CUSTOM_23 700 -#define IMG_CUSTOM_23_EDITOR 701 -#define IMG_CUSTOM_24 702 -#define IMG_CUSTOM_24_EDITOR 703 -#define IMG_CUSTOM_25 704 -#define IMG_CUSTOM_25_EDITOR 705 -#define IMG_CUSTOM_26 706 -#define IMG_CUSTOM_26_EDITOR 707 -#define IMG_CUSTOM_27 708 -#define IMG_CUSTOM_27_EDITOR 709 -#define IMG_CUSTOM_28 710 -#define IMG_CUSTOM_28_EDITOR 711 -#define IMG_CUSTOM_29 712 -#define IMG_CUSTOM_29_EDITOR 713 -#define IMG_CUSTOM_30 714 -#define IMG_CUSTOM_30_EDITOR 715 -#define IMG_CUSTOM_31 716 -#define IMG_CUSTOM_31_EDITOR 717 -#define IMG_CUSTOM_32 718 -#define IMG_CUSTOM_32_EDITOR 719 -#define IMG_CUSTOM_33 720 -#define IMG_CUSTOM_33_EDITOR 721 -#define IMG_CUSTOM_34 722 -#define IMG_CUSTOM_34_EDITOR 723 -#define IMG_CUSTOM_35 724 -#define IMG_CUSTOM_35_EDITOR 725 -#define IMG_CUSTOM_36 726 -#define IMG_CUSTOM_36_EDITOR 727 -#define IMG_CUSTOM_37 728 -#define IMG_CUSTOM_37_EDITOR 729 -#define IMG_CUSTOM_38 730 -#define IMG_CUSTOM_38_EDITOR 731 -#define IMG_CUSTOM_39 732 -#define IMG_CUSTOM_39_EDITOR 733 -#define IMG_CUSTOM_40 734 -#define IMG_CUSTOM_40_EDITOR 735 -#define IMG_CUSTOM_41 736 -#define IMG_CUSTOM_41_EDITOR 737 -#define IMG_CUSTOM_42 738 -#define IMG_CUSTOM_42_EDITOR 739 -#define IMG_CUSTOM_43 740 -#define IMG_CUSTOM_43_EDITOR 741 -#define IMG_CUSTOM_44 742 -#define IMG_CUSTOM_44_EDITOR 743 -#define IMG_CUSTOM_45 744 -#define IMG_CUSTOM_45_EDITOR 745 -#define IMG_CUSTOM_46 746 -#define IMG_CUSTOM_46_EDITOR 747 -#define IMG_CUSTOM_47 748 -#define IMG_CUSTOM_47_EDITOR 749 -#define IMG_CUSTOM_48 750 -#define IMG_CUSTOM_48_EDITOR 751 -#define IMG_CUSTOM_49 752 -#define IMG_CUSTOM_49_EDITOR 753 -#define IMG_CUSTOM_50 754 -#define IMG_CUSTOM_50_EDITOR 755 -#define IMG_CUSTOM_51 756 -#define IMG_CUSTOM_51_EDITOR 757 -#define IMG_CUSTOM_52 758 -#define IMG_CUSTOM_52_EDITOR 759 -#define IMG_CUSTOM_53 760 -#define IMG_CUSTOM_53_EDITOR 761 -#define IMG_CUSTOM_54 762 -#define IMG_CUSTOM_54_EDITOR 763 -#define IMG_CUSTOM_55 764 -#define IMG_CUSTOM_55_EDITOR 765 -#define IMG_CUSTOM_56 766 -#define IMG_CUSTOM_56_EDITOR 767 -#define IMG_CUSTOM_57 768 -#define IMG_CUSTOM_57_EDITOR 769 -#define IMG_CUSTOM_58 770 -#define IMG_CUSTOM_58_EDITOR 771 -#define IMG_CUSTOM_59 772 -#define IMG_CUSTOM_59_EDITOR 773 -#define IMG_CUSTOM_60 774 -#define IMG_CUSTOM_60_EDITOR 775 -#define IMG_CUSTOM_61 776 -#define IMG_CUSTOM_61_EDITOR 777 -#define IMG_CUSTOM_62 778 -#define IMG_CUSTOM_62_EDITOR 779 -#define IMG_CUSTOM_63 780 -#define IMG_CUSTOM_63_EDITOR 781 -#define IMG_CUSTOM_64 782 -#define IMG_CUSTOM_64_EDITOR 783 -#define IMG_CUSTOM_65 784 -#define IMG_CUSTOM_65_EDITOR 785 -#define IMG_CUSTOM_66 786 -#define IMG_CUSTOM_66_EDITOR 787 -#define IMG_CUSTOM_67 788 -#define IMG_CUSTOM_67_EDITOR 789 -#define IMG_CUSTOM_68 790 -#define IMG_CUSTOM_68_EDITOR 791 -#define IMG_CUSTOM_69 792 -#define IMG_CUSTOM_69_EDITOR 793 -#define IMG_CUSTOM_70 794 -#define IMG_CUSTOM_70_EDITOR 795 -#define IMG_CUSTOM_71 796 -#define IMG_CUSTOM_71_EDITOR 797 -#define IMG_CUSTOM_72 798 -#define IMG_CUSTOM_72_EDITOR 799 -#define IMG_CUSTOM_73 800 -#define IMG_CUSTOM_73_EDITOR 801 -#define IMG_CUSTOM_74 802 -#define IMG_CUSTOM_74_EDITOR 803 -#define IMG_CUSTOM_75 804 -#define IMG_CUSTOM_75_EDITOR 805 -#define IMG_CUSTOM_76 806 -#define IMG_CUSTOM_76_EDITOR 807 -#define IMG_CUSTOM_77 808 -#define IMG_CUSTOM_77_EDITOR 809 -#define IMG_CUSTOM_78 810 -#define IMG_CUSTOM_78_EDITOR 811 -#define IMG_CUSTOM_79 812 -#define IMG_CUSTOM_79_EDITOR 813 -#define IMG_CUSTOM_80 814 -#define IMG_CUSTOM_80_EDITOR 815 -#define IMG_CUSTOM_81 816 -#define IMG_CUSTOM_81_EDITOR 817 -#define IMG_CUSTOM_82 818 -#define IMG_CUSTOM_82_EDITOR 819 -#define IMG_CUSTOM_83 820 -#define IMG_CUSTOM_83_EDITOR 821 -#define IMG_CUSTOM_84 822 -#define IMG_CUSTOM_84_EDITOR 823 -#define IMG_CUSTOM_85 824 -#define IMG_CUSTOM_85_EDITOR 825 -#define IMG_CUSTOM_86 826 -#define IMG_CUSTOM_86_EDITOR 827 -#define IMG_CUSTOM_87 828 -#define IMG_CUSTOM_87_EDITOR 829 -#define IMG_CUSTOM_88 830 -#define IMG_CUSTOM_88_EDITOR 831 -#define IMG_CUSTOM_89 832 -#define IMG_CUSTOM_89_EDITOR 833 -#define IMG_CUSTOM_90 834 -#define IMG_CUSTOM_90_EDITOR 835 -#define IMG_CUSTOM_91 836 -#define IMG_CUSTOM_91_EDITOR 837 -#define IMG_CUSTOM_92 838 -#define IMG_CUSTOM_92_EDITOR 839 -#define IMG_CUSTOM_93 840 -#define IMG_CUSTOM_93_EDITOR 841 -#define IMG_CUSTOM_94 842 -#define IMG_CUSTOM_94_EDITOR 843 -#define IMG_CUSTOM_95 844 -#define IMG_CUSTOM_95_EDITOR 845 -#define IMG_CUSTOM_96 846 -#define IMG_CUSTOM_96_EDITOR 847 -#define IMG_CUSTOM_97 848 -#define IMG_CUSTOM_97_EDITOR 849 -#define IMG_CUSTOM_98 850 -#define IMG_CUSTOM_98_EDITOR 851 -#define IMG_CUSTOM_99 852 -#define IMG_CUSTOM_99_EDITOR 853 -#define IMG_CUSTOM_100 854 -#define IMG_CUSTOM_100_EDITOR 855 -#define IMG_CUSTOM_101 856 -#define IMG_CUSTOM_101_EDITOR 857 -#define IMG_CUSTOM_102 858 -#define IMG_CUSTOM_102_EDITOR 859 -#define IMG_CUSTOM_103 860 -#define IMG_CUSTOM_103_EDITOR 861 -#define IMG_CUSTOM_104 862 -#define IMG_CUSTOM_104_EDITOR 863 -#define IMG_CUSTOM_105 864 -#define IMG_CUSTOM_105_EDITOR 865 -#define IMG_CUSTOM_106 866 -#define IMG_CUSTOM_106_EDITOR 867 -#define IMG_CUSTOM_107 868 -#define IMG_CUSTOM_107_EDITOR 869 -#define IMG_CUSTOM_108 870 -#define IMG_CUSTOM_108_EDITOR 871 -#define IMG_CUSTOM_109 872 -#define IMG_CUSTOM_109_EDITOR 873 -#define IMG_CUSTOM_110 874 -#define IMG_CUSTOM_110_EDITOR 875 -#define IMG_CUSTOM_111 876 -#define IMG_CUSTOM_111_EDITOR 877 -#define IMG_CUSTOM_112 878 -#define IMG_CUSTOM_112_EDITOR 879 -#define IMG_CUSTOM_113 880 -#define IMG_CUSTOM_113_EDITOR 881 -#define IMG_CUSTOM_114 882 -#define IMG_CUSTOM_114_EDITOR 883 -#define IMG_CUSTOM_115 884 -#define IMG_CUSTOM_115_EDITOR 885 -#define IMG_CUSTOM_116 886 -#define IMG_CUSTOM_116_EDITOR 887 -#define IMG_CUSTOM_117 888 -#define IMG_CUSTOM_117_EDITOR 889 -#define IMG_CUSTOM_118 890 -#define IMG_CUSTOM_118_EDITOR 891 -#define IMG_CUSTOM_119 892 -#define IMG_CUSTOM_119_EDITOR 893 -#define IMG_CUSTOM_120 894 -#define IMG_CUSTOM_120_EDITOR 895 -#define IMG_CUSTOM_121 896 -#define IMG_CUSTOM_121_EDITOR 897 -#define IMG_CUSTOM_122 898 -#define IMG_CUSTOM_122_EDITOR 899 -#define IMG_CUSTOM_123 900 -#define IMG_CUSTOM_123_EDITOR 901 -#define IMG_CUSTOM_124 902 -#define IMG_CUSTOM_124_EDITOR 903 -#define IMG_CUSTOM_125 904 -#define IMG_CUSTOM_125_EDITOR 905 -#define IMG_CUSTOM_126 906 -#define IMG_CUSTOM_126_EDITOR 907 -#define IMG_CUSTOM_127 908 -#define IMG_CUSTOM_127_EDITOR 909 -#define IMG_CUSTOM_128 910 -#define IMG_CUSTOM_128_EDITOR 911 -#define IMG_TOON_1 912 -#define IMG_TOON_2 913 -#define IMG_TOON_3 914 -#define IMG_TOON_4 915 -#define IMG_TOON_5 916 -#define IMG_TOON_6 917 -#define IMG_TOON_7 918 -#define IMG_TOON_8 919 -#define IMG_TOON_9 920 -#define IMG_TOON_10 921 -#define IMG_TOON_11 922 -#define IMG_TOON_12 923 -#define IMG_TOON_13 924 -#define IMG_TOON_14 925 -#define IMG_TOON_15 926 -#define IMG_TOON_16 927 -#define IMG_TOON_17 928 -#define IMG_TOON_18 929 -#define IMG_TOON_19 930 -#define IMG_TOON_20 931 -#define IMG_MENU_CALIBRATE_RED 932 -#define IMG_MENU_CALIBRATE_BLUE 933 -#define IMG_MENU_CALIBRATE_YELLOW 934 -#define IMG_MENU_BUTTON 935 -#define IMG_MENU_BUTTON_ACTIVE 936 -#define IMG_MENU_BUTTON_LEFT 937 -#define IMG_MENU_BUTTON_RIGHT 938 -#define IMG_MENU_BUTTON_UP 939 -#define IMG_MENU_BUTTON_DOWN 940 -#define IMG_MENU_BUTTON_LEFT_ACTIVE 941 -#define IMG_MENU_BUTTON_RIGHT_ACTIVE 942 -#define IMG_MENU_BUTTON_UP_ACTIVE 943 -#define IMG_MENU_BUTTON_DOWN_ACTIVE 944 -#define IMG_MENU_SCROLLBAR 945 -#define IMG_MENU_SCROLLBAR_ACTIVE 946 -#define IMG_FONT_INITIAL_1 947 -#define IMG_FONT_INITIAL_2 948 -#define IMG_FONT_INITIAL_3 949 -#define IMG_FONT_INITIAL_4 950 -#define IMG_FONT_TITLE_1 951 -#define IMG_FONT_TITLE_1_LEVELS 952 -#define IMG_FONT_TITLE_2 953 -#define IMG_FONT_MENU_1 954 -#define IMG_FONT_MENU_2 955 -#define IMG_FONT_TEXT_1 956 -#define IMG_FONT_TEXT_1_LEVELS 957 -#define IMG_FONT_TEXT_1_PREVIEW 958 -#define IMG_FONT_TEXT_1_SCORES 959 -#define IMG_FONT_TEXT_1_ACTIVE_SCORES 960 -#define IMG_FONT_TEXT_2 961 -#define IMG_FONT_TEXT_2_LEVELS 962 -#define IMG_FONT_TEXT_2_PREVIEW 963 -#define IMG_FONT_TEXT_2_SCORES 964 -#define IMG_FONT_TEXT_2_ACTIVE_SCORES 965 -#define IMG_FONT_TEXT_3 966 -#define IMG_FONT_TEXT_3_LEVELS 967 -#define IMG_FONT_TEXT_3_PREVIEW 968 -#define IMG_FONT_TEXT_3_SCORES 969 -#define IMG_FONT_TEXT_3_ACTIVE_SCORES 970 -#define IMG_FONT_TEXT_4 971 -#define IMG_FONT_TEXT_4_LEVELS 972 -#define IMG_FONT_TEXT_4_SCORES 973 -#define IMG_FONT_TEXT_4_ACTIVE_SCORES 974 -#define IMG_FONT_INPUT_1 975 -#define IMG_FONT_INPUT_1_MAIN 976 -#define IMG_FONT_INPUT_1_ACTIVE 977 -#define IMG_FONT_INPUT_1_ACTIVE_MAIN 978 -#define IMG_FONT_INPUT_1_ACTIVE_SETUP 979 -#define IMG_FONT_INPUT_2 980 -#define IMG_FONT_INPUT_2_ACTIVE 981 -#define IMG_FONT_OPTION_OFF 982 -#define IMG_FONT_OPTION_ON 983 -#define IMG_FONT_VALUE_1 984 -#define IMG_FONT_VALUE_2 985 -#define IMG_FONT_VALUE_OLD 986 -#define IMG_FONT_LEVEL_NUMBER 987 -#define IMG_FONT_TAPE_RECORDER 988 -#define IMG_FONT_GAME_INFO 989 -#define IMG_GLOBAL_BORDER 990 -#define IMG_GLOBAL_DOOR 991 -#define IMG_EDITOR_ELEMENT_BORDER 992 -#define IMG_EDITOR_ELEMENT_BORDER_INPUT 993 -#define IMG_BACKGROUND 994 -#define IMG_BACKGROUND_MAIN 995 -#define IMG_BACKGROUND_LEVELS 996 -#define IMG_BACKGROUND_SCORES 997 -#define IMG_BACKGROUND_EDITOR 998 -#define IMG_BACKGROUND_INFO 999 -#define IMG_BACKGROUND_SETUP 1000 -#define IMG_BACKGROUND_DOOR 1001 +#define IMG_BUG 148 +#define IMG_BUG_RIGHT 149 +#define IMG_BUG_UP 150 +#define IMG_BUG_LEFT 151 +#define IMG_BUG_DOWN 152 +#define IMG_BUG_MOVING_RIGHT 153 +#define IMG_BUG_MOVING_UP 154 +#define IMG_BUG_MOVING_LEFT 155 +#define IMG_BUG_MOVING_DOWN 156 +#define IMG_SPACESHIP 157 +#define IMG_SPACESHIP_RIGHT 158 +#define IMG_SPACESHIP_UP 159 +#define IMG_SPACESHIP_LEFT 160 +#define IMG_SPACESHIP_DOWN 161 +#define IMG_SPACESHIP_MOVING_RIGHT 162 +#define IMG_SPACESHIP_MOVING_UP 163 +#define IMG_SPACESHIP_MOVING_LEFT 164 +#define IMG_SPACESHIP_MOVING_DOWN 165 +#define IMG_YAMYAM 166 +#define IMG_YAMYAM_MOVING 167 +#define IMG_ROBOT 168 +#define IMG_ROBOT_MOVING 169 +#define IMG_ROBOT_WHEEL 170 +#define IMG_ROBOT_WHEEL_ACTIVE 171 +#define IMG_MAGIC_WALL 172 +#define IMG_MAGIC_WALL_ACTIVE 173 +#define IMG_MAGIC_WALL_FILLING 174 +#define IMG_MAGIC_WALL_FULL 175 +#define IMG_MAGIC_WALL_EMPTYING 176 +#define IMG_MAGIC_WALL_DEAD 177 +#define IMG_QUICKSAND_EMPTY 178 +#define IMG_QUICKSAND_FILLING 179 +#define IMG_QUICKSAND_FULL 180 +#define IMG_QUICKSAND_FULL_EDITOR 181 +#define IMG_QUICKSAND_EMPTYING 182 +#define IMG_ACID_POOL_TOPLEFT 183 +#define IMG_ACID_POOL_TOPRIGHT 184 +#define IMG_ACID_POOL_BOTTOMLEFT 185 +#define IMG_ACID_POOL_BOTTOM 186 +#define IMG_ACID_POOL_BOTTOMRIGHT 187 +#define IMG_ACID 188 +#define IMG_ACID_SPLASH_LEFT 189 +#define IMG_ACID_SPLASH_RIGHT 190 +#define IMG_AMOEBA_DROP 191 +#define IMG_AMOEBA_GROWING 192 +#define IMG_AMOEBA_SHRINKING 193 +#define IMG_AMOEBA_WET 194 +#define IMG_AMOEBA_WET_EDITOR 195 +#define IMG_AMOEBA_DROPPING 196 +#define IMG_AMOEBA_DRY 197 +#define IMG_AMOEBA_FULL 198 +#define IMG_AMOEBA_FULL_EDITOR 199 +#define IMG_AMOEBA_DEAD 200 +#define IMG_AMOEBA_DEAD_EDITOR 201 +#define IMG_EM_KEY_1 202 +#define IMG_EM_KEY_2 203 +#define IMG_EM_KEY_3 204 +#define IMG_EM_KEY_4 205 +#define IMG_EM_GATE_1 206 +#define IMG_EM_GATE_2 207 +#define IMG_EM_GATE_3 208 +#define IMG_EM_GATE_4 209 +#define IMG_EM_GATE_1_GRAY 210 +#define IMG_EM_GATE_1_GRAY_EDITOR 211 +#define IMG_EM_GATE_2_GRAY 212 +#define IMG_EM_GATE_2_GRAY_EDITOR 213 +#define IMG_EM_GATE_3_GRAY 214 +#define IMG_EM_GATE_3_GRAY_EDITOR 215 +#define IMG_EM_GATE_4_GRAY 216 +#define IMG_EM_GATE_4_GRAY_EDITOR 217 +#define IMG_EXIT_CLOSED 218 +#define IMG_EXIT_OPENING 219 +#define IMG_EXIT_OPEN 220 +#define IMG_BALLOON 221 +#define IMG_BALLOON_MOVING 222 +#define IMG_BALLOON_SWITCH_LEFT 223 +#define IMG_BALLOON_SWITCH_RIGHT 224 +#define IMG_BALLOON_SWITCH_UP 225 +#define IMG_BALLOON_SWITCH_DOWN 226 +#define IMG_BALLOON_SWITCH_ANY 227 +#define IMG_SPRING 228 +#define IMG_SPRING_MOVING 229 +#define IMG_EMC_STEELWALL_1 230 +#define IMG_EMC_STEELWALL_2 231 +#define IMG_EMC_STEELWALL_3 232 +#define IMG_EMC_STEELWALL_4 233 +#define IMG_EMC_WALL_1 234 +#define IMG_EMC_WALL_2 235 +#define IMG_EMC_WALL_3 236 +#define IMG_EMC_WALL_4 237 +#define IMG_EMC_WALL_5 238 +#define IMG_EMC_WALL_6 239 +#define IMG_EMC_WALL_7 240 +#define IMG_EMC_WALL_8 241 +#define IMG_INVISIBLE_STEELWALL 242 +#define IMG_INVISIBLE_STEELWALL_EDITOR 243 +#define IMG_INVISIBLE_STEELWALL_ACTIVE 244 +#define IMG_INVISIBLE_WALL 245 +#define IMG_INVISIBLE_WALL_EDITOR 246 +#define IMG_INVISIBLE_WALL_ACTIVE 247 +#define IMG_INVISIBLE_SAND 248 +#define IMG_INVISIBLE_SAND_EDITOR 249 +#define IMG_INVISIBLE_SAND_ACTIVE 250 +#define IMG_CONVEYOR_BELT_1_MIDDLE 251 +#define IMG_CONVEYOR_BELT_1_MIDDLE_ACTIVE 252 +#define IMG_CONVEYOR_BELT_1_LEFT 253 +#define IMG_CONVEYOR_BELT_1_LEFT_ACTIVE 254 +#define IMG_CONVEYOR_BELT_1_RIGHT 255 +#define IMG_CONVEYOR_BELT_1_RIGHT_ACTIVE 256 +#define IMG_CONVEYOR_BELT_1_SWITCH_LEFT 257 +#define IMG_CONVEYOR_BELT_1_SWITCH_MIDDLE 258 +#define IMG_CONVEYOR_BELT_1_SWITCH_RIGHT 259 +#define IMG_CONVEYOR_BELT_2_MIDDLE 260 +#define IMG_CONVEYOR_BELT_2_MIDDLE_ACTIVE 261 +#define IMG_CONVEYOR_BELT_2_LEFT 262 +#define IMG_CONVEYOR_BELT_2_LEFT_ACTIVE 263 +#define IMG_CONVEYOR_BELT_2_RIGHT 264 +#define IMG_CONVEYOR_BELT_2_RIGHT_ACTIVE 265 +#define IMG_CONVEYOR_BELT_2_SWITCH_LEFT 266 +#define IMG_CONVEYOR_BELT_2_SWITCH_MIDDLE 267 +#define IMG_CONVEYOR_BELT_2_SWITCH_RIGHT 268 +#define IMG_CONVEYOR_BELT_3_MIDDLE 269 +#define IMG_CONVEYOR_BELT_3_MIDDLE_ACTIVE 270 +#define IMG_CONVEYOR_BELT_3_LEFT 271 +#define IMG_CONVEYOR_BELT_3_LEFT_ACTIVE 272 +#define IMG_CONVEYOR_BELT_3_RIGHT 273 +#define IMG_CONVEYOR_BELT_3_RIGHT_ACTIVE 274 +#define IMG_CONVEYOR_BELT_3_SWITCH_LEFT 275 +#define IMG_CONVEYOR_BELT_3_SWITCH_MIDDLE 276 +#define IMG_CONVEYOR_BELT_3_SWITCH_RIGHT 277 +#define IMG_CONVEYOR_BELT_4_MIDDLE 278 +#define IMG_CONVEYOR_BELT_4_MIDDLE_ACTIVE 279 +#define IMG_CONVEYOR_BELT_4_LEFT 280 +#define IMG_CONVEYOR_BELT_4_LEFT_ACTIVE 281 +#define IMG_CONVEYOR_BELT_4_RIGHT 282 +#define IMG_CONVEYOR_BELT_4_RIGHT_ACTIVE 283 +#define IMG_CONVEYOR_BELT_4_SWITCH_LEFT 284 +#define IMG_CONVEYOR_BELT_4_SWITCH_MIDDLE 285 +#define IMG_CONVEYOR_BELT_4_SWITCH_RIGHT 286 +#define IMG_SWITCHGATE_SWITCH_UP 287 +#define IMG_SWITCHGATE_SWITCH_DOWN 288 +#define IMG_LIGHT_SWITCH 289 +#define IMG_LIGHT_SWITCH_ACTIVE 290 +#define IMG_TIMEGATE_SWITCH 291 +#define IMG_TIMEGATE_SWITCH_ACTIVE 292 +#define IMG_ENVELOPE 293 +#define IMG_SIGN_EXCLAMATION 294 +#define IMG_SIGN_STOP 295 +#define IMG_LANDMINE 296 +#define IMG_STEELWALL_SLANTED 297 +#define IMG_EXTRA_TIME 298 +#define IMG_SHIELD_NORMAL 299 +#define IMG_SHIELD_NORMAL_ACTIVE 300 +#define IMG_SHIELD_DEADLY 301 +#define IMG_SHIELD_DEADLY_ACTIVE 302 +#define IMG_SWITCHGATE_CLOSED 303 +#define IMG_SWITCHGATE_OPENING 304 +#define IMG_SWITCHGATE_OPEN 305 +#define IMG_SWITCHGATE_CLOSING 306 +#define IMG_TIMEGATE_CLOSED 307 +#define IMG_TIMEGATE_OPENING 308 +#define IMG_TIMEGATE_OPEN 309 +#define IMG_TIMEGATE_CLOSING 310 +#define IMG_PEARL 311 +#define IMG_PEARL_BREAKING 312 +#define IMG_CRYSTAL 313 +#define IMG_WALL_PEARL 314 +#define IMG_WALL_CRYSTAL 315 +#define IMG_TUBE_RIGHT_DOWN 316 +#define IMG_TUBE_HORIZONTAL_DOWN 317 +#define IMG_TUBE_LEFT_DOWN 318 +#define IMG_TUBE_HORIZONTAL 319 +#define IMG_TUBE_VERTICAL_RIGHT 320 +#define IMG_TUBE_ANY 321 +#define IMG_TUBE_VERTICAL_LEFT 322 +#define IMG_TUBE_VERTICAL 323 +#define IMG_TUBE_RIGHT_UP 324 +#define IMG_TUBE_HORIZONTAL_UP 325 +#define IMG_TUBE_LEFT_UP 326 +#define IMG_TRAP 327 +#define IMG_TRAP_ACTIVE 328 +#define IMG_DX_SUPABOMB 329 +#define IMG_KEY_1 330 +#define IMG_KEY_1_EDITOR 331 +#define IMG_KEY_2 332 +#define IMG_KEY_2_EDITOR 333 +#define IMG_KEY_3 334 +#define IMG_KEY_3_EDITOR 335 +#define IMG_KEY_4 336 +#define IMG_KEY_4_EDITOR 337 +#define IMG_GATE_1 338 +#define IMG_GATE_2 339 +#define IMG_GATE_3 340 +#define IMG_GATE_4 341 +#define IMG_GATE_1_GRAY 342 +#define IMG_GATE_1_GRAY_EDITOR 343 +#define IMG_GATE_2_GRAY 344 +#define IMG_GATE_2_GRAY_EDITOR 345 +#define IMG_GATE_3_GRAY 346 +#define IMG_GATE_3_GRAY_EDITOR 347 +#define IMG_GATE_4_GRAY 348 +#define IMG_GATE_4_GRAY_EDITOR 349 +#define IMG_GAME_OF_LIFE 350 +#define IMG_BIOMAZE 351 +#define IMG_PACMAN 352 +#define IMG_PACMAN_RIGHT 353 +#define IMG_PACMAN_UP 354 +#define IMG_PACMAN_LEFT 355 +#define IMG_PACMAN_DOWN 356 +#define IMG_PACMAN_MOVING_RIGHT 357 +#define IMG_PACMAN_MOVING_UP 358 +#define IMG_PACMAN_MOVING_LEFT 359 +#define IMG_PACMAN_MOVING_DOWN 360 +#define IMG_LAMP 361 +#define IMG_LAMP_EDITOR 362 +#define IMG_LAMP_ACTIVE 363 +#define IMG_TIME_ORB_FULL 364 +#define IMG_TIME_ORB_EMPTY 365 +#define IMG_EMERALD_YELLOW 366 +#define IMG_EMERALD_YELLOW_MOVING 367 +#define IMG_EMERALD_YELLOW_FALLING 368 +#define IMG_EMERALD_RED 369 +#define IMG_EMERALD_RED_MOVING 370 +#define IMG_EMERALD_RED_FALLING 371 +#define IMG_EMERALD_PURPLE 372 +#define IMG_EMERALD_PURPLE_MOVING 373 +#define IMG_EMERALD_PURPLE_FALLING 374 +#define IMG_WALL_EMERALD_YELLOW 375 +#define IMG_WALL_EMERALD_RED 376 +#define IMG_WALL_EMERALD_PURPLE 377 +#define IMG_WALL_BD_DIAMOND 378 +#define IMG_EXPANDABLE_WALL 379 +#define IMG_EXPANDABLE_WALL_HORIZONTAL 380 +#define IMG_EXPANDABLE_WALL_HORIZONTAL_EDITOR 381 +#define IMG_EXPANDABLE_WALL_VERTICAL 382 +#define IMG_EXPANDABLE_WALL_VERTICAL_EDITOR 383 +#define IMG_EXPANDABLE_WALL_ANY 384 +#define IMG_EXPANDABLE_WALL_ANY_EDITOR 385 +#define IMG_EXPANDABLE_WALL_GROWING_LEFT 386 +#define IMG_EXPANDABLE_WALL_GROWING_RIGHT 387 +#define IMG_EXPANDABLE_WALL_GROWING_UP 388 +#define IMG_EXPANDABLE_WALL_GROWING_DOWN 389 +#define IMG_BLACK_ORB 390 +#define IMG_SPEED_PILL 391 +#define IMG_DARK_YAMYAM 392 +#define IMG_DYNABOMB_ACTIVE 393 +#define IMG_DYNABOMB_PLAYER_1_ACTIVE 394 +#define IMG_DYNABOMB_PLAYER_2_ACTIVE 395 +#define IMG_DYNABOMB_PLAYER_3_ACTIVE 396 +#define IMG_DYNABOMB_PLAYER_4_ACTIVE 397 +#define IMG_DYNABOMB_INCREASE_NUMBER 398 +#define IMG_DYNABOMB_INCREASE_SIZE 399 +#define IMG_DYNABOMB_INCREASE_POWER 400 +#define IMG_PIG 401 +#define IMG_PIG_DOWN 402 +#define IMG_PIG_UP 403 +#define IMG_PIG_LEFT 404 +#define IMG_PIG_RIGHT 405 +#define IMG_PIG_MOVING_DOWN 406 +#define IMG_PIG_MOVING_UP 407 +#define IMG_PIG_MOVING_LEFT 408 +#define IMG_PIG_MOVING_RIGHT 409 +#define IMG_PIG_DIGGING_DOWN 410 +#define IMG_PIG_DIGGING_UP 411 +#define IMG_PIG_DIGGING_LEFT 412 +#define IMG_PIG_DIGGING_RIGHT 413 +#define IMG_DRAGON 414 +#define IMG_DRAGON_DOWN 415 +#define IMG_DRAGON_UP 416 +#define IMG_DRAGON_LEFT 417 +#define IMG_DRAGON_RIGHT 418 +#define IMG_DRAGON_MOVING_DOWN 419 +#define IMG_DRAGON_MOVING_UP 420 +#define IMG_DRAGON_MOVING_LEFT 421 +#define IMG_DRAGON_MOVING_RIGHT 422 +#define IMG_DRAGON_ATTACKING_DOWN 423 +#define IMG_DRAGON_ATTACKING_UP 424 +#define IMG_DRAGON_ATTACKING_LEFT 425 +#define IMG_DRAGON_ATTACKING_RIGHT 426 +#define IMG_MOLE 427 +#define IMG_MOLE_DOWN 428 +#define IMG_MOLE_UP 429 +#define IMG_MOLE_LEFT 430 +#define IMG_MOLE_RIGHT 431 +#define IMG_MOLE_MOVING_DOWN 432 +#define IMG_MOLE_MOVING_UP 433 +#define IMG_MOLE_MOVING_LEFT 434 +#define IMG_MOLE_MOVING_RIGHT 435 +#define IMG_MOLE_DIGGING_DOWN 436 +#define IMG_MOLE_DIGGING_UP 437 +#define IMG_MOLE_DIGGING_LEFT 438 +#define IMG_MOLE_DIGGING_RIGHT 439 +#define IMG_PENGUIN 440 +#define IMG_PENGUIN_EDITOR 441 +#define IMG_PENGUIN_DOWN 442 +#define IMG_PENGUIN_UP 443 +#define IMG_PENGUIN_LEFT 444 +#define IMG_PENGUIN_RIGHT 445 +#define IMG_PENGUIN_MOVING_DOWN 446 +#define IMG_PENGUIN_MOVING_UP 447 +#define IMG_PENGUIN_MOVING_LEFT 448 +#define IMG_PENGUIN_MOVING_RIGHT 449 +#define IMG_SATELLITE 450 +#define IMG_SATELLITE_MOVING 451 +#define IMG_FLAMES_1_LEFT 452 +#define IMG_FLAMES_2_LEFT 453 +#define IMG_FLAMES_3_LEFT 454 +#define IMG_FLAMES_1_RIGHT 455 +#define IMG_FLAMES_2_RIGHT 456 +#define IMG_FLAMES_3_RIGHT 457 +#define IMG_FLAMES_1_UP 458 +#define IMG_FLAMES_2_UP 459 +#define IMG_FLAMES_3_UP 460 +#define IMG_FLAMES_1_DOWN 461 +#define IMG_FLAMES_2_DOWN 462 +#define IMG_FLAMES_3_DOWN 463 +#define IMG_STONEBLOCK 464 +#define IMG_PLAYER_1 465 +#define IMG_PLAYER_1_EDITOR 466 +#define IMG_PLAYER_1_DOWN 467 +#define IMG_PLAYER_1_UP 468 +#define IMG_PLAYER_1_LEFT 469 +#define IMG_PLAYER_1_RIGHT 470 +#define IMG_PLAYER_1_MOVING_DOWN 471 +#define IMG_PLAYER_1_MOVING_UP 472 +#define IMG_PLAYER_1_MOVING_LEFT 473 +#define IMG_PLAYER_1_MOVING_RIGHT 474 +#define IMG_PLAYER_1_DIGGING_DOWN 475 +#define IMG_PLAYER_1_DIGGING_UP 476 +#define IMG_PLAYER_1_DIGGING_LEFT 477 +#define IMG_PLAYER_1_DIGGING_RIGHT 478 +#define IMG_PLAYER_1_COLLECTING_DOWN 479 +#define IMG_PLAYER_1_COLLECTING_UP 480 +#define IMG_PLAYER_1_COLLECTING_LEFT 481 +#define IMG_PLAYER_1_COLLECTING_RIGHT 482 +#define IMG_PLAYER_1_PUSHING_DOWN 483 +#define IMG_PLAYER_1_PUSHING_UP 484 +#define IMG_PLAYER_1_PUSHING_LEFT 485 +#define IMG_PLAYER_1_PUSHING_RIGHT 486 +#define IMG_PLAYER_1_SNAPPING_DOWN 487 +#define IMG_PLAYER_1_SNAPPING_UP 488 +#define IMG_PLAYER_1_SNAPPING_LEFT 489 +#define IMG_PLAYER_1_SNAPPING_RIGHT 490 +#define IMG_PLAYER_2 491 +#define IMG_PLAYER_2_EDITOR 492 +#define IMG_PLAYER_2_DOWN 493 +#define IMG_PLAYER_2_UP 494 +#define IMG_PLAYER_2_LEFT 495 +#define IMG_PLAYER_2_RIGHT 496 +#define IMG_PLAYER_2_MOVING_DOWN 497 +#define IMG_PLAYER_2_MOVING_UP 498 +#define IMG_PLAYER_2_MOVING_LEFT 499 +#define IMG_PLAYER_2_MOVING_RIGHT 500 +#define IMG_PLAYER_2_DIGGING_DOWN 501 +#define IMG_PLAYER_2_DIGGING_UP 502 +#define IMG_PLAYER_2_DIGGING_LEFT 503 +#define IMG_PLAYER_2_DIGGING_RIGHT 504 +#define IMG_PLAYER_2_COLLECTING_DOWN 505 +#define IMG_PLAYER_2_COLLECTING_UP 506 +#define IMG_PLAYER_2_COLLECTING_LEFT 507 +#define IMG_PLAYER_2_COLLECTING_RIGHT 508 +#define IMG_PLAYER_2_PUSHING_DOWN 509 +#define IMG_PLAYER_2_PUSHING_UP 510 +#define IMG_PLAYER_2_PUSHING_LEFT 511 +#define IMG_PLAYER_2_PUSHING_RIGHT 512 +#define IMG_PLAYER_2_SNAPPING_DOWN 513 +#define IMG_PLAYER_2_SNAPPING_UP 514 +#define IMG_PLAYER_2_SNAPPING_LEFT 515 +#define IMG_PLAYER_2_SNAPPING_RIGHT 516 +#define IMG_PLAYER_3 517 +#define IMG_PLAYER_3_EDITOR 518 +#define IMG_PLAYER_3_DOWN 519 +#define IMG_PLAYER_3_UP 520 +#define IMG_PLAYER_3_LEFT 521 +#define IMG_PLAYER_3_RIGHT 522 +#define IMG_PLAYER_3_MOVING_DOWN 523 +#define IMG_PLAYER_3_MOVING_UP 524 +#define IMG_PLAYER_3_MOVING_LEFT 525 +#define IMG_PLAYER_3_MOVING_RIGHT 526 +#define IMG_PLAYER_3_DIGGING_DOWN 527 +#define IMG_PLAYER_3_DIGGING_UP 528 +#define IMG_PLAYER_3_DIGGING_LEFT 529 +#define IMG_PLAYER_3_DIGGING_RIGHT 530 +#define IMG_PLAYER_3_COLLECTING_DOWN 531 +#define IMG_PLAYER_3_COLLECTING_UP 532 +#define IMG_PLAYER_3_COLLECTING_LEFT 533 +#define IMG_PLAYER_3_COLLECTING_RIGHT 534 +#define IMG_PLAYER_3_PUSHING_DOWN 535 +#define IMG_PLAYER_3_PUSHING_UP 536 +#define IMG_PLAYER_3_PUSHING_LEFT 537 +#define IMG_PLAYER_3_PUSHING_RIGHT 538 +#define IMG_PLAYER_3_SNAPPING_DOWN 539 +#define IMG_PLAYER_3_SNAPPING_UP 540 +#define IMG_PLAYER_3_SNAPPING_LEFT 541 +#define IMG_PLAYER_3_SNAPPING_RIGHT 542 +#define IMG_PLAYER_4 543 +#define IMG_PLAYER_4_EDITOR 544 +#define IMG_PLAYER_4_DOWN 545 +#define IMG_PLAYER_4_UP 546 +#define IMG_PLAYER_4_LEFT 547 +#define IMG_PLAYER_4_RIGHT 548 +#define IMG_PLAYER_4_MOVING_DOWN 549 +#define IMG_PLAYER_4_MOVING_UP 550 +#define IMG_PLAYER_4_MOVING_LEFT 551 +#define IMG_PLAYER_4_MOVING_RIGHT 552 +#define IMG_PLAYER_4_DIGGING_DOWN 553 +#define IMG_PLAYER_4_DIGGING_UP 554 +#define IMG_PLAYER_4_DIGGING_LEFT 555 +#define IMG_PLAYER_4_DIGGING_RIGHT 556 +#define IMG_PLAYER_4_COLLECTING_DOWN 557 +#define IMG_PLAYER_4_COLLECTING_UP 558 +#define IMG_PLAYER_4_COLLECTING_LEFT 559 +#define IMG_PLAYER_4_COLLECTING_RIGHT 560 +#define IMG_PLAYER_4_PUSHING_DOWN 561 +#define IMG_PLAYER_4_PUSHING_UP 562 +#define IMG_PLAYER_4_PUSHING_LEFT 563 +#define IMG_PLAYER_4_PUSHING_RIGHT 564 +#define IMG_PLAYER_4_SNAPPING_DOWN 565 +#define IMG_PLAYER_4_SNAPPING_UP 566 +#define IMG_PLAYER_4_SNAPPING_LEFT 567 +#define IMG_PLAYER_4_SNAPPING_RIGHT 568 +#define IMG_EXPLOSION 569 +#define IMG_TWINKLE_BLUE 570 +#define IMG_TWINKLE_WHITE 571 +#define IMG_STEELWALL_TOPLEFT 572 +#define IMG_STEELWALL_TOPRIGHT 573 +#define IMG_STEELWALL_BOTTOMLEFT 574 +#define IMG_STEELWALL_BOTTOMRIGHT 575 +#define IMG_STEELWALL_HORIZONTAL 576 +#define IMG_STEELWALL_VERTICAL 577 +#define IMG_STEELWALL_TOPLEFT_EDITOR 578 +#define IMG_STEELWALL_TOPRIGHT_EDITOR 579 +#define IMG_STEELWALL_BOTTOMLEFT_EDITOR 580 +#define IMG_STEELWALL_BOTTOMRIGHT_EDITOR 581 +#define IMG_STEELWALL_HORIZONTAL_EDITOR 582 +#define IMG_STEELWALL_VERTICAL_EDITOR 583 +#define IMG_INVISIBLE_STEELWALL_TOPLEFT 584 +#define IMG_INVISIBLE_STEELWALL_TOPRIGHT 585 +#define IMG_INVISIBLE_STEELWALL_BOTTOMLEFT 586 +#define IMG_INVISIBLE_STEELWALL_BOTTOMRIGHT 587 +#define IMG_INVISIBLE_STEELWALL_HORIZONTAL 588 +#define IMG_INVISIBLE_STEELWALL_VERTICAL 589 +#define IMG_INVISIBLE_STEELWALL_TOPLEFT_EDITOR 590 +#define IMG_INVISIBLE_STEELWALL_TOPRIGHT_EDITOR 591 +#define IMG_INVISIBLE_STEELWALL_BOTTOMLEFT_EDITOR 592 +#define IMG_INVISIBLE_STEELWALL_BOTTOMRIGHT_EDITOR 593 +#define IMG_INVISIBLE_STEELWALL_HORIZONTAL_EDITOR 594 +#define IMG_INVISIBLE_STEELWALL_VERTICAL_EDITOR 595 +#define IMG_ARROW_LEFT 596 +#define IMG_ARROW_RIGHT 597 +#define IMG_ARROW_UP 598 +#define IMG_ARROW_DOWN 599 +#define IMG_CHAR_SPACE 600 +#define IMG_CHAR_EXCLAM 601 +#define IMG_CHAR_QUOTEDBL 602 +#define IMG_CHAR_NUMBERSIGN 603 +#define IMG_CHAR_DOLLAR 604 +#define IMG_CHAR_PROCENT 605 +#define IMG_CHAR_AMPERSAND 606 +#define IMG_CHAR_APOSTROPHE 607 +#define IMG_CHAR_PARENLEFT 608 +#define IMG_CHAR_PARENRIGHT 609 +#define IMG_CHAR_ASTERISK 610 +#define IMG_CHAR_PLUS 611 +#define IMG_CHAR_COMMA 612 +#define IMG_CHAR_MINUS 613 +#define IMG_CHAR_PERIOD 614 +#define IMG_CHAR_SLASH 615 +#define IMG_CHAR_0 616 +#define IMG_CHAR_1 617 +#define IMG_CHAR_2 618 +#define IMG_CHAR_3 619 +#define IMG_CHAR_4 620 +#define IMG_CHAR_5 621 +#define IMG_CHAR_6 622 +#define IMG_CHAR_7 623 +#define IMG_CHAR_8 624 +#define IMG_CHAR_9 625 +#define IMG_CHAR_COLON 626 +#define IMG_CHAR_SEMICOLON 627 +#define IMG_CHAR_LESS 628 +#define IMG_CHAR_EQUAL 629 +#define IMG_CHAR_GREATER 630 +#define IMG_CHAR_QUESTION 631 +#define IMG_CHAR_AT 632 +#define IMG_CHAR_A 633 +#define IMG_CHAR_B 634 +#define IMG_CHAR_C 635 +#define IMG_CHAR_D 636 +#define IMG_CHAR_E 637 +#define IMG_CHAR_F 638 +#define IMG_CHAR_G 639 +#define IMG_CHAR_H 640 +#define IMG_CHAR_I 641 +#define IMG_CHAR_J 642 +#define IMG_CHAR_K 643 +#define IMG_CHAR_L 644 +#define IMG_CHAR_M 645 +#define IMG_CHAR_N 646 +#define IMG_CHAR_O 647 +#define IMG_CHAR_P 648 +#define IMG_CHAR_Q 649 +#define IMG_CHAR_R 650 +#define IMG_CHAR_S 651 +#define IMG_CHAR_T 652 +#define IMG_CHAR_U 653 +#define IMG_CHAR_V 654 +#define IMG_CHAR_W 655 +#define IMG_CHAR_X 656 +#define IMG_CHAR_Y 657 +#define IMG_CHAR_Z 658 +#define IMG_CHAR_BRACKETLEFT 659 +#define IMG_CHAR_BACKSLASH 660 +#define IMG_CHAR_BRACKETRIGHT 661 +#define IMG_CHAR_ASCIICIRCUM 662 +#define IMG_CHAR_UNDERSCORE 663 +#define IMG_CHAR_COPYRIGHT 664 +#define IMG_CHAR_AUMLAUT 665 +#define IMG_CHAR_OUMLAUT 666 +#define IMG_CHAR_UUMLAUT 667 +#define IMG_CHAR_DEGREE 668 +#define IMG_CHAR_TRADEMARK 669 +#define IMG_CHAR_CURSOR 670 +#define IMG_CUSTOM_1 671 +#define IMG_CUSTOM_1_EDITOR 672 +#define IMG_CUSTOM_2 673 +#define IMG_CUSTOM_2_EDITOR 674 +#define IMG_CUSTOM_3 675 +#define IMG_CUSTOM_3_EDITOR 676 +#define IMG_CUSTOM_4 677 +#define IMG_CUSTOM_4_EDITOR 678 +#define IMG_CUSTOM_5 679 +#define IMG_CUSTOM_5_EDITOR 680 +#define IMG_CUSTOM_6 681 +#define IMG_CUSTOM_6_EDITOR 682 +#define IMG_CUSTOM_7 683 +#define IMG_CUSTOM_7_EDITOR 684 +#define IMG_CUSTOM_8 685 +#define IMG_CUSTOM_8_EDITOR 686 +#define IMG_CUSTOM_9 687 +#define IMG_CUSTOM_9_EDITOR 688 +#define IMG_CUSTOM_10 689 +#define IMG_CUSTOM_10_EDITOR 690 +#define IMG_CUSTOM_11 691 +#define IMG_CUSTOM_11_EDITOR 692 +#define IMG_CUSTOM_12 693 +#define IMG_CUSTOM_12_EDITOR 694 +#define IMG_CUSTOM_13 695 +#define IMG_CUSTOM_13_EDITOR 696 +#define IMG_CUSTOM_14 697 +#define IMG_CUSTOM_14_EDITOR 698 +#define IMG_CUSTOM_15 699 +#define IMG_CUSTOM_15_EDITOR 700 +#define IMG_CUSTOM_16 701 +#define IMG_CUSTOM_16_EDITOR 702 +#define IMG_CUSTOM_17 703 +#define IMG_CUSTOM_17_EDITOR 704 +#define IMG_CUSTOM_18 705 +#define IMG_CUSTOM_18_EDITOR 706 +#define IMG_CUSTOM_19 707 +#define IMG_CUSTOM_19_EDITOR 708 +#define IMG_CUSTOM_20 709 +#define IMG_CUSTOM_20_EDITOR 710 +#define IMG_CUSTOM_21 711 +#define IMG_CUSTOM_21_EDITOR 712 +#define IMG_CUSTOM_22 713 +#define IMG_CUSTOM_22_EDITOR 714 +#define IMG_CUSTOM_23 715 +#define IMG_CUSTOM_23_EDITOR 716 +#define IMG_CUSTOM_24 717 +#define IMG_CUSTOM_24_EDITOR 718 +#define IMG_CUSTOM_25 719 +#define IMG_CUSTOM_25_EDITOR 720 +#define IMG_CUSTOM_26 721 +#define IMG_CUSTOM_26_EDITOR 722 +#define IMG_CUSTOM_27 723 +#define IMG_CUSTOM_27_EDITOR 724 +#define IMG_CUSTOM_28 725 +#define IMG_CUSTOM_28_EDITOR 726 +#define IMG_CUSTOM_29 727 +#define IMG_CUSTOM_29_EDITOR 728 +#define IMG_CUSTOM_30 729 +#define IMG_CUSTOM_30_EDITOR 730 +#define IMG_CUSTOM_31 731 +#define IMG_CUSTOM_31_EDITOR 732 +#define IMG_CUSTOM_32 733 +#define IMG_CUSTOM_32_EDITOR 734 +#define IMG_CUSTOM_33 735 +#define IMG_CUSTOM_33_EDITOR 736 +#define IMG_CUSTOM_34 737 +#define IMG_CUSTOM_34_EDITOR 738 +#define IMG_CUSTOM_35 739 +#define IMG_CUSTOM_35_EDITOR 740 +#define IMG_CUSTOM_36 741 +#define IMG_CUSTOM_36_EDITOR 742 +#define IMG_CUSTOM_37 743 +#define IMG_CUSTOM_37_EDITOR 744 +#define IMG_CUSTOM_38 745 +#define IMG_CUSTOM_38_EDITOR 746 +#define IMG_CUSTOM_39 747 +#define IMG_CUSTOM_39_EDITOR 748 +#define IMG_CUSTOM_40 749 +#define IMG_CUSTOM_40_EDITOR 750 +#define IMG_CUSTOM_41 751 +#define IMG_CUSTOM_41_EDITOR 752 +#define IMG_CUSTOM_42 753 +#define IMG_CUSTOM_42_EDITOR 754 +#define IMG_CUSTOM_43 755 +#define IMG_CUSTOM_43_EDITOR 756 +#define IMG_CUSTOM_44 757 +#define IMG_CUSTOM_44_EDITOR 758 +#define IMG_CUSTOM_45 759 +#define IMG_CUSTOM_45_EDITOR 760 +#define IMG_CUSTOM_46 761 +#define IMG_CUSTOM_46_EDITOR 762 +#define IMG_CUSTOM_47 763 +#define IMG_CUSTOM_47_EDITOR 764 +#define IMG_CUSTOM_48 765 +#define IMG_CUSTOM_48_EDITOR 766 +#define IMG_CUSTOM_49 767 +#define IMG_CUSTOM_49_EDITOR 768 +#define IMG_CUSTOM_50 769 +#define IMG_CUSTOM_50_EDITOR 770 +#define IMG_CUSTOM_51 771 +#define IMG_CUSTOM_51_EDITOR 772 +#define IMG_CUSTOM_52 773 +#define IMG_CUSTOM_52_EDITOR 774 +#define IMG_CUSTOM_53 775 +#define IMG_CUSTOM_53_EDITOR 776 +#define IMG_CUSTOM_54 777 +#define IMG_CUSTOM_54_EDITOR 778 +#define IMG_CUSTOM_55 779 +#define IMG_CUSTOM_55_EDITOR 780 +#define IMG_CUSTOM_56 781 +#define IMG_CUSTOM_56_EDITOR 782 +#define IMG_CUSTOM_57 783 +#define IMG_CUSTOM_57_EDITOR 784 +#define IMG_CUSTOM_58 785 +#define IMG_CUSTOM_58_EDITOR 786 +#define IMG_CUSTOM_59 787 +#define IMG_CUSTOM_59_EDITOR 788 +#define IMG_CUSTOM_60 789 +#define IMG_CUSTOM_60_EDITOR 790 +#define IMG_CUSTOM_61 791 +#define IMG_CUSTOM_61_EDITOR 792 +#define IMG_CUSTOM_62 793 +#define IMG_CUSTOM_62_EDITOR 794 +#define IMG_CUSTOM_63 795 +#define IMG_CUSTOM_63_EDITOR 796 +#define IMG_CUSTOM_64 797 +#define IMG_CUSTOM_64_EDITOR 798 +#define IMG_CUSTOM_65 799 +#define IMG_CUSTOM_65_EDITOR 800 +#define IMG_CUSTOM_66 801 +#define IMG_CUSTOM_66_EDITOR 802 +#define IMG_CUSTOM_67 803 +#define IMG_CUSTOM_67_EDITOR 804 +#define IMG_CUSTOM_68 805 +#define IMG_CUSTOM_68_EDITOR 806 +#define IMG_CUSTOM_69 807 +#define IMG_CUSTOM_69_EDITOR 808 +#define IMG_CUSTOM_70 809 +#define IMG_CUSTOM_70_EDITOR 810 +#define IMG_CUSTOM_71 811 +#define IMG_CUSTOM_71_EDITOR 812 +#define IMG_CUSTOM_72 813 +#define IMG_CUSTOM_72_EDITOR 814 +#define IMG_CUSTOM_73 815 +#define IMG_CUSTOM_73_EDITOR 816 +#define IMG_CUSTOM_74 817 +#define IMG_CUSTOM_74_EDITOR 818 +#define IMG_CUSTOM_75 819 +#define IMG_CUSTOM_75_EDITOR 820 +#define IMG_CUSTOM_76 821 +#define IMG_CUSTOM_76_EDITOR 822 +#define IMG_CUSTOM_77 823 +#define IMG_CUSTOM_77_EDITOR 824 +#define IMG_CUSTOM_78 825 +#define IMG_CUSTOM_78_EDITOR 826 +#define IMG_CUSTOM_79 827 +#define IMG_CUSTOM_79_EDITOR 828 +#define IMG_CUSTOM_80 829 +#define IMG_CUSTOM_80_EDITOR 830 +#define IMG_CUSTOM_81 831 +#define IMG_CUSTOM_81_EDITOR 832 +#define IMG_CUSTOM_82 833 +#define IMG_CUSTOM_82_EDITOR 834 +#define IMG_CUSTOM_83 835 +#define IMG_CUSTOM_83_EDITOR 836 +#define IMG_CUSTOM_84 837 +#define IMG_CUSTOM_84_EDITOR 838 +#define IMG_CUSTOM_85 839 +#define IMG_CUSTOM_85_EDITOR 840 +#define IMG_CUSTOM_86 841 +#define IMG_CUSTOM_86_EDITOR 842 +#define IMG_CUSTOM_87 843 +#define IMG_CUSTOM_87_EDITOR 844 +#define IMG_CUSTOM_88 845 +#define IMG_CUSTOM_88_EDITOR 846 +#define IMG_CUSTOM_89 847 +#define IMG_CUSTOM_89_EDITOR 848 +#define IMG_CUSTOM_90 849 +#define IMG_CUSTOM_90_EDITOR 850 +#define IMG_CUSTOM_91 851 +#define IMG_CUSTOM_91_EDITOR 852 +#define IMG_CUSTOM_92 853 +#define IMG_CUSTOM_92_EDITOR 854 +#define IMG_CUSTOM_93 855 +#define IMG_CUSTOM_93_EDITOR 856 +#define IMG_CUSTOM_94 857 +#define IMG_CUSTOM_94_EDITOR 858 +#define IMG_CUSTOM_95 859 +#define IMG_CUSTOM_95_EDITOR 860 +#define IMG_CUSTOM_96 861 +#define IMG_CUSTOM_96_EDITOR 862 +#define IMG_CUSTOM_97 863 +#define IMG_CUSTOM_97_EDITOR 864 +#define IMG_CUSTOM_98 865 +#define IMG_CUSTOM_98_EDITOR 866 +#define IMG_CUSTOM_99 867 +#define IMG_CUSTOM_99_EDITOR 868 +#define IMG_CUSTOM_100 869 +#define IMG_CUSTOM_100_EDITOR 870 +#define IMG_CUSTOM_101 871 +#define IMG_CUSTOM_101_EDITOR 872 +#define IMG_CUSTOM_102 873 +#define IMG_CUSTOM_102_EDITOR 874 +#define IMG_CUSTOM_103 875 +#define IMG_CUSTOM_103_EDITOR 876 +#define IMG_CUSTOM_104 877 +#define IMG_CUSTOM_104_EDITOR 878 +#define IMG_CUSTOM_105 879 +#define IMG_CUSTOM_105_EDITOR 880 +#define IMG_CUSTOM_106 881 +#define IMG_CUSTOM_106_EDITOR 882 +#define IMG_CUSTOM_107 883 +#define IMG_CUSTOM_107_EDITOR 884 +#define IMG_CUSTOM_108 885 +#define IMG_CUSTOM_108_EDITOR 886 +#define IMG_CUSTOM_109 887 +#define IMG_CUSTOM_109_EDITOR 888 +#define IMG_CUSTOM_110 889 +#define IMG_CUSTOM_110_EDITOR 890 +#define IMG_CUSTOM_111 891 +#define IMG_CUSTOM_111_EDITOR 892 +#define IMG_CUSTOM_112 893 +#define IMG_CUSTOM_112_EDITOR 894 +#define IMG_CUSTOM_113 895 +#define IMG_CUSTOM_113_EDITOR 896 +#define IMG_CUSTOM_114 897 +#define IMG_CUSTOM_114_EDITOR 898 +#define IMG_CUSTOM_115 899 +#define IMG_CUSTOM_115_EDITOR 900 +#define IMG_CUSTOM_116 901 +#define IMG_CUSTOM_116_EDITOR 902 +#define IMG_CUSTOM_117 903 +#define IMG_CUSTOM_117_EDITOR 904 +#define IMG_CUSTOM_118 905 +#define IMG_CUSTOM_118_EDITOR 906 +#define IMG_CUSTOM_119 907 +#define IMG_CUSTOM_119_EDITOR 908 +#define IMG_CUSTOM_120 909 +#define IMG_CUSTOM_120_EDITOR 910 +#define IMG_CUSTOM_121 911 +#define IMG_CUSTOM_121_EDITOR 912 +#define IMG_CUSTOM_122 913 +#define IMG_CUSTOM_122_EDITOR 914 +#define IMG_CUSTOM_123 915 +#define IMG_CUSTOM_123_EDITOR 916 +#define IMG_CUSTOM_124 917 +#define IMG_CUSTOM_124_EDITOR 918 +#define IMG_CUSTOM_125 919 +#define IMG_CUSTOM_125_EDITOR 920 +#define IMG_CUSTOM_126 921 +#define IMG_CUSTOM_126_EDITOR 922 +#define IMG_CUSTOM_127 923 +#define IMG_CUSTOM_127_EDITOR 924 +#define IMG_CUSTOM_128 925 +#define IMG_CUSTOM_128_EDITOR 926 +#define IMG_TOON_1 927 +#define IMG_TOON_2 928 +#define IMG_TOON_3 929 +#define IMG_TOON_4 930 +#define IMG_TOON_5 931 +#define IMG_TOON_6 932 +#define IMG_TOON_7 933 +#define IMG_TOON_8 934 +#define IMG_TOON_9 935 +#define IMG_TOON_10 936 +#define IMG_TOON_11 937 +#define IMG_TOON_12 938 +#define IMG_TOON_13 939 +#define IMG_TOON_14 940 +#define IMG_TOON_15 941 +#define IMG_TOON_16 942 +#define IMG_TOON_17 943 +#define IMG_TOON_18 944 +#define IMG_TOON_19 945 +#define IMG_TOON_20 946 +#define IMG_MENU_CALIBRATE_RED 947 +#define IMG_MENU_CALIBRATE_BLUE 948 +#define IMG_MENU_CALIBRATE_YELLOW 949 +#define IMG_MENU_BUTTON 950 +#define IMG_MENU_BUTTON_ACTIVE 951 +#define IMG_MENU_BUTTON_LEFT 952 +#define IMG_MENU_BUTTON_RIGHT 953 +#define IMG_MENU_BUTTON_UP 954 +#define IMG_MENU_BUTTON_DOWN 955 +#define IMG_MENU_BUTTON_LEFT_ACTIVE 956 +#define IMG_MENU_BUTTON_RIGHT_ACTIVE 957 +#define IMG_MENU_BUTTON_UP_ACTIVE 958 +#define IMG_MENU_BUTTON_DOWN_ACTIVE 959 +#define IMG_MENU_SCROLLBAR 960 +#define IMG_MENU_SCROLLBAR_ACTIVE 961 +#define IMG_FONT_INITIAL_1 962 +#define IMG_FONT_INITIAL_2 963 +#define IMG_FONT_INITIAL_3 964 +#define IMG_FONT_INITIAL_4 965 +#define IMG_FONT_TITLE_1 966 +#define IMG_FONT_TITLE_1_LEVELS 967 +#define IMG_FONT_TITLE_2 968 +#define IMG_FONT_MENU_1 969 +#define IMG_FONT_MENU_2 970 +#define IMG_FONT_TEXT_1 971 +#define IMG_FONT_TEXT_1_LEVELS 972 +#define IMG_FONT_TEXT_1_PREVIEW 973 +#define IMG_FONT_TEXT_1_SCORES 974 +#define IMG_FONT_TEXT_1_ACTIVE_SCORES 975 +#define IMG_FONT_TEXT_2 976 +#define IMG_FONT_TEXT_2_LEVELS 977 +#define IMG_FONT_TEXT_2_PREVIEW 978 +#define IMG_FONT_TEXT_2_SCORES 979 +#define IMG_FONT_TEXT_2_ACTIVE_SCORES 980 +#define IMG_FONT_TEXT_3 981 +#define IMG_FONT_TEXT_3_LEVELS 982 +#define IMG_FONT_TEXT_3_PREVIEW 983 +#define IMG_FONT_TEXT_3_SCORES 984 +#define IMG_FONT_TEXT_3_ACTIVE_SCORES 985 +#define IMG_FONT_TEXT_4 986 +#define IMG_FONT_TEXT_4_LEVELS 987 +#define IMG_FONT_TEXT_4_SCORES 988 +#define IMG_FONT_TEXT_4_ACTIVE_SCORES 989 +#define IMG_FONT_INPUT_1 990 +#define IMG_FONT_INPUT_1_MAIN 991 +#define IMG_FONT_INPUT_1_ACTIVE 992 +#define IMG_FONT_INPUT_1_ACTIVE_MAIN 993 +#define IMG_FONT_INPUT_1_ACTIVE_SETUP 994 +#define IMG_FONT_INPUT_2 995 +#define IMG_FONT_INPUT_2_ACTIVE 996 +#define IMG_FONT_OPTION_OFF 997 +#define IMG_FONT_OPTION_ON 998 +#define IMG_FONT_VALUE_1 999 +#define IMG_FONT_VALUE_2 1000 +#define IMG_FONT_VALUE_OLD 1001 +#define IMG_FONT_LEVEL_NUMBER 1002 +#define IMG_FONT_TAPE_RECORDER 1003 +#define IMG_FONT_GAME_INFO 1004 +#define IMG_GLOBAL_BORDER 1005 +#define IMG_GLOBAL_DOOR 1006 +#define IMG_EDITOR_ELEMENT_BORDER 1007 +#define IMG_EDITOR_ELEMENT_BORDER_INPUT 1008 +#define IMG_BACKGROUND 1009 +#define IMG_BACKGROUND_MAIN 1010 +#define IMG_BACKGROUND_LEVELS 1011 +#define IMG_BACKGROUND_SCORES 1012 +#define IMG_BACKGROUND_EDITOR 1013 +#define IMG_BACKGROUND_INFO 1014 +#define IMG_BACKGROUND_SETUP 1015 +#define IMG_BACKGROUND_DOOR 1016 -#define NUM_IMAGE_FILES 1002 +#define NUM_IMAGE_FILES 1017 #endif /* CONF_GFX_H */ diff --git a/src/conftime.h b/src/conftime.h index 6e9cc4ef..a768c011 100644 --- a/src/conftime.h +++ b/src/conftime.h @@ -1 +1 @@ -#define COMPILE_DATE_STRING "[2003-05-27 01:56]" +#define COMPILE_DATE_STRING "[2003-06-02 01:57]" diff --git a/src/editor.c b/src/editor.c index c7b09724..7618a332 100644 --- a/src/editor.c +++ b/src/editor.c @@ -108,15 +108,15 @@ #define ED_AREA_ELEM_CONTENT_YPOS (22 * MINI_TILEY) #define ED_AREA_ELEM_CONTENT2_XPOS (20 * MINI_TILEX) -#define ED_AREA_ELEM_CONTENT2_YPOS (ED_SETTINGS_YPOS(1) + \ +#define ED_AREA_ELEM_CONTENT2_YPOS (ED_SETTINGS_YPOS(2) + \ ED_GADGET_DISTANCE) #define ED_AREA_ELEM_CONTENT3_XPOS (24 * MINI_TILEX) -#define ED_AREA_ELEM_CONTENT3_YPOS (ED_SETTINGS_YPOS(2) + \ +#define ED_AREA_ELEM_CONTENT3_YPOS (ED_SETTINGS_YPOS(1) + \ ED_GADGET_DISTANCE) #define ED_AREA_ELEM_CONTENT4_XPOS (17 * MINI_TILEX) -#define ED_AREA_ELEM_CONTENT4_YPOS (ED_SETTINGS_YPOS(10) + \ +#define ED_AREA_ELEM_CONTENT4_YPOS (ED_SETTINGS_YPOS(11) + \ ED_GADGET_DISTANCE - MINI_TILEY) /* values for random placement background drawing area */ @@ -351,13 +351,15 @@ #define GADGET_ID_SELECTBOX_FIRST (GADGET_ID_TEXT_INPUT_FIRST + 2) #define GADGET_ID_CUSTOM_WALK_TO_ACTION (GADGET_ID_SELECTBOX_FIRST + 0) -#define GADGET_ID_CUSTOM_MOVE_PATTERN (GADGET_ID_SELECTBOX_FIRST + 1) -#define GADGET_ID_CUSTOM_WALKABLE_LAYER (GADGET_ID_SELECTBOX_FIRST + 2) -#define GADGET_ID_CHANGE_TIME_UNITS (GADGET_ID_SELECTBOX_FIRST + 3) -#define GADGET_ID_CHANGE_CAUSE (GADGET_ID_SELECTBOX_FIRST + 4) +#define GADGET_ID_CUSTOM_DEADLINESS (GADGET_ID_SELECTBOX_FIRST + 1) +#define GADGET_ID_CUSTOM_MOVE_PATTERN (GADGET_ID_SELECTBOX_FIRST + 2) +#define GADGET_ID_CUSTOM_MOVE_DIRECTION (GADGET_ID_SELECTBOX_FIRST + 3) +#define GADGET_ID_CUSTOM_WALKABLE_LAYER (GADGET_ID_SELECTBOX_FIRST + 4) +#define GADGET_ID_CHANGE_TIME_UNITS (GADGET_ID_SELECTBOX_FIRST + 5) +#define GADGET_ID_CHANGE_CAUSE (GADGET_ID_SELECTBOX_FIRST + 6) /* textbutton identifiers */ -#define GADGET_ID_TEXTBUTTON_FIRST (GADGET_ID_SELECTBOX_FIRST + 5) +#define GADGET_ID_TEXTBUTTON_FIRST (GADGET_ID_SELECTBOX_FIRST + 7) #define GADGET_ID_PROPERTIES_INFO (GADGET_ID_TEXTBUTTON_FIRST + 0) #define GADGET_ID_PROPERTIES_CONFIG (GADGET_ID_TEXTBUTTON_FIRST + 1) @@ -393,19 +395,20 @@ #define GADGET_ID_EM_SLIPPERY_GEMS (GADGET_ID_CHECKBUTTON_FIRST + 6) #define GADGET_ID_CUSTOM_INDESTRUCTIBLE (GADGET_ID_CHECKBUTTON_FIRST + 7) #define GADGET_ID_CUSTOM_WALK_TO_OBJECT (GADGET_ID_CHECKBUTTON_FIRST + 8) -#define GADGET_ID_CUSTOM_CAN_MOVE (GADGET_ID_CHECKBUTTON_FIRST + 9) -#define GADGET_ID_CUSTOM_CAN_FALL (GADGET_ID_CHECKBUTTON_FIRST + 10) -#define GADGET_ID_CUSTOM_CAN_SMASH (GADGET_ID_CHECKBUTTON_FIRST + 11) -#define GADGET_ID_CUSTOM_CAN_EXPLODE (GADGET_ID_CHECKBUTTON_FIRST + 12) -#define GADGET_ID_CUSTOM_SLIPPERY (GADGET_ID_CHECKBUTTON_FIRST + 13) -#define GADGET_ID_CUSTOM_WALKABLE (GADGET_ID_CHECKBUTTON_FIRST + 14) -#define GADGET_ID_CUSTOM_USE_GRAPHIC (GADGET_ID_CHECKBUTTON_FIRST + 15) -#define GADGET_ID_CUSTOM_USE_TEMPLATE (GADGET_ID_CHECKBUTTON_FIRST + 16) -#define GADGET_ID_CUSTOM_CHANGEABLE (GADGET_ID_CHECKBUTTON_FIRST + 17) -#define GADGET_ID_CHANGE_DELAY (GADGET_ID_CHECKBUTTON_FIRST + 18) +#define GADGET_ID_CUSTOM_DEADLY (GADGET_ID_CHECKBUTTON_FIRST + 9) +#define GADGET_ID_CUSTOM_CAN_MOVE (GADGET_ID_CHECKBUTTON_FIRST + 10) +#define GADGET_ID_CUSTOM_CAN_FALL (GADGET_ID_CHECKBUTTON_FIRST + 11) +#define GADGET_ID_CUSTOM_CAN_SMASH (GADGET_ID_CHECKBUTTON_FIRST + 12) +#define GADGET_ID_CUSTOM_CAN_EXPLODE (GADGET_ID_CHECKBUTTON_FIRST + 13) +#define GADGET_ID_CUSTOM_SLIPPERY (GADGET_ID_CHECKBUTTON_FIRST + 14) +#define GADGET_ID_CUSTOM_WALKABLE (GADGET_ID_CHECKBUTTON_FIRST + 15) +#define GADGET_ID_CUSTOM_USE_GRAPHIC (GADGET_ID_CHECKBUTTON_FIRST + 16) +#define GADGET_ID_CUSTOM_USE_TEMPLATE (GADGET_ID_CHECKBUTTON_FIRST + 17) +#define GADGET_ID_CUSTOM_CHANGEABLE (GADGET_ID_CHECKBUTTON_FIRST + 18) +#define GADGET_ID_CHANGE_DELAY (GADGET_ID_CHECKBUTTON_FIRST + 19) /* gadgets for buttons in element list */ -#define GADGET_ID_ELEMENTLIST_FIRST (GADGET_ID_CHECKBUTTON_FIRST + 19) +#define GADGET_ID_ELEMENTLIST_FIRST (GADGET_ID_CHECKBUTTON_FIRST + 20) #define GADGET_ID_ELEMENTLIST_LAST (GADGET_ID_ELEMENTLIST_FIRST + \ ED_NUM_ELEMENTLIST_BUTTONS - 1) @@ -479,12 +482,14 @@ /* values for selectbox gadgets */ #define ED_SELECTBOX_ID_CUSTOM_WALK_TO_ACTION 0 -#define ED_SELECTBOX_ID_CUSTOM_MOVE_PATTERN 1 -#define ED_SELECTBOX_ID_CUSTOM_WALKABLE_LAYER 2 -#define ED_SELECTBOX_ID_CHANGE_TIME_UNITS 3 -#define ED_SELECTBOX_ID_CHANGE_CAUSE 4 +#define ED_SELECTBOX_ID_CUSTOM_DEADLINESS 1 +#define ED_SELECTBOX_ID_CUSTOM_MOVE_PATTERN 2 +#define ED_SELECTBOX_ID_CUSTOM_MOVE_DIRECTION 3 +#define ED_SELECTBOX_ID_CUSTOM_WALKABLE_LAYER 4 +#define ED_SELECTBOX_ID_CHANGE_TIME_UNITS 5 +#define ED_SELECTBOX_ID_CHANGE_CAUSE 6 -#define ED_NUM_SELECTBOX 5 +#define ED_NUM_SELECTBOX 7 #define ED_SELECTBOX_ID_CUSTOM_FIRST ED_SELECTBOX_ID_CUSTOM_WALK_TO_ACTION #define ED_SELECTBOX_ID_CUSTOM_LAST ED_SELECTBOX_ID_CUSTOM_WALKABLE_LAYER @@ -508,26 +513,27 @@ #define ED_CHECKBUTTON_ID_EM_SLIPPERY_GEMS 4 #define ED_CHECKBUTTON_ID_CUSTOM_INDESTRUCTIBLE 5 #define ED_CHECKBUTTON_ID_CUSTOM_WALK_TO_OBJECT 6 -#define ED_CHECKBUTTON_ID_CUSTOM_CAN_MOVE 7 -#define ED_CHECKBUTTON_ID_CUSTOM_CAN_FALL 8 -#define ED_CHECKBUTTON_ID_CUSTOM_CAN_SMASH 9 -#define ED_CHECKBUTTON_ID_CUSTOM_CAN_EXPLODE 10 -#define ED_CHECKBUTTON_ID_CUSTOM_SLIPPERY 11 -#define ED_CHECKBUTTON_ID_CUSTOM_WALKABLE 12 -#define ED_CHECKBUTTON_ID_CUSTOM_USE_GRAPHIC 13 -#define ED_CHECKBUTTON_ID_CUSTOM_USE_TEMPLATE 14 -#define ED_CHECKBUTTON_ID_CUSTOM_CHANGEABLE 15 -#define ED_CHECKBUTTON_ID_CHANGE_DELAY 16 - -#define ED_NUM_CHECKBUTTONS 17 +#define ED_CHECKBUTTON_ID_CUSTOM_DEADLY 7 +#define ED_CHECKBUTTON_ID_CUSTOM_CAN_MOVE 8 +#define ED_CHECKBUTTON_ID_CUSTOM_CAN_FALL 9 +#define ED_CHECKBUTTON_ID_CUSTOM_CAN_SMASH 10 +#define ED_CHECKBUTTON_ID_CUSTOM_CAN_EXPLODE 11 +#define ED_CHECKBUTTON_ID_CUSTOM_SLIPPERY 12 +#define ED_CHECKBUTTON_ID_CUSTOM_WALKABLE 13 +#define ED_CHECKBUTTON_ID_CUSTOM_USE_GRAPHIC 14 +#define ED_CHECKBUTTON_ID_CUSTOM_USE_TEMPLATE 15 +#define ED_CHECKBUTTON_ID_CUSTOM_CHANGEABLE 16 +#define ED_CHECKBUTTON_ID_CHANGE_DELAY 17 + +#define ED_NUM_CHECKBUTTONS 18 #define ED_CHECKBUTTON_ID_LEVEL_FIRST ED_CHECKBUTTON_ID_DOUBLE_SPEED #define ED_CHECKBUTTON_ID_LEVEL_LAST ED_CHECKBUTTON_ID_RANDOM_RESTRICTED #define ED_CHECKBUTTON_ID_CUSTOM_FIRST ED_CHECKBUTTON_ID_CUSTOM_INDESTRUCTIBLE -#define ED_CHECKBUTTON_ID_CUSTOM_LAST ED_CHECKBUTTON_ID_CUSTOM_USE_TEMPLATE +#define ED_CHECKBUTTON_ID_CUSTOM_LAST ED_CHECKBUTTON_ID_CUSTOM_WALKABLE -#define ED_CHECKBUTTON_ID_CHANGE_FIRST ED_CHECKBUTTON_ID_CUSTOM_CHANGEABLE +#define ED_CHECKBUTTON_ID_CHANGE_FIRST ED_CHECKBUTTON_ID_CUSTOM_USE_GRAPHIC #define ED_CHECKBUTTON_ID_CHANGE_LAST ED_CHECKBUTTON_ID_CHANGE_DELAY /* values for radiobutton gadgets */ @@ -735,7 +741,7 @@ static struct NULL, "+random", NULL }, { - ED_SETTINGS_XPOS(1), ED_SETTINGS_YPOS(7), + ED_SETTINGS_XPOS(1), ED_SETTINGS_YPOS(8), 0, 999, GADGET_ID_MOVE_DELAY_FIX_DOWN, GADGET_ID_MOVE_DELAY_FIX_UP, GADGET_ID_MOVE_DELAY_FIX_TEXT, @@ -743,7 +749,7 @@ static struct NULL, "move delay", NULL }, { - ED_COUNT_MOVE_DELAY_RND_XPOS, ED_SETTINGS_YPOS(7), + ED_COUNT_MOVE_DELAY_RND_XPOS, ED_SETTINGS_YPOS(8), 0, 999, GADGET_ID_MOVE_DELAY_RND_DOWN, GADGET_ID_MOVE_DELAY_RND_UP, GADGET_ID_MOVE_DELAY_RND_TEXT, @@ -751,7 +757,7 @@ static struct NULL, "+random", NULL }, { - ED_SETTINGS_XPOS(2), ED_SETTINGS_YPOS(2), + ED_SETTINGS_XPOS(2), ED_SETTINGS_YPOS(3), 0, 999, GADGET_ID_CHANGE_DELAY_FIX_DOWN, GADGET_ID_CHANGE_DELAY_FIX_UP, GADGET_ID_CHANGE_DELAY_FIX_TEXT, @@ -759,7 +765,7 @@ static struct NULL, "delay", NULL, }, { - ED_COUNT_CHANGE_DELAY_RND_XPOS, ED_SETTINGS_YPOS(2), + ED_COUNT_CHANGE_DELAY_RND_XPOS, ED_SETTINGS_YPOS(3), 0, 999, GADGET_ID_CHANGE_DELAY_RND_DOWN, GADGET_ID_CHANGE_DELAY_RND_UP, GADGET_ID_CHANGE_DELAY_RND_TEXT, @@ -819,6 +825,26 @@ static struct ValueTextInfo options_move_pattern[] = }; static int index_move_pattern = 0; +static struct ValueTextInfo options_move_direction[] = +{ + { MV_NO_MOVING, "automatic" }, + { MV_LEFT, "left" }, + { MV_RIGHT, "right" }, + { MV_UP, "up" }, + { MV_DOWN, "down" }, + { -1, NULL } +}; +static int index_move_direction = 0; + +static struct ValueTextInfo options_deadliness[] = +{ + { EP_DONT_GO_TO, "walking to" }, + { EP_ENEMY, "hitting" }, + { EP_DONT_TOUCH, "touching" }, + { -1, NULL } +}; +static int index_deadliness = 0; + static struct ValueTextInfo options_walkable_layer[] = { { EP_WALKABLE_OVER, "over" }, @@ -865,6 +891,14 @@ static struct &custom_element.walk_to_action, NULL, "diggable/collectible/pushable" }, + { + ED_SETTINGS_XPOS(1), ED_SETTINGS_YPOS(2), + GADGET_ID_CUSTOM_DEADLINESS, + -1, + options_deadliness, &index_deadliness, + &custom_element.deadliness, + "deadly when", "deadliness of element" + }, { ED_SETTINGS_XPOS(1), ED_SETTINGS_YPOS(6), GADGET_ID_CUSTOM_MOVE_PATTERN, @@ -874,7 +908,15 @@ static struct "can move", "element move direction" }, { - ED_SETTINGS_XPOS(1), ED_SETTINGS_YPOS(12), + ED_SETTINGS_XPOS(1), ED_SETTINGS_YPOS(7), + GADGET_ID_CUSTOM_MOVE_DIRECTION, + -1, + options_move_direction, &index_move_direction, + &custom_element.move_direction_initial, + "starts moving", "initial element move direction" + }, + { + ED_SETTINGS_XPOS(1), ED_SETTINGS_YPOS(13), GADGET_ID_CUSTOM_WALKABLE_LAYER, -1, options_walkable_layer, &index_walkable_layer, @@ -882,7 +924,7 @@ static struct "player can walk", "layer where player can walk" }, { - ED_SETTINGS_XPOS(2), ED_SETTINGS_YPOS(3), + ED_SETTINGS_XPOS(2), ED_SETTINGS_YPOS(4), GADGET_ID_CHANGE_TIME_UNITS, -1, options_time_units, &index_time_units, @@ -923,7 +965,7 @@ static struct 11, "Advanced", "Advanced element configuration" }, { - ED_SETTINGS_XPOS(0) + 262, ED_SETTINGS_YPOS(13), + ED_SETTINGS_XPOS(0) + 262, ED_SETTINGS_YPOS(5), GADGET_ID_SAVE_AS_TEMPLATE, -1, "Save as template", "Save current settings as new template" }, @@ -1087,6 +1129,12 @@ static struct &custom_element_properties[EP_WALK_TO_OBJECT], NULL, "player can dig/collect/push element" }, + { + ED_SETTINGS_XPOS(0), ED_SETTINGS_YPOS(2), + GADGET_ID_CUSTOM_DEADLY, + &custom_element_properties[EP_DEADLY], + NULL, "element can kill the player" + }, { ED_SETTINGS_XPOS(0), ED_SETTINGS_YPOS(6), GADGET_ID_CUSTOM_CAN_MOVE, @@ -1094,55 +1142,55 @@ static struct NULL, "element can move in some direction" }, { - ED_SETTINGS_XPOS(0), ED_SETTINGS_YPOS(8), + ED_SETTINGS_XPOS(0), ED_SETTINGS_YPOS(9), GADGET_ID_CUSTOM_CAN_FALL, &custom_element_properties[EP_CAN_FALL], "can fall", "element can fall down" }, { - ED_SETTINGS_XPOS(0), ED_SETTINGS_YPOS(9), + ED_SETTINGS_XPOS(0), ED_SETTINGS_YPOS(10), GADGET_ID_CUSTOM_CAN_SMASH, &custom_element_properties[EP_CAN_SMASH], "can smash", "element can smash other elements" }, { - ED_SETTINGS_XPOS(0), ED_SETTINGS_YPOS(10), + ED_SETTINGS_XPOS(0), ED_SETTINGS_YPOS(11), GADGET_ID_CUSTOM_CAN_EXPLODE, &custom_element_properties[EP_CAN_EXPLODE], "can explode to:", "element can explode to other elements" }, { - ED_SETTINGS_XPOS(0), ED_SETTINGS_YPOS(11), + ED_SETTINGS_XPOS(0), ED_SETTINGS_YPOS(12), GADGET_ID_CUSTOM_SLIPPERY, &custom_element_properties[EP_SLIPPERY], "slippery", "other elements can fall down from it" }, { - ED_SETTINGS_XPOS(0), ED_SETTINGS_YPOS(12), + ED_SETTINGS_XPOS(0), ED_SETTINGS_YPOS(13), GADGET_ID_CUSTOM_WALKABLE, &custom_element_properties[EP_WALKABLE], NULL, "player can walk on the same field" }, { - ED_SETTINGS_XPOS(0), ED_SETTINGS_YPOS(2), + ED_SETTINGS_XPOS(0), ED_SETTINGS_YPOS(1), GADGET_ID_CUSTOM_USE_GRAPHIC, &custom_element.use_gfx_element, "use graphic of element:", "use graphic for custom element" }, { - ED_SETTINGS_XPOS(0), ED_SETTINGS_YPOS(13), + ED_SETTINGS_XPOS(0), ED_SETTINGS_YPOS(5), GADGET_ID_CUSTOM_USE_TEMPLATE, &custom_element.use_template, "use template", "use template for custom properties" }, { - ED_SETTINGS_XPOS(0), ED_SETTINGS_YPOS(1), + ED_SETTINGS_XPOS(0), ED_SETTINGS_YPOS(2), GADGET_ID_CUSTOM_CHANGEABLE, &custom_element_properties[EP_CHANGEABLE], "element changes to after:", "element can change to other element" }, { - ED_SETTINGS_XPOS(1), ED_SETTINGS_YPOS(2), + ED_SETTINGS_XPOS(1), ED_SETTINGS_YPOS(3), GADGET_ID_CHANGE_DELAY, &custom_element_change_events[CE_DELAY], NULL, "element changes after delay" @@ -3258,6 +3306,13 @@ static void CopyCustomElementPropertiesToEditor(int element) IS_PUSHABLE(element) ? EP_PUSHABLE : EP_DIGGABLE); + /* set deadliness selectbox help value */ + custom_element.deadliness = + (DONT_TOUCH(element) ? EP_DONT_TOUCH : + IS_ENEMY(element) ? EP_ENEMY : + DONT_GO_TO(element) ? EP_DONT_GO_TO : + EP_DONT_GO_TO); + /* set walkable layer selectbox help value */ custom_element.walkable_layer = (IS_WALKABLE_OVER(element) ? EP_WALKABLE_OVER : @@ -3279,6 +3334,13 @@ static void CopyCustomElementPropertiesToGame(int element) custom_element_properties[custom_element.walk_to_action] = custom_element_properties[EP_WALK_TO_OBJECT]; + /* set deadliness property from checkbox and selectbox */ + custom_element_properties[EP_DONT_GO_TO] = FALSE; + custom_element_properties[EP_ENEMY] = FALSE; + custom_element_properties[EP_DONT_TOUCH] = FALSE; + custom_element_properties[custom_element.deadliness] = + custom_element_properties[EP_DEADLY]; + /* set walkable property from checkbox and selectbox */ custom_element_properties[EP_WALKABLE_OVER] = FALSE; custom_element_properties[EP_WALKABLE_INSIDE] = FALSE; @@ -4230,11 +4292,7 @@ static void DrawPropertiesConfig() for (i=ED_SELECTBOX_ID_CUSTOM_FIRST; i <= ED_SELECTBOX_ID_CUSTOM_LAST; i++) MapSelectboxGadget(i); - /* draw textbutton gadgets */ - MapTextbuttonGadget(ED_TEXTBUTTON_ID_SAVE_AS_TEMPLATE); - /* draw drawing area gadgets */ - DrawCustomGraphicElementArea(); DrawCustomContentArea(); } } @@ -4261,7 +4319,11 @@ static void DrawPropertiesAdvanced() for (i=ED_SELECTBOX_ID_CHANGE_FIRST; i<=ED_SELECTBOX_ID_CHANGE_LAST; i++) MapSelectboxGadget(i); + /* draw textbutton gadgets */ + MapTextbuttonGadget(ED_TEXTBUTTON_ID_SAVE_AS_TEMPLATE); + /* draw drawing area gadgets */ + DrawCustomGraphicElementArea(); DrawCustomChangedArea(); } diff --git a/src/game.c b/src/game.c index b034735b..99d8fb30 100644 --- a/src/game.c +++ b/src/game.c @@ -1141,7 +1141,9 @@ void InitMovDir(int x, int y) default: if (IS_CUSTOM_ELEMENT(element)) { - if (element_info[element].move_pattern == MV_ALL_DIRECTIONS) + if (element_info[element].move_direction_initial != MV_NO_MOVING) + MovDir[x][y] = element_info[element].move_direction_initial; + else if (element_info[element].move_pattern == MV_ALL_DIRECTIONS) MovDir[x][y] = 1 << RND(4); else if (element_info[element].move_pattern == MV_HORIZONTAL) MovDir[x][y] = (RND(2) ? MV_LEFT : MV_RIGHT); @@ -2510,26 +2512,26 @@ void TurnRound(int x, int y) int x, y; } move_xy[] = { - { 0, 0 }, - {-1, 0 }, - {+1, 0 }, - { 0, 0 }, - { 0, -1 }, - { 0, 0 }, { 0, 0 }, { 0, 0 }, - { 0, +1 } + { 0, 0 }, + { -1, 0 }, + { +1, 0 }, + { 0, 0 }, + { 0, -1 }, + { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, +1 } }; static struct { int left, right, back; } turn[] = { - { 0, 0, 0 }, + { 0, 0, 0 }, { MV_DOWN, MV_UP, MV_RIGHT }, - { MV_UP, MV_DOWN, MV_LEFT }, - { 0, 0, 0 }, - { MV_LEFT, MV_RIGHT, MV_DOWN }, - { 0,0,0 }, { 0,0,0 }, { 0,0,0 }, - { MV_RIGHT, MV_LEFT, MV_UP } + { MV_UP, MV_DOWN, MV_LEFT }, + { 0, 0, 0 }, + { MV_LEFT, MV_RIGHT, MV_DOWN }, + { 0,0,0 }, { 0,0,0 }, { 0,0,0 }, + { MV_RIGHT, MV_LEFT, MV_UP } }; int element = Feld[x][y]; @@ -2927,9 +2929,13 @@ void TurnRound(int x, int y) { boolean can_turn_left = FALSE, can_turn_right = FALSE; - if (IN_LEV_FIELD(left_x, left_y) && IS_FREE(left_x, left_y)) + if (IN_LEV_FIELD(left_x, left_y) && + (IS_FREE(left_x, left_y) || + (IS_ENEMY(element) && IS_FREE_OR_PLAYER(left_x, left_y)))) can_turn_left = TRUE; - if (IN_LEV_FIELD(right_x, right_y) && IS_FREE(right_x, right_y)) + if (IN_LEV_FIELD(right_x, right_y) && + (IS_FREE(right_x, right_y) || + (IS_ENEMY(element) && IS_FREE_OR_PLAYER(right_x, right_y)))) can_turn_right = TRUE; if (can_turn_left && can_turn_right) @@ -2946,7 +2952,13 @@ void TurnRound(int x, int y) else if (element_info[element].move_pattern == MV_HORIZONTAL || element_info[element].move_pattern == MV_VERTICAL) { - MovDir[x][y] = back_dir; + if (element_info[element].move_pattern & old_move_dir) + MovDir[x][y] = back_dir; + else if (element_info[element].move_pattern == MV_HORIZONTAL) + MovDir[x][y] = (RND(2) ? MV_LEFT : MV_RIGHT); + else if (element_info[element].move_pattern == MV_VERTICAL) + MovDir[x][y] = (RND(2) ? MV_UP : MV_DOWN); + MovDelay[x][y] = GET_NEW_MOVE_DELAY(element); } else if (element_info[element].move_pattern & MV_ANY_DIRECTION) @@ -2956,21 +2968,31 @@ void TurnRound(int x, int y) } else if (element_info[element].move_pattern == MV_ALONG_LEFT_SIDE) { - if (IN_LEV_FIELD(left_x, left_y) && IS_FREE(left_x, left_y)) + if (IN_LEV_FIELD(left_x, left_y) && + (IS_FREE(left_x, left_y) || + (IS_ENEMY(element) && IS_FREE_OR_PLAYER(left_x, left_y)))) MovDir[x][y] = left_dir; - else if (!IN_LEV_FIELD(move_x, move_y) || !IS_FREE(move_x, move_y)) + else if (!IN_LEV_FIELD(move_x, move_y) || + (!IS_FREE(move_x, move_y) && + (!IS_ENEMY(element) || !IS_FREE_OR_PLAYER(move_x, move_y)))) MovDir[x][y] = right_dir; - MovDelay[x][y] = GET_NEW_MOVE_DELAY(element); + if (MovDir[x][y] != old_move_dir) + MovDelay[x][y] = GET_NEW_MOVE_DELAY(element); } else if (element_info[element].move_pattern == MV_ALONG_RIGHT_SIDE) { - if (IN_LEV_FIELD(right_x, right_y) && IS_FREE(right_x, right_y)) + if (IN_LEV_FIELD(right_x, right_y) && + (IS_FREE(right_x, right_y) || + (IS_ENEMY(element) && IS_FREE_OR_PLAYER(right_x, right_y)))) MovDir[x][y] = right_dir; - else if (!IN_LEV_FIELD(move_x, move_y) || !IS_FREE(move_x, move_y)) + else if (!IN_LEV_FIELD(move_x, move_y) || + (!IS_FREE(move_x, move_y) && + (!IS_ENEMY(element) || !IS_FREE_OR_PLAYER(move_x, move_y)))) MovDir[x][y] = left_dir; - MovDelay[x][y] = GET_NEW_MOVE_DELAY(element); + if (MovDir[x][y] != old_move_dir) + MovDelay[x][y] = GET_NEW_MOVE_DELAY(element); } else if (element_info[element].move_pattern == MV_TOWARDS_PLAYER || element_info[element].move_pattern == MV_AWAY_FROM_PLAYER) @@ -3027,6 +3049,8 @@ void TurnRound(int x, int y) Moving2Blocked(x, y, &newx, &newy); if (IN_LEV_FIELD(newx, newy) && (IS_FREE(newx, newy) || + (IS_ENEMY(element) && + IS_FREE_OR_PLAYER(newx, newy)) || Feld[newx][newy] == EL_ACID)) return; @@ -3035,6 +3059,8 @@ void TurnRound(int x, int y) Moving2Blocked(x, y, &newx, &newy); if (IN_LEV_FIELD(newx, newy) && (IS_FREE(newx, newy) || + (IS_ENEMY(element) && + IS_FREE_OR_PLAYER(newx, newy)) || Feld[newx][newy] == EL_ACID)) return; @@ -3346,11 +3372,36 @@ void StartMoving(int x, int y) { MovDelay[x][y]--; +#if 0 + if (element == EL_YAMYAM) + { + printf("::: %d\n", + el_act_dir2img(EL_YAMYAM, ACTION_WAITING, MV_LEFT)); + DrawLevelElementAnimation(x, y, element); + } +#endif + + if (MovDelay[x][y]) /* element still has to wait some time */ + { +#if 0 + /* !!! PLACE THIS SOMEWHERE AFTER "TurnRound()" !!! */ + ResetGfxAnimation(x, y); +#endif + GfxAction[x][y] = ACTION_WAITING; + } + if (element == EL_ROBOT || +#if 0 + element == EL_PACMAN || +#endif element == EL_YAMYAM || element == EL_DARK_YAMYAM) { +#if 0 + DrawLevelElementAnimation(x, y, element); +#else DrawLevelElementAnimationIfNeeded(x, y, element); +#endif PlaySoundLevelAction(x, y, ACTION_WAITING); } else if (element == EL_SP_ELECTRON) @@ -3404,6 +3455,8 @@ void StartMoving(int x, int y) return; } + + GfxAction[x][y] = ACTION_MOVING; } /* now make next step */ @@ -3413,7 +3466,6 @@ void StartMoving(int x, int y) if (IS_ENEMY(element) && IS_PLAYER(newx, newy) && !PLAYER_PROTECTED(newx, newy)) { - #if 1 TestIfBadThingRunsIntoHero(x, y, MovDir[x][y]); return; @@ -3425,8 +3477,11 @@ void StartMoving(int x, int y) #endif } - else if ((element == EL_PENGUIN || element == EL_ROBOT || - element == EL_SATELLITE || element == EL_BALLOON) && + else if ((element == EL_PENGUIN || + element == EL_ROBOT || + element == EL_SATELLITE || + element == EL_BALLOON || + IS_CUSTOM_ELEMENT(element)) && IN_LEV_FIELD(newx, newy) && MovDir[x][y] == MV_DOWN && Feld[newx][newy] == EL_ACID) { @@ -3604,23 +3659,30 @@ void StartMoving(int x, int y) TurnRound(x, y); - if (element == EL_BUG || element == EL_SPACESHIP || +#if 1 + DrawLevelElementAnimation(x, y, element); +#else + if (element == EL_BUG || + element == EL_SPACESHIP || element == EL_SP_SNIKSNAK) DrawLevelField(x, y); - else if (element == EL_BUG || element == EL_SPACESHIP || - element == EL_SP_SNIKSNAK || element == EL_MOLE) + else if (element == EL_MOLE) DrawLevelField(x, y); - else if (element == EL_BD_BUTTERFLY || element == EL_BD_FIREFLY) + else if (element == EL_BD_BUTTERFLY || + element == EL_BD_FIREFLY) DrawLevelElementAnimationIfNeeded(x, y, element); else if (element == EL_SATELLITE) DrawLevelElementAnimationIfNeeded(x, y, element); else if (element == EL_SP_ELECTRON) DrawLevelElementAnimationIfNeeded(x, y, element); +#endif if (DONT_TOUCH(element)) TestIfBadThingTouchesHero(x, y); +#if 0 PlaySoundLevelAction(x, y, ACTION_WAITING); +#endif return; } @@ -3789,7 +3851,7 @@ void ContinueMoving(int x, int y) TestIfFriendTouchesBadThing(newx, newy); if (CAN_SMASH(element) && direction == MV_DOWN && - (newy == lev_fieldy-1 || !IS_FREE(x, newy+1))) + (newy == lev_fieldy - 1 || !IS_FREE(x, newy + 1))) Impact(x, newy); } else /* still moving on */ @@ -4931,7 +4993,11 @@ void GameActions() for (y=0; y -1 || direction > -1) && el2img(element) != -1) + { + boolean base_redefined = getImageListEntry(el2img(element))->redefined; + boolean act_dir_redefined = getImageListEntry(graphic)->redefined; + + /* if the base graphic ("emerald", for example) has been redefined, + but not the action graphic ("emerald.falling", for example), do not + use an existing (in this case considered obsolete) action graphic + anymore, but use the automatically determined default graphic */ + if (base_redefined && !act_dir_redefined) + continue; + } + if (action < 0) action = ACTION_DEFAULT; @@ -455,6 +468,10 @@ void InitElementGraphicInfo() if (action < 0) action = ACTION_DEFAULT; + if (direction < 0) + for (dir=0; dir -1) element_info[element].direction_graphic[action][direction] = graphic; else @@ -541,6 +558,10 @@ void InitElementSpecialGraphicInfo() boolean base_redefined = getImageListEntry(el2img(element))->redefined; boolean special_redefined = getImageListEntry(graphic)->redefined; + /* if the base graphic ("emerald", for example) has been redefined, + but not the special graphic ("emerald.EDITOR", for example), do not + use an existing (in this case considered obsolete) special graphic + anymore, but use the automatically created (down-scaled) graphic */ if (base_redefined && !special_redefined) continue; @@ -1548,6 +1569,7 @@ void InitElementPropertiesStatic() EL_SPACESHIP, EL_BD_BUTTERFLY, EL_BD_FIREFLY, + EL_YAMYAM, EL_DARK_YAMYAM, EL_ROBOT, @@ -1563,15 +1585,17 @@ void InitElementPropertiesStatic() EL_SPACESHIP, EL_BD_BUTTERFLY, EL_BD_FIREFLY, + EL_YAMYAM, EL_DARK_YAMYAM, EL_ROBOT, EL_PACMAN, - EL_AMOEBA_DROP, - EL_ACID, EL_SP_SNIKSNAK, EL_SP_ELECTRON, + EL_AMOEBA_DROP, + EL_ACID, + /* !!! maybe this should better be handled by 'ep_diggable' !!! */ #if 1 EL_SP_BUGGY_BASE_ACTIVE, @@ -2430,6 +2454,14 @@ void InitElementPropertiesEngine(int engine_version) SET_PROPERTY(i, EP_EXPLOSION_PROOF, (IS_INDESTRUCTIBLE(i) && !IS_WALKABLE_OVER(i) && !IS_WALKABLE_UNDER(i))); + + /* ---------- ENEMY ---------------------------------------------------- */ + if (DONT_TOUCH(i)) + SET_PROPERTY(i, EP_ENEMY, TRUE); + + /* ---------- DONT_GO_TO ----------------------------------------------- */ + if (IS_ENEMY(i)) + SET_PROPERTY(i, EP_DONT_GO_TO, TRUE); } #if 0 @@ -2476,7 +2508,9 @@ void InitElementPropertiesEngine(int engine_version) } /* dynamically adjust element properties according to game engine version */ +#if 0 if (engine_version < RELEASE_IDENT(2,2,0,7)) +#endif { for (i=0; i < NUM_CUSTOM_ELEMENTS; i++) { diff --git a/src/main.h b/src/main.h index 23b431ef..8ffeb3de 100644 --- a/src/main.h +++ b/src/main.h @@ -63,9 +63,9 @@ /* values for configurable properties (custom elem's only, else pre-defined) */ #define EP_DIGGABLE 0 #define EP_COLLECTIBLE 1 -#define EP_UNUSED_2 2 -#define EP_UNUSED_3 3 -#define EP_UNUSED_4 4 +#define EP_DONT_GO_TO 2 +#define EP_ENEMY 3 +#define EP_DONT_TOUCH 4 #define EP_INDESTRUCTIBLE 5 #define EP_SLIPPERY 6 #define EP_CAN_EXPLODE 7 @@ -97,46 +97,44 @@ #define EP_PLAYER 27 #define EP_CAN_PASS_MAGIC_WALL 28 #define EP_SWITCHABLE 29 -#define EP_DONT_TOUCH 30 -#define EP_ENEMY 31 -#define EP_DONT_GO_TO 32 -#define EP_BD_ELEMENT 33 -#define EP_SP_ELEMENT 34 -#define EP_SB_ELEMENT 35 -#define EP_GEM 36 -#define EP_FOOD_DARK_YAMYAM 37 -#define EP_FOOD_PENGUIN 38 -#define EP_FOOD_PIG 39 -#define EP_HISTORIC_WALL 40 -#define EP_HISTORIC_SOLID 41 -#define EP_BELT 42 -#define EP_BELT_ACTIVE 43 -#define EP_BELT_SWITCH 44 -#define EP_TUBE 45 -#define EP_KEYGATE 46 -#define EP_AMOEBOID 47 -#define EP_AMOEBALIVE 48 -#define EP_HAS_CONTENT 49 -#define EP_ACTIVE_BOMB 50 -#define EP_INACTIVE 51 +#define EP_BD_ELEMENT 30 +#define EP_SP_ELEMENT 31 +#define EP_SB_ELEMENT 32 +#define EP_GEM 33 +#define EP_FOOD_DARK_YAMYAM 34 +#define EP_FOOD_PENGUIN 35 +#define EP_FOOD_PIG 36 +#define EP_HISTORIC_WALL 37 +#define EP_HISTORIC_SOLID 38 +#define EP_BELT 39 +#define EP_BELT_ACTIVE 40 +#define EP_BELT_SWITCH 41 +#define EP_TUBE 42 +#define EP_KEYGATE 43 +#define EP_AMOEBOID 44 +#define EP_AMOEBALIVE 45 +#define EP_HAS_CONTENT 46 +#define EP_ACTIVE_BOMB 47 +#define EP_INACTIVE 48 /* values for derived properties (determined from properties above) */ -#define EP_ACCESSIBLE_OVER 52 -#define EP_ACCESSIBLE_INSIDE 53 -#define EP_ACCESSIBLE_UNDER 54 -#define EP_WALKABLE 55 -#define EP_PASSABLE 56 -#define EP_ACCESSIBLE 57 -#define EP_SNAPPABLE 58 -#define EP_WALL 59 -#define EP_SOLID_FOR_PUSHING 60 -#define EP_DRAGONFIRE_PROOF 61 -#define EP_EXPLOSION_PROOF 62 +#define EP_ACCESSIBLE_OVER 49 +#define EP_ACCESSIBLE_INSIDE 50 +#define EP_ACCESSIBLE_UNDER 51 +#define EP_WALKABLE 52 +#define EP_PASSABLE 53 +#define EP_ACCESSIBLE 54 +#define EP_SNAPPABLE 55 +#define EP_WALL 56 +#define EP_SOLID_FOR_PUSHING 57 +#define EP_DRAGONFIRE_PROOF 58 +#define EP_EXPLOSION_PROOF 59 /* values for internal purpose only (level editor) */ -#define EP_WALK_TO_OBJECT 63 +#define EP_WALK_TO_OBJECT 60 +#define EP_DEADLY 61 -#define NUM_ELEMENT_PROPERTIES 64 +#define NUM_ELEMENT_PROPERTIES 62 #define NUM_EP_BITFIELDS ((NUM_ELEMENT_PROPERTIES + 31) / 32) #define EP_BITFIELD_BASE 0 @@ -172,6 +170,9 @@ /* macros for configurable properties */ #define IS_DIGGABLE(e) HAS_PROPERTY(e, EP_DIGGABLE) #define IS_COLLECTIBLE(e) HAS_PROPERTY(e, EP_COLLECTIBLE) +#define DONT_GO_TO(e) HAS_PROPERTY(e, EP_DONT_GO_TO) +#define IS_ENEMY(e) HAS_PROPERTY(e, EP_ENEMY) +#define DONT_TOUCH(e) HAS_PROPERTY(e, EP_DONT_TOUCH) #define IS_INDESTRUCTIBLE(e) HAS_PROPERTY(e, EP_INDESTRUCTIBLE) #define IS_SLIPPERY(e) HAS_PROPERTY(e, EP_SLIPPERY) #define CAN_EXPLODE(e) HAS_PROPERTY(e, EP_CAN_EXPLODE) @@ -184,8 +185,8 @@ #define IS_PASSABLE_OVER(e) HAS_PROPERTY(e, EP_PASSABLE_OVER) #define IS_PASSABLE_INSIDE(e) HAS_PROPERTY(e, EP_PASSABLE_INSIDE) #define IS_PASSABLE_UNDER(e) HAS_PROPERTY(e, EP_PASSABLE_UNDER) -#define IS_PUSHABLE(e) HAS_PROPERTY(e, EP_PUSHABLE) #define IS_CHANGEABLE(e) HAS_PROPERTY(e, EP_CHANGEABLE) +#define IS_PUSHABLE(e) HAS_PROPERTY(e, EP_PUSHABLE) /* macros for special configurable properties */ #define IS_EM_SLIPPERY_WALL(e) HAS_PROPERTY(e, EP_EM_SLIPPERY_WALL) @@ -197,9 +198,6 @@ #define ELEM_IS_PLAYER(e) HAS_PROPERTY(e, EP_PLAYER) #define CAN_PASS_MAGIC_WALL(e) HAS_PROPERTY(e, EP_CAN_PASS_MAGIC_WALL) #define IS_SWITCHABLE(e) HAS_PROPERTY(e, EP_SWITCHABLE) -#define DONT_TOUCH(e) HAS_PROPERTY(e, EP_DONT_TOUCH) -#define IS_ENEMY(e) HAS_PROPERTY(e, EP_ENEMY) -#define DONT_GO_TO(e) HAS_PROPERTY(e, EP_DONT_GO_TO) #define IS_BD_ELEMENT(e) HAS_PROPERTY(e, EP_BD_ELEMENT) #define IS_SP_ELEMENT(e) HAS_PROPERTY(e, EP_SP_ELEMENT) #define IS_SB_ELEMENT(e) HAS_PROPERTY(e, EP_SB_ELEMENT) @@ -1173,8 +1171,10 @@ struct ElementInfo int move_delay_random; /* additional random frame delay for moving */ int move_pattern; /* direction movable element moves to */ + int move_direction_initial; /* initial direction element moves to */ int walk_to_action; /* only for level editor; not stored */ + int deadliness; /* only for level editor; not stored */ int walkable_layer; /* only for level editor; not stored */ int content[3][3]; /* new elements after explosion */ diff --git a/src/screens.c b/src/screens.c index f10614fd..1b8d27b4 100644 --- a/src/screens.c +++ b/src/screens.c @@ -253,14 +253,12 @@ void DrawMainMenu() DrawTextF(mSX + 32 + level_width - 2, mSY + 3*32 + 1, FONT_TEXT_3, "%d-%d", leveldir_current->first_level, leveldir_current->last_level); - /* if (leveldir_current->readonly) - */ { - DrawTextF(mSX + level_width + 9*32 - 2, - mSY + 3*32 + 1 - 7, FONT_TEXT_3, "READ"); - DrawTextF(mSX + level_width + 9*32 - 2, - mSY + 3*32 + 1 + 7, FONT_TEXT_3, "ONLY"); + DrawTextF(mSX + level_width + 9 * 32 - 2, + mSY + 3 * 32 + 1 - 7, FONT_TEXT_3, "READ"); + DrawTextF(mSX + level_width + 9 * 32 - 2, + mSY + 3 * 32 + 1 + 7, FONT_TEXT_3, "ONLY"); } for(i=0; i<8; i++) diff --git a/src/tools.c b/src/tools.c index 4fe26689..f2f3cdd0 100644 --- a/src/tools.c +++ b/src/tools.c @@ -483,7 +483,13 @@ void DrawLevelGraphicAnimation(int x, int y, int graphic) void DrawLevelElementAnimation(int x, int y, int element) { +#if 1 + int graphic = el_act_dir2img(element, GfxAction[x][y], MovDir[x][y]); + + DrawGraphicAnimation(SCREENX(x), SCREENY(y), graphic); +#else DrawGraphicAnimation(SCREENX(x), SCREENY(y), el2img(element)); +#endif } inline void DrawLevelGraphicAnimationIfNeeded(int x, int y, int graphic) @@ -925,11 +931,7 @@ void DrawGraphicShifted(int x,int y, int dx,int dy, int graphic, int frame, { Bitmap *src_bitmap; GC drawing_gc; - int src_x; - int src_y; - int offset_x; - int offset_y; - + int src_x, src_y; int width = TILEX, height = TILEY; int cx = 0, cy = 0; int dest_x, dest_y; @@ -1004,16 +1006,20 @@ void DrawGraphicShifted(int x,int y, int dx,int dy, int graphic, int frame, MarkTileDirty(x, y + SIGN(dy)); } +#if 1 + getGraphicSource(graphic, frame, &src_bitmap, &src_x, &src_y); +#else src_bitmap = graphic_info[graphic].bitmap; src_x = graphic_info[graphic].src_x; src_y = graphic_info[graphic].src_y; offset_x = graphic_info[graphic].offset_x; offset_y = graphic_info[graphic].offset_y; - drawing_gc = src_bitmap->stored_clip_gc; - src_x += frame * offset_x; src_y += frame * offset_y; +#endif + + drawing_gc = src_bitmap->stored_clip_gc; src_x += cx; src_y += cy; @@ -1456,6 +1462,7 @@ void getMicroGraphicSource(int graphic, Bitmap **bitmap, int *x, int *y) int src_x = mini_startx + graphic_info[graphic].src_x / 8; int src_y = mini_starty + graphic_info[graphic].src_y / 8; +#if 0 if (src_x + MICRO_TILEX > src_bitmap->width || src_y + MICRO_TILEY > src_bitmap->height) { @@ -1466,6 +1473,7 @@ void getMicroGraphicSource(int graphic, Bitmap **bitmap, int *x, int *y) src_x += (TILEX / 2 - MICRO_TILEX / 2); src_y += (TILEY / 2 - MICRO_TILEY / 2); } +#endif *bitmap = src_bitmap; *x = src_x;