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

Stark::Resources::Dialog::Topic Class Reference

A dialog topic. More...

#include <dialog.h>

Collaboration diagram for Stark::Resources::Dialog::Topic:

List of all members.

Public Member Functions

 Topic ()
int32 getNextReplyIndex () const
 Compute the next possible reply index after the currently selected reply.
Common::String getCaption () const
 Obtain the caption for the topic.
ReplystartReply (uint32 index)
 Select a reply from its index.
ReplygetReply (uint32 index)
 Get the reply with the specified index.

Private Attributes

Common::Array< Reply_replies
bool _removeOnceDepleted
int32 _currentReplyIndex


class Dialog

Detailed Description

A dialog topic.

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

Constructor & Destructor Documentation

Stark::Resources::Dialog::Topic::Topic (  ) 

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

Member Function Documentation

Common::String Stark::Resources::Dialog::Topic::getCaption (  )  const

Obtain the caption for the topic.

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

int32 Stark::Resources::Dialog::Topic::getNextReplyIndex (  )  const

Compute the next possible reply index after the currently selected reply.

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

Dialog::Reply * Stark::Resources::Dialog::Topic::getReply ( uint32  index  ) 

Get the reply with the specified index.

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

Dialog::Reply * Stark::Resources::Dialog::Topic::startReply ( uint32  index  ) 

Select a reply from its index.

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

Friends And Related Function Documentation

friend class Dialog [friend]

Definition at line 135 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 18 2019 05:07:30 for ResidualVM by doxygen 1.7.1
curved edge   curved edge