aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins/talk.h
diff options
context:
space:
mode:
authorStrangerke2013-02-08 07:35:25 +0100
committerStrangerke2013-02-08 07:35:25 +0100
commitc29f4c71b1b797ac78ca5b326cf4996ba7f08a20 (patch)
treeb577ef41c96c98111e84eb65da2e468e3956dacc /engines/hopkins/talk.h
parent6ce3e2187b6a2395b96b9f9a55c5c40d6b887333 (diff)
downloadscummvm-rg350-c29f4c71b1b797ac78ca5b326cf4996ba7f08a20.tar.gz
scummvm-rg350-c29f4c71b1b797ac78ca5b326cf4996ba7f08a20.tar.bz2
scummvm-rg350-c29f4c71b1b797ac78ca5b326cf4996ba7f08a20.zip
HOPKINS: Improve private/public scope in TalkManager
Diffstat (limited to 'engines/hopkins/talk.h')
-rw-r--r--engines/hopkins/talk.h26
1 files changed, 15 insertions, 11 deletions
diff --git a/engines/hopkins/talk.h b/engines/hopkins/talk.h
index 20b79f8015..05d5d97bcb 100644
--- a/engines/hopkins/talk.h
+++ b/engines/hopkins/talk.h
@@ -33,24 +33,17 @@ class HopkinsEngine;
class TalkManager {
private:
HopkinsEngine *_vm;
-public:
+
Common::String _questionsFilename;
Common::String _answersFilename;
byte *_characterBuffer;
byte *_characterPalette;
- byte *_characterSprite;
- byte *_characterAnim;
size_t _characterSize;
bool STATI;
int _dialogueMesgId1, _dialogueMesgId2;
int _dialogueMesgId3, _dialogueMesgId4;
int _paletteBufferIdx;
-public:
- TalkManager();
- void setParent(HopkinsEngine *vm);
- void PARLER_PERSO2(const Common::String &filename);
- void PARLER_PERSO(const Common::String &filename);
void getStringFromBuffer(int srcStart, Common::String &dest, const char *srcData);
int dialogQuestion();
int dialogAnswer(int idx);
@@ -58,13 +51,24 @@ public:
void dialogWait();
void dialogTalk();
void dialogEndTalk();
- int VERIF_BOITE(int a1, const Common::String &a2, int a3);
- void VISU_PARLE();
- void BOB_VISU_PARLE(int idx);
void startCharacterAnim0(int startIndedx, bool readOnlyFl);
void initCharacterAnim();
void clearCharacterAnim();
bool searchCharacterAnim(int idx, const byte *bufPerso, int animId, int bufferSize);
+
+ int VERIF_BOITE(int a1, const Common::String &a2, int a3);
+ void VISU_PARLE();
+ void BOB_VISU_PARLE(int idx);
+
+public:
+ byte *_characterAnim;
+ byte *_characterSprite;
+
+ TalkManager();
+ void setParent(HopkinsEngine *vm);
+
+ void PARLER_PERSO2(const Common::String &filename);
+ void PARLER_PERSO(const Common::String &filename);
void REPONSE(int zone, int verb);
void REPONSE2(int a1, int a2);
void OBJET_VIVANT(const Common::String &a2);