diff --git a/include/GameEngine.h b/include/GameEngine.h index 90c1982..dd4cbbc 100644 --- a/include/GameEngine.h +++ b/include/GameEngine.h @@ -45,7 +45,7 @@ void remove_object(ObjectID *id); // END OBJECT MANAGEMENT API // ASSET MANAGEMENT API -AssetID load_asset(const char *path, AssetType type); +AssetID load_asset_from_file(const char *path, AssetType type); void unload_asset(AssetID *id); #ifdef __ANDROID__ diff --git a/src/GameEngine.c b/src/GameEngine.c index be8334d..4465235 100644 --- a/src/GameEngine.c +++ b/src/GameEngine.c @@ -206,7 +206,7 @@ void remove_object(ObjectID *id) { remove_object_from_store(GameEngine.object_store, id); } -AssetID load_asset(const char *path, AssetType type) { +AssetID load_asset_from_file(const char *path, AssetType type) { return type == ASSET_TYPE_IMAGE ? load_asset_to_manager(GameEngine.asset_manager, path, type, GameEngine.window.renderer, NULL)