summaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
authorred-001 <red-001@outlook.ie>2018-01-20 22:31:53 +0000
committerLoïc Blot <nerzhul@users.noreply.github.com>2018-01-20 23:31:53 +0100
commit5dab7426451842793b183fbd961ad2ae83c8acbd (patch)
tree7d9d643bd94f955c9745e073a55e75dac985fbb0 /src/client.h
parentda80e8af8adee493e698227cfc201859a1515c81 (diff)
downloadminetest-5dab7426451842793b183fbd961ad2ae83c8acbd.tar.gz
minetest-5dab7426451842793b183fbd961ad2ae83c8acbd.tar.bz2
minetest-5dab7426451842793b183fbd961ad2ae83c8acbd.zip
[CSM] Add functions to create particles and particlespawners. (#6072)
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/client.h b/src/client.h
index caa3a7b73..f438416aa 100644
--- a/src/client.h
+++ b/src/client.h
@@ -554,8 +554,10 @@ private:
// 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