From d572203c41cfff817465fc3cddcdea56d5d7d9f8 Mon Sep 17 00:00:00 2001 From: skal Date: Tue, 3 Mar 2026 09:00:50 +0100 Subject: feat(assets): replace is_procedural/is_gpu_procedural bools with AssetType enum, add MP3 type - Add AssetType enum {STATIC, PROC, PROC_GPU, MP3} to AssetRecord - Add GetAssetType() API to asset_manager.h/cc - asset_packer: parse 'MP3' compression keyword in assets.txt - tracker: remove magic-byte is_mp3_asset(); use GetAssetType() instead - assets.txt: NEVER_MP3 now uses 'MP3' compression type - doc/ASSET_SYSTEM.md: rewritten to document new types and API handoff(Gemini): AssetType enum landed; MP3 detection is now explicit via asset metadata. --- workspaces/test/assets.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'workspaces/test') diff --git a/workspaces/test/assets.txt b/workspaces/test/assets.txt index 1e95084..1cdaf32 100644 --- a/workspaces/test/assets.txt +++ b/workspaces/test/assets.txt @@ -1,5 +1,11 @@ # WORKSPACE: test # Asset Name, Compression Type, Filename/Placeholder, Description +# +# Compression types: +# NONE - Raw binary embed (shaders, meshes, .spec files) +# MP3 - MP3 audio; decoded to spectrogram at runtime +# PROC(func, ...) - CPU procedural generation at init +# PROC_GPU(func,..) - GPU compute procedural generation at init # --- Drum & Percussion Samples --- KICK_1, NONE, music/KICK_606.spec, "606 Kick" -- cgit v1.2.3