diff options
author | nielsbreu@gmail.com <nielsbreu@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-05-09 16:32:27 +0200 |
---|---|---|
committer | nielsbreu@gmail.com <nielsbreu@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-05-09 16:32:27 +0200 |
commit | 4e44c4b33a35fcaa22d26ef1b5fc82275ef6216d (patch) | |
tree | 790673d2025c93078ce6aeb7aadaa30ebfd38c44 /source/World.h | |
parent | Updated the core's settings.ini settings tab (diff) | |
download | cuberite-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 'source/World.h')
-rw-r--r-- | source/World.h | 8 |
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); |