summaryrefslogtreecommitdiff
path: root/src/resources/spritedef.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/spritedef.h')
-rw-r--r--src/resources/spritedef.h22
1 files changed, 16 insertions, 6 deletions
diff --git a/src/resources/spritedef.h b/src/resources/spritedef.h
index 5eeaf744..65105973 100644
--- a/src/resources/spritedef.h
+++ b/src/resources/spritedef.h
@@ -45,6 +45,16 @@ enum SpriteAction
ACTION_ATTACK_STAB,
ACTION_ATTACK_BOW,
ACTION_ATTACK_THROW,
+ ACTION_SPECIAL_0,
+ ACTION_SPECIAL_1,
+ ACTION_SPECIAL_2,
+ ACTION_SPECIAL_3,
+ ACTION_SPECIAL_4,
+ ACTION_SPECIAL_5,
+ ACTION_SPECIAL_6,
+ ACTION_SPECIAL_7,
+ ACTION_SPECIAL_8,
+ ACTION_SPECIAL_9,
ACTION_CAST_MAGIC,
ACTION_USE_ITEM,
ACTION_SIT,
@@ -80,6 +90,12 @@ class SpriteDef : public Resource
*/
Action *getAction(SpriteAction action) const;
+ /**
+ * Converts a string into a SpriteAction enum.
+ */
+ static SpriteAction
+ makeSpriteAction(const std::string &action);
+
private:
/**
@@ -130,12 +146,6 @@ class SpriteDef : public Resource
substituteAction(SpriteAction complete, SpriteAction with);
/**
- * Converts a string into a SpriteAction enum.
- */
- static SpriteAction
- makeSpriteAction(const std::string &action);
-
- /**
* Converts a string into a SpriteDirection enum.
*/
static SpriteDirection