22 #ifndef ULTIMA4_CONVERSATION_CONVERSATION_H 23 #define ULTIMA4_CONVERSATION_CONVERSATION_H 25 #include "ultima/ultima4/core/utils.h" 26 #include "ultima/shared/std/containers.h" 45 bool isCommand()
const;
195 Response *getIntro(
bool familiar =
false) {
198 Response *getLongIntro(
bool familiar =
false) {
202 return _defaultAnswer;
218 this->_prompt = prompt;
226 void setDefaultAnswer(
Response *a) {
229 void setTurnAwayProb(
int prob) {
230 _turnAwayProb = prob;
252 KeywordMap _keywords;
302 InputType getInputRequired(
int *bufferLen);
int _quant
Definition: conversation.h:313
Definition: conversation.h:269
Definition: conversation.h:277
Definition: conversation.h:286
Definition: conversation.h:284
Definition: conversation.h:275
Definition: conversation.h:280
class Script * _script
Definition: conversation.h:311
Definition: conversation.h:273
Definition: conversation.h:55
int _player
Definition: conversation.h:314
Definition: conversation.h:270
Definition: conversation.h:276
Common::List< Common::String > _reply
Definition: conversation.h:310
static const uint BUFFERLEN
Definition: conversation.h:305
Common::HashMap< Common::String, Keyword * > KeywordMap
Definition: conversation.h:175
InputType
Definition: conversation.h:291
int _price
Definition: conversation.h:315
Definition: detection.h:27
Dialogue::Question * _question
Definition: conversation.h:312
Definition: conversation.h:282
Common::String _playerInput
Definition: conversation.h:309
State _state
Definition: conversation.h:308
State
Definition: conversation.h:268
Definition: conversation.h:283
Definition: conversation.h:39
Definition: conversation.h:149
Definition: conversation.h:132
Definition: conversation.h:272
Definition: conversation.h:104
Definition: conversation.h:278
Definition: conversation.h:271
Definition: conversation.h:80
Definition: conversation.h:274
Definition: conversation.h:265
Definition: conversation.h:285
Definition: conversation.h:281
Definition: containers.h:38
Definition: conversation.h:127
Definition: conversation.h:279