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.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/engines/xeen/town.h b/engines/xeen/town.h
index 1f2728be13..b4b70fa499 100644
--- a/engines/xeen/town.h
+++ b/engines/xeen/town.h
@@ -53,6 +53,7 @@ protected:
int _drawFrameIndex;
uint _farewellTime;
int _drawCtr1, _drawCtr2;
+ int _animCtr;
protected:
/**
* Draw the window
@@ -65,6 +66,11 @@ protected:
int wait();
/**
+ * Handles animation updates for Sphinx, Golem, Repear, and Dwarf events
+ */
+ void animUpdate();
+
+ /**
* Generates the display text for the location, for a given character
*/
virtual Common::String createLocationText(Character &ch) { return ""; }
@@ -253,9 +259,19 @@ public:
};
class DwarfLocation : public TownLocation {
+private:
+ /**
+ * Set the new location
+ */
+ bool setNewLocation();
public:
DwarfLocation(bool isDwarf1);
virtual ~DwarfLocation() {}
+
+ /**
+ * Show the town location
+ */
+ virtual int show();
};
class SphinxLocation : public TownLocation {