summaryrefslogtreecommitdiff
path: root/src/asset-manager.hpp
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2024-01-05 07:35:32 -0500
committerJonathan Bradley <jcb@pikum.xyz>2024-01-05 07:35:32 -0500
commitb2a8cab15fe0790ea74f446d1aa92fd96c924660 (patch)
treefaa950f234fe2932c243a345bad7b1ecf2855ffe /src/asset-manager.hpp
parentb0e0814374d934a62e434b65d02d23d3884bce80 (diff)
engine assets are handled by the engine
Diffstat (limited to 'src/asset-manager.hpp')
-rw-r--r--src/asset-manager.hpp3
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'};