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,
207 O_NITRO_PACK_EXPLODE,
252 // these are used internally for the pneumatic hammer, and should not be used in the editor!
253 // (not even as an effect destination or something like that)
254 O_PLAYER_PNEUMATIC_LEFT,
255 O_PLAYER_PNEUMATIC_RIGHT,
256 O_PNEUMATIC_ACTIVE_LEFT,
257 O_PNEUMATIC_ACTIVE_RIGHT,
259 O_UNKNOWN, // unknown element imported or read from bdcff
260 O_NONE, // do not draw this element when creating cave; can be used,
261 // for example, to skip drawing a maze's path
263 O_MAX, // remembering last index: this should get an integer value
264 // which is 1 more than the one above.
266 // fake elements to help drawing
278 O_CREATURE_SWITCH_ON,
279 O_EXPANDING_WALL_SWITCH_HORIZ,
280 O_EXPANDING_WALL_SWITCH_VERT,
281 O_GRAVITY_SWITCH_ACTIVE,
282 O_REPLICATOR_SWITCH_ON,
283 O_REPLICATOR_SWITCH_OFF,
284 O_CONVEYOR_DIR_NORMAL,
285 O_CONVEYOR_DIR_CHANGED,
286 O_CONVEYOR_SWITCH_OFF,
287 O_CONVEYOR_SWITCH_ON,
291 O_CONVEYOR_LEFT_ACTIVE,
292 O_CONVEYOR_RIGHT_ACTIVE,
313 // binary AND this to elements to get rid of properties above.
314 O_MASK = ~(SCANNED | COVERED | SKIPPED)
324 GD_S_MEGA_STONE_PUSHING,
325 GD_S_MEGA_STONE_FALLING,
326 GD_S_MEGA_STONE_IMPACT,
327 GD_S_FLYING_STONE_PUSHING,
328 GD_S_FLYING_STONE_FALLING,
329 GD_S_FLYING_STONE_IMPACT,
330 GD_S_WAITING_STONE_PUSHING,
331 GD_S_CHASING_STONE_PUSHING,
336 GD_S_DIRT_BALL_FALLING,
337 GD_S_DIRT_BALL_IMPACT,
338 GD_S_DIRT_LOOSE_FALLING,
339 GD_S_DIRT_LOOSE_IMPACT,
340 GD_S_NITRO_PACK_PUSHING,
341 GD_S_NITRO_PACK_FALLING,
342 GD_S_NITRO_PACK_IMPACT,
343 GD_S_FALLING_WALL_FALLING,
344 GD_S_FALLING_WALL_IMPACT,
346 GD_S_WALL_REAPPEARING,
347 GD_S_DIAMOND_FALLING_RANDOM, // randomly select a diamond falling sound
348 GD_S_DIAMOND_FALLING_1,
349 GD_S_DIAMOND_FALLING_2,
350 GD_S_DIAMOND_FALLING_3,
351 GD_S_DIAMOND_FALLING_4,
352 GD_S_DIAMOND_FALLING_5,
353 GD_S_DIAMOND_FALLING_6,
354 GD_S_DIAMOND_FALLING_7,
355 GD_S_DIAMOND_FALLING_8,
356 GD_S_DIAMOND_IMPACT_RANDOM, // randomly select a diamond impact sound
357 GD_S_DIAMOND_IMPACT_1,
358 GD_S_DIAMOND_IMPACT_2,
359 GD_S_DIAMOND_IMPACT_3,
360 GD_S_DIAMOND_IMPACT_4,
361 GD_S_DIAMOND_IMPACT_5,
362 GD_S_DIAMOND_IMPACT_6,
363 GD_S_DIAMOND_IMPACT_7,
364 GD_S_DIAMOND_IMPACT_8,
365 GD_S_FLYING_DIAMOND_FALLING_RANDOM, // randomly select a flying diamond falling sound
366 GD_S_FLYING_DIAMOND_FALLING_1,
367 GD_S_FLYING_DIAMOND_FALLING_2,
368 GD_S_FLYING_DIAMOND_FALLING_3,
369 GD_S_FLYING_DIAMOND_FALLING_4,
370 GD_S_FLYING_DIAMOND_FALLING_5,
371 GD_S_FLYING_DIAMOND_FALLING_6,
372 GD_S_FLYING_DIAMOND_FALLING_7,
373 GD_S_FLYING_DIAMOND_FALLING_8,
374 GD_S_FLYING_DIAMOND_IMPACT_RANDOM, // randomly select a flying diamond impact sound
375 GD_S_FLYING_DIAMOND_IMPACT_1,
376 GD_S_FLYING_DIAMOND_IMPACT_2,
377 GD_S_FLYING_DIAMOND_IMPACT_3,
378 GD_S_FLYING_DIAMOND_IMPACT_4,
379 GD_S_FLYING_DIAMOND_IMPACT_5,
380 GD_S_FLYING_DIAMOND_IMPACT_6,
381 GD_S_FLYING_DIAMOND_IMPACT_7,
382 GD_S_FLYING_DIAMOND_IMPACT_8,
383 GD_S_DIAMOND_COLLECTING,
384 GD_S_FLYING_DIAMOND_COLLECTING,
385 GD_S_SKELETON_COLLECTING,
386 GD_S_PNEUMATIC_COLLECTING,
387 GD_S_BOMB_COLLECTING,
388 GD_S_CLOCK_COLLECTING,
389 GD_S_SWEET_COLLECTING,
391 GD_S_DIAMOND_KEY_COLLECTING,
397 GD_S_BLADDER_PUSHING,
398 GD_S_BLADDER_CONVERTING,
399 GD_S_BLADDER_SPENDER,
421 GD_S_GHOST_EXPLODING,
422 GD_S_VOODOO_EXPLODING,
423 GD_S_NITRO_PACK_EXPLODING,
425 GD_S_FINISHED, // loop
427 GD_S_SWITCH_CREATURES,
429 GD_S_SWITCH_EXPANDING,
430 GD_S_SWITCH_CONVEYOR,
431 GD_S_SWITCH_REPLICATOR,
434 GD_S_AMOEBA_MAGIC, // loop
435 GD_S_MAGIC_WALL, // loop
436 GD_S_COVERING, // loop
437 GD_S_PNEUMATIC_HAMMER, // loop
441 GD_S_GRAVITY_CHANGING,
447 #endif // BD_ELEMENTS_H