blob: 6bd4e9349ea755e9a7118852013e43bd93e3f16d (
plain) (
tree)
|
|
#pragma once
struct Block {
Block();
Block(unsigned short id, unsigned char state, unsigned char light, unsigned char sky);
~Block();
unsigned short id : 13;
unsigned char state : 4;
unsigned char light : 4;
unsigned char sky : 4;
};
struct BlockId {
unsigned short id : 13;
unsigned char state : 4;
};
|