diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-16 20:39:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-11-16 20:39:21 +0300 |
commit | db82bf99bbd6d246f3e8da19fe88705f7015f144 (patch) | |
tree | 3fdd7e569c428b611ddaa80f59ff93da4ade1ed0 /src/textcommand.h | |
parent | 11000f010f19a2de85ba26660b451c7c41ab3a97 (diff) | |
download | mv-db82bf99bbd6d246f3e8da19fe88705f7015f144.tar.gz mv-db82bf99bbd6d246f3e8da19fe88705f7015f144.tar.bz2 mv-db82bf99bbd6d246f3e8da19fe88705f7015f144.tar.xz mv-db82bf99bbd6d246f3e8da19fe88705f7015f144.zip |
Move TextCommandType enum into separate file and convert to strong typed.
Diffstat (limited to 'src/textcommand.h')
-rw-r--r-- | src/textcommand.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/textcommand.h b/src/textcommand.h index d09a1b9be..cf7df586a 100644 --- a/src/textcommand.h +++ b/src/textcommand.h @@ -25,6 +25,7 @@ #include "enums/commandtarget.h" #include "enums/magicschool.h" +#include "enums/textcommandtype.h" #include <string> @@ -34,12 +35,6 @@ const unsigned int MAGIC_START_ID = 340; class Image; -enum TextCommandType -{ - TEXT_COMMAND_MAGIC = 0, - TEXT_COMMAND_TEXT = 1 -}; - /** * Represents one or more instances of a certain item type. */ |