diff options
Diffstat (limited to 'asset.h')
-rw-r--r-- | asset.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -21,6 +21,11 @@ struct Mesh; asset_type_mesh, \ "gun.msh" \ ) \ + x( \ + asset_id_gun_texture, \ + asset_type_texture, \ + "gun.bc1" \ + ) \ typedef enum { #define x(id, type, path) id, @@ -30,7 +35,8 @@ typedef enum { } Asset_ID; typedef enum { - asset_type_mesh + asset_type_mesh, + asset_type_texture } Asset_Type; typedef struct { @@ -61,5 +67,6 @@ Asset_Data* read_asset_data( ); const struct Mesh* get_mesh(Asset_ID id); +const struct Texture* get_texture(Asset_ID id); #endif |