]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/environment.h
Document zoom_fov in settingtypes.txt and minetest.conf.example
[dragonfireclient.git] / src / environment.h
index 660c6f1bc1840292dd4384958ab46db3cb674ce0..c6786faed766614b32c18b07b1e78fbb23346a2a 100644 (file)
@@ -337,6 +337,9 @@ class ServerEnvironment : public Environment
        // env_meta.txt doesn't exist (e.g. new world)
        void loadDefaultMeta();
 
+       u32 addParticleSpawner(float exptime);
+       void deleteParticleSpawner(u32 id);
+
        /*
                External ActiveObject interface
                -------------------------------------------
@@ -516,6 +519,10 @@ class ServerEnvironment : public Environment
        // Estimate for general maximum lag as determined by server.
        // Can raise to high values like 15s with eg. map generation mods.
        float m_max_lag_estimate;
+
+       // Particles
+       IntervalLimiter m_particle_management_interval;
+       std::map<u32, float> m_particle_spawners;
 };
 
 #ifndef SERVER