summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/WSSAnvil.h
diff options
context:
space:
mode:
authorTheJumper <maximilian.springer@web.de>2014-02-23 18:43:47 +0100
committerTheJumper <maximilian.springer@web.de>2014-02-23 18:43:47 +0100
commit72dd48f7e741217077f82d9c8ec7e55618102bd6 (patch)
treeae346f75dc629d57886d398581bcf672334c9e84 /src/WorldStorage/WSSAnvil.h
parentFixed Formatting, Added DropChance attributes to Monsters (diff)
downloadcuberite-72dd48f7e741217077f82d9c8ec7e55618102bd6.tar
cuberite-72dd48f7e741217077f82d9c8ec7e55618102bd6.tar.gz
cuberite-72dd48f7e741217077f82d9c8ec7e55618102bd6.tar.bz2
cuberite-72dd48f7e741217077f82d9c8ec7e55618102bd6.tar.lz
cuberite-72dd48f7e741217077f82d9c8ec7e55618102bd6.tar.xz
cuberite-72dd48f7e741217077f82d9c8ec7e55618102bd6.tar.zst
cuberite-72dd48f7e741217077f82d9c8ec7e55618102bd6.zip
Diffstat (limited to '')
-rw-r--r--src/WorldStorage/WSSAnvil.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/WorldStorage/WSSAnvil.h b/src/WorldStorage/WSSAnvil.h
index 6c6444dae..4acf3f2a1 100644
--- a/src/WorldStorage/WSSAnvil.h
+++ b/src/WorldStorage/WSSAnvil.h
@@ -10,6 +10,7 @@
#include "WorldStorage.h"
#include "FastNBT.h"
+#include "../Mobs/Monster.h"
@@ -203,6 +204,9 @@ protected:
/// Loads an array of doubles of the specified length from the specified NBT list tag a_TagIdx; returns true if successful
bool LoadDoublesListFromNBT(double * a_Doubles, int a_NumDoubles, const cParsedNBT & a_NBT, int a_TagIdx);
+ /// Loads an array of floats of the specified length from the specified NBT list tag a_TagIdx; returns true if successful
+ bool LoadFloatsListFromNBT(float * a_Floats, int a_NumFloats, const cParsedNBT & a_NBT, int a_TagIdx);
+
/// Helper function for extracting the X, Y, and Z int subtags of a NBT compound; returns true if successful
bool GetBlockEntityNBTPos(const cParsedNBT & a_NBT, int a_TagIdx, int & a_X, int & a_Y, int & a_Z);