aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/character.h
diff options
context:
space:
mode:
authorPaul Gilbert2017-12-10 21:40:58 -0500
committerPaul Gilbert2017-12-10 21:40:58 -0500
commit3f293e898596f85f805d9d711d72634683b71d2c (patch)
tree60beb8389492b53192b359c40052a57a28d52106 /engines/xeen/character.h
parent618d256a92c881d580efe27f68febfa7a9471273 (diff)
downloadscummvm-rg350-3f293e898596f85f805d9d711d72634683b71d2c.tar.gz
scummvm-rg350-3f293e898596f85f805d9d711d72634683b71d2c.tar.bz2
scummvm-rg350-3f293e898596f85f805d9d711d72634683b71d2c.zip
XEEN: Implemented awards listing dialog
Diffstat (limited to 'engines/xeen/character.h')
-rw-r--r--engines/xeen/character.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/xeen/character.h b/engines/xeen/character.h
index 24c54deffe..c16ae6addb 100644
--- a/engines/xeen/character.h
+++ b/engines/xeen/character.h
@@ -34,6 +34,7 @@ namespace Xeen {
#define INV_ITEMS_TOTAL 9
#define MAX_SPELLS_PER_CLASS 39
+#define AWARDS_TOTAL 88
enum BonusFlags {
ITEMFLAG_BONUS_MASK = 0xBF, ITEMFLAG_CURSED = 0x40, ITEMFLAG_BROKEN = 0x80
@@ -396,8 +397,14 @@ public:
uint getCurrentExperience() const;
+ /**
+ * Returns the number of skills the character has
+ */
int getNumSkills() const;
+ /**
+ * Returns the number of awards the character has
+ */
int getNumAwards() const;
int makeItem(int p1, int itemIndex, int p3);