aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins
diff options
context:
space:
mode:
authorPaul Gilbert2012-10-25 08:34:37 +1100
committerPaul Gilbert2012-10-25 08:34:37 +1100
commitaeb7794a74e6c6c6254d2712b701d7ed6b01b167 (patch)
treec6c0923d930a941ca520611ba6ea5615db449396 /engines/hopkins
parent5f56afdef469d5f02ad26d56f017dd788ece169c (diff)
downloadscummvm-rg350-aeb7794a74e6c6c6254d2712b701d7ed6b01b167.tar.gz
scummvm-rg350-aeb7794a74e6c6c6254d2712b701d7ed6b01b167.tar.bz2
scummvm-rg350-aeb7794a74e6c6c6254d2712b701d7ed6b01b167.zip
HOPKINS: Add TalkManager constructor to initialise it's fields
Diffstat (limited to 'engines/hopkins')
-rw-r--r--engines/hopkins/talk.cpp12
-rw-r--r--engines/hopkins/talk.h1
2 files changed, 13 insertions, 0 deletions
diff --git a/engines/hopkins/talk.cpp b/engines/hopkins/talk.cpp
index ac49d2a683..f3b420a829 100644
--- a/engines/hopkins/talk.cpp
+++ b/engines/hopkins/talk.cpp
@@ -33,6 +33,18 @@
namespace Hopkins {
+TalkManager::TalkManager() {
+ BUFFERPERSO = NULL;
+ PALPERSO = NULL;
+ PERSOSPR = NULL;
+ ADR_ANIM = NULL;
+ TAILLEPERSO = 0;
+ STATI = 0;
+ PLIGNE1 = PLIGNE2 = 0;
+ PLIGNE3 = PLIGNE4 = 0;
+ PCHERCHE = 0;
+}
+
void TalkManager::setParent(HopkinsEngine *vm) {
_vm = vm;
}
diff --git a/engines/hopkins/talk.h b/engines/hopkins/talk.h
index 00d2c95a91..3c13bf81d4 100644
--- a/engines/hopkins/talk.h
+++ b/engines/hopkins/talk.h
@@ -46,6 +46,7 @@ public:
int PLIGNE3, PLIGNE4;
int PCHERCHE;
public:
+ TalkManager();
void setParent(HopkinsEngine *vm);
void PARLER_PERSO2(const Common::String &filename);