From ac4e40a1408ad4d6fbcfce9d2bc6a0bc187ea5a4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 21 Mar 2016 16:52:59 +0300 Subject: Split StatusEffect into StatusEffect and StatusEffectDB. --- src/statuseffect.h | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'src/statuseffect.h') 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; -- cgit v1.2.3-60-g2f50