diff options
Diffstat (limited to 'src/script/cpp_api/s_env.h')
-rw-r--r-- | src/script/cpp_api/s_env.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/script/cpp_api/s_env.h b/src/script/cpp_api/s_env.h index c5b739eb4..51cf15036 100644 --- a/src/script/cpp_api/s_env.h +++ b/src/script/cpp_api/s_env.h @@ -24,6 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "irr_v3d.h" class ServerEnvironment; +struct MapgenParams; class ScriptApiEnv : virtual public ScriptApiBase @@ -33,6 +34,8 @@ public: void environment_Step(float dtime); // After generating a piece of map void environment_OnGenerated(v3s16 minp, v3s16 maxp,u32 blockseed); + // After initializing mapgens + void environment_OnMapgenInit(MapgenParams *mgparams); void initializeEnvironment(ServerEnvironment *env); }; |