summaryrefslogtreecommitdiff
path: root/src/enums
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-31 01:31:35 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-31 01:31:35 +0300
commita5766506d6e75ab1d2a4f06b77fddf6fdd65c64e (patch)
treeed18708702bb47cf5bd1fedeb8b1b12e75b71f1d /src/enums
parentc91a3307224f79d08f8f85787310aea6a5d03c5f (diff)
downloadmanaverse-a5766506d6e75ab1d2a4f06b77fddf6fdd65c64e.tar.gz
manaverse-a5766506d6e75ab1d2a4f06b77fddf6fdd65c64e.tar.bz2
manaverse-a5766506d6e75ab1d2a4f06b77fddf6fdd65c64e.tar.xz
manaverse-a5766506d6e75ab1d2a4f06b77fddf6fdd65c64e.zip
Convert BlitMode enum into strong typed enum.
Diffstat (limited to 'src/enums')
-rw-r--r--src/enums/render/blitmode.h16
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