summaryrefslogtreecommitdiffstats
path: root/source/World.h
diff options
context:
space:
mode:
authornielsbreu@gmail.com <nielsbreu@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-09 16:32:27 +0200
committernielsbreu@gmail.com <nielsbreu@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-09 16:32:27 +0200
commit4e44c4b33a35fcaa22d26ef1b5fc82275ef6216d (patch)
tree790673d2025c93078ce6aeb7aadaa30ebfd38c44 /source/World.h
parentUpdated the core's settings.ini settings tab (diff)
downloadcuberite-4e44c4b33a35fcaa22d26ef1b5fc82275ef6216d.tar
cuberite-4e44c4b33a35fcaa22d26ef1b5fc82275ef6216d.tar.gz
cuberite-4e44c4b33a35fcaa22d26ef1b5fc82275ef6216d.tar.bz2
cuberite-4e44c4b33a35fcaa22d26ef1b5fc82275ef6216d.tar.lz
cuberite-4e44c4b33a35fcaa22d26ef1b5fc82275ef6216d.tar.xz
cuberite-4e44c4b33a35fcaa22d26ef1b5fc82275ef6216d.tar.zst
cuberite-4e44c4b33a35fcaa22d26ef1b5fc82275ef6216d.zip
Diffstat (limited to '')
-rw-r--r--source/World.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/source/World.h b/source/World.h
index c3aa0c25c..8f096fa38 100644
--- a/source/World.h
+++ b/source/World.h
@@ -301,11 +301,17 @@ public:
bool WriteBlockArea(cBlockArea & a_Area, int a_MinBlockX, int a_MinBlockY, int a_MinBlockZ, int a_DataTypes);
/// Spawns item pickups for each item in the list. May compress pickups if too many entities:
+
+ // tolua_begin
void SpawnItemPickups(const cItems & a_Pickups, double a_BlockX, double a_BlockY, double a_BlockZ, double a_FlyAwaySpeed = 1.0);
+ // tolua_end
/// Spawns item pickups for each item in the list. May compress pickups if too many entities. All pickups get the speed specified:
- void SpawnItemPickups(const cItems & a_Pickups, double a_BlockX, double a_BlockY, double a_BlockZ, double a_SpeedX, double a_SpeedY, double a_SpeedZ);
+ // tolua_begin
+ void SpawnItemPickups(const cItems & a_Pickups, double a_BlockX, double a_BlockY, double a_BlockZ, double a_SpeedX, double a_SpeedY, double a_SpeedZ);
+ // tolua_end
+
/// Replaces world blocks with a_Blocks, if they are of type a_FilterBlockType
void ReplaceBlocks(const sSetBlockVector & a_Blocks, BLOCKTYPE a_FilterBlockType);