diff options
author | red-001 <red-001@outlook.ie> | 2018-01-20 13:09:58 +0000 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2018-01-20 14:09:58 +0100 |
commit | 9649e4721467dab348011633c814a63a184bd018 (patch) | |
tree | b5c381d8b597406aa21889a1c40c2689adaa39a9 /src/client.h | |
parent | d45e5da8ca808e552123bcd94e76b0b435a6ea79 (diff) | |
download | minetest-9649e4721467dab348011633c814a63a184bd018.tar.gz minetest-9649e4721467dab348011633c814a63a184bd018.tar.bz2 minetest-9649e4721467dab348011633c814a63a184bd018.zip |
[CSM] Add basic HUD manipulation. (#6067)
* [CSM] Add basic HUD manipulation.
Workaround for on_connect not working right now.
Diffstat (limited to 'src/client.h')
-rw-r--r-- | src/client.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/client.h b/src/client.h index 11f27e9bd..caa3a7b73 100644 --- a/src/client.h +++ b/src/client.h @@ -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 @@ private: // 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; |