aboutsummaryrefslogtreecommitdiff
path: root/core/io/resource_loader.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/io/resource_loader.h')
-rw-r--r--core/io/resource_loader.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/io/resource_loader.h b/core/io/resource_loader.h
index fe5830306..6404e6cb1 100644
--- a/core/io/resource_loader.h
+++ b/core/io/resource_loader.h
@@ -47,7 +47,7 @@ public:
virtual Ref<Resource> get_resource()=0;
virtual Error poll()=0;
virtual int get_stage() const=0;
- virtual int get_stage_count() const=0;
+ virtual int get_stage_count() const=0;
virtual Error wait();
ResourceInteractiveLoader() {}
@@ -76,12 +76,12 @@ typedef void (*ResourceLoadErrorNotify)(void *p_ud,const String& p_text);
typedef void (*DependencyErrorNotify)(void *p_ud,const String& p_loading,const String& p_which,const String& p_type);
-class ResourceLoader {
-
+class ResourceLoader {
+
enum {
MAX_LOADERS=64
};
-
+
static ResourceFormatLoader *loader[MAX_LOADERS];
static int loader_count;
static bool timestamp_on_load;
@@ -96,7 +96,7 @@ class ResourceLoader {
public:
-
+
static Ref<ResourceInteractiveLoader> load_interactive(const String &p_path,const String& p_type_hint="",bool p_no_cache=false,Error *r_error=NULL);
static RES load(const String &p_path,const String& p_type_hint="",bool p_no_cache=false,Error *r_error=NULL);
static Ref<ResourceImportMetadata> load_import_metadata(const String &p_path);