ScummVM API documentation
MADS::DialogScript Class Reference

#include <conversations.h>

Inheritance diagram for MADS::DialogScript:
Common::Array< ScriptEntry >

Public Member Functions

void load (Common::SeekableReadStream &s, uint startingOffset)
 
- Public Member Functions inherited from Common::Array< ScriptEntry >
 Array (size_type count)
 
 Array (size_type count, const ScriptEntry &value)
 
 Array (const Array< ScriptEntry > &array)
 
 Array (Array< ScriptEntry > &&old)
 
 Array (std::initializer_list< ScriptEntry > list)
 
 Array (const T2 *array, size_type n)
 
void emplace (const_iterator pos, TArgs &&... args)
 
void emplace_back (TArgs &&...args)
 
void push_back (const ScriptEntry &element)
 
void push_back (ScriptEntry &&element)
 
void push_back (const Array< ScriptEntry > &array)
 
void pop_back ()
 
const ScriptEntry * data () const
 
ScriptEntry * data ()
 
ScriptEntry & front ()
 
const ScriptEntry & front () const
 
ScriptEntry & back ()
 
const ScriptEntry & back () const
 
void insert_at (size_type idx, const ScriptEntry &element)
 
void insert_at (size_type idx, const Array< ScriptEntry > &array)
 
void insert (iterator pos, const ScriptEntry &element)
 
ScriptEntry remove_at (size_type idx)
 
ScriptEntry & operator[] (size_type idx)
 
const ScriptEntry & operator[] (size_type idx) const
 
Array< ScriptEntry > & operator= (const Array< ScriptEntry > &array)
 
Arrayoperator= (Array< ScriptEntry > &&old)
 
size_type size () const
 
void clear ()
 
iterator erase (iterator pos)
 
iterator erase (iterator first, iterator last)
 
bool empty () const
 
bool operator== (const Array< ScriptEntry > &other) const
 
bool operator!= (const Array< ScriptEntry > &other) const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
void reserve (size_type newCapacity)
 
void resize (size_type newSize)
 
void resize (size_type newSize, const ScriptEntry value)
 
void assign (const_iterator first, const_iterator last)
 
void swap (Array &arr)
 

Additional Inherited Members

- Public Types inherited from Common::Array< ScriptEntry >
typedef ScriptEntry * iterator
 
typedef const ScriptEntry * const_iterator
 
typedef ScriptEntry value_type
 
typedef uint size_type
 
- Protected Member Functions inherited from Common::Array< ScriptEntry >
void allocCapacity (size_type capacity)
 
void freeStorage (ScriptEntry *storage, const size_type elements)
 
iterator insert_aux (iterator pos, const_iterator first, const_iterator last)
 
- Static Protected Member Functions inherited from Common::Array< ScriptEntry >
static size_type roundUpCapacity (size_type capacity)
 
- Protected Attributes inherited from Common::Array< ScriptEntry >
size_type _capacity
 
size_type _size
 
ScriptEntry * _storage
 

Detailed Description

Representation of scripts associated with a dialog

Member Function Documentation

◆ load()

void MADS::DialogScript::load ( Common::SeekableReadStream s,
uint  startingOffset 
)

Loads a script from the passed stream


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