diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2024-01-05 07:35:32 -0500 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2024-01-05 07:35:32 -0500 |
| commit | b2a8cab15fe0790ea74f446d1aa92fd96c924660 (patch) | |
| tree | faa950f234fe2932c243a345bad7b1ecf2855ffe /src/asset-manager.hpp | |
| parent | b0e0814374d934a62e434b65d02d23d3884bce80 (diff) | |
engine assets are handled by the engine
Diffstat (limited to 'src/asset-manager.hpp')
| -rw-r--r-- | src/asset-manager.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/asset-manager.hpp b/src/asset-manager.hpp index 48a9ccb..6204614 100644 --- a/src/asset-manager.hpp +++ b/src/asset-manager.hpp @@ -29,6 +29,9 @@ const AssetType PKE_ASSET_TYPE_TEXTURE = AssetType {0x04}; const AssetType PKE_ASSET_TYPE_AUDIO = AssetType {0x08}; const AssetType PKE_ASSET_TYPE_ALL = AssetType {0xFF}; +constexpr int64_t EngineDefinedAssetCount = 4; +extern AssetKey EngineDefinedAssets[EngineDefinedAssetCount]; + struct Asset { AssetHandle handle{}; AssetKey key = {'\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0'}; |
