9518a27357
+ Add type-safe container for states * Split registry Blocks into BlockTypes, BlockStates so the block types enumeration can be #included without too much penalty * Ensure Registry uses type-safe container
14 lines
239 B
C++
14 lines
239 B
C++
#pragma once
|
|
|
|
#include "BlockState.h"
|
|
#include "Registries/Items.h"
|
|
#include "Registries/Statistics.h"
|
|
|
|
namespace Palette_1_14
|
|
{
|
|
UInt32 From(BlockState Block);
|
|
UInt32 From(Item ID);
|
|
UInt32 From(Statistic ID);
|
|
Item ToItem(UInt32 ID);
|
|
}
|