CRM64Pro GDK v0.11.0
A free cross-platform game development kit built on top of SDL 3.0
|
Logic module containing the TileEngine modules: the core engine and the extensions.
Modules | |
TileEngine MapData extension | |
v1.00 (24 February 2017) Data definition used by the TileEngine objects as the way of updating and rendering the layers. | |
TileEngine Core | |
v2.00 (30 Jun 2023) The TileEngine Core module includes the TileEngine Manager and TileEngine Objects for handling all operations with the TileEngine. | |
Macros | |
#define | TE_LAYERFLAG_DISABLE 0 |
#define | TE_LAYERFLAG_LOOPX 1 |
#define | TE_LAYERFLAG_LOOPY 2 |
#define | TE_LAYERFLAG_AUTOSCROLL 4 |
#define | TE_LAYERFLAG_UPDATE 8 |
#define | TE_LAYERFLAG_UPDATECELLS 16 |
#define | TE_LAYERFLAG_RENDER 32 |
#define | TE_LAYERFLAG_SMOOTHSCROLL 64 |
#define | TE_LAYERFLAG_SHOWGRID 128 |
#define | TE_LAYERFLAG_PAUSE 256 |
#define | TE_KEEP_VALUE 0x00FFFFFE |
#define | TE_LAYERPOSITION_BEGIN 0x00FFFFFD |
#define | TE_LAYERPOSITION_MIDDLE 0x00FFFFFC |
#define | TE_LAYERPOSITION_END 0x00FFFFFB |
#define | TE_LAYERPOSITION_CENTER 0x0A000000 |
#define | TE_REGISTEREDMAPDATA_MAX 3 |
#define | TE_TILESET_DEFAULT_SOURCE "TE-TS-DEFAULT-SOURCE" |
#define | TE_LAYER_EMPTY "TE-LAYER-EMTPY" |
Enumerations | |
enum | CRM64Pro::eTileEngineResCtrl { CRM64Pro::TERC_USER = 0 , CRM64Pro::TERC_AUTO = 1 , CRM64Pro::TERC_INTERNAL = 2 } |
TE Resource control. More... | |
#define TE_LAYERFLAG_DISABLE 0 |
Disable all layer's flags. Default value.
#define TE_LAYERFLAG_LOOPX 1 |
Enable the loop on X axis.
#define TE_LAYERFLAG_LOOPY 2 |
Enable the loop on Y axis.
#define TE_LAYERFLAG_AUTOSCROLL 4 |
Enable autoscroll flag. Check setLayerAutoScroll() for further details.
#define TE_LAYERFLAG_UPDATE 8 |
Enable the updating flag. Check update() for further details.
#define TE_LAYERFLAG_UPDATECELLS 16 |
Enable the updating cells flag. Check update() for further details.
#define TE_LAYERFLAG_RENDER 32 |
Enable the rendering flag. Check render() for further details.
#define TE_LAYERFLAG_SMOOTHSCROLL 64 |
Enable the smooth rendering flag. Check render() for further details.
#define TE_LAYERFLAG_SHOWGRID 128 |
Show the base mapdata grid (for debugging purposes). Check setLayerGridColor() for further details.
#define TE_LAYERFLAG_PAUSE 256 |
Pause the layer (current positions can not be modified). Note that update() and render() methods should be called to keep the internal state.
#define TE_KEEP_VALUE 0x00FFFFFE |
Used with properties members to avoid to change the current value.
#define TE_LAYERPOSITION_BEGIN 0x00FFFFFD |
Set the layer position at the beginning.
#define TE_LAYERPOSITION_MIDDLE 0x00FFFFFC |
Set the layer position at the middle.
#define TE_LAYERPOSITION_END 0x00FFFFFB |
Set the layer position at the end.
#define TE_LAYERPOSITION_CENTER 0x0A000000 |
Try to set the layer position at the center.
#define TE_REGISTEREDMAPDATA_MAX 3 |
Maximum registered mapdata types. [0] is always cMSTE_MapBase.
#define TE_TILESET_DEFAULT_SOURCE "TE-TS-DEFAULT-SOURCE" |
Default source for loaded tilesets. It sets that at saving level time, the tileset will be saved in the same location as the level.
#define TE_LAYER_EMPTY "TE-LAYER-EMTPY" |
Default name for a layer which is allocated but empty.
TE Resource control.