]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/client.h
[CSM] Add basic HUD manipulation. (#6067)
[dragonfireclient.git] / src / client.h
index 11f27e9bdab97d1faee30e029d2704c2822f5c76..caa3a7b73d3b288ab5b904124bb8f7a2b83d9f4f 100644 (file)
@@ -30,7 +30,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "gamedef.h"
 #include "inventorymanager.h"
 #include "localplayer.h"
-#include "hud.h"
+#include "client/hud.h"
 #include "particles.h"
 #include "mapnode.h"
 #include "tileanimation.h"
@@ -554,6 +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
+       std::unordered_map<u32, u32> m_hud_server_to_client;
+
        // Privileges
        std::unordered_set<std::string> m_privileges;