22 #ifndef ILLUSIONS_TALKTHREAD_H 23 #define ILLUSIONS_TALKTHREAD_H 25 #include "illusions/thread.h" 29 class IllusionsEngine;
33 kMsgQueryTalkThreadActive = 0,
34 kMsgClearSequenceId1 = 1,
35 kMsgClearSequenceId2 = 2
41 int16 duration, uint32 objectId, uint32 talkId, uint32 sequenceId1, uint32 sequenceId2,
43 int onUpdate()
override;
44 void onSuspend()
override;
45 void onPause()
override;
46 void onUnpause()
override;
47 void onTerminated()
override;
48 void onKill()
override;
49 uint32 sendMessage(
int msgNum, uint32 msgValue)
override;
54 uint32 _textStartTime;
57 uint32 _defDurationMult;
58 uint32 _textDurationElapsed;
67 uint16 *_currEntryText;
70 uint32 _voiceStartTime;
72 uint32 _voiceDuration;
73 uint32 _voiceDurationElapsed;
76 TalkEntry *getTalkResourceEntry(uint32 talkId);
81 #endif // ILLUSIONS_TALKTHREAD_H Definition: talkthread.h:38
Definition: talkresource.h:42
Definition: illusions.h:92