1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#ifndef asset_h #define asset_h #include "render.h" #define bitmap_asset_count 5 typedef enum { asset_id_usr = 0, asset_id_char, asset_id_bullet, asset_id_enemy, asset_id_map, asset_count } Asset_ID; void load_assets(); const Bitmap* get_bitmap(Asset_ID id); const BM_Font* get_default_font(); #endif