From b75fc5f4e8dc837f069e89541b52144defa2d1b9 Mon Sep 17 00:00:00 2001 From: "keyboard.osh@gmail.com" Date: Thu, 18 Apr 2013 02:42:45 +0000 Subject: Initial implementation of explosions and TNT block git-svn-id: http://mc-server.googlecode.com/svn/trunk@1392 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 70e203bc3..c3aa0c25c 100644 --- a/source/World.h +++ b/source/World.h @@ -338,6 +338,9 @@ public: /// Calls the callback for each furnace in the specified chunk; returns true if all furnaces processed, false if the callback aborted by returning true bool ForEachFurnaceInChunk(int a_ChunkX, int a_ChunkZ, cFurnaceCallback & a_Callback); // Exported in ManualBindings.cpp + /// Does an explosion with the specified strength at the specified coordinate + void DoExplosiontAt (float a_ExplosionSzie, int a_BlockX, int a_BlockY, int a_BlockZ); // + /// Calls the callback for the chest at the specified coords; returns false if there's no chest at those coords, true if found bool DoWithChestAt (int a_BlockX, int a_BlockY, int a_BlockZ, cChestCallback & a_Callback); // Exported in ManualBindings.cpp -- cgit v1.2.3