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/direction.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/direction.h')
-rw-r--r-- | include/constants/direction.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/constants/direction.h b/include/constants/direction.h new file mode 100644 index 0000000..5f2bfb3 --- /dev/null +++ b/include/constants/direction.h @@ -0,0 +1,16 @@ +#ifndef GUARD_CONSTANTS_DIRECTION_H +#define GUARD_CONSTANTS_DIRECTION_H + +enum Direction +{ + DIRECTION_SOUTH, + DIRECTION_SOUTHEAST, + DIRECTION_EAST, + DIRECTION_NORTHEAST, + DIRECTION_NORTH, + DIRECTION_NORTHWEST, + DIRECTION_WEST, + DIRECTION_SOUTHWEST +}; + +#endif |