ManaPlus
map.h
Go to the documentation of this file.
1 /*
2  * The ManaPlus Client
3  * Copyright (C) 2004-2009 The Mana World Development Team
4  * Copyright (C) 2009-2010 The Mana Developers
5  * Copyright (C) 2011-2019 The ManaPlus Developers
6  *
7  * This file is part of The ManaPlus Client.
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program. If not, see <http://www.gnu.org/licenses/>.
21  */
22 
23 #ifndef RESOURCES_MAP_MAP_H
24 #define RESOURCES_MAP_MAP_H
25 
26 #include "position.h"
27 
28 #include "being/actor.h"
29 
31 
35 
37 
38 #include "utils/vector.h"
39 
41 
43 
44 class AmbientLayer;
45 #ifdef USE_OPENGL
46 class AtlasResource;
47 #endif // USE_OPENGL
48 
49 class MapHeights;
50 class MapItem;
51 class MapLayer;
52 class ObjectsLayer;
53 class SpecialLayer;
54 class Tileset;
55 class TileAnimation;
56 class WalkLayer;
57 
58 struct MetaTile;
59 
60 typedef STD_VECTOR<Tileset*> Tilesets;
61 typedef STD_VECTOR<MapLayer*> Layers;
62 typedef Layers::const_iterator LayersCIter;
63 
64 typedef STD_VECTOR<AmbientLayer*> AmbientLayerVector;
65 typedef AmbientLayerVector::const_iterator AmbientLayerVectorCIter;
66 typedef AmbientLayerVector::iterator AmbientLayerVectorIter;
67 
71 class Map final : public Properties,
72  public ConfigListener,
73  public MemoryCounter
74 {
75  public:
79  Map(const std::string &name,
80  const int width,
81  const int height,
82  const int tileWidth,
83  const int tileHeight);
84 
86 
87 
90  ~Map() override final;
91 
97 
101  void update(const int ticks) restrict2;
102 
107  void draw(Graphics *restrict const graphics,
108  int scrollX,
109  int scrollY) restrict2 A_NONNULL(2);
110 
114  void drawCollision(Graphics *restrict const graphics,
115  const int scrollX,
116  const int scrollY,
117  const MapTypeT drawFlags) const
118  restrict2 A_NONNULL(2);
119 
123  void addLayer(MapLayer *const layer) restrict2 A_NONNULL(2);
124 
128  void addTileset(Tileset *const tileset) restrict2 A_NONNULL(2);
129 
133  const Tileset *getTilesetWithGid(const int gid) const
135 
139  const MetaTile *getMetaTile(const int x,
140  const int y) const
142 
143  void addBlockMask(const int x, const int y,
144  const BlockTypeT type) restrict2;
145 
146  void setBlockMask(const int x, const int y,
147  const BlockTypeT type) restrict2;
148 
153  bool getWalk(const int x, const int y,
154  const unsigned char blockWalkMask) const
156 
157  void setWalk(const int x, const int y) restrict2;
158 
159  unsigned char getBlockMask(const int x,
160  const int y) const restrict2;
161 
166  { return mWidth; }
167 
172  { return mHeight; }
173 
178  { return mTileWidth; }
179 
184  { return mTileHeight; }
185 
186  const std::string getMusicFile() const restrict2 A_WARN_UNUSED;
187 
188  void setMusicFile(const std::string &restrict file) restrict2;
189 
190  const std::string getName() const restrict2 A_WARN_UNUSED;
191 
195  const std::string getFilename() const restrict2 A_WARN_UNUSED;
196 
197  const std::string getGatName() const restrict2 A_WARN_UNUSED;
198 
202  Path findPath(const int startX, const int startY,
203  const int destX, const int destY,
204  const unsigned char blockWalkmask,
205  const int maxCost) restrict2 A_WARN_UNUSED;
206 
210  void addParticleEffect(const std::string &restrict effectFile,
211  const int x,
212  const int y,
213  const int w,
214  const int h) restrict2;
215 
220 
224  void addAnimation(const int gid,
225  TileAnimation *restrict const animation) restrict2
226  A_NONNULL(3);
227 
229 
231  { return mDrawLayersFlags; }
232 
233  void addExtraLayer() restrict2;
234 
235  void saveExtraLayer() const restrict2;
236 
238  { return mTempLayer; }
239 
241  { return mSpecialLayer; }
242 
243  void setHasWarps(const bool n) restrict2 noexcept2
244  { mHasWarps = n; }
245 
247  { return mHasWarps; }
248 
249  std::string getUserMapDirectory() const restrict2 A_WARN_UNUSED;
250 
251  void addPortal(const std::string &restrict name,
252  const int type,
253  const int x, const int y,
254  const int dx, const int dy) restrict2;
255 
256  void addRange(const std::string &restrict name,
257  const int type,
258  const int x, const int y,
259  const int dx, const int dy) restrict2;
260 
261  void addPortalTile(const std::string &restrict name,
262  const int type,
263  const int x, const int y) restrict2;
264 
265  void updatePortalTile(const std::string &restrict name,
266  const int type,
267  const int x, const int y,
268  const bool addNew) restrict2;
269 
272  { return mMapPortals; }
273 
277  const TileAnimation *getAnimationForGid(const int gid)
278  const restrict2 A_WARN_UNUSED;
279 
280  void optionChanged(const std::string &restrict value)
281  restrict2 override final;
282 
283  MapItem *findPortalXY(const int x,
284  const int y) const restrict2 A_WARN_UNUSED;
285 
287  { return CAST_S32(mActors.size()); }
288 
289  void setPvpMode(const int mode) restrict2;
290 
292  { return mPvp; }
293 
296  { return mObjects; }
297 
298  std::string getObjectData(const unsigned x,
299  const unsigned y,
300  const int type) const
302 
303  void indexTilesets() restrict2;
304 
306 
307  void setActorsFix(const int x, const int y) restrict2;
308 
310  { return mVersion; }
311 
312  void setVersion(const int n) restrict2 noexcept2
313  { mVersion = n; }
314 
315  void reduce() restrict2;
316 
318  { mRedrawMap = true; }
319 
321  { return mLayers.empty(); }
322 
323  void setCustom(const bool b) restrict2 noexcept2
324  { mCustom = b; }
325 
327  { return mCustom; }
328 
329  const std::map<int, TileAnimation*> &getTileAnimations() const
331  { return mTileAnimations; }
332 
333 #ifdef USE_OPENGL
335 
337  { mAtlas = atlas; }
338 
339  bool haveAtlas() const
340  { return mAtlas != nullptr; }
341 #endif // USE_OPENGL
342 
344  { return mMetaTiles; }
345 
347  { return mWalkLayer; }
348 
350  { mWalkLayer = layer; }
351 
352  void addHeights(const MapHeights *restrict const heights) restrict2
353  A_NONNULL(2);
354 
355  uint8_t getHeightOffset(const int x, const int y) const restrict2;
356 
357  void setMask(const int mask) restrict2;
358 
360 
362  { return mHeights != nullptr; }
363 
365 
366  void preCacheLayers() restrict2;
367 
368  int calcMemoryLocal() const override final;
369 
370  int calcMemoryChilds(const int level) const override final;
371 
373  { return mName; }
374 
375  void screenResized();
376 
377  protected:
378  friend class Actor;
379  friend class Minimap;
380 
384  Actors::iterator addActor(Actor *const actor) restrict2 A_NONNULL(2);
385 
389  void removeActor(const Actors::iterator &restrict iterator) restrict2;
390 
391  private:
395  void updateAmbientLayers(const float scrollX,
396  const float scrollY) restrict2;
397 
401  void drawAmbientLayers(Graphics *restrict const graphics,
402  const MapLayerPositionT type,
403  const int detail) const restrict2 A_NONNULL(2);
404 
408  bool contains(const int x,
409  const int y) const restrict2 A_WARN_UNUSED;
410 
411  const int mWidth;
412  const int mHeight;
413  const int mTileWidth;
414  const int mTileHeight;
423  bool mHasWarps;
424 
425  // draw flags
427 
428  // Pathfinding members
429  unsigned int mOnClosedList;
430  unsigned int mOnOpenList;
431 
432  // Overlay data
437 
438  // Particle effect data
440  {
441  ParticleEffectData(const std::string &restrict file0,
442  const int x0,
443  const int y0,
444  const int w0,
445  const int h0) noexcept2 :
446  file(file0),
447  x(x0),
448  y(y0),
449  w(w0),
450  h(h0)
451  {
452  }
453 
455 
456  const2 std::string file;
457  const2 int x;
458  const2 int y;
459  const2 int w;
460  const2 int h;
461  };
463 
465 
467 
468  std::string mName;
470  float mOpacity;
472  int mPvp;
478  int mVersion;
479 
484 
485  int mLastX;
486  int mLastY;
489 
490  int mDrawX;
491  int mDrawY;
494  int mMask;
495 #ifdef USE_OPENGL
497 #endif // USE_OPENGL
498 
503  bool mCustom;
505  bool mClear;
506 };
507 
508 #endif // RESOURCES_MAP_MAP_H
Tilesets
std::vector< Tileset * > Tilesets
Definition: map.h:58
Map::mActorFixY
int mActorFixY
Definition: map.h:477
Map::screenResized
void screenResized()
Definition: map.cpp:1806
ConfigListener
Definition: configlistener.h:36
Map::getTempLayer
SpecialLayer * getTempLayer() const
Definition: map.h:237
Map::mName
std::string mName
Definition: map.h:468
Map::mDrawX
int mDrawX
Definition: map.h:490
MapHeights
Definition: mapheights.h:30
Map::mIndexedTilesetsSize
int mIndexedTilesetsSize
Definition: map.h:475
Map::mHeight
const int mHeight
Definition: map.h:412
restrict2
#define restrict2
Definition: localconsts.h:165
Map::reduce
void reduce()
Definition: map.cpp:1472
Map::getDrawLayersFlags
MapTypeT getDrawLayersFlags() const
Definition: map.h:230
Map::getSpecialLayer
SpecialLayer * getSpecialLayer() const
Definition: map.h:240
Map::removeActor
void removeActor(const Actors::iterator &iterator)
Definition: map.cpp:828
Map::saveExtraLayer
void saveExtraLayer() const
Definition: map.cpp:1225
Map::mTilesetsIndexed
bool mTilesetsIndexed
Definition: map.h:473
Map::setHasWarps
void setHasWarps(const bool n)
Definition: map.h:243
Map::mWidth
const int mWidth
Definition: map.h:411
MapTypeT
MapType ::T MapTypeT
Definition: maptype.h:38
Map::initializeParticleEffects
void initializeParticleEffects() const
Definition: map.cpp:1108
Map::calcMemoryLocal
int calcMemoryLocal() const
Definition: map.cpp:1755
Map::mLastScrollX
int mLastScrollX
Definition: map.h:487
Map::getTileAnimations
const std::map< int, TileAnimation * > & getTileAnimations() const
Definition: map.h:329
Map::getWidth
int getWidth() const
Definition: map.h:165
Map::haveAtlas
bool haveAtlas() const
Definition: map.h:339
Map::mOnClosedList
unsigned int mOnClosedList
Definition: map.h:429
Map::setMask
void setMask(const int mask)
Definition: map.cpp:1675
Map::addParticleEffect
void addParticleEffect(const std::string &effectFile, const int x, const int y, const int w, const int h)
Definition: map.cpp:1100
MemoryCounter
Definition: memorycounter.h:28
Map::getMetaTiles
const MetaTile * getMetaTiles() const
Definition: map.h:343
Actors
std::list< Actor * > Actors
Definition: actor.h:35
MapItem
Definition: mapitem.h:31
Map::mActors
Actors mActors
Definition: map.h:422
RenderType
RenderType
Definition: rendertype.h:24
Map::getObjectData
std::string getObjectData(const unsigned x, const unsigned y, const int type) const
Definition: map.cpp:1392
Map::mSpecialLayer
SpecialLayer * mSpecialLayer
Definition: map.h:480
Tileset
Definition: tileset.h:33
Map::mDrawLayersFlags
MapTypeT mDrawLayersFlags
Definition: map.h:426
Map::calcMemoryChilds
int calcMemoryChilds(const int level) const
Definition: map.cpp:1773
A_DELETE_COPY
#define A_DELETE_COPY(func)
Definition: localconsts.h:52
Path
std::list< Position > Path
Definition: position.h:48
Map::getAtlasCount
int getAtlasCount() const
Definition: map.cpp:1820
Map::isHeightsPresent
bool isHeightsPresent() const
Definition: map.h:361
Map::mDrawOverLayers
Layers mDrawOverLayers
Definition: map.h:420
Map::getMetaTile
const MetaTile * getMetaTile(const int x, const int y) const
Definition: map.cpp:816
Map::ParticleEffectData::ParticleEffectData
ParticleEffectData(const std::string &file0, const int x0, const int y0, const int w0, const int h0)
Definition: map.h:441
Map::addLayer
void addLayer(MapLayer *const layer)
Definition: map.cpp:312
Map::updateDrawLayersList
void updateDrawLayersList()
Definition: map.cpp:1637
Map::ParticleEffectData::x
int x
Definition: map.h:457
Map::mObjects
ObjectsLayer * mObjects
Definition: map.h:482
Map::getWalk
bool getWalk(const int x, const int y, const unsigned char blockWalkMask) const
Definition: map.cpp:784
Map::mHasWarps
bool mHasWarps
Definition: map.h:423
Map::mTileWidth
const int mTileWidth
Definition: map.h:413
Actor
Definition: actor.h:40
Map::mMask
int mMask
Definition: map.h:494
Map::getActorsCount
int getActorsCount() const
Definition: map.h:286
memorycounter.h
Map::mDrawOnlyFringe
bool mDrawOnlyFringe
Definition: map.h:504
LayersCIter
Layers::const_iterator LayersCIter
Definition: map.h:62
AtlasResource
Definition: atlasresource.h:32
Map::getFilename
const std::string getFilename() const
Definition: map.cpp:847
Map::ParticleEffectData
Definition: map.h:439
Graphics
Definition: graphics.h:107
Map::mLayers
Layers mLayers
Definition: map.h:418
Map::mForegrounds
AmbientLayerVector mForegrounds
Definition: map.h:434
Map::update
void update(const int ticks)
Definition: map.cpp:327
Map::mAtlas
AtlasResource * mAtlas
Definition: map.h:496
Map::setCustom
void setCustom(const bool b)
Definition: map.h:323
Map::getUserMapDirectory
std::string getUserMapDirectory() const
Definition: map.cpp:1272
Map::mRedrawMap
bool mRedrawMap
Definition: map.h:500
A_DEFAULT_COPY
#define A_DEFAULT_COPY(func)
Definition: localconsts.h:40
Map::setPvpMode
void setPvpMode(const int mode)
Definition: map.cpp:1360
Map::optionChanged
void optionChanged(const std::string &value)
Definition: map.cpp:210
STD_VECTOR
#define STD_VECTOR
Definition: vector.h:29
Map::getHasWarps
bool getHasWarps() const
Definition: map.h:246
noexcept2
#define noexcept2
Definition: localconsts.h:49
Layers
std::vector< MapLayer * > Layers
Definition: map.h:61
Map::getCounterName
std::string getCounterName() const
Definition: map.h:372
Map::mOpacity
float mOpacity
Definition: map.h:470
Map::indexTilesets
void indexTilesets()
Definition: map.cpp:1414
maplayerposition.h
final
#define final
Definition: localconsts.h:45
Map::mTilesets
Tilesets mTilesets
Definition: map.h:421
Map::getHeightOffset
uint8_t getHeightOffset(const int x, const int y) const
Definition: map.cpp:1630
Map::mTempLayer
SpecialLayer * mTempLayer
Definition: map.h:481
Map::setDrawLayersFlags
void setDrawLayersFlags(const MapTypeT &n)
Definition: map.cpp:1702
blockWalkMask
static const int blockWalkMask
Definition: navigationmanager.cpp:31
Map::redrawMap
void redrawMap()
Definition: map.h:317
Map::setAtlas
void setAtlas(AtlasResource *const atlas)
Definition: map.h:336
MetaTile
Definition: metatile.h:33
Minimap
Definition: minimap.h:40
Map::mLastAScrollY
float mLastAScrollY
Definition: map.h:436
MapLayer
Definition: maplayer.h:48
Map::mWalkLayer
WalkLayer * mWalkLayer
Definition: map.h:417
Map::draw
void draw(Graphics *const graphics, int scrollX, int scrollY)
Definition: map.cpp:338
Map::setActorsFix
void setActorsFix(const int x, const int y)
Definition: map.cpp:1723
Map::addTileset
void addTileset(Tileset *const tileset)
Definition: map.cpp:319
Map::mTileAnimations
std::map< int, TileAnimation * > mTileAnimations
Definition: map.h:466
MapLayerPositionT
MapLayerPosition ::T MapLayerPositionT
Definition: maplayerposition.h:35
Map::getTileWidth
int getTileWidth() const
Definition: map.h:177
Map::mLastAScrollX
float mLastAScrollX
Definition: map.h:435
Map::ParticleEffectData::w
int w
Definition: map.h:459
Map::getObjectsLayer
const ObjectsLayer * getObjectsLayer() const
Definition: map.h:294
Map::getTilesetWithGid
const Tileset * getTilesetWithGid(const int gid) const
Definition: map.cpp:699
Map::mIndexedTilesets
Tileset ** mIndexedTilesets
Definition: map.h:474
Map::mClear
bool mClear
Definition: map.h:505
Map::mHeights
const MapHeights * mHeights
Definition: map.h:499
Map::mParticleEffects
std::vector< ParticleEffectData > mParticleEffects
Definition: map.h:462
Map::getName
const std::string getName() const
Definition: map.cpp:839
BlockTypeT
BlockType ::T BlockTypeT
Definition: blocktype.h:40
Map::mDrawScrollX
int mDrawScrollX
Definition: map.h:492
Map::~Map
~Map()
Definition: map.cpp:179
Map::getPortals
const std::vector< MapItem * > & getPortals() const
Definition: map.h:270
x
x
Definition: graphics_calcImageRect.hpp:72
Map::mBeingOpacity
bool mBeingOpacity
Definition: map.h:501
Map::mLastX
int mLastX
Definition: map.h:485
Map::setWalkLayer
void setWalkLayer(WalkLayer *const layer)
Definition: map.h:349
maptype.h
Map::setWalk
void setWalk(const int x, const int y)
Definition: map.cpp:806
Map::ParticleEffectData::file
std::string file
Definition: map.h:456
Map::empty
bool empty() const
Definition: map.h:320
Map::findPath
Path findPath(const int startX, const int startY, const int destX, const int destY, const unsigned char blockWalkmask, const int maxCost)
Definition: map.cpp:862
Map::updateAmbientLayers
void updateAmbientLayers(const float scrollX, const float scrollY)
Definition: map.cpp:618
Map::mPvp
int mPvp
Definition: map.h:472
Map::ParticleEffectData::h
int h
Definition: map.h:460
Map::initializeAmbientLayers
void initializeAmbientLayers()
Definition: map.cpp:233
position.h
Map::mDrawUnderLayers
Layers mDrawUnderLayers
Definition: map.h:419
rendertype.h
Map::isCustom
bool isCustom() const
Definition: map.h:326
Map::addHeights
void addHeights(const MapHeights *const heights)
Definition: map.cpp:1624
Map::mOverlayDetail
int mOverlayDetail
Definition: map.h:469
Map::mDrawY
int mDrawY
Definition: map.h:491
AmbientLayerVector
std::vector< AmbientLayer * > AmbientLayerVector
Definition: map.h:64
SpecialLayer
Definition: speciallayer.h:33
Map::addPortal
void addPortal(const std::string &name, const int type, const int x, const int y, const int dx, const int dy)
Definition: map.cpp:1290
Map::getHeight
int getHeight() const
Definition: map.h:171
const2
#define const2
Definition: localconsts.h:190
TileAnimation
Definition: tileanimation.h:43
Map::getGatName
const std::string getGatName() const
Definition: map.cpp:854
WalkLayer
Definition: walklayer.h:28
Map::mOpenGL
const RenderType mOpenGL
Definition: map.h:471
override
#define override
Definition: localconsts.h:46
std
Definition: mseprimitives.h:398
Map::findPortalXY
MapItem * findPortalXY(const int x, const int y) const
Definition: map.cpp:1337
ObjectsLayer
Definition: objectslayer.h:30
Map::mFringeLayer
MapLayer * mFringeLayer
Definition: map.h:483
AmbientLayerVectorIter
AmbientLayerVector::iterator AmbientLayerVectorIter
Definition: map.h:66
Map
Definition: map.h:71
Map::preCacheLayers
void preCacheLayers()
Definition: map.cpp:1745
Map::Map
Map(const std::string &name, const int width, const int height, const int tileWidth, const int tileHeight)
Definition: map.cpp:96
restrict
#define restrict
Definition: localconsts.h:164
Map::drawAmbientLayers
void drawAmbientLayers(Graphics *const graphics, const MapLayerPositionT type, const int detail) const
Definition: map.cpp:658
vector.h
Map::getTileHeight
int getTileHeight() const
Definition: map.h:183
Map::addAnimation
void addAnimation(const int gid, TileAnimation *const animation)
Definition: map.cpp:1690
Map::getBlockMask
unsigned char getBlockMask(const int x, const int y) const
Definition: map.cpp:795
Map::getVersion
int getVersion() const
Definition: map.h:309
actor.h
CAST_S32
#define CAST_S32
Definition: cast.h:29
Map::getAnimationForGid
const TileAnimation * getAnimationForGid(const int gid) const
Definition: map.cpp:1351
blocktype.h
Properties
Definition: properties.h:34
Map::addPortalTile
void addPortalTile(const std::string &name, const int type, const int x, const int y)
Definition: map.cpp:1299
Map::mDrawScrollY
int mDrawScrollY
Definition: map.h:493
A_WARN_UNUSED
#define A_WARN_UNUSED
Definition: localconsts.h:160
Map::contains
bool contains(const int x, const int y) const
Definition: map.cpp:811
Map::mActorFixX
int mActorFixX
Definition: map.h:476
properties.h
Map::getWalkLayer
const WalkLayer * getWalkLayer() const
Definition: map.h:346
Map::mMaxTileHeight
int mMaxTileHeight
Definition: map.h:415
Map::mMetaTiles
MetaTile *const mMetaTiles
Definition: map.h:416
Map::getMusicFile
const std::string getMusicFile() const
Definition: map.cpp:834
Map::updatePortalTile
void updatePortalTile(const std::string &name, const int type, const int x, const int y, const bool addNew)
Definition: map.cpp:1312
Map::addRange
void addRange(const std::string &name, const int type, const int x, const int y, const int dx, const int dy)
Definition: map.cpp:1278
Map::drawCollision
void drawCollision(Graphics *const graphics, const int scrollX, const int scrollY, const MapTypeT drawFlags) const
Definition: map.cpp:568
Map::setVersion
void setVersion(const int n)
Definition: map.h:312
Map::addExtraLayer
void addExtraLayer()
Definition: map.cpp:1141
Map::mLastY
int mLastY
Definition: map.h:486
AmbientLayer
Definition: ambientlayer.h:33
Map::mBackgrounds
AmbientLayerVector mBackgrounds
Definition: map.h:433
y
y
Definition: graphics_calcImageRect.hpp:72
Map::getPvpMode
int getPvpMode() const
Definition: map.h:291
Map::mCustom
bool mCustom
Definition: map.h:503
A_NONNULL
#define A_NONNULL(...)
Definition: localconsts.h:167
Map::mLastScrollY
int mLastScrollY
Definition: map.h:488
Map::ParticleEffectData::y
int y
Definition: map.h:458
Map::mCachedDraw
bool mCachedDraw
Definition: map.h:502
Map::addActor
Actors::iterator addActor(Actor *const actor)
Definition: map.cpp:821
Map::setBlockMask
void setBlockMask(const int x, const int y, const BlockTypeT type)
Definition: map.cpp:745
Map::setMusicFile
void setMusicFile(const std::string &file)
Definition: map.cpp:1685
Map::updateConditionLayers
void updateConditionLayers()
Definition: map.cpp:1731
Map::mTileHeight
const int mTileHeight
Definition: map.h:414
Map::mOnOpenList
unsigned int mOnOpenList
Definition: map.h:430
Map::mMapPortals
std::vector< MapItem * > mMapPortals
Definition: map.h:464
Map::mVersion
int mVersion
Definition: map.h:478
AmbientLayerVectorCIter
AmbientLayerVector::const_iterator AmbientLayerVectorCIter
Definition: map.h:65
configlistener.h
Map::addBlockMask
void addBlockMask(const int x, const int y, const BlockTypeT type)
Definition: map.cpp:706
Map::clearIndexedTilesets
void clearIndexedTilesets()
Definition: map.cpp:1462