summaryrefslogtreecommitdiff
path: root/src/util/asset_manager.h
AgeCommit message (Collapse)Author
2026-02-01clang-formatskal
2026-01-28refactor(assets): Optimize asset retrieval using array lookupskal
This refactors the asset management system to be more efficient and cleaner. - Moved common GetAsset/DropAsset logic to src/util/asset_manager.cc. - Changed retrieval to use an array of records (AssetRecord) for O(1) lookups instead of a switch statement. - Updated asset_packer to generate only raw data and the record array.