1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-06 17:41:04 +00:00
This commit is contained in:
sfan5 2024-08-11 14:54:02 +02:00
parent 7ae51382c8
commit 811adf5d42
9 changed files with 126 additions and 49 deletions

View file

@ -26,6 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <vector>
class ServerEnvironment;
class MapBlock;
struct ScriptCallbackState;
class ScriptApiEnv : virtual public ScriptApiBase
@ -61,7 +62,8 @@ public:
void triggerABM(int id, v3s16 p, MapNode n,
u32 active_object_count, u32 active_object_count_wider);
void triggerLBM(int id, v3s16 p, MapNode n, float dtime_s);
void triggerLBM(int id, MapBlock *block,
const std::unordered_set<v3s16> &positions, float dtime_s);
private:
void readABMs();