First refactor of new asset system
This commit is contained in:
1 parent
3271e8c7d6
commit
1cd6f4cb72
10 files changed
+120
-130
No files matched your search
@@ -34,14 +34,6 @@ typedef struct assetentry_s {
|
||||
assetloaderinput_t *input;
|
||||
} assetentry_t;
|
||||
|
||||
typedef errorret_t (*assetentrydisposecallback_t)(assetentry_t *entry);
|
||||
|
||||
typedef struct {
|
||||
assetentrydisposecallback_t dispose;
|
||||
} assetentrycallbacks_t;
|
||||
|
||||
extern assetentrycallbacks_t ASSET_ENTRY_CALLBACKS[ASSET_LOADER_TYPE_COUNT];
|
||||
|
||||
/**
|
||||
* Initializes an asset entry with the given name and type. This does not load
|
||||
* the asset.
|
||||
|
||||
Reference in new issue
Block a user