![]() |
CRM64Pro GDK v0.13.0
A free cross-platform game development kit built on top of SDL 3.0
|
TileEngine Manager class. More...
TileEngine Manager class.
Public Member Functions | |
| Sint32 | info (Sint32 iMode=0) |
| Request TileEngine Manager information. | |
| Sint32 | create (const string &sName, Uint32 iNumLayers=3) |
| Create a new TileEngine. | |
| Sint32 | close (Sint32 idTE) |
| Close and destroy a TileEngine. | |
| Sint32 | getNum () const |
| Get number of loaded objects. | |
| Sint32 | setName (Sint32 idTE, const string &sName) |
| Change the object name. | |
| TileEngine * | get (Sint32 idTE=0) |
| Get a pointer to the TileEngine using its handler. | |
| Sint32 | importTMX (const string &sTMXFile, const string &sCDCFile="") |
| Import a Tiled map (TMX). | |
| Sint32 CRM64Pro::TileEngineMgr::importTMX | ( | const string & | sTMXFile, |
| const string & | sCDCFile = "" ) |
Import a Tiled map (TMX).
Supports TMX v1.10 files, orthogonal view. Detects and loads embedded C64TE map format.
| sTMXFile | string containing [directory]+filename+[extension] of TMX file. Directory separators '\' and '/' are supported. |
| sCDCFile | string containing [directory]+filename+[extension] of CDC file for tileset images. Directory separators '\' and '/' are supported. |