summaryrefslogtreecommitdiff
path: root/src/statuseffect.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-21 16:52:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-21 16:52:59 +0300
commitac4e40a1408ad4d6fbcfce9d2bc6a0bc187ea5a4 (patch)
tree13314fbbb4945414b8be5d1d0236e1c41f88e8c8 /src/statuseffect.h
parent68857593b01b73d33fa1a12011cf9cb402db8a73 (diff)
downloadmanaplus-ac4e40a1408ad4d6fbcfce9d2bc6a0bc187ea5a4.tar.gz
manaplus-ac4e40a1408ad4d6fbcfce9d2bc6a0bc187ea5a4.tar.bz2
manaplus-ac4e40a1408ad4d6fbcfce9d2bc6a0bc187ea5a4.tar.xz
manaplus-ac4e40a1408ad4d6fbcfce9d2bc6a0bc187ea5a4.zip
Split StatusEffect into StatusEffect and StatusEffectDB.
Diffstat (limited to 'src/statuseffect.h')
-rw-r--r--src/statuseffect.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/statuseffect.h b/src/statuseffect.h
index 698a33bd0..b1a2d1d3e 100644
--- a/src/statuseffect.h
+++ b/src/statuseffect.h
@@ -94,36 +94,6 @@ class StatusEffect final
bool isPostDelay() const A_WARN_UNUSED
{ return mIsPostDelay; }
- /**
- * Retrieves a status effect.
- *
- * \param index Index of the status effect.
- * \param enabling Whether to retrieve the activating effect (true) or
- * the deactivating effect (false).
- */
- static StatusEffect *getStatusEffect(const int index,
- const Enable enabling)
- A_WARN_UNUSED;
-
- /**
- * Maps a block effect index to its corresponding effect index. Block
- * effect indices are used for opt2/opt3/status.option blocks; their
- * mapping to regular effect indices is handled in the config file.
- *
- * Returns -1 on failure.
- */
- static int blockEffectIndexToEffectIndex(const int blocKIndex)
- A_WARN_UNUSED;
-
- static void load();
-
- static void loadXmlFile(const std::string &fileName);
-
- static void unload();
-
- private:
- static bool mLoaded;
-
std::string mMessage;
std::string mSFXEffect;
std::string mParticleEffect;