aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/town.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/xeen/town.h')
-rw-r--r--engines/xeen/town.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/engines/xeen/town.h b/engines/xeen/town.h
index 25faa38c76..0677aa53a5 100644
--- a/engines/xeen/town.h
+++ b/engines/xeen/town.h
@@ -31,6 +31,12 @@
namespace Xeen {
+enum TownAction {
+ BANK = 0, BLACKSMITH = 1, GUILD = 2, TAVERN = 3, TEMPLE = 4,
+ TRAINING = 5, ARENA = 6, NO_ACTION = 7, REAPER = 8, GOLEM = 9,
+ DWARF1 = 10, SPHINX = 11, DWARF2 = 13
+};
+
class XeenEngine;
class TownMessage;
@@ -41,7 +47,7 @@ private:
Common::StringArray _textStrings;
Common::Array<SpriteResource> _townSprites;
int _townMaxId;
- int _townActionId;
+ TownAction _townActionId;
int _v1, _v2;
int _donation;
int _healCost;
@@ -99,7 +105,7 @@ private:
public:
Town(XeenEngine *vm);
- int townAction(int actionId);
+ int townAction(TownAction actionId);
void drawTownAnim(bool flag);