summaryrefslogtreecommitdiff
path: root/src/resources/resourcemanager/resourcemanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-27 21:37:03 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-27 21:37:03 +0300
commitc18d789b35f29611c88d0e3bdbb5619500ea7a2a (patch)
treecdc7e6d57305bba43859b5a669df1e975220dc3f /src/resources/resourcemanager/resourcemanager.h
parent6ed4f7f09a297e9afb829634399c94ccc542729e (diff)
downloadmanaverse-c18d789b35f29611c88d0e3bdbb5619500ea7a2a.tar.gz
manaverse-c18d789b35f29611c88d0e3bdbb5619500ea7a2a.tar.bz2
manaverse-c18d789b35f29611c88d0e3bdbb5619500ea7a2a.tar.xz
manaverse-c18d789b35f29611c88d0e3bdbb5619500ea7a2a.zip
Move spritedef load function from resourcemanager into separate file.
Diffstat (limited to 'src/resources/resourcemanager/resourcemanager.h')
-rw-r--r--src/resources/resourcemanager/resourcemanager.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/resources/resourcemanager/resourcemanager.h b/src/resources/resourcemanager/resourcemanager.h
index 582359079..71643d1ac 100644
--- a/src/resources/resourcemanager/resourcemanager.h
+++ b/src/resources/resourcemanager/resourcemanager.h
@@ -134,13 +134,6 @@ class ResourceManager final : public MemoryCounter
bool addResource(const std::string &idPath, Resource *const resource);
/**
- * Creates a sprite definition based on a given path and the supplied
- * variant.
- */
- SpriteDef *getSprite(const std::string &path,
- const int variant = 0) A_WARN_UNUSED;
-
- /**
* Releases a resource, placing it in the set of orphaned resources.
*/
void release(Resource *const res);
@@ -223,7 +216,6 @@ class ResourceManager final : public MemoryCounter
std::set<Resource*> mDeletedResources;
time_t mOldestOrphan;
bool mDestruction;
- bool mUseLongLiveSprites;
};
extern ResourceManager *resourceManager;