// This file is part of the 64k demo project. // It defines the core structures and interface for asset management. // Used for efficient retrieval of embedded binary resources. #pragma once #include #include // Forward declaration of the generated enum enum class AssetId : uint16_t; struct AssetRecord { const uint8_t *data; size_t size; }; // Generic interface const uint8_t *GetAsset(AssetId asset_id, size_t *out_size = nullptr); void DropAsset(AssetId asset_id, const uint8_t *asset);