summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-10 18:17:28 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-10 18:17:28 +0100
commit0a509ab85e395bf46e29b7b554d736fadfaed0ba (patch)
treef67665e089d372b89505f1b9a3ee21c8cd9f0d8c /src/World.h
parentBe more parinoid about int sizes (diff)
parentFixed MSVC2008 compilation. (diff)
downloadcuberite-0a509ab85e395bf46e29b7b554d736fadfaed0ba.tar
cuberite-0a509ab85e395bf46e29b7b554d736fadfaed0ba.tar.gz
cuberite-0a509ab85e395bf46e29b7b554d736fadfaed0ba.tar.bz2
cuberite-0a509ab85e395bf46e29b7b554d736fadfaed0ba.tar.lz
cuberite-0a509ab85e395bf46e29b7b554d736fadfaed0ba.tar.xz
cuberite-0a509ab85e395bf46e29b7b554d736fadfaed0ba.tar.zst
cuberite-0a509ab85e395bf46e29b7b554d736fadfaed0ba.zip
Diffstat (limited to 'src/World.h')
-rw-r--r--src/World.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/World.h b/src/World.h
index 0a0939dd1..d48db5911 100644
--- a/src/World.h
+++ b/src/World.h
@@ -445,7 +445,7 @@ public:
int SpawnExperienceOrb(double a_X, double a_Y, double a_Z, int a_Reward);
/** Spawns a new primed TNT entity at the specified block coords and specified fuse duration. Initial velocity is given based on the relative coefficient provided */
- void SpawnPrimedTNT(double a_X, double a_Y, double a_Z, double a_FuseTimeInSec, double a_InitialVelocityCoeff = 1);
+ void SpawnPrimedTNT(double a_X, double a_Y, double a_Z, int a_FuseTimeInSec = 80, double a_InitialVelocityCoeff = 1);
// tolua_end
@@ -708,7 +708,7 @@ public:
int SpawnMobFinalize(cMonster* a_Monster);
/** Creates a projectile of the specified type. Returns the projectile's EntityID if successful, <0 otherwise */
- int CreateProjectile(double a_PosX, double a_PosY, double a_PosZ, cProjectileEntity::eKind a_Kind, cEntity * a_Creator, const Vector3d * a_Speed = NULL); // tolua_export
+ int CreateProjectile(double a_PosX, double a_PosY, double a_PosZ, cProjectileEntity::eKind a_Kind, cEntity * a_Creator, const cItem a_Item, const Vector3d * a_Speed = NULL); // tolua_export
/** Returns a random number from the m_TickRand in range [0 .. a_Range]. To be used only in the tick thread! */
int GetTickRandomNumber(unsigned a_Range) { return (int)(m_TickRand.randInt(a_Range)); }