#include <map.h>
|
| | CMap () |
| | ~CMap () override |
| int | GetDataSize (int Index) const override |
| void * | GetData (int Index) override |
| void * | GetDataSwapped (int Index) override |
| const char * | GetDataString (int Index) override |
| void | UnloadData (int Index) override |
| int | NumData () const override |
| int | GetItemSize (int Index) override |
| void * | GetItem (int Index, int *pType=nullptr, int *pId=nullptr) override |
| void | GetType (int Type, int *pStart, int *pNum) override |
| int | FindItemIndex (int Type, int Id) override |
| void * | FindItem (int Type, int Id) override |
| int | NumItems () const override |
| bool | Load (const char *pFullName, IStorage *pStorage, const char *pPath, int StorageType) override |
| bool | Load (IStorage *pStorage, const char *pPath, int StorageType) override |
| void | Unload () override |
| bool | IsLoaded () const override |
| IOHANDLE | File () const override |
| const char * | FullName () const override |
| const char * | BaseName () const override |
| const char * | Path () const override |
| SHA256_DIGEST | Sha256 () const override |
| unsigned | Crc () const override |
| int | Size () const override |
| virtual | ~IMap ()=default |
◆ CMap()
◆ ~CMap()
◆ BaseName()
| const char * CMap::BaseName |
( |
| ) |
const |
|
overridevirtual |
Returns the base name of the currently loaded map.
- Returns
- Base map name, e.g. my_map.
Implements IMap.
◆ Crc()
| unsigned CMap::Crc |
( |
| ) |
const |
|
overridevirtual |
◆ ExtractTiles()
| void CMap::ExtractTiles |
( |
class CTile * | pDest, |
|
|
size_t | DestSize, |
|
|
const class CTile * | pSrc, |
|
|
size_t | SrcSize ) |
|
static |
◆ File()
◆ FindItem()
| void * CMap::FindItem |
( |
int | Type, |
|
|
int | Id ) |
|
overridevirtual |
◆ FindItemIndex()
| int CMap::FindItemIndex |
( |
int | Type, |
|
|
int | Id ) |
|
overridevirtual |
◆ FullName()
| const char * CMap::FullName |
( |
| ) |
const |
|
overridevirtual |
Returns the full name of the currently loaded map.
- Returns
- Full map name, e.g. subfolder1/subfolder2/my_map.
Implements IMap.
◆ GetData()
| void * CMap::GetData |
( |
int | Index | ) |
|
|
overridevirtual |
◆ GetDataSize()
| int CMap::GetDataSize |
( |
int | Index | ) |
const |
|
overridevirtual |
◆ GetDataString()
| const char * CMap::GetDataString |
( |
int | Index | ) |
|
|
overridevirtual |
◆ GetDataSwapped()
| void * CMap::GetDataSwapped |
( |
int | Index | ) |
|
|
overridevirtual |
◆ GetItem()
| void * CMap::GetItem |
( |
int | Index, |
|
|
int * | pType = nullptr, |
|
|
int * | pId = nullptr ) |
|
overridevirtual |
◆ GetItemSize()
| int CMap::GetItemSize |
( |
int | Index | ) |
|
|
overridevirtual |
◆ GetType()
| void CMap::GetType |
( |
int | Type, |
|
|
int * | pStart, |
|
|
int * | pNum ) |
|
overridevirtual |
◆ IsLoaded()
| bool CMap::IsLoaded |
( |
| ) |
const |
|
overridevirtual |
◆ Load() [1/2]
| bool CMap::Load |
( |
const char * | pFullName, |
|
|
IStorage * | pStorage, |
|
|
const char * | pPath, |
|
|
int | StorageType ) |
|
nodiscardoverridevirtual |
◆ Load() [2/2]
| bool CMap::Load |
( |
IStorage * | pStorage, |
|
|
const char * | pPath, |
|
|
int | StorageType ) |
|
nodiscardoverridevirtual |
◆ NumData()
| int CMap::NumData |
( |
| ) |
const |
|
overridevirtual |
◆ NumItems()
| int CMap::NumItems |
( |
| ) |
const |
|
overridevirtual |
◆ Path()
| const char * CMap::Path |
( |
| ) |
const |
|
overridevirtual |
Returns the path of the currently loaded map.
- Returns
- Map path, e.g. maps/subfolder1/subfolder2/my_map.map.
Implements IMap.
◆ Sha256()
◆ Size()
◆ Unload()
◆ UnloadData()
| void CMap::UnloadData |
( |
int | Index | ) |
|
|
overridevirtual |
◆ m_DataFile
The documentation for this class was generated from the following files: