From b2138b132cc0f7bf03bdd723725729d76067ff23 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Tue, 18 Jun 2013 19:09:51 +0000 Subject: More TNT fixes. Chain-reaction TNTs are spawned in proper coordinates (FS #390) Centralized Primed TNT entity spawning and made available to the plugins. Internal changes for better TNT performance. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1604 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/World.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/World.h') diff --git a/source/World.h b/source/World.h index fe339ea61..6bc6cb4c7 100644 --- a/source/World.h +++ b/source/World.h @@ -329,6 +329,9 @@ public: /// 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); + + /// Spawns a new primed TNT entity at the specified block coords and specified fuse duration + void SpawnPrimedTNT(double a_X, double a_Y, double a_Z, float a_FuseTimeInSec); // tolua_end -- cgit v1.2.3