diff options
Diffstat (limited to 'src/asset-manager.hpp')
| -rw-r--r-- | src/asset-manager.hpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/asset-manager.hpp b/src/asset-manager.hpp index 6204614..4d96c59 100644 --- a/src/asset-manager.hpp +++ b/src/asset-manager.hpp @@ -1,18 +1,17 @@ #ifndef PKE_ASSET_MANAGER_HPP #define PKE_ASSET_MANAGER_HPP -#include "macros.hpp" -#include "memory.hpp" +#include "vendor/pk.h" #include <cstdint> #include <future> -struct AssetHandle : public PkeHandle { }; +struct AssetHandle : public pk_handle { }; -constexpr AssetHandle AssetHandle_MAX = AssetHandle{}; +constexpr AssetHandle AssetHandle_MAX = AssetHandle{ pk_handle_MAX_constexpr }; -TypeSafeInt_Const_Expr(AssetLoadingState, uint8_t, 0xFF); -TypeSafeInt_Const_Expr(AssetType, uint8_t, 0xFF); +TypeSafeInt_constexpr(AssetLoadingState, uint8_t, 0xFF); +TypeSafeInt_constexpr(AssetType, uint8_t, 0xFF); const int64_t AssetKeyLength = 16; using AssetKey = char[AssetKeyLength]; |
