aboutsummaryrefslogtreecommitdiff
path: root/src/game.c
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-07-17 08:06:56 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-07-17 08:06:56 +0100
commit20d95a3a156b8d903581d76359522ef9cd51e492 (patch)
tree7196ebb3567689f20a4b58335228b8258b038d5c /src/game.c
parentda4ab66aa33add78cbd721f0130d716af3f33590 (diff)
downloadgold-mine-run-20d95a3a156b8d903581d76359522ef9cd51e492.tar.gz
gold-mine-run-20d95a3a156b8d903581d76359522ef9cd51e492.zip
Trim spritesheet
Remove some unused space
Diffstat (limited to 'src/game.c')
-rw-r--r--src/game.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/game.c b/src/game.c
index 8cf60a7..40dfb7b 100644
--- a/src/game.c
+++ b/src/game.c
@@ -67,8 +67,8 @@ static void hud_render()
if (hud & HUD_ALL)
{
- Rect src = { 128, 32, 144, 144};
- Rect dst = { 4, 0, 16, 16};
+ Rect src = { 128, 32, 144, 112 };
+ Rect dst = { 4, 0, 16, 16 };
/* lives */
blitrc(binary_sprites_start, &src, &dst);
@@ -123,10 +123,10 @@ static void hud_render()
static const Rect intro_frames[WALK_CYCLE_FRAMES] =
{
/* walk cycle */
- { 0, 0, 144, 144 },
- { 16, 0, 144, 144 },
- { 0, 0, 144, 144 },
- { 32, 0, 144, 144 },
+ { 0, 0, 144, 112 },
+ { 16, 0, 144, 112 },
+ { 0, 0, 144, 112 },
+ { 32, 0, 144, 112 },
};
static void run_intro()