From 4ac29d4cc54090cde549e1b0cf2a445f16dbf93d Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Thu, 9 May 2013 19:09:27 +0000 Subject: Tiny formatting fix of rev 1463 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1467 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Item.h | 2 ++ source/World.h | 8 +++----- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'source') diff --git a/source/Item.h b/source/Item.h index b80eb132b..570182bae 100644 --- a/source/Item.h +++ b/source/Item.h @@ -99,8 +99,10 @@ class cItems // tolua_export { // tolua_export public: // tolua_begin + /// Need a Lua-accessible constructor cItems(void) {} + cItem & Get (int a_Idx) {return at(a_Idx); } void Set (int a_Idx, const cItem & a_Item) {at(a_Idx) = a_Item; } void Add (const cItem & a_Item) {push_back(a_Item); } diff --git a/source/World.h b/source/World.h index 8f096fa38..4f55be48a 100644 --- a/source/World.h +++ b/source/World.h @@ -300,16 +300,14 @@ 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 + + /// Spawns item pickups for each item in the list. May compress pickups if too many entities: 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: - - // 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 -- cgit v1.2.3