src/Blocks/BlockSlab.h
static BLOCKTYPE GetDoubleSlabType(BLOCKTYPE a_SingleSlabBlockType)
	{
		switch (a_SingleSlabBlockType)
		{
			case E_BLOCK_STONE_SLAB: return E_BLOCK_DOUBLE_STONE_SLAB;
			case E_BLOCK_WOODEN_SLAB: return E_BLOCK_DOUBLE_WOODEN_SLAB;
			case E_BLOCK_RED_SANDSTONE_SLAB: return E_BLOCK_DOUBLE_RED_SANDSTONE_SLAB;
			case E_BLOCK_PURPUR_SLAB: return E_BLOCK_PURPUR_DOUBLE_SLAB;
		}
		ASSERT(!"Unhandled slab type!");
		return E_BLOCK_AIR;
	}
/** Converts the single-slab blocktype to its equivalent double-slab blocktype */
Converts the single-slab blocktype to its equivalent double-slab blocktype
Converts the single - slab blocktype to its equivalent double - slab blocktype
static BLOCKTYPE GetDoubleSlabType(BLOCKTYPE a_SingleSlabBlockType)
	{
		switch (a_SingleSlabBlockType)
		{
			case E_BLOCK_STONE_SLAB: return E_BLOCK_DOUBLE_STONE_SLAB;
			case E_BLOCK_WOODEN_SLAB: return E_BLOCK_DOUBLE_WOODEN_SLAB;
			case E_BLOCK_RED_SANDSTONE_SLAB: return E_BLOCK_DOUBLE_RED_SANDSTONE_SLAB;
			case E_BLOCK_PURPUR_SLAB: return E_BLOCK_PURPUR_DOUBLE_SLAB;
		}
		ASSERT(!"Unhandled slab type!");
		return E_BLOCK_AIR;
	}
static BLOCKTYPE GetDoubleSlabType ( BLOCKTYPE a_SingleSlabBlockType ) { switch ( a_SingleSlabBlockType ) { case E_BLOCK_STONE_SLAB : return E_BLOCK_DOUBLE_STONE_SLAB ; case E_BLOCK_WOODEN_SLAB : return E_BLOCK_DOUBLE_WOODEN_SLAB ; case E_BLOCK_RED_SANDSTONE_SLAB : return E_BLOCK_DOUBLE_RED_SANDSTONE_SLAB ; case E_BLOCK_PURPUR_SLAB : return E_BLOCK_PURPUR_DOUBLE_SLAB ; } ASSERT ( ! " " ) ; return E_BLOCK_AIR ; }
Converts the single-slab blocktype to its equivalent double-slab blocktype
Converts the single - slab blocktype to its equivalent double - slab blocktype