ScummVM API documentation
Ultima::Ultima4::LocationCoordsArray Class Reference
Inheritance diagram for Ultima::Ultima4::LocationCoordsArray:
Common::Array< LocationCoords >

Public Member Functions

void load ()
 
void synchronize (Common::Serializer &s)
 
- Public Member Functions inherited from Common::Array< LocationCoords >
 Array (size_type count)
 
 Array (size_type count, const LocationCoords &value)
 
 Array (const Array< LocationCoords > &array)
 
 Array (Array< LocationCoords > &&old)
 
 Array (std::initializer_list< LocationCoords > list)
 
 Array (const T2 *array, size_type n)
 
void emplace (const_iterator pos, TArgs &&... args)
 
void emplace_back (TArgs &&...args)
 
void push_back (const LocationCoords &element)
 
void push_back (LocationCoords &&element)
 
void push_back (const Array< LocationCoords > &array)
 
void pop_back ()
 
const LocationCoords * data () const
 
LocationCoords * data ()
 
LocationCoords & front ()
 
const LocationCoords & front () const
 
LocationCoords & back ()
 
const LocationCoords & back () const
 
void insert_at (size_type idx, const LocationCoords &element)
 
void insert_at (size_type idx, const Array< LocationCoords > &array)
 
void insert (iterator pos, const LocationCoords &element)
 
LocationCoords remove_at (size_type idx)
 
LocationCoords & operator[] (size_type idx)
 
const LocationCoords & operator[] (size_type idx) const
 
Array< LocationCoords > & operator= (const Array< LocationCoords > &array)
 
Arrayoperator= (Array< LocationCoords > &&old)
 
size_type size () const
 
void clear ()
 
iterator erase (iterator pos)
 
iterator erase (iterator first, iterator last)
 
bool empty () const
 
bool operator== (const Array< LocationCoords > &other) const
 
bool operator!= (const Array< LocationCoords > &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 LocationCoords value)
 
void assign (const_iterator first, const_iterator last)
 
void swap (Array &arr)
 

Additional Inherited Members

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

Member Function Documentation

◆ load()

void Ultima::Ultima4::LocationCoordsArray::load ( )

Loads the list of map & coordinates from the game context

◆ synchronize()

void Ultima::Ultima4::LocationCoordsArray::synchronize ( Common::Serializer s)

Synchronize to/from a savegame


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