From db82bf99bbd6d246f3e8da19fe88705f7015f144 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 16 Nov 2015 20:39:21 +0300 Subject: Move TextCommandType enum into separate file and convert to strong typed. --- src/textcommand.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/textcommand.h') 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 @@ -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. */ -- cgit v1.2.3-60-g2f50