#include <map.h>
|
| CMap () |
|
CDataFileReader * | GetReader () |
|
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 *pMapName) override |
|
void | Unload () override |
|
bool | IsLoaded () const override |
|
IOHANDLE | File () const override |
|
SHA256_DIGEST | Sha256 () const override |
|
unsigned | Crc () const override |
|
int | MapSize () const override |
|
virtual bool | Load (const char *pMapName)=0 |
|
virtual void | Unload ()=0 |
|
virtual bool | IsLoaded () const =0 |
|
virtual IOHANDLE | File () const =0 |
|
virtual SHA256_DIGEST | Sha256 () const =0 |
|
virtual unsigned | Crc () const =0 |
|
virtual int | MapSize () const =0 |
|
virtual int | GetDataSize (int Index) const =0 |
|
virtual void * | GetData (int Index)=0 |
|
virtual void * | GetDataSwapped (int Index)=0 |
|
virtual const char * | GetDataString (int Index)=0 |
|
virtual void | UnloadData (int Index)=0 |
|
virtual int | NumData () const =0 |
|
virtual int | GetItemSize (int Index)=0 |
|
virtual void * | GetItem (int Index, int *pType=nullptr, int *pId=nullptr)=0 |
|
virtual void | GetType (int Type, int *pStart, int *pNum)=0 |
|
virtual int | FindItemIndex (int Type, int Id)=0 |
|
virtual void * | FindItem (int Type, int Id)=0 |
|
virtual int | NumItems () const =0 |
|
| IInterface () |
|
virtual void | Shutdown () |
|
virtual | ~IInterface () |
|
◆ CMap()
◆ 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 |
◆ 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 |
◆ GetReader()
◆ GetType()
void CMap::GetType |
( |
int |
Type, |
|
|
int * |
pStart, |
|
|
int * |
pNum |
|
) |
| |
|
overridevirtual |
◆ IsLoaded()
bool CMap::IsLoaded |
( |
| ) |
const |
|
overridevirtual |
◆ Load()
bool CMap::Load |
( |
const char * |
pMapName | ) |
|
|
overridevirtual |
◆ MapSize()
int CMap::MapSize |
( |
| ) |
const |
|
overridevirtual |
◆ NumData()
int CMap::NumData |
( |
| ) |
const |
|
overridevirtual |
◆ NumItems()
int CMap::NumItems |
( |
| ) |
const |
|
overridevirtual |
◆ Sha256()
◆ Unload()
◆ UnloadData()
void CMap::UnloadData |
( |
int |
Index | ) |
|
|
overridevirtual |
◆ m_DataFile
The documentation for this class was generated from the following files: