summaryrefslogtreecommitdiff
path: root/src/map/magic-interpreter.t.hpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-07-23 23:55:41 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-08-05 17:41:35 -0700
commita7f64f0b39cb7141f16608c171b20bee452fd024 (patch)
tree6ceb293db3488161d4d5a620536560506e63134f /src/map/magic-interpreter.t.hpp
parent7abac74323e2566173ea586e9acadac1ebf59098 (diff)
downloadtmwa-a7f64f0b39cb7141f16608c171b20bee452fd024.tar.gz
tmwa-a7f64f0b39cb7141f16608c171b20bee452fd024.tar.bz2
tmwa-a7f64f0b39cb7141f16608c171b20bee452fd024.tar.xz
tmwa-a7f64f0b39cb7141f16608c171b20bee452fd024.zip
In magic, use Variant for all the old anonymous nested unions
Diffstat (limited to 'src/map/magic-interpreter.t.hpp')
-rw-r--r--src/map/magic-interpreter.t.hpp70
1 files changed, 0 insertions, 70 deletions
diff --git a/src/map/magic-interpreter.t.hpp b/src/map/magic-interpreter.t.hpp
index 095922a..ab151fc 100644
--- a/src/map/magic-interpreter.t.hpp
+++ b/src/map/magic-interpreter.t.hpp
@@ -35,58 +35,6 @@ enum class SPELLARG : uint8_t
STRING,
};
-enum class TYPE : uint8_t
-{
- UNDEF,
- INT,
- DIR,
- STRING,
- ENTITY,
- LOCATION,
- AREA,
- SPELL,
- INVOCATION,
- FAIL = 127,
-
- NEGATIVE_1 = 255,
-};
-
-enum class AREA : uint8_t
-{
- LOCATION,
- UNION,
- RECT,
- BAR,
-};
-
-enum class EXPR : uint8_t
-{
- VAL,
- LOCATION,
- AREA,
- FUNAPP,
- ID,
- SPELLFIELD,
-};
-
-// temporary rename to avoid collision with enum value
-// in magic-interpreter-parser
-enum class EFFECT : uint8_t
-{
- SKIP,
- ABORT,
- ASSIGN,
- FOREACH,
- FOR,
- IF,
- SLEEP,
- SCRIPT,
- BREAK,
- OP,
- END,
- CALL,
-};
-
enum class FOREACH_FILTER : uint8_t
{
MOB,
@@ -97,17 +45,6 @@ enum class FOREACH_FILTER : uint8_t
NPC,
};
-enum class SPELLGUARD : uint8_t
-{
- CONDITION,
- COMPONENTS,
- CATALYSTS,
- CHOICE,
- MANA,
- CASTTIME,
- EFFECT,
-};
-
namespace e
{
enum class SPELL_FLAG : uint8_t
@@ -125,13 +62,6 @@ ENUM_BITWISE_OPERATORS(SPELL_FLAG)
}
using e::SPELL_FLAG;
-enum class CONT_STACK : uint8_t
-{
- FOREACH,
- FOR,
- PROC,
-};
-
namespace e
{
enum class INVOCATION_FLAG : uint8_t