]> git.tdb.fi Git - libs/gl.git/blobdiff - source/resourcemanager.h
Give meshes a higher priority when loading
[libs/gl.git] / source / resourcemanager.h
index 5cc427f729cabaa4ec15eec927283d38297f4a68..399d479abd2111dab7de39b557846d03aa797b2c 100644 (file)
@@ -16,6 +16,7 @@ class ResourceWatcher;
 class resource_load_error: public std::runtime_error
 {
 public:
+       resource_load_error(const std::string &, const std::string &);
        resource_load_error(const std::string &, const std::exception &);
        virtual ~resource_load_error() throw() { }
 };
@@ -55,6 +56,7 @@ private:
 
                Resource *resource;
                ResourceLocation location;
+               bool load_priority;
                IO::Seekable *io;
                Resource::AsyncLoader *loader;
                State state;