From 20d95a3a156b8d903581d76359522ef9cd51e492 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Mon, 17 Jul 2023 08:06:56 +0100 Subject: Trim spritesheet Remove some unused space --- src/pickup.c | 80 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 40 insertions(+), 40 deletions(-) (limited to 'src/pickup.c') diff --git a/src/pickup.c b/src/pickup.c index fe7d15e..3e10b58 100644 --- a/src/pickup.c +++ b/src/pickup.c @@ -28,79 +28,79 @@ typedef enum static const Rect frames_in[2 * 4] = { - { 96, 16, 144, 144 }, - { 128, 16, 144, 144 }, - { 112, 16, 144, 144 }, + { 96, 16, 144, 112 }, + { 128, 16, 144, 112 }, + { 112, 16, 144, 112 }, /* not used */ - { 0, 0, 144, 144 }, - { 0, 0, 144, 144 }, - { 0, 0, 144, 144 }, - { 0, 0, 144, 144 }, - { 0, 0, 144, 144 } + { 0, 0, 144, 112 }, + { 0, 0, 144, 112 }, + { 0, 0, 144, 112 }, + { 0, 0, 144, 112 }, + { 0, 0, 144, 112 } }; static const Rect frames[2 * 4] = { /* time */ - { 80, 16, 144, 144 }, + { 80, 16, 144, 112 }, /* pickaxe */ - { 64, 16, 144, 144 }, + { 64, 16, 144, 112 }, /* gold key */ - { 32, 16, 144, 144 }, + { 32, 16, 144, 112 }, /* siver key */ - { 48, 16, 144, 144 }, + { 48, 16, 144, 112 }, /* not used */ - { 0, 0, 144, 144 }, - { 0, 0, 144, 144 }, - { 0, 0, 144, 144 }, - { 0, 0, 144, 144 } + { 0, 0, 144, 112 }, + { 0, 0, 144, 112 }, + { 0, 0, 144, 112 }, + { 0, 0, 144, 112 } }; static const Rect frames_bonus0[2 * 4] = { - { 0, 48, 144, 144 }, - { 16, 48, 144, 144 }, - { 32, 48, 144, 144 }, - { 48, 48, 144, 144 }, + { 0, 48, 144, 112 }, + { 16, 48, 144, 112 }, + { 32, 48, 144, 112 }, + { 48, 48, 144, 112 }, /* not used */ - { 0, 0, 144, 144 }, - { 0, 0, 144, 144 }, - { 0, 0, 144, 144 }, - { 0, 0, 144, 144 } + { 0, 0, 144, 112 }, + { 0, 0, 144, 112 }, + { 0, 0, 144, 112 }, + { 0, 0, 144, 112 } }; static const Rect frames_bonus1[2 * 4] = { - { 0, 64, 144, 144 }, - { 16, 64, 144, 144 }, - { 32, 64, 144, 144 }, - { 48, 64, 144, 144 }, + { 0, 64, 144, 112 }, + { 16, 64, 144, 112 }, + { 32, 64, 144, 112 }, + { 48, 64, 144, 112 }, /* not used */ - { 0, 0, 144, 144 }, - { 0, 0, 144, 144 }, - { 0, 0, 144, 144 }, - { 0, 0, 144, 144 } + { 0, 0, 144, 112 }, + { 0, 0, 144, 112 }, + { 0, 0, 144, 112 }, + { 0, 0, 144, 112 } }; static const Rect frames_bonus2[2 * 4] = { - { 64, 64, 144, 144 }, - { 80, 64, 144, 144 }, - { 96, 64, 144, 144 }, - { 112, 64, 144, 144 }, + { 64, 64, 144, 112 }, + { 80, 64, 144, 112 }, + { 96, 64, 144, 112 }, + { 112, 64, 144, 112 }, /* not used */ - { 0, 0, 144, 144 }, - { 0, 0, 144, 144 }, - { 0, 0, 144, 144 }, - { 0, 0, 144, 144 } + { 0, 0, 144, 112 }, + { 0, 0, 144, 112 }, + { 0, 0, 144, 112 }, + { 0, 0, 144, 112 } }; static const Rect *frames_bonuses[] = -- cgit v1.2.3