Support loading bitmap fonts from an asset pack
This commit is contained in:
1 parent
ab18f92fe5
commit
c5dd826c66
4 files changed
+20
-8
No files matched your search
@@ -52,8 +52,10 @@ AssetID load_asset_from_pack(asset_pack_t *pack, const char *filename,
|
||||
void unload_asset(AssetID *id);
|
||||
|
||||
#ifdef __ANDROID__
|
||||
BitmapFont *load_bitmap_font(const char *filepath, u64 tile_width,
|
||||
u64 tile_height);
|
||||
BitmapFont *load_bitmap_font_from_file(const char *filepath, u64 tile_width,
|
||||
u64 tile_height);
|
||||
BitmapFont *load_bitmap_font_from_pack(const char *filepath, u64 tile_width,
|
||||
u64 tile_height, asset_pack_t *pack);
|
||||
void unload_bitmap_font(BitmapFont **font);
|
||||
#endif // __ANDROID__
|
||||
// END ASSET MANAGEMENT API
|
||||
|
||||
Reference in new issue
Block a user