#pragma once #include typedef uint8_t Block; #define NUMBER_OF_BLOCKS 16 #define BLOCK_AIR 0 #define BLOCK_GRASS 1 #define BLOCK_DIRT 2 #define BLOCK_SAND 3 #define BLOCK_STONE 4 #define BLOCK_BRICKS 5 #define BLOCK_GRAVEL 6 #define BLOCK_WOOD 7 #define BLOCK_LEAVES 8 #define BLOCK_COBBLESTONE 9 #define BLOCK_WATER 10 #define BLOCK_TALL_GRASS 11 #define BLOCK_PLAYER_HEAD 14 #define BLOCK_PLAYER_BODY 15 #define BLOCK_NIL 255