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
285 O_CREATURE_SWITCH_ON,
286 O_EXPANDING_WALL_SWITCH_HORIZ,
287 O_EXPANDING_WALL_SWITCH_VERT,
288 O_GRAVITY_SWITCH_ACTIVE,
289 O_REPLICATOR_SWITCH_ON,
290 O_REPLICATOR_SWITCH_OFF,
291 O_CONVEYOR_DIR_NORMAL,
292 O_CONVEYOR_DIR_CHANGED,
293 O_CONVEYOR_SWITCH_OFF,
294 O_CONVEYOR_SWITCH_ON,
298 O_CONVEYOR_LEFT_ACTIVE,
299 O_CONVEYOR_RIGHT_ACTIVE,
320 // binary AND this to elements to get rid of properties above.
321 O_MASK = ~(SCANNED | COVERED | SKIPPED)
331 GD_S_MEGA_STONE_PUSHING,
332 GD_S_MEGA_STONE_FALLING,
333 GD_S_MEGA_STONE_IMPACT,
334 GD_S_FLYING_STONE_PUSHING,
335 GD_S_FLYING_STONE_FALLING,
336 GD_S_FLYING_STONE_IMPACT,
337 GD_S_WAITING_STONE_PUSHING,
338 GD_S_CHASING_STONE_PUSHING,
343 GD_S_DIRT_BALL_FALLING,
344 GD_S_DIRT_BALL_IMPACT,
345 GD_S_DIRT_LOOSE_FALLING,
346 GD_S_DIRT_LOOSE_IMPACT,
347 GD_S_NITRO_PACK_PUSHING,
348 GD_S_NITRO_PACK_FALLING,
349 GD_S_NITRO_PACK_IMPACT,
350 GD_S_FALLING_WALL_FALLING,
351 GD_S_FALLING_WALL_IMPACT,
353 GD_S_WALL_REAPPEARING,
354 GD_S_DIAMOND_FALLING_RANDOM, // randomly select a diamond falling sound
355 GD_S_DIAMOND_FALLING_1,
356 GD_S_DIAMOND_FALLING_2,
357 GD_S_DIAMOND_FALLING_3,
358 GD_S_DIAMOND_FALLING_4,
359 GD_S_DIAMOND_FALLING_5,
360 GD_S_DIAMOND_FALLING_6,
361 GD_S_DIAMOND_FALLING_7,
362 GD_S_DIAMOND_FALLING_8,
363 GD_S_DIAMOND_IMPACT_RANDOM, // randomly select a diamond impact sound
364 GD_S_DIAMOND_IMPACT_1,
365 GD_S_DIAMOND_IMPACT_2,
366 GD_S_DIAMOND_IMPACT_3,
367 GD_S_DIAMOND_IMPACT_4,
368 GD_S_DIAMOND_IMPACT_5,
369 GD_S_DIAMOND_IMPACT_6,
370 GD_S_DIAMOND_IMPACT_7,
371 GD_S_DIAMOND_IMPACT_8,
372 GD_S_FLYING_DIAMOND_FALLING_RANDOM, // randomly select a flying diamond falling sound
373 GD_S_FLYING_DIAMOND_FALLING_1,
374 GD_S_FLYING_DIAMOND_FALLING_2,
375 GD_S_FLYING_DIAMOND_FALLING_3,
376 GD_S_FLYING_DIAMOND_FALLING_4,
377 GD_S_FLYING_DIAMOND_FALLING_5,
378 GD_S_FLYING_DIAMOND_FALLING_6,
379 GD_S_FLYING_DIAMOND_FALLING_7,
380 GD_S_FLYING_DIAMOND_FALLING_8,
381 GD_S_FLYING_DIAMOND_IMPACT_RANDOM, // randomly select a flying diamond impact sound
382 GD_S_FLYING_DIAMOND_IMPACT_1,
383 GD_S_FLYING_DIAMOND_IMPACT_2,
384 GD_S_FLYING_DIAMOND_IMPACT_3,
385 GD_S_FLYING_DIAMOND_IMPACT_4,
386 GD_S_FLYING_DIAMOND_IMPACT_5,
387 GD_S_FLYING_DIAMOND_IMPACT_6,
388 GD_S_FLYING_DIAMOND_IMPACT_7,
389 GD_S_FLYING_DIAMOND_IMPACT_8,
390 GD_S_DIAMOND_COLLECTING,
391 GD_S_FLYING_DIAMOND_COLLECTING,
392 GD_S_SKELETON_COLLECTING,
393 GD_S_PNEUMATIC_COLLECTING,
394 GD_S_BOMB_COLLECTING,
395 GD_S_CLOCK_COLLECTING,
396 GD_S_SWEET_COLLECTING,
398 GD_S_DIAMOND_KEY_COLLECTING,
404 GD_S_BLADDER_PUSHING,
405 GD_S_BLADDER_CONVERTING,
406 GD_S_BLADDER_SPENDER,
428 GD_S_GHOST_EXPLODING,
429 GD_S_VOODOO_EXPLODING,
430 GD_S_NITRO_PACK_EXPLODING,
432 GD_S_FINISHED, // loop
434 GD_S_SWITCH_CREATURES,
436 GD_S_SWITCH_EXPANDING,
437 GD_S_SWITCH_CONVEYOR,
438 GD_S_SWITCH_REPLICATOR,
441 GD_S_AMOEBA_MAGIC, // loop
442 GD_S_MAGIC_WALL, // loop
443 GD_S_COVERING, // loop
444 GD_S_PNEUMATIC_HAMMER, // loop
448 GD_S_GRAVITY_CHANGING,
454 #endif // BD_ELEMENTS_H