From d3745895ca0107c705b2d89b8b80e254536dad86 Mon Sep 17 00:00:00 2001 From: quou Date: Tue, 2 May 2023 21:36:46 +1000 Subject: Work on some sprites. --- asset.c | 4 +++- asset.h | 4 +++- intermediate/bullet.bmp | Bin 0 -> 2714 bytes intermediate/char.bmp | Bin 0 -> 8330 bytes intermediate/usr.bmp | Bin 67422 -> 67422 bytes 5 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 intermediate/bullet.bmp create mode 100644 intermediate/char.bmp diff --git a/asset.c b/asset.c index e6aafe5..b6e408b 100644 --- a/asset.c +++ b/asset.c @@ -6,7 +6,9 @@ #include "standard.h" static const char* const asset_vpaths[] = { - /* asset_id_usr */ "data/usr.img" + /* asset_id_usr */ "data/usr.img", + /* asset_id_char */ "data/char.img", + /* asset_id_bullet */ "data/bullet.img" }; static struct { diff --git a/asset.h b/asset.h index 68a1e0b..e60ff4b 100644 --- a/asset.h +++ b/asset.h @@ -3,10 +3,12 @@ #include "render.h" -#define bitmap_asset_count 1 +#define bitmap_asset_count 3 typedef enum { asset_id_usr = 0, + asset_id_char, + asset_id_bullet, asset_count } Asset_ID; diff --git a/intermediate/bullet.bmp b/intermediate/bullet.bmp new file mode 100644 index 0000000..e6735ce Binary files /dev/null and b/intermediate/bullet.bmp differ diff --git a/intermediate/char.bmp b/intermediate/char.bmp new file mode 100644 index 0000000..cb8d54d Binary files /dev/null and b/intermediate/char.bmp differ diff --git a/intermediate/usr.bmp b/intermediate/usr.bmp index b1ea804..e5e8185 100644 Binary files a/intermediate/usr.bmp and b/intermediate/usr.bmp differ -- cgit v1.2.3-54-g00ecf