2 * Copyright (c) 2007, 2008, 2009, Czirkos Zoltan <cirix@fw.hu>
4 * Permission to use, copy, modify, and distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
21 // These are the objects in caves.
26 O_DIRT_SLOPED_UP_RIGHT,
27 O_DIRT_SLOPED_UP_LEFT,
28 O_DIRT_SLOPED_DOWN_LEFT,
29 O_DIRT_SLOPED_DOWN_RIGHT,
36 O_BRICK_SLOPED_UP_RIGHT,
37 O_BRICK_SLOPED_UP_LEFT,
38 O_BRICK_SLOPED_DOWN_LEFT,
39 O_BRICK_SLOPED_DOWN_RIGHT,
47 O_STEEL_SLOPED_UP_RIGHT,
48 O_STEEL_SLOPED_UP_LEFT,
49 O_STEEL_SLOPED_DOWN_LEFT,
50 O_STEEL_SLOPED_DOWN_RIGHT,
71 O_H_EXPANDING_STEEL_WALL,
72 O_V_EXPANDING_STEEL_WALL,
73 O_EXPANDING_STEEL_WALL,
74 O_EXPANDING_WALL_SWITCH,
79 O_CONVEYOR_DIR_SWITCH,
193 O_PLAYER_ROCKET_LAUNCHER,
214 O_NITRO_PACK_EXPLODE,
259 // these are used internally for the pneumatic hammer, and should not be used in the editor!
260 // (not even as an effect destination or something like that)
261 O_PLAYER_PNEUMATIC_LEFT,
262 O_PLAYER_PNEUMATIC_RIGHT,
263 O_PNEUMATIC_ACTIVE_LEFT,
264 O_PNEUMATIC_ACTIVE_RIGHT,
266 O_UNKNOWN, // unknown element imported or read from bdcff
267 O_NONE, // do not draw this element when creating cave; can be used,
268 // for example, to skip drawing a maze's path
270 O_MAX, // remembering last index: this should get an integer value
271 // which is 1 more than the one above.
273 // fake elements to help drawing
289 O_CREATURE_SWITCH_ON,
290 O_EXPANDING_WALL_SWITCH_HORIZ,
291 O_EXPANDING_WALL_SWITCH_VERT,
292 O_GRAVITY_SWITCH_ACTIVE,
293 O_REPLICATOR_SWITCH_ON,
294 O_REPLICATOR_SWITCH_OFF,
295 O_CONVEYOR_DIR_NORMAL,
296 O_CONVEYOR_DIR_CHANGED,
297 O_CONVEYOR_SWITCH_OFF,
298 O_CONVEYOR_SWITCH_ON,
302 O_CONVEYOR_LEFT_ACTIVE,
303 O_CONVEYOR_RIGHT_ACTIVE,
324 // binary AND this to elements to get rid of properties above.
325 O_MASK = ~(SCANNED | COVERED | SKIPPED)
335 GD_S_MEGA_STONE_PUSHING,
336 GD_S_MEGA_STONE_FALLING,
337 GD_S_MEGA_STONE_IMPACT,
338 GD_S_FLYING_STONE_PUSHING,
339 GD_S_FLYING_STONE_FALLING,
340 GD_S_FLYING_STONE_IMPACT,
341 GD_S_WAITING_STONE_PUSHING,
342 GD_S_CHASING_STONE_PUSHING,
347 GD_S_DIRT_BALL_FALLING,
348 GD_S_DIRT_BALL_IMPACT,
349 GD_S_DIRT_LOOSE_FALLING,
350 GD_S_DIRT_LOOSE_IMPACT,
351 GD_S_NITRO_PACK_PUSHING,
352 GD_S_NITRO_PACK_FALLING,
353 GD_S_NITRO_PACK_IMPACT,
354 GD_S_FALLING_WALL_FALLING,
355 GD_S_FALLING_WALL_IMPACT,
357 GD_S_WALL_REAPPEARING,
358 GD_S_DIAMOND_FALLING_RANDOM, // randomly select a diamond falling sound
359 GD_S_DIAMOND_FALLING_1,
360 GD_S_DIAMOND_FALLING_2,
361 GD_S_DIAMOND_FALLING_3,
362 GD_S_DIAMOND_FALLING_4,
363 GD_S_DIAMOND_FALLING_5,
364 GD_S_DIAMOND_FALLING_6,
365 GD_S_DIAMOND_FALLING_7,
366 GD_S_DIAMOND_FALLING_8,
367 GD_S_DIAMOND_IMPACT_RANDOM, // randomly select a diamond impact sound
368 GD_S_DIAMOND_IMPACT_1,
369 GD_S_DIAMOND_IMPACT_2,
370 GD_S_DIAMOND_IMPACT_3,
371 GD_S_DIAMOND_IMPACT_4,
372 GD_S_DIAMOND_IMPACT_5,
373 GD_S_DIAMOND_IMPACT_6,
374 GD_S_DIAMOND_IMPACT_7,
375 GD_S_DIAMOND_IMPACT_8,
376 GD_S_FLYING_DIAMOND_FALLING_RANDOM, // randomly select a flying diamond falling sound
377 GD_S_FLYING_DIAMOND_FALLING_1,
378 GD_S_FLYING_DIAMOND_FALLING_2,
379 GD_S_FLYING_DIAMOND_FALLING_3,
380 GD_S_FLYING_DIAMOND_FALLING_4,
381 GD_S_FLYING_DIAMOND_FALLING_5,
382 GD_S_FLYING_DIAMOND_FALLING_6,
383 GD_S_FLYING_DIAMOND_FALLING_7,
384 GD_S_FLYING_DIAMOND_FALLING_8,
385 GD_S_FLYING_DIAMOND_IMPACT_RANDOM, // randomly select a flying diamond impact sound
386 GD_S_FLYING_DIAMOND_IMPACT_1,
387 GD_S_FLYING_DIAMOND_IMPACT_2,
388 GD_S_FLYING_DIAMOND_IMPACT_3,
389 GD_S_FLYING_DIAMOND_IMPACT_4,
390 GD_S_FLYING_DIAMOND_IMPACT_5,
391 GD_S_FLYING_DIAMOND_IMPACT_6,
392 GD_S_FLYING_DIAMOND_IMPACT_7,
393 GD_S_FLYING_DIAMOND_IMPACT_8,
394 GD_S_DIAMOND_COLLECTING,
395 GD_S_FLYING_DIAMOND_COLLECTING,
396 GD_S_SKELETON_COLLECTING,
397 GD_S_PNEUMATIC_COLLECTING,
398 GD_S_BOMB_COLLECTING,
399 GD_S_CLOCK_COLLECTING,
400 GD_S_SWEET_COLLECTING,
402 GD_S_DIAMOND_KEY_COLLECTING,
408 GD_S_BLADDER_PUSHING,
409 GD_S_BLADDER_CONVERTING,
410 GD_S_BLADDER_SPENDER,
432 GD_S_GHOST_EXPLODING,
433 GD_S_VOODOO_EXPLODING,
434 GD_S_NITRO_PACK_EXPLODING,
436 GD_S_FINISHED, // loop
438 GD_S_SWITCH_CREATURES,
440 GD_S_SWITCH_EXPANDING,
441 GD_S_SWITCH_CONVEYOR,
442 GD_S_SWITCH_REPLICATOR,
445 GD_S_AMOEBA_MAGIC, // loop
446 GD_S_MAGIC_WALL, // loop
447 GD_S_COVERING, // loop
448 GD_S_PNEUMATIC_HAMMER, // loop
452 GD_S_GRAVITY_CHANGING,
458 #endif // BD_ELEMENTS_H