Added more shadow gradients
11
CONTROLS.txt
@ -1,5 +1,6 @@
|
|||||||
CONTROLS
|
CONTROLS
|
||||||
--------
|
--------
|
||||||
|
there's a lot, and they're fairly confusing right now, so bear with me
|
||||||
|
|
||||||
selection / block placement
|
selection / block placement
|
||||||
---------------------------
|
---------------------------
|
||||||
@ -34,8 +35,16 @@ map rotation
|
|||||||
- (minus) = rotate map clockwise
|
- (minus) = rotate map clockwise
|
||||||
+ (plus) = rotate map counter-clockwise
|
+ (plus) = rotate map counter-clockwise
|
||||||
|
|
||||||
|
|
||||||
|
map positioning
|
||||||
|
---------------
|
||||||
|
alpha = move map left
|
||||||
|
stat = move map right
|
||||||
|
mode = move map up
|
||||||
|
X,T,theta,n = move map down
|
||||||
|
|
||||||
|
|
||||||
other
|
other
|
||||||
-----
|
-----
|
||||||
|
|
||||||
enter = exit program
|
enter = exit program
|
||||||
|
|
||||||
|
BIN
screenshots/render037.gif
Normal file
After Width: | Height: | Size: 786 KiB |
BIN
screenshots/render038.gif
Normal file
After Width: | Height: | Size: 23 KiB |
@ -45,5 +45,11 @@
|
|||||||
characters/steven_west_1
|
characters/steven_west_1
|
||||||
|
|
||||||
extras/selection_box
|
extras/selection_box
|
||||||
|
extras/shadow_block_12percent
|
||||||
extras/shadow_block_25percent
|
extras/shadow_block_25percent
|
||||||
|
extras/shadow_block_37percent
|
||||||
extras/shadow_block_50percent
|
extras/shadow_block_50percent
|
||||||
|
extras/shadow_block_63percent
|
||||||
|
extras/shadow_block_75percent
|
||||||
|
extras/shadow_block_88percent
|
||||||
|
extras/shadow_block_100percent
|
||||||
|
@ -3,10 +3,10 @@ opened convpng.ini
|
|||||||
--- logo_gfx (C) ---
|
--- logo_gfx (C) ---
|
||||||
building palette with [256] available indices ...
|
building palette with [256] available indices ...
|
||||||
built palette with [256] indices.
|
built palette with [256] indices.
|
||||||
palette quality : 99.00%
|
palette quality : 99.05%
|
||||||
transparent color index : 0
|
transparent color index : 0
|
||||||
transparent color : 0xFFFF
|
transparent color : 0xFFFF
|
||||||
34:
|
40:
|
||||||
water_full : 99.86%
|
water_full : 99.86%
|
||||||
water_surface : 99.86%
|
water_surface : 99.86%
|
||||||
lava_full : 97.73%
|
lava_full : 97.73%
|
||||||
@ -39,8 +39,14 @@ transparent color : 0xFFFF
|
|||||||
steven_south_1 : 99.70%
|
steven_south_1 : 99.70%
|
||||||
steven_west_1 : 99.91%
|
steven_west_1 : 99.91%
|
||||||
selection_box : 100.00%
|
selection_box : 100.00%
|
||||||
|
shadow_block_12percent : 100.00%
|
||||||
shadow_block_25percent : 100.00%
|
shadow_block_25percent : 100.00%
|
||||||
|
shadow_block_37percent : 100.00%
|
||||||
shadow_block_50percent : 100.00%
|
shadow_block_50percent : 100.00%
|
||||||
|
shadow_block_63percent : 100.00%
|
||||||
|
shadow_block_75percent : 100.00%
|
||||||
|
shadow_block_88percent : 100.00%
|
||||||
|
shadow_block_100percent : 100.00%
|
||||||
|
|
||||||
converted in 0 s
|
converted in 0 s
|
||||||
|
|
||||||
|
BIN
src/gfx/extras/shadow_block_100percent.png
Normal file
After Width: | Height: | Size: 192 B |
BIN
src/gfx/extras/shadow_block_12percent.png
Normal file
After Width: | Height: | Size: 198 B |
BIN
src/gfx/extras/shadow_block_37percent.png
Normal file
After Width: | Height: | Size: 234 B |
BIN
src/gfx/extras/shadow_block_63percent.png
Normal file
After Width: | Height: | Size: 228 B |
BIN
src/gfx/extras/shadow_block_75percent.png
Normal file
After Width: | Height: | Size: 231 B |
BIN
src/gfx/extras/shadow_block_88percent.png
Normal file
After Width: | Height: | Size: 249 B |
@ -166,16 +166,46 @@ extern uint8_t steven_west_1_data[1163];
|
|||||||
#define selection_box_size 785
|
#define selection_box_size 785
|
||||||
extern uint8_t selection_box_data[785];
|
extern uint8_t selection_box_data[785];
|
||||||
#define selection_box ((gfx_sprite_t*)selection_box_data)
|
#define selection_box ((gfx_sprite_t*)selection_box_data)
|
||||||
|
#define shadow_block_12percent_width 27
|
||||||
|
#define shadow_block_12percent_height 29
|
||||||
|
#define shadow_block_12percent_size 785
|
||||||
|
extern uint8_t shadow_block_12percent_data[785];
|
||||||
|
#define shadow_block_12percent ((gfx_sprite_t*)shadow_block_12percent_data)
|
||||||
#define shadow_block_25percent_width 27
|
#define shadow_block_25percent_width 27
|
||||||
#define shadow_block_25percent_height 29
|
#define shadow_block_25percent_height 29
|
||||||
#define shadow_block_25percent_size 785
|
#define shadow_block_25percent_size 785
|
||||||
extern uint8_t shadow_block_25percent_data[785];
|
extern uint8_t shadow_block_25percent_data[785];
|
||||||
#define shadow_block_25percent ((gfx_sprite_t*)shadow_block_25percent_data)
|
#define shadow_block_25percent ((gfx_sprite_t*)shadow_block_25percent_data)
|
||||||
|
#define shadow_block_37percent_width 27
|
||||||
|
#define shadow_block_37percent_height 29
|
||||||
|
#define shadow_block_37percent_size 785
|
||||||
|
extern uint8_t shadow_block_37percent_data[785];
|
||||||
|
#define shadow_block_37percent ((gfx_sprite_t*)shadow_block_37percent_data)
|
||||||
#define shadow_block_50percent_width 27
|
#define shadow_block_50percent_width 27
|
||||||
#define shadow_block_50percent_height 29
|
#define shadow_block_50percent_height 29
|
||||||
#define shadow_block_50percent_size 785
|
#define shadow_block_50percent_size 785
|
||||||
extern uint8_t shadow_block_50percent_data[785];
|
extern uint8_t shadow_block_50percent_data[785];
|
||||||
#define shadow_block_50percent ((gfx_sprite_t*)shadow_block_50percent_data)
|
#define shadow_block_50percent ((gfx_sprite_t*)shadow_block_50percent_data)
|
||||||
|
#define shadow_block_63percent_width 27
|
||||||
|
#define shadow_block_63percent_height 29
|
||||||
|
#define shadow_block_63percent_size 785
|
||||||
|
extern uint8_t shadow_block_63percent_data[785];
|
||||||
|
#define shadow_block_63percent ((gfx_sprite_t*)shadow_block_63percent_data)
|
||||||
|
#define shadow_block_75percent_width 27
|
||||||
|
#define shadow_block_75percent_height 29
|
||||||
|
#define shadow_block_75percent_size 785
|
||||||
|
extern uint8_t shadow_block_75percent_data[785];
|
||||||
|
#define shadow_block_75percent ((gfx_sprite_t*)shadow_block_75percent_data)
|
||||||
|
#define shadow_block_88percent_width 27
|
||||||
|
#define shadow_block_88percent_height 29
|
||||||
|
#define shadow_block_88percent_size 785
|
||||||
|
extern uint8_t shadow_block_88percent_data[785];
|
||||||
|
#define shadow_block_88percent ((gfx_sprite_t*)shadow_block_88percent_data)
|
||||||
|
#define shadow_block_100percent_width 27
|
||||||
|
#define shadow_block_100percent_height 29
|
||||||
|
#define shadow_block_100percent_size 785
|
||||||
|
extern uint8_t shadow_block_100percent_data[785];
|
||||||
|
#define shadow_block_100percent ((gfx_sprite_t*)shadow_block_100percent_data)
|
||||||
#define sizeof_logo_gfx_pal 512
|
#define sizeof_logo_gfx_pal 512
|
||||||
extern uint16_t logo_gfx_pal[256];
|
extern uint16_t logo_gfx_pal[256];
|
||||||
|
|
||||||
|
37
src/gfx/shadow_block_100percent.c
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
// convpng v6.8
|
||||||
|
#include <stdint.h>
|
||||||
|
#include "logo_gfx.h"
|
||||||
|
|
||||||
|
// 8 bpp image
|
||||||
|
uint8_t shadow_block_100percent_data[785] = {
|
||||||
|
27,29, // 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,0x04,0x04,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,0x00,
|
||||||
|
0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,
|
||||||
|
0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,
|
||||||
|
0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,
|
||||||
|
0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,
|
||||||
|
0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,
|
||||||
|
0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,
|
||||||
|
0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,
|
||||||
|
0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,
|
||||||
|
0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,
|
||||||
|
0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,
|
||||||
|
0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,
|
||||||
|
0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,
|
||||||
|
0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,
|
||||||
|
0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,
|
||||||
|
0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,
|
||||||
|
0x00,0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x04,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
};
|
37
src/gfx/shadow_block_12percent.c
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
// convpng v6.8
|
||||||
|
#include <stdint.h>
|
||||||
|
#include "logo_gfx.h"
|
||||||
|
|
||||||
|
// 8 bpp image
|
||||||
|
uint8_t shadow_block_12percent_data[785] = {
|
||||||
|
27,29, // 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,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
};
|
37
src/gfx/shadow_block_37percent.c
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
// convpng v6.8
|
||||||
|
#include <stdint.h>
|
||||||
|
#include "logo_gfx.h"
|
||||||
|
|
||||||
|
// 8 bpp image
|
||||||
|
uint8_t shadow_block_37percent_data[785] = {
|
||||||
|
27,29, // 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,0x04,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x00,
|
||||||
|
0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,
|
||||||
|
0x00,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x00,
|
||||||
|
0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,
|
||||||
|
0x00,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x00,
|
||||||
|
0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,
|
||||||
|
0x00,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
};
|
37
src/gfx/shadow_block_63percent.c
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
// convpng v6.8
|
||||||
|
#include <stdint.h>
|
||||||
|
#include "logo_gfx.h"
|
||||||
|
|
||||||
|
// 8 bpp image
|
||||||
|
uint8_t shadow_block_63percent_data[785] = {
|
||||||
|
27,29, // 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,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x00,
|
||||||
|
0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,
|
||||||
|
0x00,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x00,
|
||||||
|
0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,
|
||||||
|
0x00,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x00,
|
||||||
|
0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,
|
||||||
|
0x00,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x00,
|
||||||
|
0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,
|
||||||
|
0x00,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x00,
|
||||||
|
0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,
|
||||||
|
0x00,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x00,
|
||||||
|
0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,
|
||||||
|
0x00,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x00,
|
||||||
|
0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,
|
||||||
|
0x00,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x00,
|
||||||
|
0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,
|
||||||
|
0x00,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
};
|
37
src/gfx/shadow_block_75percent.c
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
// convpng v6.8
|
||||||
|
#include <stdint.h>
|
||||||
|
#include "logo_gfx.h"
|
||||||
|
|
||||||
|
// 8 bpp image
|
||||||
|
uint8_t shadow_block_75percent_data[785] = {
|
||||||
|
27,29, // 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,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,0x00,
|
||||||
|
0x00,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x00,
|
||||||
|
0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,
|
||||||
|
0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,
|
||||||
|
0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,
|
||||||
|
0x00,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x00,
|
||||||
|
0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,
|
||||||
|
0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,
|
||||||
|
0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,
|
||||||
|
0x00,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x00,
|
||||||
|
0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,
|
||||||
|
0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,
|
||||||
|
0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,
|
||||||
|
0x00,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x00,
|
||||||
|
0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,
|
||||||
|
0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,
|
||||||
|
0x00,0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
};
|
37
src/gfx/shadow_block_88percent.c
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
// convpng v6.8
|
||||||
|
#include <stdint.h>
|
||||||
|
#include "logo_gfx.h"
|
||||||
|
|
||||||
|
// 8 bpp image
|
||||||
|
uint8_t shadow_block_88percent_data[785] = {
|
||||||
|
27,29, // 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,0x04,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,0x00,
|
||||||
|
0x00,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x00,
|
||||||
|
0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,
|
||||||
|
0x00,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x00,
|
||||||
|
0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,
|
||||||
|
0x00,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x00,
|
||||||
|
0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,
|
||||||
|
0x00,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x00,
|
||||||
|
0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,
|
||||||
|
0x00,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x00,
|
||||||
|
0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,
|
||||||
|
0x00,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x00,
|
||||||
|
0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,
|
||||||
|
0x00,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x00,
|
||||||
|
0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,
|
||||||
|
0x00,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x00,
|
||||||
|
0x00,0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x04,0x04,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x04,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
|
};
|
111
src/main.c
@ -31,6 +31,7 @@ void generateMap(int mapNum);
|
|||||||
void generateShadowMap();
|
void generateShadowMap();
|
||||||
void drawMap(int startX, int startY, int startZ, int angle);
|
void drawMap(int startX, int startY, int startZ, int angle);
|
||||||
void mapRotationChange();
|
void mapRotationChange();
|
||||||
|
void changeDrawPosition();
|
||||||
void drawCoordinates();
|
void drawCoordinates();
|
||||||
void drawBlockSelection();
|
void drawBlockSelection();
|
||||||
void playerMovement();
|
void playerMovement();
|
||||||
@ -42,7 +43,7 @@ int gridToScreenX(int gridX, int gridZ);
|
|||||||
int gridToScreenY(int gridX, int gridZ, int gridY);
|
int gridToScreenY(int gridX, int gridZ, int gridY);
|
||||||
void blockPhysics();
|
void blockPhysics();
|
||||||
void addFallingBlock(int blockX, int blockZ, int blockY, int velocity);
|
void addFallingBlock(int blockX, int blockZ, int blockY, int velocity);
|
||||||
void removeFallingBlock(int blockX, int blockZ, int blockY, int index);
|
void removeFallingBlock(int index);
|
||||||
void updateSurroundingBlocks(int blockX, int blockZ, int blockY);
|
void updateSurroundingBlocks(int blockX, int blockZ, int blockY);
|
||||||
void print_string_centered(char *str, int y, int offset, uint8_t c);
|
void print_string_centered(char *str, int y, int offset, uint8_t c);
|
||||||
|
|
||||||
@ -265,14 +266,14 @@ const gfx_sprite_t *blocks[] = {
|
|||||||
#define COBBLESTONE 111
|
#define COBBLESTONE 111
|
||||||
|
|
||||||
const gfx_sprite_t *shadows[] = {
|
const gfx_sprite_t *shadows[] = {
|
||||||
|
shadow_block_100percent,
|
||||||
|
shadow_block_88percent,
|
||||||
|
shadow_block_75percent,
|
||||||
|
shadow_block_63percent,
|
||||||
shadow_block_50percent,
|
shadow_block_50percent,
|
||||||
|
shadow_block_37percent,
|
||||||
shadow_block_25percent,
|
shadow_block_25percent,
|
||||||
NULL,
|
shadow_block_12percent,
|
||||||
NULL,
|
|
||||||
NULL,
|
|
||||||
NULL,
|
|
||||||
NULL,
|
|
||||||
NULL,
|
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
@ -283,9 +284,15 @@ const gfx_sprite_t *shadows[] = {
|
|||||||
NULL,
|
NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
#define SHADOW_50 0
|
#define SHADOW_100 0
|
||||||
#define SHADOW_25 1
|
#define SHADOW_88 1
|
||||||
#define MAX_LIGHT 5
|
#define SHADOW_75 2
|
||||||
|
#define SHADOW_63 3
|
||||||
|
#define SHADOW_50 4
|
||||||
|
#define SHADOW_37 5
|
||||||
|
#define SHADOW_25 6
|
||||||
|
#define SHADOW_12 7
|
||||||
|
#define MAX_LIGHT 10
|
||||||
|
|
||||||
const gfx_sprite_t *character_sprites[4] = {
|
const gfx_sprite_t *character_sprites[4] = {
|
||||||
/* 0 */ steven_north_1,
|
/* 0 */ steven_north_1,
|
||||||
@ -307,9 +314,9 @@ int a, b, c, i, j, x, y;
|
|||||||
int direction;
|
int direction;
|
||||||
int alternate = 0;
|
int alternate = 0;
|
||||||
|
|
||||||
const int midX = 146;
|
int midX = 146;
|
||||||
//const int midY = -30; //for 36x36map
|
//const int midY = -30; //for 36x36map
|
||||||
const int midY = 120; //for 8x8 map
|
int midY = 120; //for 8x8 map
|
||||||
|
|
||||||
int playerX, playerY;
|
int playerX, playerY;
|
||||||
|
|
||||||
@ -354,7 +361,7 @@ void main(void) {
|
|||||||
/* Fill in the body of the main function here */
|
/* Fill in the body of the main function here */
|
||||||
srand(rtc_Time(NULL));
|
srand(rtc_Time(NULL));
|
||||||
|
|
||||||
worldTime = 1;
|
worldTime = 1; //0 is day, 1 is night
|
||||||
if(worldTime == 0){
|
if(worldTime == 0){
|
||||||
skyColor = 5;
|
skyColor = 5;
|
||||||
} else {
|
} else {
|
||||||
@ -405,6 +412,8 @@ void main(void) {
|
|||||||
|
|
||||||
mapRotationChange();
|
mapRotationChange();
|
||||||
|
|
||||||
|
changeDrawPosition();
|
||||||
|
|
||||||
blockSelectionChange();
|
blockSelectionChange();
|
||||||
|
|
||||||
selectionMovement();
|
selectionMovement();
|
||||||
@ -545,7 +554,7 @@ void generateShadowMap(){
|
|||||||
for(b=0; b<sizeZ; b++){
|
for(b=0; b<sizeZ; b++){
|
||||||
for(c=0; c<sizeY; c++){
|
for(c=0; c<sizeY; c++){
|
||||||
if(worldTime == 1){
|
if(worldTime == 1){
|
||||||
shadowMap[a][b][c] = SHADOW_50;
|
shadowMap[a][b][c] = SHADOW_100;
|
||||||
} else {
|
} else {
|
||||||
shadowMap[a][b][c] = MAX_LIGHT;
|
shadowMap[a][b][c] = MAX_LIGHT;
|
||||||
}
|
}
|
||||||
@ -659,6 +668,52 @@ void mapRotationChange(){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void changeDrawPosition(){
|
||||||
|
bool flag = false;
|
||||||
|
int change = 5;
|
||||||
|
|
||||||
|
if(kb_Data[1]){
|
||||||
|
key = kb_Data[1];
|
||||||
|
if(key == kb_Mode){
|
||||||
|
midY -= change;
|
||||||
|
flag = true;
|
||||||
|
}
|
||||||
|
} else if(kb_Data[2]){
|
||||||
|
key = kb_Data[2];
|
||||||
|
if(key == kb_Alpha){
|
||||||
|
midX -= change;
|
||||||
|
flag = true;
|
||||||
|
}
|
||||||
|
} else if(kb_Data[3]){
|
||||||
|
key = kb_Data[3];
|
||||||
|
if(key == kb_GraphVar){
|
||||||
|
midY += change;
|
||||||
|
flag = true;
|
||||||
|
}
|
||||||
|
} else if(kb_Data[4]){
|
||||||
|
key = kb_Data[4];
|
||||||
|
if(key == kb_Stat){
|
||||||
|
midX += change;
|
||||||
|
flag = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if(flag == true){
|
||||||
|
gfx_FillScreen(skyColor);
|
||||||
|
drawMap(0,0,0,drawAngle);
|
||||||
|
drawBlockSelection();
|
||||||
|
|
||||||
|
selectionX = gridToScreenX(selectionA, selectionB);
|
||||||
|
selectionY = gridToScreenY(selectionA, selectionB, selectionC);
|
||||||
|
|
||||||
|
gfx_GetSprite(behind_selection, selectionX, selectionY);
|
||||||
|
|
||||||
|
gfx_TransparentSprite(selection_box, selectionX, selectionY);
|
||||||
|
|
||||||
|
gfx_BlitBuffer();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void drawCoordinates(){
|
void drawCoordinates(){
|
||||||
gfx_SetColor(1);
|
gfx_SetColor(1);
|
||||||
gfx_FillRectangle_NoClip(0,0,30,30);
|
gfx_FillRectangle_NoClip(0,0,30,30);
|
||||||
@ -888,24 +943,6 @@ void blockPlacement(){
|
|||||||
gfx_BlitBuffer();
|
gfx_BlitBuffer();
|
||||||
|
|
||||||
updateSurroundingBlocks(selectionA, selectionB, selectionC);
|
updateSurroundingBlocks(selectionA, selectionB, selectionC);
|
||||||
|
|
||||||
/*
|
|
||||||
//falling blocks
|
|
||||||
if(i==AIR && selectionC<sizeY-1){
|
|
||||||
if(map[selectionA][selectionB][selectionC+1] == SAND || map[selectionA][selectionB][selectionC+1] == GRAVEL){
|
|
||||||
//deleted a block, so now updating surrounding blocks
|
|
||||||
|
|
||||||
updateSurroundingBlocks(selectionA, selectionB, selectionC);
|
|
||||||
}
|
|
||||||
} else if((i==SAND || i==GRAVEL) && selectionC>0){
|
|
||||||
if(map[selectionA][selectionB][selectionC-1] == AIR){
|
|
||||||
//placed a gravity block
|
|
||||||
addFallingBlock(selectionA, selectionB, selectionC, 1);
|
|
||||||
|
|
||||||
updateSurroundingBlocks()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -923,7 +960,8 @@ void lightUpdates(){
|
|||||||
while(map[selectionA][selectionB][j] == AIR && j>0) j--;
|
while(map[selectionA][selectionB][j] == AIR && j>0) j--;
|
||||||
|
|
||||||
if(i != AIR){
|
if(i != AIR){
|
||||||
shadowMap[selectionA][selectionB][j] = SHADOW_50;
|
if(worldTime == 0)
|
||||||
|
shadowMap[selectionA][selectionB][j] = SHADOW_100;
|
||||||
} else {
|
} else {
|
||||||
iter = j;
|
iter = j;
|
||||||
while(iter<sizeY-1){
|
while(iter<sizeY-1){
|
||||||
@ -937,6 +975,7 @@ void lightUpdates(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(i==TORCH){
|
if(i==TORCH){
|
||||||
x1 = selectionA - MAX_LIGHT;
|
x1 = selectionA - MAX_LIGHT;
|
||||||
if(x1<0) x1 = 0;
|
if(x1<0) x1 = 0;
|
||||||
@ -1030,11 +1069,11 @@ void blockPhysics(){
|
|||||||
|
|
||||||
map[blockX][blockZ][blockY-1] = fallingBlocks[j][0];
|
map[blockX][blockZ][blockY-1] = fallingBlocks[j][0];
|
||||||
} else {
|
} else {
|
||||||
removeFallingBlock(blockX, blockZ, blockY, j);
|
removeFallingBlock(j);
|
||||||
updateSurroundingBlocks(blockX, blockZ, blockY);
|
updateSurroundingBlocks(blockX, blockZ, blockY);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
removeFallingBlock(blockX, blockZ, blockY, j);
|
removeFallingBlock(j);
|
||||||
updateSurroundingBlocks(blockX, blockZ, blockY);
|
updateSurroundingBlocks(blockX, blockZ, blockY);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1066,7 +1105,7 @@ void addFallingBlock(int blockX, int blockZ, int blockY, int velocity){
|
|||||||
fallingBlocks[index][5] = 0;
|
fallingBlocks[index][5] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void removeFallingBlock(int blockX, int blockZ, int blockY, int index){
|
void removeFallingBlock(int index){
|
||||||
|
|
||||||
fallingBlocks[index][0] = -1;
|
fallingBlocks[index][0] = -1;
|
||||||
fallingBlocks[index][1] = -1;
|
fallingBlocks[index][1] = -1;
|
||||||
|