summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-29 23:24:39 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-29 23:24:39 +0200
commitf016894763970ad5601d1fb2de10431fb876ff53 (patch)
treeae2ccf42ec3880dc6de6c0f206b4bc4cd095f0a9 /src/map.cpp
parent5fd5b71ad0be6d1ac5665ec4d5f0aafff25646fd (diff)
downloadmana-f016894763970ad5601d1fb2de10431fb876ff53.tar.gz
mana-f016894763970ad5601d1fb2de10431fb876ff53.tar.bz2
mana-f016894763970ad5601d1fb2de10431fb876ff53.tar.xz
mana-f016894763970ad5601d1fb2de10431fb876ff53.zip
Some random cleanups
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/map.cpp b/src/map.cpp
index 472c136f..4d867865 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -384,7 +384,7 @@ void Map::drawOverlay(Graphics *graphics,
class ContainsGidFunctor
{
public:
- bool operator() (const Tileset* set) const
+ bool operator() (const Tileset *set) const
{
return (set->getFirstGid() <= gid &&
gid - set->getFirstGid() < (int)set->size());
@@ -392,7 +392,7 @@ class ContainsGidFunctor
int gid;
} containsGid;
-Tileset* Map::getTilesetWithGid(int gid) const
+Tileset *Map::getTilesetWithGid(int gid) const
{
containsGid.gid = gid;
@@ -444,7 +444,7 @@ bool Map::contains(int x, int y) const
return x >= 0 && y >= 0 && x < mWidth && y < mHeight;
}
-MetaTile* Map::getMetaTile(int x, int y) const
+MetaTile *Map::getMetaTile(int x, int y) const
{
return &mMetaTiles[x + y * mWidth];
}
@@ -655,7 +655,7 @@ void Map::addParticleEffect(const std::string &effectFile, int x, int y)
particleEffects.push_back(newEffect);
}
-void Map::initializeParticleEffects(Particle* particleEngine)
+void Map::initializeParticleEffects(Particle *particleEngine)
{
if (config.getValue("particleeffects", 1))
{
@@ -669,7 +669,7 @@ void Map::initializeParticleEffects(Particle* particleEngine)
}
}
-TileAnimation* Map::getAnimationForGid(int gid)
+TileAnimation *Map::getAnimationForGid(int gid)
{
std::map<int, TileAnimation*>::iterator i = mTileAnimations.find(gid);
if (i == mTileAnimations.end())