diff options
author | Cheng Hann Gan <chenghanngan.us@gmail.com> | 2021-09-09 19:22:48 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-09 16:22:48 -0700 |
commit | 8237e29a164211eb2ec4cd161eb4183cc1947fee (patch) | |
tree | 67dc502264b755dc620f56969f3bea68a40b17af /include/constants/trap.h | |
parent | 4eff1882443b0004d9c9fa4895cdfefdc356565f (diff) |
Defined more in-dungeon structs and enums (#53)
* Defined DungeonEntity
* Rename EntityType enums
* Revert EntityType rename
* Defined more in-dungeon structs and enums
* Added more dungeon global structs/enums
* Prefixed dungeonGlobalData with g
* Fixed compile errors
* Removed some CRLFs
* Fixed compile after merge
* Revert Makefile
* Rename DungeonEntityData.entityType
Co-authored-by: Seth Barberee <seth.barberee@gmail.com>
* Renamed symbols per PR comments
Co-authored-by: Cheng Hann Gan <chenghann_gan@ultimatesoftware.com>
Co-authored-by: Seth Barberee <seth.barberee@gmail.com>
Diffstat (limited to 'include/constants/trap.h')
-rw-r--r-- | include/constants/trap.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/include/constants/trap.h b/include/constants/trap.h new file mode 100644 index 0000000..cbc3454 --- /dev/null +++ b/include/constants/trap.h @@ -0,0 +1,28 @@ +#ifndef GUARD_CONSTANTS_TRAP_H +#define GUARD_CONSTANTS_TRAP_H + +enum TrapType +{ + TRIP_TRAP = 0x0, + MUD_TRAP = 0x1, + STICKY_TRAP = 0x2, + GRIMY_TRAP = 0x3, + SUMMON_TRAP = 0x4, + PITFALL_TRAP = 0x5, + WARP_TRAP = 0x6, + WHIRLWIND_TRAP = 0x7, + SPIN_TRAP = 0x8, + SLUMBER_TRAP = 0x9, + SLOW_TRAP = 0xA, + SEAL_TRAP = 0xB, + POISON_TRAP = 0xC, + SELFDESTRUCT_TRAP = 0xD, + EXPLOSION_TRAP = 0xE, + PP_ZERO_TRAP = 0xF, + CHESTNUT_TRAP = 0x10, + WONDER_TILE = 0x11, + POKEMON_TRAP = 0x12, + SPIKE_TRAP = 0x13 +}; + +#endif |