From 1171f95a370a9c60d4e00f97becd777363ac12ea Mon Sep 17 00:00:00 2001 From: Felix Pankratz Date: Thu, 22 Sep 2022 23:45:27 +0200 Subject: [PATCH] rework assets --- assets.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/assets.h b/assets.h index da20f5d..80a6c89 100644 --- a/assets.h +++ b/assets.h @@ -1,39 +1,43 @@ #define tile_0_width 8 #define tile_0_height 8 static uint8_t tile_0_bits[] = { - 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x81, }; + 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, }; #define tile_1_width 8 #define tile_1_height 8 static uint8_t tile_1_bits[] = { - 0x81, 0x10, 0x18, 0x10, 0x10, 0x10, 0x10, 0x81, }; + 0x00, 0x10, 0x18, 0x10, 0x10, 0x10, 0x10, 0x00, }; #define tile_2_width 8 #define tile_2_height 8 static uint8_t tile_2_bits[] = { - 0x81, 0x1C, 0x20, 0x20, 0x18, 0x04, 0x3C, 0x81, }; + 0x00, 0x1C, 0x20, 0x20, 0x18, 0x04, 0x3C, 0x00, }; #define tile_3_width 8 #define tile_3_height 8 static uint8_t tile_3_bits[] = { - 0x81, 0x1C, 0x20, 0x20, 0x18, 0x20, 0x1C, 0x81, }; + 0x00, 0x1C, 0x20, 0x20, 0x18, 0x20, 0x1C, 0x00, }; #define tile_4_width 8 #define tile_4_height 8 static uint8_t tile_4_bits[] = { - 0x81, 0x04, 0x14, 0x14, 0x3C, 0x10, 0x10, 0x81, }; + 0x00, 0x04, 0x14, 0x14, 0x3C, 0x10, 0x10, 0x00, }; #define tile_5_width 8 #define tile_5_height 8 static uint8_t tile_5_bits[] = { - 0x81, 0x3C, 0x04, 0x1C, 0x20, 0x20, 0x1C, 0x81, }; + 0x00, 0x3C, 0x04, 0x1C, 0x20, 0x20, 0x1C, 0x00, }; #define tile_6_width 8 #define tile_6_height 8 static uint8_t tile_6_bits[] = { - 0x81, 0x18, 0x24, 0x04, 0x1C, 0x24, 0x18, 0x81, }; + 0x00, 0x18, 0x24, 0x04, 0x1C, 0x24, 0x18, 0x00, }; #define tile_7_width 8 #define tile_7_height 8 static uint8_t tile_7_bits[] = { - 0x81, 0x3C, 0x20, 0x20, 0x10, 0x08, 0x08, 0x81, }; + 0x00, 0x3C, 0x20, 0x20, 0x10, 0x08, 0x08, 0x00, }; #define tile_8_width 8 #define tile_8_height 8 static uint8_t tile_8_bits[] = { - 0x81, 0x18, 0x24, 0x18, 0x24, 0x24, 0x18, 0x81, }; + 0x00, 0x18, 0x24, 0x18, 0x24, 0x24, 0x18, 0x00, }; +#define tile_flag_width 8 +#define tile_flag_height 8 +static uint8_t tile_flag_bits[] = { + 0xFF, 0x81, 0xB9, 0x89, 0x89, 0x9D, 0x81, 0xFF, }; #define tile_mine_width 8 #define tile_mine_height 8 static uint8_t tile_mine_bits[] = { @@ -42,7 +46,3 @@ static uint8_t tile_mine_bits[] = { #define tile_uncleared_height 8 static uint8_t tile_uncleared_bits[] = { 0xFF, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0xFF, }; -#define tile_flag_width 8 -#define tile_flag_height 8 -static uint8_t tile_flag_bits[] = { - 0xFF, 0x81, 0xB9, 0x89, 0x89, 0x9D, 0x81, 0xFF, };