Start map text format
This commit is contained in:
parent
a388a915f9
commit
2cbbd8fb1a
5 changed files with 392 additions and 80 deletions
10
assets.h
10
assets.h
|
@ -16,6 +16,13 @@
|
|||
#include <stdint.h>
|
||||
#include "map.h"
|
||||
|
||||
|
||||
static const char *LCR_maps[] =
|
||||
{
|
||||
"LM;aaa; bbb; 2; #=s0s0#=s1s0#f4120"
|
||||
};
|
||||
|
||||
/*
|
||||
static const uint8_t map1[] =
|
||||
{
|
||||
LCR_MAP_MAGIC_NUMBER,
|
||||
|
@ -64,6 +71,7 @@ LCR_MAP_BLOCK(LCR_BLOCK_CHECKPOINT_0,3,1,4,LCR_BLOCK_MATERIAL_CONCRETE,0),
|
|||
|
||||
LCR_MAP_BLOCK(LCR_BLOCK_CHECKPOINT_0,3,1,8,LCR_BLOCK_MATERIAL_CONCRETE,0),
|
||||
LCR_MAP_BLOCK(LCR_BLOCK_FINISH,2,1,10,LCR_BLOCK_MATERIAL_CONCRETE,0),
|
||||
*/
|
||||
|
||||
/*
|
||||
LCR_MAP_BLOCK(LCR_BLOCK_FULL,2,1,9,LCR_BLOCK_MATERIAL_CONCRETE,0),
|
||||
|
@ -85,10 +93,10 @@ LCR_MAP_BLOCK(LCR_BLOCK_CUBOID_FILL,10,1,15,0,0),
|
|||
|
||||
LCR_MAP_BLOCK(LCR_BLOCK_FULL,35,0,0,LCR_BLOCK_MATERIAL_DIRT,0),
|
||||
LCR_MAP_BLOCK(LCR_BLOCK_CUBOID_FILL,10,1,15,0,0),
|
||||
*/
|
||||
|
||||
LCR_MAP_TERMINATOR
|
||||
};
|
||||
*/
|
||||
|
||||
#define LCR_IMAGE_SIZE 64 ///< one-dimension resolution of bitmap image
|
||||
#define LCR_IMAGE_STORE_SIZE (LCR_IMAGE_SIZE * LCR_IMAGE_SIZE + 256 * 2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue