#pragma once //#include "M_types.ḥ" #include "M_object.h" enum M_DefaultBlockTypes { M_BLOCK_AIR = 0 }; typedef struct { unsigned short type; } M_Block; typedef struct { M_Object obj; } M_BlockType; typedef struct { M_BlockType *blocks; unsigned short block_amount; unsigned short size; } M_BlockAtlas; void M_createBlock(M_Block *block, unsigned short type); unsigned short M_createBlockType(M_Object obj, M_BlockAtlas *atl); M_BlockAtlas M_createBlockAtlas(); void M_killBlockAtlas(M_BlockAtlas *atl);