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/type.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/type.h')
-rw-r--r-- | include/constants/type.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/constants/type.h b/include/constants/type.h new file mode 100644 index 0000000..8c982fd --- /dev/null +++ b/include/constants/type.h @@ -0,0 +1,25 @@ +#ifndef GUARD_CONSTANTS_TYPE_H +#define GUARD_CONSTANTS_TYPE_H + +enum Type +{ + TYPE_NORMAL = 0x1, + TYPE_FIRE = 0x2, + TYPE_WATER = 0x3, + TYPE_GRASS = 0x4, + TYPE_ELECTRIC = 0x5, + TYPE_ICE = 0x6, + TYPE_FIGHTING = 0x7, + TYPE_POISON = 0x8, + TYPE_GROUND = 0x9, + TYPE_FLYING = 0xA, + TYPE_PSYCHIC = 0xB, + TYPE_BUG = 0xC, + TYPE_ROCK = 0xD, + TYPE_GHOST = 0xE, + TYPE_DRAGON = 0xF, + TYPE_DARK = 0x10, + TYPE_STEEL = 0x11 +}; + +#endif |