summaryrefslogtreecommitdiff
path: root/src/effectmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/effectmanager.h')
-rw-r--r--src/effectmanager.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/effectmanager.h b/src/effectmanager.h
index b5d8e5bfc..d8bbd691b 100644
--- a/src/effectmanager.h
+++ b/src/effectmanager.h
@@ -37,9 +37,16 @@ class EffectManager final
public:
struct EffectDescription
{
- int id;
- std::string GFX;
- std::string SFX;
+ EffectDescription(int id0, const std::string GFX0,
+ const std::string SFX0) :
+ id(id0),
+ GFX(GFX0),
+ SFX(SFX0)
+ {
+ }
+ int id;
+ std::string GFX;
+ std::string SFX;
};
EffectManager();