diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-07-17 08:06:56 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-07-17 08:06:56 +0100 |
commit | 20d95a3a156b8d903581d76359522ef9cd51e492 (patch) | |
tree | 7196ebb3567689f20a4b58335228b8258b038d5c /src/game.c | |
parent | da4ab66aa33add78cbd721f0130d716af3f33590 (diff) | |
download | gold-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.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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() |