diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-28 17:44:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-28 17:44:08 +0300 |
commit | 4415cb66734e67dfcdf8924d354107d27fb70fee (patch) | |
tree | 55cbb5de9eaa013ac3b88efad1bba8cfef34c791 /src/resources/resourcemanager.h | |
parent | 9a6810756795ee7a7ed4854ed76f5dc49ec88cc8 (diff) | |
download | plus-4415cb66734e67dfcdf8924d354107d27fb70fee.tar.gz plus-4415cb66734e67dfcdf8924d354107d27fb70fee.tar.bz2 plus-4415cb66734e67dfcdf8924d354107d27fb70fee.tar.xz plus-4415cb66734e67dfcdf8924d354107d27fb70fee.zip |
Move delay load code from resourcemanager into separate file.
Diffstat (limited to 'src/resources/resourcemanager.h')
-rw-r--r-- | src/resources/resourcemanager.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h index 954ee3551..0e14e61bb 100644 --- a/src/resources/resourcemanager.h +++ b/src/resources/resourcemanager.h @@ -47,9 +47,6 @@ class WalkLayer; struct SDL_Surface; struct SDL_RWops; -typedef std::list<AnimationDelayLoad*> DelayedAnim; -typedef DelayedAnim::iterator DelayedAnimIter; - /** * A class for loading and managing resources. */ @@ -328,14 +325,6 @@ class ResourceManager final void clearCache(); - static void addDelayedAnimation(AnimationDelayLoad *const animation) - { mDelayedAnimations.push_back(animation); } - - static void delayedLoad(); - - static void removeDelayLoad(const AnimationDelayLoad - *const delayedLoad); - static void deleteFilesInDirectory(std::string path); private: @@ -352,7 +341,6 @@ class ResourceManager final time_t mOldestOrphan; bool mDestruction; bool mUseLongLiveSprites; - static DelayedAnim mDelayedAnimations; }; #endif // RESOURCES_RESOURCEMANAGER_H |