From 8237e29a164211eb2ec4cd161eb4183cc1947fee Mon Sep 17 00:00:00 2001 From: Cheng Hann Gan Date: Thu, 9 Sep 2021 19:22:48 -0400 Subject: 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 * Renamed symbols per PR comments Co-authored-by: Cheng Hann Gan Co-authored-by: Seth Barberee --- include/constants/type.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 include/constants/type.h (limited to 'include/constants/type.h') 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 -- cgit v1.2.3