mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Added support to disable built-in HUD elements
This commit is contained in:
parent
33dd267fd9
commit
e703c5b81f
13 changed files with 138 additions and 11 deletions
|
@ -163,7 +163,8 @@ enum ClientEventType
|
|||
CE_DELETE_PARTICLESPAWNER,
|
||||
CE_HUDADD,
|
||||
CE_HUDRM,
|
||||
CE_HUDCHANGE
|
||||
CE_HUDCHANGE,
|
||||
CE_HUD_BUILTIN_ENABLE
|
||||
};
|
||||
|
||||
struct ClientEvent
|
||||
|
@ -243,6 +244,10 @@ struct ClientEvent
|
|||
std::string *sdata;
|
||||
u32 data;
|
||||
} hudchange;
|
||||
struct{
|
||||
u32 id;
|
||||
u32 flag;
|
||||
} hudbuiltin;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue