1293 template <
class =
void>
1315 return ((a_BlockType == Head) || (IsOneOf<Tail...>(a_BlockType)));
eDimension
Dimension of a world.
unsigned char BLOCKTYPE
The datatype used by blockdata.
cItem GetIniItemSet(cIniFile &a_IniFile, const char *a_Section, const char *a_Key, const char *a_Default)
Returns a cItem representing the item described in an IniFile's value; if the value doesn't exist...
Number of individual (different) consecutive itemtypes.
eDimension StringToDimension(const AString &a_DimensionString)
Translates a dimension string to dimension enum.
unsigned char NIBBLETYPE
The datatype used by nibbledata (meta, light, skylight)
AString ItemToString(const cItem &a_Item)
Translates a full item into a string.
AString DamageTypeToString(eDamageType a_DamageType)
Translates damage type constant to a string representation (built-in).
eDamageType
Damage type, used in the TakeDamageInfo structure and related functions.
AString DimensionToString(eDimension a_Dimension)
Translates a dimension enum to dimension string.
Maximum disc itemtype number used.
eDamageType StringToDamageType(const AString &a_DamageString)
Translates a damage type string to damage type.
Useless, really, but needs to be present for the following value.
eExplosionSource
The source of an explosion.
Number of individual (different) blocktypes.
Maximum BlockType number used.
Maximum consecutive ItemType number used.
bool IsOneOf(BLOCKTYPE a_BlockType)
Base case for IsOneOf to handle empty template aguments.
int BlockStringToType(const AString &a_BlockTypeString)
Translates a blocktype string into blocktype.
AString ItemTypeToString(short a_ItemType)
Translates itemtype into a string.
AString ItemToFullString(const cItem &a_Item)
Translates a full item into a fully-specified string (including meta and count).
bool StringToItem(const AString &a_ItemTypeString, cItem &a_Item)
Translates an itemtype string into an item.