22 #ifndef STARK_RESOURCES_DIALOG_H 23 #define STARK_RESOURCES_DIALOG_H 25 #include "common/str.h" 27 #include "engines/stark/resources/object.h" 28 #include "engines/stark/resourcereference.h" 53 static const Type::ResourceType TYPE = Type::kDialog;
66 kConditionTypeAlways = 0,
67 kConditionTypeNoOtherOptions = 1,
68 kConditionTypeHasItem = 3,
69 kConditionTypeCheckValue4 = 4,
70 kConditionTypeCheckValue5 = 5,
71 kConditionTypeRunScriptCheckValue = 6
81 Speech *getCurrentSpeech();
84 bool checkCondition()
const;
87 bool isLastOnly()
const;
91 uint32 _conditionType;
94 uint32 _conditionReversed;
99 int32 _nextDialogIndex;
103 int32 _nextSpeechIndex;
116 int32 getNextReplyIndex()
const;
122 Reply *startReply(uint32 index);
125 Reply *getReply(uint32 index);
129 bool _removeOnceDepleted;
130 int32 _currentReplyIndex;
142 TopicArray listAvailableTopics();
154 int32 getCharacter()
const;
156 void printData()
override;
166 #endif // STARK_RESOURCES_DIALOG_H
Definition: resourcereference.h:39
Definition: stateprovider.h:51