variation on #387 that also introduces errorcodes

This commit is contained in:
AzaezelX 2020-12-01 19:16:36 -06:00
parent 80eb4ab2ba
commit 220771d2fe
4 changed files with 123 additions and 23 deletions

View file

@ -56,6 +56,19 @@ extern StringTableEntry assetAutoUnloadField;
//-----------------------------------------------------------------------------
enum AssetErrCode
{
Failed,
Ok,
NotLoaded,
BadFileReference,
InvalidFormat,
DependencyNotFound,
FileTooLarge,
UsingFallback,
Extended
};
class AssetBase : public SimObject
{
friend class AssetManager;