Add load_asset_from_pack function

This commit is contained in:
abdelrahman committed 2023-11-04 22:29:07 +00:00
1 parent c60a9e6507
commit d85bfc0f01
2 files changed
+20

No files matched your search

+3
View File
@@ -8,6 +8,7 @@
#include "SDL_pixels.h"
#include "Window.h"
#include "aliases.h"
#include "pak.h"
#include "reusable_ids.h"
#include <stdbool.h>
@@ -46,6 +47,8 @@ void remove_object(ObjectID *id);
// ASSET MANAGEMENT API
AssetID load_asset_from_file(const char *path, AssetType type);
AssetID load_asset_from_pack(asset_pack_t *pack, const char *filename,
AssetType type);
void unload_asset(AssetID *id);
#ifdef __ANDROID__