summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorPhilipp Sehmisch <mana@crushnet.org>2010-03-04 21:27:16 +0100
committerPhilipp Sehmisch <mana@crushnet.org>2010-03-04 21:38:24 +0100
commitc176df1796a7b0fd53b52b52e8bd9d4a81ff8b1a (patch)
tree1b6a239f8fcc7f7834062e76ee2cdf125e9d426d /src/map.h
parent6e68568d9fb44762e4c3257b505e8b67ac1f70fe (diff)
downloadmana-c176df1796a7b0fd53b52b52e8bd9d4a81ff8b1a.tar.gz
mana-c176df1796a7b0fd53b52b52e8bd9d4a81ff8b1a.tar.bz2
mana-c176df1796a7b0fd53b52b52e8bd9d4a81ff8b1a.tar.xz
mana-c176df1796a7b0fd53b52b52e8bd9d4a81ff8b1a.zip
Implemented markers for warp portals defined in map files in form of particle effects. Reviewed-by: Jared Adams <jaxad0127@gmail.com>
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map.h b/src/map.h
index 96bba296..9d5fe021 100644
--- a/src/map.h
+++ b/src/map.h
@@ -290,7 +290,7 @@ class Map : public Properties
/**
* Adds a particle effect
*/
- void addParticleEffect(const std::string &effectFile, int x, int y);
+ void addParticleEffect(const std::string &effectFile, int x, int y, int w = 0, int h = 0);
/**
* Initializes all added particle effects
@@ -367,6 +367,8 @@ class Map : public Properties
std::string file;
int x;
int y;
+ int w;
+ int h;
};
std::list<ParticleEffectData> particleEffects;