diff options
Diffstat (limited to 'src/environment.h')
-rw-r--r-- | src/environment.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/environment.h b/src/environment.h index e14a9c485..3ebbee910 100644 --- a/src/environment.h +++ b/src/environment.h @@ -261,18 +261,24 @@ public: void activateBlock(MapBlock *block, u32 additional_dtime=0); /* - ActiveBlockModifiers (TODO) + ActiveBlockModifiers ------------------------------------------- - NOTE: Not used currently (TODO: Use or remove) */ void addActiveBlockModifier(ActiveBlockModifier *abm); - /* Other stuff */ + /* + Other stuff + ------------------------------------------- + */ + + // Find all active objects inside a radius around a point + std::set<u16> getObjectsInsideRadius(v3f pos, float radius); // Clear all objects, loading and going through every MapBlock void clearAllObjects(); + // This makes stuff happen void step(f32 dtime); private: |