diff options
author | quou <quou@disroot.org> | 2023-05-02 21:36:46 +1000 |
---|---|---|
committer | quou <quou@disroot.org> | 2023-05-02 21:36:57 +1000 |
commit | d3745895ca0107c705b2d89b8b80e254536dad86 (patch) | |
tree | e2ef2f199df915cf87f24592c20723b3bc23c2ae | |
parent | c1efdf9b0875f2a39488a86cd838947a24fab9fc (diff) |
Work on some sprites.
-rw-r--r-- | asset.c | 4 | ||||
-rw-r--r-- | asset.h | 4 | ||||
-rw-r--r-- | intermediate/bullet.bmp | bin | 0 -> 2714 bytes | |||
-rw-r--r-- | intermediate/char.bmp | bin | 0 -> 8330 bytes | |||
-rw-r--r-- | intermediate/usr.bmp | bin | 67422 -> 67422 bytes |
5 files changed, 6 insertions, 2 deletions
@@ -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 { @@ -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 Binary files differnew file mode 100644 index 0000000..e6735ce --- /dev/null +++ b/intermediate/bullet.bmp diff --git a/intermediate/char.bmp b/intermediate/char.bmp Binary files differnew file mode 100644 index 0000000..cb8d54d --- /dev/null +++ b/intermediate/char.bmp diff --git a/intermediate/usr.bmp b/intermediate/usr.bmp Binary files differindex b1ea804..e5e8185 100644 --- a/intermediate/usr.bmp +++ b/intermediate/usr.bmp |