diff options
author | Mattes D <github@xoft.cz> | 2015-12-16 15:04:47 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-12-18 12:40:34 +0100 |
commit | 086c8b1834bfca6a4af912abbd13fd570f7b0b33 (patch) | |
tree | 7e95f9e8102c3cc7910c7a513e4cc77bce764aed /src/World.h | |
parent | Merge pull request #2770 from cuberite/RemoveChunkDataCollector (diff) | |
download | cuberite-086c8b1834bfca6a4af912abbd13fd570f7b0b33.tar cuberite-086c8b1834bfca6a4af912abbd13fd570f7b0b33.tar.gz cuberite-086c8b1834bfca6a4af912abbd13fd570f7b0b33.tar.bz2 cuberite-086c8b1834bfca6a4af912abbd13fd570f7b0b33.tar.lz cuberite-086c8b1834bfca6a4af912abbd13fd570f7b0b33.tar.xz cuberite-086c8b1834bfca6a4af912abbd13fd570f7b0b33.tar.zst cuberite-086c8b1834bfca6a4af912abbd13fd570f7b0b33.zip |
Diffstat (limited to 'src/World.h')
-rw-r--r-- | src/World.h | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/src/World.h b/src/World.h index 5f1ce393b..aca7f2b3f 100644 --- a/src/World.h +++ b/src/World.h @@ -517,20 +517,11 @@ 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 - a_SourceData exact type depends on the a_Source: - | esOther | void * | - | esPrimedTNT | cTNTEntity * | - | esMonster | cMonster * | - | esBed | cVector3i * | - | esEnderCrystal | Vector3i * | - | esGhastFireball | cGhastFireball * | - | esWitherSkullBlack | TBD | - | esWitherSkullBlue | TBD | - | esWitherBirth | cMonster * | - | esPlugin | void * | - */ - virtual void DoExplosionAt(double a_ExplosionSize, double a_BlockX, double a_BlockY, double a_BlockZ, bool a_CanCauseFire, eExplosionSource a_Source, void * a_SourceData) override; // tolua_export + /** Does an explosion with the specified strength at the specified coordinates. + Executes the HOOK_EXPLODING and HOOK_EXPLODED hooks as part of the processing. + a_SourceData exact type depends on the a_Source, see the declaration of the esXXX constants in BlockID.h for details. + Exported to Lua manually in ManualBindings_World.cpp in order to support the variable a_SourceData param. */ + virtual void DoExplosionAt(double a_ExplosionSize, double a_BlockX, double a_BlockY, double a_BlockZ, bool a_CanCauseFire, eExplosionSource a_Source, void * a_SourceData) override; /** Calls the callback for the block entity at the specified coords; returns false if there's no block entity at those coords, true if found */ virtual bool DoWithBlockEntityAt(int a_BlockX, int a_BlockY, int a_BlockZ, cBlockEntityCallback & a_Callback) override; // Exported in ManualBindings.cpp |