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