ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Stark::Resources::Dialog::Reply Class Reference

A topic reply. More...

#include <dialog.h>

Collaboration diagram for Stark::Resources::Dialog::Reply:

List of all members.

Public Types

enum  ConditionType {
  kConditionTypeAlways = 0, kConditionTypeNoOtherOptions = 1, kConditionTypeHasItem = 3, kConditionTypeCheckValue4 = 4,
  kConditionTypeCheckValue5 = 5, kConditionTypeRunScriptCheckValue = 6

Public Member Functions

 Reply ()
void start ()
 Start playing the reply.
void goToNextLine ()
 Select the next line to be played.
SpeechgetCurrentSpeech ()
 Obtain the Speech resource for the current line, or null if the reply has ended.
bool checkCondition () const
 Evaluates the reply's condition.
bool isLastOnly () const
 Should this reply only be made available when there are no other options left?

Private Attributes

Common::Array< ResourceReference_lines
uint32 _conditionType
ResourceReference _conditionReference
ResourceReference _conditionScriptReference
uint32 _conditionReversed
uint32 _field_88
uint32 _minChapter
uint32 _maxChapter
uint32 _noCaption
int32 _nextDialogIndex
ResourceReference _nextScriptReference
int32 _nextSpeechIndex


class Dialog

Detailed Description

A topic reply.

Definition at line 62 of file engines/stark/resources/dialog.h.

Member Enumeration Documentation


Definition at line 66 of file engines/stark/resources/dialog.h.

Constructor & Destructor Documentation

Stark::Resources::Dialog::Reply::Reply (  ) 

Definition at line 220 of file engines/stark/resources/dialog.cpp.

Member Function Documentation

bool Stark::Resources::Dialog::Reply::checkCondition (  )  const

Evaluates the reply's condition.

Definition at line 261 of file engines/stark/resources/dialog.cpp.

Speech * Stark::Resources::Dialog::Reply::getCurrentSpeech (  ) 

Obtain the Speech resource for the current line, or null if the reply has ended.

Definition at line 253 of file engines/stark/resources/dialog.cpp.

void Stark::Resources::Dialog::Reply::goToNextLine (  ) 

Select the next line to be played.

Definition at line 242 of file engines/stark/resources/dialog.cpp.

bool Stark::Resources::Dialog::Reply::isLastOnly (  )  const

Should this reply only be made available when there are no other options left?

Definition at line 306 of file engines/stark/resources/dialog.cpp.

void Stark::Resources::Dialog::Reply::start (  ) 

Start playing the reply.

Sets the current line to the first one

Definition at line 231 of file engines/stark/resources/dialog.cpp.

Friends And Related Function Documentation

friend class Dialog [friend]

Definition at line 107 of file engines/stark/resources/dialog.h.

Member Data Documentation

The documentation for this class was generated from the following files:

Generated on Sat May 25 2019 05:06:54 for ResidualVM by doxygen 1.7.1
curved edge   curved edge