22 #ifndef HOPKINS_TALK_H 23 #define HOPKINS_TALK_H 25 #include "common/scummsys.h" 26 #include "common/path.h" 32 #define MIN_LETTERS_PER_LINE 65 40 byte *_characterBuffer;
41 byte *_characterPalette;
42 size_t _characterSize;
43 int _dialogueMesgId1, _dialogueMesgId2;
44 int _dialogueMesgId3, _dialogueMesgId4;
45 int _paletteBufferIdx;
47 void getStringFromBuffer(
int srcStart,
Common::Path &dest,
const char *srcData);
48 int dialogQuestion(
bool animatedFl);
49 int dialogAnswer(
int idx,
bool animatedFl);
50 void searchCharacterPalette(
int startIdx,
bool dark);
54 void startCharacterAnim0(
int startIndedx,
bool readOnlyFl);
55 void initCharacterAnim();
56 void clearCharacterAnim();
57 bool searchCharacterAnim(
int idx,
const byte *bufPerso,
int animId,
int bufferSize);
60 void displayBobDialogAnim(
int idx);
64 byte *_characterSprite;
68 void startStaticCharacterDialogue(
const Common::Path &filename);
69 void startAnimatedCharacterDialogue(
const Common::Path &filename);
71 void handleAnswer(
int zone,
int verb);
72 void handleForestAnswser(
int zone,
int verb);