22 #ifndef ILLUSIONS_TALKTHREAD_DUCKMAN_H 23 #define ILLUSIONS_TALKTHREAD_DUCKMAN_H 25 #include "illusions/thread.h" 29 class IllusionsEngine_Duckman;
33 kMsgQueryTalkThreadActive = 0,
34 kMsgClearSequenceId1 = 1,
35 kMsgClearSequenceId2 = 2
41 uint32 objectId, uint32 talkId, uint32 sequenceId1, uint32 sequenceId2);
42 int onUpdate()
override;
43 void onPause()
override;
44 void onUnpause()
override;
45 void onResume()
override;
46 void onTerminated()
override;
47 void onKill()
override;
48 uint32 sendMessage(
int msgNum, uint32 msgValue)
override;
54 uint32 _textStartTime;
57 uint32 _defDurationMult;
58 uint32 _textDurationElapsed;
65 uint32 _namedPointId1;
66 uint32 _namedPointId2;
69 uint16 *_currEntryText;
71 uint32 _voiceStartTime;
73 uint32 _voiceDuration;
74 uint32 _voiceDurationElapsed;
79 TalkEntry *getTalkResourceEntry(uint32 talkId);
80 void getActorTypeColor(uint32 actorTypeId,
RGB &color);
85 #endif // ILLUSIONS_TALKTHREAD_H
Definition: talkresource.h:42
Definition: talkthread_duckman.h:38
Definition: illusions_duckman.h:78
Definition: graphics.h:49