31 #include "common/array.h" 32 #include "hpl1/engine/graphics/Graphics.h" 33 #include "hpl1/engine/math/MathTypes.h" 34 #include "hpl1/engine/scene/Camera2D.h" 35 #include "hpl1/engine/scene/TileLayer.h" 36 #include "hpl1/engine/scene/TileMapIt.h" 37 #include "hpl1/engine/scene/TileSet.h" 55 const cVector2l &GetSize() {
return mvSize; }
56 float GetTileSize() {
return mfTileSize; }
58 int GetTileNeighbours4Dir(
int alTileNum,
int alLayer,
bool *avDir);
61 cTileSet *GetTileSet(
int alNum) {
return mvTileSet[alNum]; }
66 cTileLayer *GetTileLayer(
int alNum) {
return mvTileLayer[alNum]; }
67 int GetTileLayerNum() {
return (
int)mvTileLayer.
size(); }
75 void SetScreenTileData(
cVector2f avPos,
int alLayer,
cCamera2D *apCam,
int alTileSet,
int alTileNum);
81 void SetShadowLayer(
int alShadowLayer) { mlShadowLayer = alShadowLayer; }
82 int GetShadowLayer() {
return mlShadowLayer; }
88 tTileSetVec mvTileSet;
89 tTileLayerVec mvTileLayer;
96 inline void RenderTileData(
cTile *apTile,
int alLayer);
101 #endif // HPL_TILEMAP_H
Definition: TileMapLineIt.h:37
T * iterator
Definition: array.h:54
void push_back(const T &element)
Definition: array.h:180
Definition: TileMapRectIt.h:37
Definition: TileMapIt.h:35
size_type size() const
Definition: array.h:315
Definition: Resources.h:160
Definition: TileLayer.h:46
Definition: Graphics.h:46
Definition: Camera2D.h:38