diff --git a/README.md b/README.md index f53059d..1ab8007 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ # Iso-Render -![A Screenshot](https://raw.githubusercontent.com/Michael2-3B/Iso-Render/master/screenshots/render008.png) \ No newline at end of file +Rendering beautiful isometric terrain, using sprites, in C on the TI-84+ CE. + +![A Screenshot](https://raw.githubusercontent.com/Michael2-3B/Iso-Render/master/screenshots/render013.png) \ No newline at end of file diff --git a/screenshots/render009.png b/screenshots/render009.png new file mode 100644 index 0000000..6d8ff7c Binary files /dev/null and b/screenshots/render009.png differ diff --git a/screenshots/render010.png b/screenshots/render010.png new file mode 100644 index 0000000..8da24e7 Binary files /dev/null and b/screenshots/render010.png differ diff --git a/screenshots/render011.png b/screenshots/render011.png new file mode 100644 index 0000000..d694d09 Binary files /dev/null and b/screenshots/render011.png differ diff --git a/screenshots/render012.png b/screenshots/render012.png new file mode 100644 index 0000000..def3d12 Binary files /dev/null and b/screenshots/render012.png differ diff --git a/screenshots/render013.png b/screenshots/render013.png new file mode 100644 index 0000000..121dbec Binary files /dev/null and b/screenshots/render013.png differ diff --git a/src/gfx/brick.c b/src/gfx/brick.c new file mode 100644 index 0000000..f8b97f3 --- /dev/null +++ b/src/gfx/brick.c @@ -0,0 +1,34 @@ +// convpng v6.8 +#include +#include "logo_gfx.h" + +// 8 bpp image +uint8_t brick_data[678] = { + 26,26, // width,height + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x06,0x18,0x18,0x06,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x06,0x18,0x18,0x18,0x18,0x18,0x18,0x06,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x06,0x18,0x18,0x06,0x06,0x18,0x18,0x18,0x18,0x18,0x18,0x06,0x06,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x06,0x06,0x18,0x18,0x18,0x18,0x18,0x18,0x06,0x06,0x18,0x18,0x18,0x18,0x18,0x18,0x06,0x06,0x00,0x00,0x00,0x00, + 0x00,0x00,0x06,0x06,0x18,0x18,0x18,0x18,0x18,0x18,0x06,0x06,0x18,0x18,0x06,0x06,0x18,0x18,0x06,0x06,0x18,0x18,0x06,0x06,0x00,0x00, + 0x06,0x06,0x18,0x18,0x18,0x18,0x18,0x18,0x06,0x06,0x18,0x18,0x18,0x18,0x18,0x18,0x06,0x06,0x18,0x18,0x18,0x18,0x18,0x18,0x06,0x06, + 0x06,0x15,0x06,0x06,0x18,0x18,0x06,0x06,0x18,0x18,0x06,0x06,0x18,0x18,0x06,0x06,0x18,0x18,0x18,0x18,0x18,0x18,0x06,0x06,0x0D,0x06, + 0x06,0x15,0x15,0x15,0x06,0x06,0x18,0x18,0x18,0x18,0x18,0x18,0x06,0x06,0x18,0x18,0x18,0x18,0x18,0x18,0x06,0x06,0x0D,0x0D,0x0D,0x06, + 0x06,0x15,0x15,0x15,0x15,0x06,0x06,0x06,0x18,0x18,0x18,0x18,0x18,0x18,0x06,0x06,0x18,0x18,0x06,0x06,0x0D,0x0D,0x0D,0x0D,0x0D,0x06, + 0x06,0x15,0x15,0x15,0x15,0x06,0x15,0x15,0x06,0x06,0x18,0x18,0x18,0x18,0x18,0x18,0x06,0x06,0x0D,0x0D,0x0D,0x0D,0x0D,0x0D,0x0D,0x06, + 0x06,0x15,0x15,0x15,0x15,0x06,0x15,0x15,0x15,0x15,0x06,0x06,0x18,0x18,0x06,0x06,0x06,0x0D,0x0D,0x0D,0x0D,0x0D,0x0D,0x0D,0x0D,0x06, + 0x06,0x15,0x15,0x15,0x15,0x06,0x15,0x15,0x15,0x15,0x15,0x15,0x06,0x06,0x0D,0x0D,0x06,0x0D,0x0D,0x0D,0x0D,0x0D,0x0D,0x0D,0x0D,0x06, + 0x06,0x06,0x06,0x15,0x15,0x06,0x15,0x15,0x15,0x15,0x15,0x15,0x06,0x0D,0x0D,0x0D,0x06,0x0D,0x0D,0x0D,0x0D,0x0D,0x0D,0x0D,0x06,0x06, + 0x06,0x15,0x15,0x06,0x06,0x06,0x15,0x15,0x15,0x15,0x15,0x15,0x06,0x0D,0x0D,0x0D,0x06,0x0D,0x0D,0x0D,0x0D,0x0D,0x06,0x06,0x0D,0x06, + 0x06,0x15,0x15,0x15,0x15,0x06,0x06,0x15,0x15,0x15,0x15,0x15,0x06,0x0D,0x0D,0x0D,0x06,0x0D,0x0D,0x0D,0x06,0x06,0x0D,0x0D,0x0D,0x06, + 0x06,0x15,0x15,0x15,0x15,0x15,0x15,0x06,0x06,0x15,0x15,0x15,0x06,0x0D,0x0D,0x0D,0x06,0x0D,0x06,0x06,0x0D,0x06,0x0D,0x0D,0x0D,0x06, + 0x06,0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x06,0x06,0x06,0x15,0x06,0x0D,0x0D,0x0D,0x06,0x06,0x0D,0x0D,0x0D,0x06,0x0D,0x0D,0x0D,0x06, + 0x06,0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x06,0x15,0x15,0x06,0x06,0x0D,0x06,0x06,0x0D,0x0D,0x0D,0x0D,0x0D,0x06,0x0D,0x0D,0x0D,0x06, + 0x06,0x06,0x15,0x15,0x15,0x15,0x15,0x15,0x06,0x15,0x15,0x15,0x06,0x06,0x0D,0x0D,0x0D,0x0D,0x0D,0x0D,0x0D,0x06,0x0D,0x0D,0x06,0x06, + 0x00,0x00,0x06,0x06,0x15,0x15,0x15,0x15,0x06,0x15,0x15,0x15,0x06,0x0D,0x0D,0x0D,0x0D,0x0D,0x0D,0x0D,0x0D,0x06,0x06,0x06,0x00,0x00, + 0x00,0x00,0x00,0x00,0x06,0x06,0x15,0x15,0x06,0x15,0x15,0x15,0x06,0x0D,0x0D,0x0D,0x0D,0x0D,0x0D,0x0D,0x06,0x06,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x06,0x06,0x15,0x15,0x15,0x06,0x0D,0x0D,0x0D,0x0D,0x0D,0x06,0x06,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x06,0x15,0x15,0x06,0x0D,0x0D,0x0D,0x06,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x06,0x06,0x0D,0x06,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +}; diff --git a/src/gfx/brick.png b/src/gfx/brick.png new file mode 100644 index 0000000..8e872db Binary files /dev/null and b/src/gfx/brick.png differ diff --git a/src/gfx/convpng.ini b/src/gfx/convpng.ini new file mode 100755 index 0000000..9717816 --- /dev/null +++ b/src/gfx/convpng.ini @@ -0,0 +1,26 @@ +#GroupC : logo_gfx +#TransparentColor : 255,255,255 +#FixedIndexColor : 1,255,0,0 +#FixedIndexColor : 2,0,255,0 +#FixedIndexColor : 3,0,0,255 +#FixedIndexColor : 4,100,100,100 +#FixedIndexColor : 5,200,200,200 +#FixedIndexColor : 6,0,0,0 +#PNGImages : + brick + dirt + grass_block + grass + lava + log + pebbles + stone_slab + stone_stairs_back_left + stone_stairs_back_right + stone_stairs_left + stone_stairs_right + stone + stonebrick + tree + water + wood_plank diff --git a/src/gfx/convpng.log b/src/gfx/convpng.log new file mode 100644 index 0000000..8599840 --- /dev/null +++ b/src/gfx/convpng.log @@ -0,0 +1,30 @@ +opened convpng.ini + +--- logo_gfx (C) --- +building palette with [256] available indices ... +built palette with [47] indices. +palette quality : 100.00% +transparent color index : 0 +transparent color : 0xFFFF +17: + brick : 100.00% + dirt : 100.00% + grass_block : 100.00% + grass : 100.00% + lava : 100.00% + log : 100.00% + pebbles : 100.00% + stone_slab : 100.00% + stone_stairs_back_left : 100.00% + stone_stairs_back_right : 100.00% + stone_stairs_left : 100.00% + stone_stairs_right : 100.00% + stone : 100.00% + stonebrick : 100.00% + tree : 100.00% + water : 100.00% + wood_plank : 100.00% + +converted in 0 s + +finished! diff --git a/src/gfx/dirt.c b/src/gfx/dirt.c new file mode 100644 index 0000000..1c59ff2 --- /dev/null +++ b/src/gfx/dirt.c @@ -0,0 +1,34 @@ +// convpng v6.8 +#include +#include "logo_gfx.h" + +// 8 bpp image +uint8_t dirt_data[678] = { + 26,26, // width,height + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2A,0x2A,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2A,0x2A,0x0C,0x0C,0x2A,0x2A,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2A,0x2A,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x2A,0x2A,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x2A,0x2A,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x2A,0x2A,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x2A,0x2A,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x2A,0x2A,0x00,0x00,0x00,0x00, + 0x00,0x00,0x2A,0x2A,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x2A,0x2A,0x00,0x00, + 0x2A,0x2A,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x2A,0x2A, + 0x2A,0x2E,0x2A,0x2A,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x2A,0x2A,0x2D,0x2A, + 0x2A,0x2E,0x2E,0x2E,0x2A,0x2A,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x2A,0x2A,0x2D,0x2D,0x2D,0x2A, + 0x2A,0x2E,0x2E,0x2E,0x2E,0x2E,0x2A,0x2A,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x2A,0x2A,0x2D,0x2D,0x2D,0x2D,0x2D,0x2A, + 0x2A,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2A,0x2A,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x2A,0x2A,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2A, + 0x2A,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2A,0x2A,0x0C,0x0C,0x2A,0x2A,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2A, + 0x2A,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2A,0x2A,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2A, + 0x2A,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2A,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2A, + 0x2A,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2A,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2A, + 0x2A,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2A,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2A, + 0x2A,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2A,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2A, + 0x2A,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2A,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2A, + 0x2A,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2A,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2A, + 0x2A,0x2A,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2A,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2A,0x2A, + 0x00,0x00,0x2A,0x2A,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2A,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2A,0x2A,0x00,0x00, + 0x00,0x00,0x00,0x00,0x2A,0x2A,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2A,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2A,0x2A,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x2A,0x2A,0x2E,0x2E,0x2E,0x2E,0x2A,0x2D,0x2D,0x2D,0x2D,0x2D,0x2A,0x2A,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2A,0x2A,0x2E,0x2E,0x2A,0x2D,0x2D,0x2D,0x2A,0x2A,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2A,0x2A,0x2A,0x2D,0x2A,0x2A,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2A,0x2A,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +}; diff --git a/src/gfx/dirt.png b/src/gfx/dirt.png new file mode 100644 index 0000000..07318af Binary files /dev/null and b/src/gfx/dirt.png differ diff --git a/src/gfx/grass.c b/src/gfx/grass.c new file mode 100644 index 0000000..94792d7 --- /dev/null +++ b/src/gfx/grass.c @@ -0,0 +1,34 @@ +// convpng v6.8 +#include +#include "logo_gfx.h" + +// 8 bpp image +uint8_t grass_data[678] = { + 26,26, // width,height + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1B,0x1B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1B,0x1B,0x1B,0x00,0x10,0x1B,0x1B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x1B,0x10,0x1B,0x10,0x10,0x00,0x1B,0x1B,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x1B,0x1B,0x1B,0x1B,0x10,0x10,0x1B,0x1B,0x1E,0x1E,0x10,0x10,0x1B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x1B,0x10,0x10,0x10,0x1B,0x1E,0x10,0x10,0x10,0x10,0x10,0x1E,0x1B,0x10,0x1B,0x1B,0x1B,0x00,0x00,0x00,0x00, + 0x00,0x00,0x1B,0x1B,0x1E,0x10,0x10,0x10,0x1E,0x10,0x10,0x10,0x10,0x1B,0x1B,0x10,0x10,0x10,0x10,0x1B,0x10,0x10,0x00,0x1E,0x00,0x00, + 0x00,0x00,0x10,0x10,0x1B,0x1E,0x10,0x10,0x1E,0x1B,0x1B,0x1B,0x10,0x1B,0x1E,0x1B,0x10,0x10,0x10,0x10,0x10,0x10,0x1E,0x1E,0x00,0x00, + 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x1B,0x1E,0x1B,0x10,0x10,0x10,0x1B,0x10,0x1E,0x10,0x10,0x1E,0x10,0x10,0x10,0x1E,0x1E, + 0x00,0x1E,0x1E,0x1B,0x1B,0x10,0x10,0x1E,0x10,0x10,0x1E,0x10,0x1E,0x1E,0x10,0x10,0x10,0x1E,0x10,0x10,0x10,0x1B,0x1B,0x10,0x00,0x00, + 0x00,0x1E,0x1B,0x1B,0x10,0x10,0x1B,0x1B,0x10,0x10,0x10,0x10,0x10,0x1B,0x1B,0x1B,0x10,0x10,0x1E,0x10,0x10,0x10,0x1B,0x00,0x00,0x00, + 0x00,0x00,0x1B,0x00,0x00,0x00,0x1B,0x1E,0x10,0x10,0x1B,0x1B,0x10,0x1E,0x1E,0x10,0x10,0x10,0x1B,0x1B,0x1B,0x00,0x1B,0x1B,0x00,0x00, + 0x00,0x00,0x1B,0x00,0x00,0x1B,0x1B,0x1E,0x10,0x1B,0x1B,0x10,0x10,0x10,0x10,0x1B,0x1B,0x10,0x00,0x00,0x1B,0x00,0x00,0x1B,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x1B,0x00,0x00,0x00,0x1B,0x10,0x10,0x1E,0x10,0x10,0x10,0x1B,0x1B,0x00,0x00,0x1B,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1B,0x00,0x1E,0x10,0x10,0x00,0x00,0x00,0x1B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +}; diff --git a/src/gfx/grass.png b/src/gfx/grass.png new file mode 100644 index 0000000..6c024cd Binary files /dev/null and b/src/gfx/grass.png differ diff --git a/src/gfx/grass_block.c b/src/gfx/grass_block.c new file mode 100644 index 0000000..3196329 --- /dev/null +++ b/src/gfx/grass_block.c @@ -0,0 +1,34 @@ +// convpng v6.8 +#include +#include "logo_gfx.h" + +// 8 bpp image +uint8_t grass_block_data[678] = { + 26,26, // width,height + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1A,0x1A,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1A,0x1A,0x0F,0x0F,0x1A,0x1A,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1A,0x1A,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x1A,0x1A,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x1A,0x1A,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x1A,0x1A,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x1A,0x1A,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x1A,0x1A,0x00,0x00,0x00,0x00, + 0x00,0x00,0x1A,0x1A,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x1A,0x1A,0x00,0x00, + 0x1A,0x1A,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x1A,0x1A, + 0x1A,0x20,0x1A,0x1A,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x1A,0x1A,0x10,0x1A, + 0x1A,0x20,0x20,0x20,0x1A,0x1A,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x1A,0x1A,0x10,0x10,0x10,0x1A, + 0x1A,0x1A,0x20,0x20,0x20,0x20,0x1A,0x1A,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x1A,0x1A,0x10,0x10,0x10,0x10,0x1A,0x1A, + 0x2A,0x2E,0x1A,0x1A,0x20,0x20,0x20,0x20,0x1A,0x1A,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x1A,0x1A,0x10,0x10,0x10,0x10,0x1A,0x1A,0x2D,0x2A, + 0x2A,0x2E,0x2E,0x2E,0x1A,0x1A,0x20,0x20,0x20,0x20,0x1A,0x1A,0x0F,0x0F,0x1A,0x1A,0x10,0x10,0x10,0x10,0x1A,0x1A,0x2D,0x2D,0x2D,0x2A, + 0x2A,0x2E,0x2E,0x2E,0x2E,0x2E,0x1A,0x1A,0x20,0x20,0x20,0x20,0x1A,0x1A,0x10,0x10,0x10,0x10,0x1A,0x1A,0x2D,0x2D,0x2D,0x2D,0x2D,0x2A, + 0x2A,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x1A,0x1A,0x20,0x20,0x1A,0x10,0x10,0x10,0x1A,0x1A,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2A, + 0x2A,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x1A,0x1A,0x1A,0x10,0x1A,0x1A,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2A, + 0x2A,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x1A,0x1A,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2A, + 0x2A,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2A,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2A, + 0x2A,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2A,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2A, + 0x2A,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2A,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2A, + 0x2A,0x2A,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2A,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2A,0x2A, + 0x00,0x00,0x2A,0x2A,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2A,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2A,0x2A,0x00,0x00, + 0x00,0x00,0x00,0x00,0x2A,0x2A,0x2E,0x2E,0x2E,0x2E,0x2E,0x2E,0x2A,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2D,0x2A,0x2A,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x2A,0x2A,0x2E,0x2E,0x2E,0x2E,0x2A,0x2D,0x2D,0x2D,0x2D,0x2D,0x2A,0x2A,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2A,0x2A,0x2E,0x2E,0x2A,0x2D,0x2D,0x2D,0x2A,0x2A,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2A,0x2A,0x2A,0x2D,0x2A,0x2A,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2A,0x2A,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +}; diff --git a/src/gfx/grass_block.png b/src/gfx/grass_block.png new file mode 100644 index 0000000..0cc1496 Binary files /dev/null and b/src/gfx/grass_block.png differ diff --git a/src/gfx/lava.c b/src/gfx/lava.c new file mode 100644 index 0000000..5262ce4 --- /dev/null +++ b/src/gfx/lava.c @@ -0,0 +1,34 @@ +// convpng v6.8 +#include +#include "logo_gfx.h" + +// 8 bpp image +uint8_t lava_data[678] = { + 26,26, // width,height + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0B,0x0B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0B,0x0B,0x11,0x11,0x0B,0x0B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0B,0x0B,0x11,0x11,0x11,0x11,0x11,0x11,0x0B,0x0B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x0B,0x0B,0x11,0x11,0x11,0x11,0x11,0x0B,0x11,0x11,0x11,0x11,0x0B,0x0B,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x0B,0x0B,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x0B,0x0B,0x11,0x11,0x11,0x11,0x0B,0x0B,0x00,0x00,0x00,0x00, + 0x00,0x00,0x0B,0x0B,0x11,0x11,0x11,0x11,0x0B,0x0B,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x0B,0x0B,0x00,0x00, + 0x0B,0x0B,0x11,0x11,0x11,0x11,0x11,0x0B,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x0B,0x0B, + 0x0B,0x16,0x0B,0x0B,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x0B,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x0B,0x0B,0x13,0x0B, + 0x0B,0x16,0x16,0x16,0x0B,0x0B,0x11,0x11,0x11,0x11,0x11,0x11,0x0B,0x0B,0x11,0x11,0x11,0x11,0x11,0x11,0x0B,0x0B,0x13,0x13,0x13,0x0B, + 0x0B,0x16,0x16,0x16,0x16,0x16,0x0B,0x0B,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x0B,0x0B,0x13,0x13,0x13,0x13,0x13,0x0B, + 0x0B,0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x0B,0x0B,0x11,0x11,0x11,0x11,0x11,0x11,0x0B,0x0B,0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x0B, + 0x0B,0x16,0x16,0x0B,0x16,0x16,0x16,0x16,0x16,0x16,0x0B,0x0B,0x11,0x11,0x0B,0x0B,0x13,0x13,0x13,0x13,0x0B,0x13,0x13,0x13,0x13,0x0B, + 0x0B,0x16,0x16,0x16,0x0B,0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x0B,0x0B,0x13,0x13,0x13,0x13,0x0B,0x0B,0x13,0x13,0x13,0x13,0x13,0x0B, + 0x0B,0x16,0x16,0x16,0x0B,0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x0B,0x13,0x13,0x13,0x13,0x0B,0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x0B, + 0x0B,0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x0B,0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x0B,0x0B,0x13,0x0B, + 0x0B,0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x0B,0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x0B,0x13,0x13,0x13,0x0B, + 0x0B,0x16,0x16,0x16,0x16,0x16,0x16,0x0B,0x16,0x16,0x16,0x16,0x0B,0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x0B, + 0x0B,0x0B,0x16,0x16,0x16,0x16,0x16,0x16,0x0B,0x0B,0x16,0x16,0x0B,0x13,0x13,0x13,0x0B,0x0B,0x13,0x13,0x13,0x13,0x13,0x13,0x0B,0x0B, + 0x00,0x00,0x0B,0x0B,0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x16,0x0B,0x13,0x13,0x0B,0x13,0x13,0x13,0x13,0x13,0x13,0x0B,0x0B,0x00,0x00, + 0x00,0x00,0x00,0x00,0x0B,0x0B,0x16,0x16,0x16,0x16,0x16,0x16,0x0B,0x13,0x13,0x13,0x13,0x13,0x13,0x13,0x0B,0x0B,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x0B,0x0B,0x16,0x16,0x16,0x16,0x0B,0x13,0x13,0x13,0x13,0x13,0x0B,0x0B,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0B,0x0B,0x16,0x16,0x0B,0x13,0x13,0x13,0x0B,0x0B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0B,0x0B,0x0B,0x13,0x0B,0x0B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0B,0x0B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +}; diff --git a/src/gfx/lava.png b/src/gfx/lava.png new file mode 100644 index 0000000..f6373c5 Binary files /dev/null and b/src/gfx/lava.png differ diff --git a/src/gfx/log.c b/src/gfx/log.c new file mode 100644 index 0000000..05e1dab --- /dev/null +++ b/src/gfx/log.c @@ -0,0 +1,34 @@ +// convpng v6.8 +#include +#include "logo_gfx.h" + +// 8 bpp image +uint8_t log_data[678] = { + 26,26, // width,height + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x19,0x19,0x19,0x19,0x19,0x19,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x19,0x19,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x19,0x19,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x19,0x0A,0x0A,0x1F,0x1F,0x1F,0x1F,0x1F,0x1F,0x0A,0x0A,0x19,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x19,0x0A,0x1F,0x1F,0x21,0x21,0x21,0x21,0x21,0x21,0x1F,0x1F,0x0A,0x19,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x19,0x0A,0x1F,0x21,0x21,0x21,0x19,0x19,0x21,0x21,0x21,0x1F,0x0A,0x19,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x19,0x0A,0x1F,0x1F,0x21,0x21,0x21,0x21,0x21,0x21,0x1F,0x1F,0x0A,0x19,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x19,0x19,0x0A,0x0A,0x1F,0x1F,0x1F,0x1F,0x1F,0x1F,0x0A,0x0A,0x19,0x19,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x19,0x0A,0x19,0x19,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x19,0x19,0x0A,0x19,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x19,0x0A,0x0A,0x0A,0x19,0x19,0x19,0x19,0x19,0x19,0x0A,0x0A,0x0A,0x19,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x19,0x0A,0x19,0x0A,0x0A,0x19,0x0A,0x0A,0x0A,0x0A,0x0A,0x19,0x0A,0x19,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x19,0x0A,0x19,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x19,0x0A,0x19,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x19,0x0A,0x0A,0x0A,0x0A,0x19,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x19,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x19,0x0A,0x19,0x0A,0x0A,0x19,0x0A,0x0A,0x0A,0x0A,0x0A,0x19,0x0A,0x19,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x19,0x0A,0x19,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x19,0x0A,0x19,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x19,0x0A,0x0A,0x0A,0x0A,0x19,0x0A,0x0A,0x19,0x0A,0x0A,0x0A,0x0A,0x19,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x19,0x0A,0x0A,0x0A,0x0A,0x19,0x0A,0x0A,0x19,0x0A,0x0A,0x0A,0x0A,0x19,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x19,0x0A,0x0A,0x19,0x0A,0x19,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x19,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x19,0x0A,0x0A,0x19,0x0A,0x0A,0x0A,0x0A,0x19,0x0A,0x0A,0x0A,0x0A,0x19,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x19,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x19,0x0A,0x0A,0x0A,0x0A,0x19,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x19,0x0A,0x19,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x19,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x19,0x19,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x19,0x19,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x19,0x19,0x19,0x19,0x19,0x19,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +}; diff --git a/src/gfx/log.png b/src/gfx/log.png new file mode 100644 index 0000000..57cff12 Binary files /dev/null and b/src/gfx/log.png differ diff --git a/src/gfx/logo_gfx.c b/src/gfx/logo_gfx.c new file mode 100644 index 0000000..93112b0 --- /dev/null +++ b/src/gfx/logo_gfx.c @@ -0,0 +1,53 @@ +// convpng v6.8 +#include +#include "logo_gfx.h" + +uint16_t logo_gfx_pal[47] = { + 0xFFFF, // 00 :: rgb(255,255,255) + 0x7C00, // 01 :: rgb(255,0,0) + 0x83E0, // 02 :: rgb(0,255,0) + 0x001F, // 03 :: rgb(0,0,255) + 0xB18C, // 04 :: rgb(100,100,100) + 0xE318, // 05 :: rgb(200,200,200) + 0x0000, // 06 :: rgb(0,0,0) + 0x216B, // 07 :: rgb(69,89,92) + 0x29AD, // 08 :: rgb(84,107,111) + 0x31F0, // 09 :: rgb(97,123,128) + 0xC4E0, // 10 :: rgb(140,59,0) + 0x7D80, // 11 :: rgb(255,96,0) + 0xBCC0, // 12 :: rgb(125,53,1) + 0x4000, // 13 :: rgb(128,0,0) + 0x2EBF, // 14 :: rgb(91,171,252) + 0x1B20, // 15 :: rgb(47,203,4) + 0x96E0, // 16 :: rgb(44,192,4) + 0x7A23, // 17 :: rgb(243,136,27) + 0x961D, // 18 :: rgb(38,135,235) + 0xF1E2, // 19 :: rgb(233,126,15) + 0x11F9, // 20 :: rgb(34,120,209) + 0x4C00, // 21 :: rgb(157,0,0) + 0xFE23, // 22 :: rgb(255,142,26) + 0x165E, // 23 :: rgb(44,145,248) + 0x4400, // 24 :: rgb(142,0,0) + 0x34C0, // 25 :: rgb(110,47,2) + 0x1240, // 26 :: rgb(33,144,0) + 0x1260, // 27 :: rgb(33,153,0) + 0xC4E4, // 28 :: rgb(138,62,37) + 0x01C3, // 29 :: rgb(0,113,22) + 0x9F82, // 30 :: rgb(60,232,14) + 0x5186, // 31 :: rgb(166,97,48) + 0x9B61, // 32 :: rgb(52,222,7) + 0x664C, // 33 :: rgb(209,146,100) + 0xB4C4, // 34 :: rgb(110,51,31) + 0x294B, // 35 :: rgb(81,82,89) + 0xB0C2, // 36 :: rgb(100,53,13) + 0x963E, // 37 :: rgb(38,141,247) + 0x39CF, // 38 :: rgb(114,115,123) + 0xC123, // 39 :: rgb(132,76,27) + 0x1D29, // 40 :: rgb(58,74,77) + 0x49A0, // 41 :: rgb(145,106,0) + 0xCD44, // 42 :: rgb(157,83,29) + 0x8624, // 43 :: rgb(6,143,32) + 0x5600, // 44 :: rgb(175,128,0) + 0xB4A0, // 45 :: rgb(104,44,0) + 0xC8E0, // 46 :: rgb(145,61,0) +}; \ No newline at end of file diff --git a/src/gfx/logo_gfx.h b/src/gfx/logo_gfx.h new file mode 100644 index 0000000..2c0aea6 --- /dev/null +++ b/src/gfx/logo_gfx.h @@ -0,0 +1,97 @@ +// convpng v6.8 +// this file contains all the graphics sources for easy inclusion in a project +#ifndef __logo_gfx__ +#define __logo_gfx__ +#include + +#define logo_gfx_transparent_color_index 0 + +#define brick_width 26 +#define brick_height 26 +#define brick_size 678 +extern uint8_t brick_data[678]; +#define brick ((gfx_sprite_t*)brick_data) +#define dirt_width 26 +#define dirt_height 26 +#define dirt_size 678 +extern uint8_t dirt_data[678]; +#define dirt ((gfx_sprite_t*)dirt_data) +#define grass_block_width 26 +#define grass_block_height 26 +#define grass_block_size 678 +extern uint8_t grass_block_data[678]; +#define grass_block ((gfx_sprite_t*)grass_block_data) +#define grass_width 26 +#define grass_height 26 +#define grass_size 678 +extern uint8_t grass_data[678]; +#define grass ((gfx_sprite_t*)grass_data) +#define lava_width 26 +#define lava_height 26 +#define lava_size 678 +extern uint8_t lava_data[678]; +#define lava ((gfx_sprite_t*)lava_data) +#define log_width 26 +#define log_height 26 +#define log_size 678 +extern uint8_t log_data[678]; +#define log ((gfx_sprite_t*)log_data) +#define pebbles_width 26 +#define pebbles_height 26 +#define pebbles_size 678 +extern uint8_t pebbles_data[678]; +#define pebbles ((gfx_sprite_t*)pebbles_data) +#define stone_slab_width 26 +#define stone_slab_height 26 +#define stone_slab_size 678 +extern uint8_t stone_slab_data[678]; +#define stone_slab ((gfx_sprite_t*)stone_slab_data) +#define stone_stairs_back_left_width 26 +#define stone_stairs_back_left_height 26 +#define stone_stairs_back_left_size 678 +extern uint8_t stone_stairs_back_left_data[678]; +#define stone_stairs_back_left ((gfx_sprite_t*)stone_stairs_back_left_data) +#define stone_stairs_back_right_width 26 +#define stone_stairs_back_right_height 26 +#define stone_stairs_back_right_size 678 +extern uint8_t stone_stairs_back_right_data[678]; +#define stone_stairs_back_right ((gfx_sprite_t*)stone_stairs_back_right_data) +#define stone_stairs_left_width 26 +#define stone_stairs_left_height 26 +#define stone_stairs_left_size 678 +extern uint8_t stone_stairs_left_data[678]; +#define stone_stairs_left ((gfx_sprite_t*)stone_stairs_left_data) +#define stone_stairs_right_width 26 +#define stone_stairs_right_height 26 +#define stone_stairs_right_size 678 +extern uint8_t stone_stairs_right_data[678]; +#define stone_stairs_right ((gfx_sprite_t*)stone_stairs_right_data) +#define stone_width 26 +#define stone_height 26 +#define stone_size 678 +extern uint8_t stone_data[678]; +#define stone ((gfx_sprite_t*)stone_data) +#define stonebrick_width 26 +#define stonebrick_height 26 +#define stonebrick_size 678 +extern uint8_t stonebrick_data[678]; +#define stonebrick ((gfx_sprite_t*)stonebrick_data) +#define tree_width 26 +#define tree_height 52 +#define tree_size 1354 +extern uint8_t tree_data[1354]; +#define tree ((gfx_sprite_t*)tree_data) +#define water_width 26 +#define water_height 26 +#define water_size 678 +extern uint8_t water_data[678]; +#define water ((gfx_sprite_t*)water_data) +#define wood_plank_width 26 +#define wood_plank_height 26 +#define wood_plank_size 678 +extern uint8_t wood_plank_data[678]; +#define wood_plank ((gfx_sprite_t*)wood_plank_data) +#define sizeof_logo_gfx_pal 94 +extern uint16_t logo_gfx_pal[47]; + +#endif diff --git a/src/gfx/pebbles.c b/src/gfx/pebbles.c new file mode 100644 index 0000000..e539027 --- /dev/null +++ b/src/gfx/pebbles.c @@ -0,0 +1,34 @@ +// convpng v6.8 +#include +#include "logo_gfx.h" + +// 8 bpp image +uint8_t pebbles_data[678] = { + 26,26, // width,height + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x23,0x23,0x26,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x23,0x26,0x00,0x00,0x24,0x00,0x00,0x00,0x23,0x23,0x26,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x23,0x23,0x23,0x26,0x00,0x00,0x00,0x00,0x24,0x24,0x27,0x27,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x23,0x23,0x24,0x26,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x27,0x24,0x24,0x24,0x27,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x24,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x24,0x00,0x00,0x00,0x23,0x26,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x23,0x23,0x26,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x27,0x24,0x24,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +}; diff --git a/src/gfx/pebbles.png b/src/gfx/pebbles.png new file mode 100644 index 0000000..1f69e86 Binary files /dev/null and b/src/gfx/pebbles.png differ diff --git a/src/gfx/stone.c b/src/gfx/stone.c new file mode 100644 index 0000000..8958adf --- /dev/null +++ b/src/gfx/stone.c @@ -0,0 +1,34 @@ +// convpng v6.8 +#include +#include "logo_gfx.h" + +// 8 bpp image +uint8_t stone_data[678] = { + 26,26, // width,height + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x09,0x09,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x00,0x00,0x00,0x00, + 0x00,0x00,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x00,0x00, + 0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28, + 0x28,0x08,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x07,0x28, + 0x28,0x08,0x08,0x08,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x07,0x07,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x08,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x28,0x09,0x09,0x28,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28,0x28, + 0x00,0x00,0x28,0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28,0x28,0x00,0x00, + 0x00,0x00,0x00,0x00,0x28,0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28,0x28,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x08,0x08,0x28,0x07,0x07,0x07,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x28,0x07,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +}; diff --git a/src/gfx/stone.png b/src/gfx/stone.png new file mode 100644 index 0000000..2878d4e Binary files /dev/null and b/src/gfx/stone.png differ diff --git a/src/gfx/stone_slab.c b/src/gfx/stone_slab.c new file mode 100644 index 0000000..0143d8a --- /dev/null +++ b/src/gfx/stone_slab.c @@ -0,0 +1,34 @@ +// convpng v6.8 +#include +#include "logo_gfx.h" + +// 8 bpp image +uint8_t stone_slab_data[678] = { + 26,26, // width,height + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x09,0x09,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x00,0x00,0x00,0x00, + 0x00,0x00,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x00,0x00, + 0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28, + 0x28,0x08,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x07,0x28, + 0x28,0x08,0x08,0x08,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x07,0x07,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x08,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x28,0x09,0x09,0x28,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28,0x28, + 0x00,0x00,0x28,0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28,0x28,0x00,0x00, + 0x00,0x00,0x00,0x00,0x28,0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28,0x28,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x08,0x08,0x28,0x07,0x07,0x07,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x28,0x07,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +}; diff --git a/src/gfx/stone_slab.png b/src/gfx/stone_slab.png new file mode 100644 index 0000000..41d34bb Binary files /dev/null and b/src/gfx/stone_slab.png differ diff --git a/src/gfx/stone_stairs_back_left.c b/src/gfx/stone_stairs_back_left.c new file mode 100644 index 0000000..42b7f65 --- /dev/null +++ b/src/gfx/stone_stairs_back_left.c @@ -0,0 +1,34 @@ +// convpng v6.8 +#include +#include "logo_gfx.h" + +// 8 bpp image +uint8_t stone_stairs_back_left_data[678] = { + 26,26, // width,height + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x09,0x09,0x28,0x28,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x07,0x28, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x07,0x07,0x07,0x28, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x07,0x07,0x07,0x07,0x07,0x28, + 0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28, + 0x00,0x00,0x00,0x00,0x28,0x28,0x09,0x28,0x08,0x08,0x28,0x28,0x09,0x09,0x28,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28, + 0x00,0x00,0x28,0x28,0x09,0x09,0x09,0x28,0x08,0x08,0x08,0x08,0x28,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x28,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x08,0x28,0x28,0x09,0x09,0x09,0x28,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x08,0x08,0x08,0x28,0x28,0x09,0x28,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x08,0x28,0x28,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28,0x28, + 0x00,0x00,0x28,0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28,0x28,0x00,0x00, + 0x00,0x00,0x00,0x00,0x28,0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28,0x28,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x08,0x08,0x28,0x07,0x07,0x07,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x28,0x07,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +}; diff --git a/src/gfx/stone_stairs_back_left.png b/src/gfx/stone_stairs_back_left.png new file mode 100644 index 0000000..730e8e3 Binary files /dev/null and b/src/gfx/stone_stairs_back_left.png differ diff --git a/src/gfx/stone_stairs_back_right.c b/src/gfx/stone_stairs_back_right.c new file mode 100644 index 0000000..75e9847 --- /dev/null +++ b/src/gfx/stone_stairs_back_right.c @@ -0,0 +1,34 @@ +// convpng v6.8 +#include +#include "logo_gfx.h" + +// 8 bpp image +uint8_t stone_stairs_back_right_data[678] = { + 26,26, // width,height + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x28,0x28,0x09,0x09,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x28,0x08,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x28,0x08,0x08,0x08,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x28,0x08,0x08,0x08,0x08,0x08,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00, + 0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x28,0x09,0x09,0x28,0x28,0x07,0x07,0x28,0x09,0x28,0x28,0x00,0x00,0x00,0x00, + 0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x28,0x07,0x07,0x07,0x07,0x28,0x09,0x09,0x09,0x28,0x28,0x00,0x00, + 0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x28,0x09,0x09,0x09,0x09,0x09,0x28,0x28, + 0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x28,0x09,0x09,0x09,0x28,0x28,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x28,0x09,0x28,0x28,0x07,0x07,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x28,0x28,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28,0x28, + 0x00,0x00,0x28,0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28,0x28,0x00,0x00, + 0x00,0x00,0x00,0x00,0x28,0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28,0x28,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x08,0x08,0x28,0x07,0x07,0x07,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x28,0x07,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +}; diff --git a/src/gfx/stone_stairs_back_right.png b/src/gfx/stone_stairs_back_right.png new file mode 100644 index 0000000..ddc9845 Binary files /dev/null and b/src/gfx/stone_stairs_back_right.png differ diff --git a/src/gfx/stone_stairs_left.c b/src/gfx/stone_stairs_left.c new file mode 100644 index 0000000..2f7183a --- /dev/null +++ b/src/gfx/stone_stairs_left.c @@ -0,0 +1,34 @@ +// convpng v6.8 +#include +#include "logo_gfx.h" + +// 8 bpp image +uint8_t stone_stairs_left_data[678] = { + 26,26, // width,height + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x09,0x09,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x08,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x08,0x08,0x08,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x08,0x08,0x08,0x08,0x08,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28, + 0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x07,0x28, + 0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x28,0x09,0x09,0x28,0x28,0x07,0x07,0x07,0x28, + 0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x28,0x07,0x07,0x07,0x07,0x07,0x28, + 0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x28, + 0x00,0x00,0x00,0x00,0x28,0x28,0x09,0x09,0x28,0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x28, + 0x00,0x00,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x08,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x08,0x08,0x08,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x08,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x28,0x09,0x09,0x28,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28,0x28, + 0x00,0x00,0x28,0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28,0x28,0x00,0x00, + 0x00,0x00,0x00,0x00,0x28,0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28,0x28,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x08,0x08,0x28,0x07,0x07,0x07,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x28,0x07,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +}; diff --git a/src/gfx/stone_stairs_left.png b/src/gfx/stone_stairs_left.png new file mode 100644 index 0000000..025cf1e Binary files /dev/null and b/src/gfx/stone_stairs_left.png differ diff --git a/src/gfx/stone_stairs_right.c b/src/gfx/stone_stairs_right.c new file mode 100644 index 0000000..36e4447 --- /dev/null +++ b/src/gfx/stone_stairs_right.c @@ -0,0 +1,34 @@ +// convpng v6.8 +#include +#include "logo_gfx.h" + +// 8 bpp image +uint8_t stone_stairs_right_data[678] = { + 26,26, // width,height + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x09,0x09,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x07,0x28,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x07,0x07,0x07,0x28,0x00,0x00,0x00,0x00,0x00,0x00, + 0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x07,0x07,0x07,0x07,0x07,0x28,0x00,0x00,0x00,0x00,0x00,0x00, + 0x28,0x08,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28,0x00,0x00,0x00,0x00,0x00,0x00, + 0x28,0x08,0x08,0x08,0x28,0x28,0x09,0x09,0x28,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28,0x00,0x00,0x00,0x00,0x00,0x00, + 0x28,0x08,0x08,0x08,0x08,0x08,0x28,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28,0x00,0x00,0x00,0x00,0x00,0x00, + 0x28,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00, + 0x28,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28,0x28,0x09,0x09,0x28,0x28,0x00,0x00,0x00,0x00, + 0x28,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x00,0x00, + 0x28,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28, + 0x28,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x07,0x07,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x08,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x28,0x09,0x09,0x28,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28,0x28, + 0x00,0x00,0x28,0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28,0x28,0x00,0x00, + 0x00,0x00,0x00,0x00,0x28,0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28,0x28,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x08,0x08,0x28,0x07,0x07,0x07,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x28,0x07,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +}; diff --git a/src/gfx/stone_stairs_right.png b/src/gfx/stone_stairs_right.png new file mode 100644 index 0000000..8b59fc2 Binary files /dev/null and b/src/gfx/stone_stairs_right.png differ diff --git a/src/gfx/stonebrick.c b/src/gfx/stonebrick.c new file mode 100644 index 0000000..76db03d --- /dev/null +++ b/src/gfx/stonebrick.c @@ -0,0 +1,34 @@ +// convpng v6.8 +#include +#include "logo_gfx.h" + +// 8 bpp image +uint8_t stonebrick_data[678] = { + 26,26, // width,height + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x09,0x09,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x09,0x09,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x00,0x00,0x00,0x00, + 0x00,0x00,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x09,0x09,0x28,0x28,0x09,0x09,0x28,0x28,0x09,0x09,0x28,0x28,0x00,0x00, + 0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28, + 0x28,0x08,0x28,0x28,0x09,0x09,0x28,0x28,0x09,0x09,0x28,0x28,0x09,0x09,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x07,0x28, + 0x28,0x08,0x08,0x08,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x07,0x07,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x28,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x09,0x09,0x28,0x28,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x28,0x08,0x08,0x28,0x28,0x09,0x09,0x09,0x09,0x09,0x09,0x28,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x28,0x08,0x08,0x08,0x08,0x28,0x28,0x09,0x09,0x28,0x28,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x28,0x07,0x07,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28, + 0x28,0x28,0x28,0x08,0x08,0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28,0x28, + 0x28,0x08,0x08,0x28,0x28,0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x28,0x07,0x07,0x07,0x07,0x07,0x28,0x28,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x28,0x28,0x08,0x08,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x28,0x07,0x07,0x07,0x28,0x28,0x07,0x07,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x28,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x28,0x07,0x28,0x28,0x07,0x28,0x07,0x07,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x28,0x28,0x08,0x28,0x07,0x07,0x07,0x28,0x28,0x07,0x07,0x07,0x28,0x07,0x07,0x07,0x28, + 0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x08,0x08,0x28,0x28,0x07,0x28,0x28,0x07,0x07,0x07,0x07,0x07,0x28,0x07,0x07,0x07,0x28, + 0x28,0x28,0x08,0x08,0x08,0x08,0x08,0x08,0x28,0x08,0x08,0x08,0x28,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28,0x07,0x07,0x28,0x28, + 0x00,0x00,0x28,0x28,0x08,0x08,0x08,0x08,0x28,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28,0x28,0x28,0x00,0x00, + 0x00,0x00,0x00,0x00,0x28,0x28,0x08,0x08,0x28,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x28,0x28,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x28,0x08,0x08,0x08,0x28,0x07,0x07,0x07,0x07,0x07,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x08,0x08,0x28,0x07,0x07,0x07,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x28,0x07,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +}; diff --git a/src/gfx/stonebrick.png b/src/gfx/stonebrick.png new file mode 100644 index 0000000..ee26655 Binary files /dev/null and b/src/gfx/stonebrick.png differ diff --git a/src/gfx/tree.c b/src/gfx/tree.c new file mode 100644 index 0000000..d5a779a --- /dev/null +++ b/src/gfx/tree.c @@ -0,0 +1,60 @@ +// convpng v6.8 +#include +#include "logo_gfx.h" + +// 8 bpp image +uint8_t tree_data[1354] = { + 26,52, // width,height + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1D,0x2B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2B,0x2B,0x1D,0x2B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2B,0x00,0x1D,0x2B,0x00,0x2B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2B,0x2B,0x1D,0x2B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2B,0x2B,0x00,0x2B,0x2B,0x2B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2B,0x1D,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2B,0x2B,0x1D,0x00,0x2B,0x2B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2B,0x2B,0x00,0x2B,0x1D,0x00,0x2B,0x2B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2B,0x00,0x2B,0x2B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2B,0x2B,0x2B,0x2B,0x1D,0x2B,0x2B,0x2B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2B,0x1D,0x2B,0x2B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2B,0x2B,0x2B,0x00,0x2B,0x2B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2B,0x2B,0x2B,0x00,0x1D,0x2B,0x00,0x2B,0x2B,0x2B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2B,0x2B,0x00,0x1D,0x2B,0x2B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2B,0x2B,0x2B,0x2B,0x00,0x1D,0x2B,0x00,0x2B,0x2B,0x2B,0x2B,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2B,0x00,0x00,0x00,0x2B,0x2B,0x1D,0x2B,0x00,0x00,0x00,0x2B,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2B,0x2B,0x00,0x1D,0x00,0x00,0x2B,0x2B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2B,0x2B,0x2B,0x00,0x2B,0x2B,0x1D,0x2B,0x00,0x2B,0x2B,0x2B,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x2B,0x2B,0x2B,0x00,0x00,0x2B,0x2B,0x00,0x2B,0x2B,0x2B,0x00,0x00,0x2B,0x2B,0x2B,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2B,0x2B,0x00,0x2B,0x1D,0x00,0x2B,0x2B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2B,0x2B,0x2B,0x00,0x2B,0x1D,0x00,0x2B,0x00,0x2B,0x2B,0x2B,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x2B,0x2B,0x2B,0x2B,0x00,0x00,0x2B,0x2B,0x2B,0x1D,0x2B,0x2B,0x00,0x00,0x2B,0x2B,0x2B,0x2B,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2B,0x2B,0x1D,0x00,0x2B,0x1D,0x2B,0x2B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x2B,0x00,0x00,0x2B,0x2B,0x2B,0x2B,0x1D,0x1D,0x2B,0x1D,0x1D,0x1D,0x2B,0x2B,0x2B,0x2B,0x00,0x00,0x2B,0x00,0x00,0x00, + 0x00,0x00,0x00,0x2B,0x2B,0x2B,0x2B,0x1D,0x1D,0x1D,0x1D,0x2B,0x1D,0x2B,0x2B,0x1D,0x1D,0x1D,0x1D,0x2B,0x2B,0x2B,0x2B,0x00,0x00,0x00, + 0x00,0x2B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2B,0x00,0x2B,0x1D,0x00,0x2B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2B,0x00, + 0x00,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x00,0x2B,0x1D,0x2B,0x2B,0x00,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2B,0x2B,0x1D,0x1D,0x2B,0x2B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x2B,0x2B,0x00,0x00,0x00,0x00,0x2B,0x2B,0x2B,0x2B,0x2B,0x1D,0x1D,0x1D,0x1D,0x2B,0x2B,0x2B,0x2B,0x2B,0x00,0x00,0x00,0x00,0x2B,0x2B, + 0x00,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x1D,0x1D,0x1D,0x1D,0x1D,0x1C,0x22,0x1D,0x1D,0x1D,0x1D,0x1D,0x2B,0x2B,0x2B,0x2B,0x2B,0x2B,0x00, + 0x00,0x00,0x00,0x1D,0x1D,0x1D,0x1D,0x1D,0x00,0x00,0x00,0x1C,0x1C,0x1C,0x1C,0x00,0x00,0x00,0x1D,0x1D,0x1D,0x1D,0x1D,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1C,0x22,0x1C,0x1C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1C,0x1C,0x22,0x1C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1C,0x1C,0x1C,0x22,0x1C,0x1C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1C,0x1C,0x1C,0x1C,0x1C,0x22,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1C,0x1C,0x22,0x1C,0x1C,0x22,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1C,0x1C,0x1C,0x22,0x1C,0x1C,0x1C,0x22,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1C,0x1C,0x22,0x1C,0x1C,0x1C,0x1C,0x1C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x22,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1C,0x1C,0x1C,0x1C,0x22,0x22,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x22,0x22,0x22,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +}; diff --git a/src/gfx/tree.png b/src/gfx/tree.png new file mode 100644 index 0000000..ea38804 Binary files /dev/null and b/src/gfx/tree.png differ diff --git a/src/gfx/water.c b/src/gfx/water.c new file mode 100644 index 0000000..1c19d66 --- /dev/null +++ b/src/gfx/water.c @@ -0,0 +1,34 @@ +// convpng v6.8 +#include +#include "logo_gfx.h" + +// 8 bpp image +uint8_t water_data[678] = { + 26,26, // width,height + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0E,0x0E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0E,0x0E,0x12,0x12,0x0E,0x0E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0E,0x0E,0x12,0x12,0x12,0x12,0x12,0x12,0x0E,0x0E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x0E,0x0E,0x12,0x12,0x12,0x12,0x12,0x0E,0x12,0x12,0x12,0x12,0x0E,0x0E,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x0E,0x0E,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x0E,0x0E,0x12,0x12,0x12,0x12,0x0E,0x0E,0x00,0x00,0x00,0x00, + 0x00,0x00,0x0E,0x0E,0x12,0x12,0x12,0x12,0x0E,0x0E,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x0E,0x0E,0x00,0x00, + 0x0E,0x0E,0x12,0x12,0x12,0x12,0x12,0x0E,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x0E,0x0E, + 0x0E,0x17,0x0E,0x0E,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x0E,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x0E,0x0E,0x14,0x0E, + 0x0E,0x17,0x17,0x17,0x0E,0x0E,0x12,0x12,0x12,0x12,0x12,0x12,0x0E,0x0E,0x12,0x12,0x12,0x12,0x12,0x12,0x0E,0x0E,0x14,0x14,0x14,0x0E, + 0x0E,0x17,0x17,0x17,0x17,0x17,0x0E,0x0E,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x12,0x0E,0x0E,0x14,0x14,0x14,0x14,0x14,0x0E, + 0x0E,0x17,0x17,0x17,0x17,0x17,0x17,0x17,0x0E,0x0E,0x12,0x12,0x12,0x12,0x12,0x12,0x0E,0x0E,0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x0E, + 0x0E,0x17,0x17,0x0E,0x17,0x17,0x17,0x17,0x17,0x17,0x0E,0x0E,0x12,0x12,0x0E,0x0E,0x14,0x14,0x14,0x14,0x25,0x14,0x14,0x14,0x14,0x0E, + 0x0E,0x17,0x17,0x17,0x0E,0x17,0x17,0x17,0x17,0x17,0x17,0x17,0x0E,0x0E,0x14,0x14,0x14,0x14,0x25,0x25,0x14,0x14,0x14,0x14,0x14,0x0E, + 0x0E,0x17,0x17,0x17,0x0E,0x17,0x17,0x17,0x17,0x17,0x17,0x17,0x0E,0x14,0x14,0x14,0x14,0x25,0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x0E, + 0x0E,0x17,0x17,0x17,0x17,0x17,0x17,0x17,0x17,0x17,0x17,0x17,0x0E,0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x25,0x25,0x14,0x0E, + 0x0E,0x17,0x17,0x17,0x17,0x17,0x17,0x17,0x17,0x17,0x17,0x17,0x0E,0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x25,0x14,0x14,0x14,0x0E, + 0x0E,0x17,0x17,0x17,0x17,0x17,0x17,0x0E,0x17,0x17,0x17,0x17,0x0E,0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x0E, + 0x0E,0x0E,0x17,0x17,0x17,0x17,0x17,0x17,0x0E,0x0E,0x17,0x17,0x0E,0x14,0x14,0x14,0x25,0x25,0x14,0x14,0x14,0x14,0x14,0x14,0x0E,0x0E, + 0x00,0x00,0x0E,0x0E,0x17,0x17,0x17,0x17,0x17,0x17,0x17,0x17,0x0E,0x14,0x14,0x25,0x14,0x14,0x14,0x14,0x14,0x14,0x0E,0x0E,0x00,0x00, + 0x00,0x00,0x00,0x00,0x0E,0x0E,0x17,0x17,0x17,0x17,0x17,0x17,0x0E,0x14,0x14,0x14,0x14,0x14,0x14,0x14,0x0E,0x0E,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x0E,0x0E,0x17,0x17,0x17,0x17,0x0E,0x14,0x14,0x14,0x14,0x14,0x0E,0x0E,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0E,0x0E,0x17,0x17,0x0E,0x14,0x14,0x14,0x0E,0x0E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0E,0x0E,0x0E,0x14,0x0E,0x0E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0E,0x0E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +}; diff --git a/src/gfx/water.png b/src/gfx/water.png new file mode 100644 index 0000000..d284197 Binary files /dev/null and b/src/gfx/water.png differ diff --git a/src/gfx/wood_plank.c b/src/gfx/wood_plank.c new file mode 100644 index 0000000..a4a9b7e --- /dev/null +++ b/src/gfx/wood_plank.c @@ -0,0 +1,34 @@ +// convpng v6.8 +#include +#include "logo_gfx.h" + +// 8 bpp image +uint8_t wood_plank_data[678] = { + 26,26, // width,height + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x29,0x29,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x29,0x29,0x2C,0x2C,0x29,0x29,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x29,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x29,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x29,0x29,0x2C,0x2C,0x29,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x29,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x29,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x29,0x2C,0x2C,0x29,0x29,0x2C,0x2C,0x29,0x29,0x00,0x00,0x00,0x00, + 0x00,0x00,0x29,0x29,0x2C,0x2C,0x29,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x29,0x00,0x00, + 0x29,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x29, + 0x29,0x2C,0x29,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x29,0x2C,0x2C,0x29,0x29,0x2C,0x29, + 0x29,0x2C,0x2C,0x2C,0x29,0x29,0x2C,0x2C,0x29,0x29,0x2C,0x2C,0x29,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x29,0x2C,0x2C,0x2C,0x29, + 0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x29,0x2C,0x2C,0x29,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x29, + 0x29,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x29, + 0x29,0x2C,0x29,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x29,0x2C,0x2C,0x29,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x29,0x2C,0x29, + 0x29,0x2C,0x2C,0x2C,0x29,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x29,0x2C,0x2C,0x2C,0x29, + 0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x29,0x2C,0x2C,0x2C,0x2C,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x29, + 0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x2C,0x29,0x29,0x2C,0x2C,0x29,0x2C,0x2C,0x2C,0x29,0x29,0x2C,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x29, + 0x29,0x29,0x2C,0x2C,0x2C,0x2C,0x29,0x2C,0x2C,0x2C,0x29,0x29,0x29,0x2C,0x29,0x29,0x2C,0x2C,0x2C,0x29,0x2C,0x2C,0x2C,0x2C,0x29,0x29, + 0x29,0x2C,0x29,0x29,0x2C,0x2C,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x2C,0x2C,0x29,0x29,0x2C,0x29, + 0x29,0x2C,0x2C,0x2C,0x29,0x29,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x29,0x29,0x2C,0x2C,0x2C,0x29, + 0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x29,0x2C,0x2C,0x2C,0x2C,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x29, + 0x29,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x29,0x2C,0x2C,0x29,0x2C,0x2C,0x2C,0x29,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x29, + 0x00,0x00,0x29,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x29,0x29,0x2C,0x29,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x29,0x00,0x00, + 0x00,0x00,0x00,0x00,0x29,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x29,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x29,0x29,0x2C,0x2C,0x2C,0x2C,0x29,0x2C,0x2C,0x2C,0x2C,0x2C,0x29,0x29,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x29,0x29,0x2C,0x2C,0x29,0x2C,0x2C,0x2C,0x29,0x29,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x29,0x29,0x29,0x2C,0x29,0x29,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x29,0x29,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +}; diff --git a/src/gfx/wood_plank.png b/src/gfx/wood_plank.png new file mode 100644 index 0000000..faecada Binary files /dev/null and b/src/gfx/wood_plank.png differ diff --git a/src/main.c b/src/main.c index af8ee0c..3e5dc1b 100644 --- a/src/main.c +++ b/src/main.c @@ -23,38 +23,39 @@ #include #include +/* Include the sprite data */ +#include "gfx/logo_gfx.h" + /* Put your function prototypes here */ /* Put all your globals here */ kb_key_t key; int a, b, c, i, s, t, x, y; -int points[12]; +int size = 8; -int pause = 0; -int size = 16; -int scale = 1; +int scale = 2; +int scale1; +int scale2; -//8, 140 -//16, 160 -//32, 212 - -int c1,c2,c3; -int s1,s2,s3,s4,s5,s6; - -int map[256]; +int map[64]; int height, height2, temp, temp2; void main(void) { /* Fill in the body of the main function here */ + srand(rtc_Time(NULL)); - height = rand()%5-rand()%10; + scale1 = 3*scale; + scale2 = 6*scale; + + /* + height = 5; for(a=0; a0){ temp2 = map[(size*a+b)-size]; if(abs(height2-temp2)>1){ @@ -65,106 +66,55 @@ void main(void) { } } } - height = temp + (-1+rand()%2); + height = temp + (1-rand()%4); + } + */ + + for(a=0; a0; a--){ - s = 140-(a*3); - t = 160-(a*6); + s = 200-(a*scale1); + t = 160-(a*scale2); for(b=size; b>0; b--){ + + i = rand()%10; + for(c=20; c>=0; c--){ - x = t+(b*6); - y = s-(b*3)-(6*map[size*(size-a)+(size-b)])+(6*c); + x = t+(b*scale2)-scale2; + y = s-(b*scale1)-(scale2*map[size*(size-a)+(size-b)])+(scale2*c)-scale2; - c1 = 35; - c2 = 35; - c3 = 0; - - s1 = 30; - s2 = 30; - s3 = 0; - - s4 = 40; - s5 = 40; - s6 = 0; - - if(c<3){ - c1 = 50; - c2 = 100; - c3 = 50; - - s1 = 40; - s2 = 90; - s3 = 40; - - s4 = 60; - s5 = 110; - s6 = 60; - } - - /* - c1 = rand()%255; - c2 = rand()%255; - c3 = rand()%255; - */ - - //bottom front vertex - points[0] = x; - points[1] = y+6; - - //bottom left vertex - points[2] = x-6; - points[3] = y+3; - - //top left vertex - points[4] = x-6; - points[5] = y-3; - - //top back vertex - points[6] = x; - points[7] = y-6; - - //top right vertex - points[8] = x+6; - points[9] = y-3; - - //bottom right vertex - points[10] = x+6; - points[11] = y+3; - - gfx_SetColor(gfx_RGBTo1555(c1,c2,c3)); - gfx_FillRectangle(x-2,y-5,6,11); - gfx_FillRectangle(x-5,y-3,11,7); - - if(pause==1) while (!os_GetCSC()); - - gfx_SetColor(0); - gfx_Polygon(points,6); - - if(pause==1) while (!os_GetCSC()); - - gfx_Line(x,y+6,x,y); - gfx_Line(x-6,y-3,x,y); - gfx_Line(x+6,y-3,x,y); - - if(pause==1) while (!os_GetCSC()); - - if(y+2<239){ - gfx_FloodFill(x-3,y+2,gfx_RGBTo1555(s1,s2,s3)); - gfx_FloodFill(x+3,y+2,gfx_RGBTo1555(s4,s5,s6)); - } + if(c==3 && a>2 && a<6){ + gfx_TransparentSprite(water, x, y); + } else { + if(c>5) gfx_TransparentSprite(stone, x, y); + if(c<6 && c>3) gfx_TransparentSprite(dirt, x, y); + if(c==3) gfx_TransparentSprite(grass_block, x, y); + if(a<3 || a>5){ + if(c==2){ + if(i!=0) gfx_TransparentSprite(grass, x, y); + if(i==0) gfx_TransparentSprite(log, x, y); + if(i==1) gfx_TransparentSprite(pebbles, x, y); + } + } + } } + /* + x = t+(b*scale2)-scale2; + y = s-(b*scale1)-(scale2*map[size*(size-a)+(size-b)])-scale2; + + gfx_TransparentSprite(grass_block,x,y); + */ + } }