aboutsummaryrefslogtreecommitdiff
path: root/engines/wage/wage.h
diff options
context:
space:
mode:
authorEugene Sandulenko2016-01-19 18:41:35 +0100
committerEugene Sandulenko2016-02-14 17:12:48 +0100
commit750e44219f246c404b44170001287b1ffb64ec89 (patch)
treeaf6de776d05454c58f6c72f7692c202f4aed0927 /engines/wage/wage.h
parent876036230246418aa86711d33f485f5c83e769c4 (diff)
downloadscummvm-rg350-750e44219f246c404b44170001287b1ffb64ec89.tar.gz
scummvm-rg350-750e44219f246c404b44170001287b1ffb64ec89.tar.bz2
scummvm-rg350-750e44219f246c404b44170001287b1ffb64ec89.zip
WAGE: Dialog loop
Diffstat (limited to 'engines/wage/wage.h')
-rw-r--r--engines/wage/wage.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/wage/wage.h b/engines/wage/wage.h
index 245fc9ba18..0d540d3c0b 100644
--- a/engines/wage/wage.h
+++ b/engines/wage/wage.h
@@ -63,6 +63,7 @@ namespace Wage {
class Console;
class Chr;
class Designed;
+class Dialog;
class Gui;
class Obj;
class Scene;
@@ -107,6 +108,7 @@ const char *getGenderSpecificPronoun(int gender, bool capitalize);
typedef Common::Array<byte *> Patterns;
class WageEngine : public Engine {
+ friend class Dialog;
public:
WageEngine(OSystem *syst, const ADGameDescription *gameDesc);
~WageEngine();
@@ -135,6 +137,8 @@ private:
void performOffer(Chr *attacker, Chr *victim);
void performTake(Chr *npc, Obj *obj);
+ void doClose();
+
public:
Common::RandomSource *_rnd;