aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/character.h
diff options
context:
space:
mode:
authorPaul Gilbert2015-02-17 21:47:01 -0500
committerPaul Gilbert2015-02-17 21:47:01 -0500
commit7b3c10b09c76c4a8cbd5dbfabb0ceeaeccbbce26 (patch)
treea2de490ac41dcea07ce7cb6c56f00cd2d8b46a30 /engines/xeen/character.h
parentc045adae76e414a8e6b57e48a651ea6c29ed280a (diff)
downloadscummvm-rg350-7b3c10b09c76c4a8cbd5dbfabb0ceeaeccbbce26.tar.gz
scummvm-rg350-7b3c10b09c76c4a8cbd5dbfabb0ceeaeccbbce26.tar.bz2
scummvm-rg350-7b3c10b09c76c4a8cbd5dbfabb0ceeaeccbbce26.zip
XEEN: Implemented Cast Spell dialog
Diffstat (limited to 'engines/xeen/character.h')
-rw-r--r--engines/xeen/character.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/engines/xeen/character.h b/engines/xeen/character.h
index be38ba5da1..bf77bef315 100644
--- a/engines/xeen/character.h
+++ b/engines/xeen/character.h
@@ -85,6 +85,10 @@ enum AttributeCategory {
ATTR_ARMOR_CLASS = 8, ATTR_THIEVERY = 9
};
+enum QuickAction {
+ QUICK_ATTACK = 0, QUICK_SPELL = 1, QUICK_BLOCK = 2, QUICK_RUN = 3
+};
+
class XeenEngine;
class Character;
@@ -235,8 +239,8 @@ public:
int _lloydMap;
Common::Point _lloydPosition;
bool _hasSpells;
- int _currentSpell;
- int _quickOption;
+ int8 _currentSpell;
+ QuickAction _quickOption;
InventoryItemsGroup _items;
WeaponItems _weapons;
ArmorItems _armor;
@@ -321,6 +325,8 @@ public:
void subtractHitPoints(int amount);
bool hasSpecialItem() const;
+
+ int getClassCategory() const;
};
} // End of namespace Xeen