DDraceNetwork Documentation
Loading...
Searching...
No Matches
CMapItemLayerTilemap Class Reference

#include <mapitems.h>

Collaboration diagram for CMapItemLayerTilemap:
[legend]

Public Attributes

CMapItemLayer m_Layer
int m_Version
int m_Width
int m_Height
int m_Flags
CColor m_Color
int m_ColorEnv
int m_ColorEnvOffset
int m_Image
int m_Data
int m_aName [3]
int m_Tele
int m_Speedup
int m_Front
int m_Switch
int m_Tune

Static Public Attributes

static constexpr int VERSION_TEEWORLDS_TILESKIP = 4

Member Data Documentation

◆ m_aName

int CMapItemLayerTilemap::m_aName[3]

◆ m_Color

CColor CMapItemLayerTilemap::m_Color

◆ m_ColorEnv

int CMapItemLayerTilemap::m_ColorEnv

◆ m_ColorEnvOffset

int CMapItemLayerTilemap::m_ColorEnvOffset

◆ m_Data

int CMapItemLayerTilemap::m_Data

◆ m_Flags

int CMapItemLayerTilemap::m_Flags

◆ m_Front

int CMapItemLayerTilemap::m_Front

◆ m_Height

int CMapItemLayerTilemap::m_Height

◆ m_Image

int CMapItemLayerTilemap::m_Image

◆ m_Layer

CMapItemLayer CMapItemLayerTilemap::m_Layer

◆ m_Speedup

int CMapItemLayerTilemap::m_Speedup

◆ m_Switch

int CMapItemLayerTilemap::m_Switch

◆ m_Tele

int CMapItemLayerTilemap::m_Tele

◆ m_Tune

int CMapItemLayerTilemap::m_Tune

◆ m_Version

int CMapItemLayerTilemap::m_Version

◆ m_Width

int CMapItemLayerTilemap::m_Width

◆ VERSION_TEEWORLDS_TILESKIP

int CMapItemLayerTilemap::VERSION_TEEWORLDS_TILESKIP = 4
staticconstexpr

CMapItemLayerTilemap with this version are only written to maps in upstream Teeworlds. The tile data of tilemaps using this version must be unpacked by repeating tiles according to the CTile::m_Skip values of the packed tile data.

See also
CMap::ExtractTiles

The documentation for this class was generated from the following file: