summaryrefslogtreecommitdiffstats
path: root/source/BlockID.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-10-11 10:12:36 +0200
committermadmaxoft <github@xoft.cz>2013-10-11 10:12:36 +0200
commit47b64b63fabea0f35346934d5bede99f9816add5 (patch)
tree8746c0a8b6a526c7481aea76b990694e4518480c /source/BlockID.h
parentGenerator: Renamed cBiomeGenerator's Initialize() to InitializeBiomeGen(). (diff)
downloadcuberite-47b64b63fabea0f35346934d5bede99f9816add5.tar
cuberite-47b64b63fabea0f35346934d5bede99f9816add5.tar.gz
cuberite-47b64b63fabea0f35346934d5bede99f9816add5.tar.bz2
cuberite-47b64b63fabea0f35346934d5bede99f9816add5.tar.lz
cuberite-47b64b63fabea0f35346934d5bede99f9816add5.tar.xz
cuberite-47b64b63fabea0f35346934d5bede99f9816add5.tar.zst
cuberite-47b64b63fabea0f35346934d5bede99f9816add5.zip
Diffstat (limited to 'source/BlockID.h')
-rw-r--r--source/BlockID.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/BlockID.h b/source/BlockID.h
index c2bf8dbdf..28725406d 100644
--- a/source/BlockID.h
+++ b/source/BlockID.h
@@ -746,8 +746,9 @@ enum eExplosionSource
-// fwd: cItem.h:
+// fwd:
class cItem;
+class cIniFile;
@@ -785,6 +786,9 @@ extern AString DamageTypeToString(eDamageType a_DamageType);
/// Translates a damage type string to damage type. Takes either a number or a damage type alias (built-in). Returns -1 on failure
extern eDamageType StringToDamageType(const AString & a_DamageString);
+/// Returns a cItem representing the item described in an IniFile's value; if the value doesn't exist, creates it with the provided default.
+extern cItem GetIniItemSet(cIniFile & a_IniFile, const char * a_Section, const char * a_Key, const char * a_Default);
+
// tolua_end