diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/enums/being/relation.h | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/src/enums/being/relation.h b/src/enums/being/relation.h index 31408ef7b..096943521 100644 --- a/src/enums/being/relation.h +++ b/src/enums/being/relation.h @@ -23,20 +23,18 @@ #ifndef ENUMS_BEING_RELATION_H #define ENUMS_BEING_RELATION_H -namespace Relation -{ - enum T - { - NEUTRAL = 0, - FRIEND = 1, - DISREGARDED = 2, - IGNORED = 3, - ERASED = 4, - BLACKLISTED = 5, - ENEMY2 = 6 - }; -} // namespace Relation +#include "enums/simpletypes/enumdefines.h" -typedef Relation::T RelationT; +enumStart(Relation) +{ + NEUTRAL = 0, + FRIEND = 1, + DISREGARDED = 2, + IGNORED = 3, + ERASED = 4, + BLACKLISTED = 5, + ENEMY2 = 6 +} +enumEnd(Relation); #endif // ENUMS_BEING_RELATION_H |