![]() |
CRM64Pro GDK v0.15.0
A free cross-platform game development kit built on top of SDL 3.0
|
Tile Manager class.
Public Member Functions | |
| bool | info (Sint32 iMode=0) override |
| Request Tile Manager information. | |
| Sint32 | create (const string &sName, Uint32 iVersion=10) override |
| Create a new tile. | |
| bool | close (Sint32 idTile) override |
| Close and destroy a tile. | |
| Sint32 | getCount () const override |
| Get number of loaded objects. | |
| Sint32 | setName (Sint32 idTile, const string &sName) override |
| Change the object name. | |
| Tile * | get (Sint32 idTile) |
| Get a pointer to the tile using its handler. | |
| Sint32 | child (Sint32 idTile) |
| Create a child tile dependent on the provided one (the parent). | |
| Sint32 | load (const string &sCDCFile, const string &sName) |
| Load a tile stored in a CDC file. | |
| Sint32 | load (const Sint32 idCDC, const string &sName) |
| Load a tile stored in a CDC file. | |
| Sint32 | loadFromBuffer (const void *pBuffer, Sint32 iSize, const string &sName, Uint32 iW=0, Uint32 iH=0) |
| Load a tileset from an image memory buffer. | |
| Sint32 | remove (const Sint32 idCDC, const string &sName) |
| Remove a tile stored in a CDC file. | |
| bool | exist (const Sint32 idCDC, const string &sName) |
| Check if a tile is stored in a CDC file. | |
| bool | exist (const string &sCDCFile, const string &sName) |
| Check if a tile is stored in a CDC file. | |