aboutsummaryrefslogtreecommitdiff
path: root/asset.h
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2023-05-02 21:02:04 +1000
committerquou <quou@disroot.org>2023-05-02 21:02:04 +1000
commitc1efdf9b0875f2a39488a86cd838947a24fab9fc (patch)
treeb459d024fa99029758f8d2f8630470fe6060122e /asset.h
Initial commit.
Diffstat (limited to 'asset.h')
-rw-r--r--asset.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/asset.h b/asset.h
new file mode 100644
index 0000000..68a1e0b
--- /dev/null
+++ b/asset.h
@@ -0,0 +1,17 @@
+#ifndef asset_h
+#define asset_h
+
+#include "render.h"
+
+#define bitmap_asset_count 1
+
+typedef enum {
+ asset_id_usr = 0,
+ asset_count
+} Asset_ID;
+
+void load_assets();
+
+const Bitmap* get_bitmap(Asset_ID id);
+
+#endif