HOPKINS: Add TalkManager constructor to initialise it's fields

This commit is contained in:
Paul Gilbert 2012-10-25 08:34:37 +11:00
parent 5f56afdef4
commit aeb7794a74
2 changed files with 13 additions and 0 deletions

View File

@ -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;
}

View File

@ -46,6 +46,7 @@ public:
int PLIGNE3, PLIGNE4;
int PCHERCHE;
public:
TalkManager();
void setParent(HopkinsEngine *vm);
void PARLER_PERSO2(const Common::String &filename);