Tiny formatting fix of rev 1463
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1467 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
parent
6c66e19f94
commit
4ac29d4cc5
@ -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); }
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user