summaryrefslogtreecommitdiff
path: root/src/effectmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-04 22:33:00 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-04 23:04:16 +0300
commitfaeaa157b1abada82243b8dc508201aa17db1df2 (patch)
tree4bd20cce8987a5e77d341b953ee6f93aaaab3504 /src/effectmanager.h
parenta1b7e08a00a9dfcf3596252f5565eea170fd4c71 (diff)
downloadmv-faeaa157b1abada82243b8dc508201aa17db1df2.tar.gz
mv-faeaa157b1abada82243b8dc508201aa17db1df2.tar.bz2
mv-faeaa157b1abada82243b8dc508201aa17db1df2.tar.xz
mv-faeaa157b1abada82243b8dc508201aa17db1df2.zip
Add support for loading animated effect for effects.xml
now this animation is unused. also effect field names is fixed.
Diffstat (limited to 'src/effectmanager.h')
-rw-r--r--src/effectmanager.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/effectmanager.h b/src/effectmanager.h
index fca033d97..95ecc3439 100644
--- a/src/effectmanager.h
+++ b/src/effectmanager.h
@@ -37,16 +37,19 @@ class EffectManager final
public:
struct EffectDescription
{
- EffectDescription(const int id0, const std::string &GFX0,
- const std::string &SFX0) :
+ EffectDescription(const int id0, const std::string &gfx0,
+ const std::string &sfx0,
+ const std::string &sprite0) :
id(id0),
- GFX(GFX0),
- SFX(SFX0)
+ gfx(gfx0),
+ sfx(sfx0),
+ sprite(sprite0)
{
}
int id;
- std::string GFX;
- std::string SFX;
+ std::string gfx;
+ std::string sfx;
+ std::string sprite;
};
EffectManager();