diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-31 01:31:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-31 01:31:35 +0300 |
commit | a5766506d6e75ab1d2a4f06b77fddf6fdd65c64e (patch) | |
tree | ed18708702bb47cf5bd1fedeb8b1b12e75b71f1d | |
parent | c91a3307224f79d08f8f85787310aea6a5d03c5f (diff) | |
download | manaplus-a5766506d6e75ab1d2a4f06b77fddf6fdd65c64e.tar.gz manaplus-a5766506d6e75ab1d2a4f06b77fddf6fdd65c64e.tar.bz2 manaplus-a5766506d6e75ab1d2a4f06b77fddf6fdd65c64e.tar.xz manaplus-a5766506d6e75ab1d2a4f06b77fddf6fdd65c64e.zip |
Convert BlitMode enum into strong typed enum.
-rw-r--r-- | src/enums/render/blitmode.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/enums/render/blitmode.h b/src/enums/render/blitmode.h index 2bac6334b..9cb30d391 100644 --- a/src/enums/render/blitmode.h +++ b/src/enums/render/blitmode.h @@ -23,15 +23,13 @@ #ifndef ENUMS_RENDER_BLITMODE_H #define ENUMS_RENDER_BLITMODE_H -namespace BlitMode -{ - enum T - { - BLIT_NORMAL = 0, - BLIT_GFX - }; -} // namespace BlitMode +#include "enums/simpletypes/enumdefines.h" -typedef BlitMode::T BlitModeT; +enumStart(BlitMode) +{ + BLIT_NORMAL = 0, + BLIT_GFX +} +enumEnd(BlitMode); #endif // ENUMS_RENDER_BLITMODE_H |