From faeaa157b1abada82243b8dc508201aa17db1df2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 4 Apr 2013 22:33:00 +0300 Subject: Add support for loading animated effect for effects.xml now this animation is unused. also effect field names is fixed. --- src/effectmanager.h | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'src/effectmanager.h') 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(); -- cgit v1.2.3-60-g2f50