ScummVM API documentation
MADS::Conversation Class Reference

Public Member Functions

void setup (int globalId,...)
 
void set (int quoteId,...)
 
int read (int quoteId)
 
void write (int quoteId, bool flag)
 
void start ()
 

Static Public Member Functions

static void init (MADSEngine *vm)
 

Public Attributes

int _globalId
 
Common::Array< int > _quotes
 

Member Function Documentation

◆ setup()

void MADS::Conversation::setup ( int  globalId,
  ... 
)

Set up a conversation sequence

◆ set()

void MADS::Conversation::set ( int  quoteId,
  ... 
)

Activates the passed set of quotes in the given conversation node

◆ read()

int MADS::Conversation::read ( int  quoteId)

Returns the bit for a given quote to indicate whether it's active or not or, if 0 is passed, returns the number of currently active quotes

◆ write()

void MADS::Conversation::write ( int  quoteId,
bool  flag 
)

Activates or deactivates the specified quote in the given conversation node

◆ start()

void MADS::Conversation::start ( )

Starts the conversation


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