5 #include "../BlockInfo.h"
52 ASSERT(!
"Something is wrong here... Maybe they are axes out of a new material?");
bool IsBlockMaterialVine(BLOCKTYPE a_BlockType)
bool IsBlockMaterialWood(BLOCKTYPE a_BlockType)
bool IsBlockMaterialPlants(BLOCKTYPE a_BlockType)
unsigned char BLOCKTYPE
The datatype used by blockdata.
virtual float GetBlockBreakingStrength(BLOCKTYPE a_Block) const override
Returns the strength to break a specific block.
virtual short GetDurabilityLossByAction(eDurabilityLostAction a_Action) const override
Get the durability lost which the item will get, when a specified action was performed.
virtual float GetBlockBreakingStrength(BLOCKTYPE a_Block) const
Returns the strength to break a specific block.
constexpr cItemHandler(int a_ItemType)
eDurabilityLostAction
Actions that may cause durability of an item may be lost, where the magnitude of the loss depends on ...