]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/client.h
[CSM] Add functions to create particles and particlespawners. (#6072)
[dragonfireclient.git] / src / client.h
index caa3a7b73d3b288ab5b904124bb8f7a2b83d9f4f..f438416aa301b7f9e08262488076def5af0a97e6 100644 (file)
@@ -554,8 +554,10 @@ class Client : public con::PeerHandler, public InventoryManager, public IGameDef
        // And relations to objects
        std::unordered_map<int, u16> m_sounds_to_objects;
 
-       // HUD
-       // Mapping from server hud ids to internal hud ids
+       // CSM/client IDs to SSM/server IDs Mapping
+       // Map server particle spawner IDs to client IDs
+       std::unordered_map<u32, u32> m_particles_server_to_client;
+       // Map server hud ids to client hud ids
        std::unordered_map<u32, u32> m_hud_server_to_client;
 
        // Privileges