mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-10 07:50:44 +00:00
variation on #387 that also introduces errorcodes
This commit is contained in:
parent
80eb4ab2ba
commit
220771d2fe
4 changed files with 123 additions and 23 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue