mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Generalize hud_builtin_enable into hud_set_flags
This commit is contained in:
parent
d83602d98e
commit
d3f0ce6224
12 changed files with 85 additions and 107 deletions
|
@ -163,8 +163,7 @@ enum ClientEventType
|
|||
CE_DELETE_PARTICLESPAWNER,
|
||||
CE_HUDADD,
|
||||
CE_HUDRM,
|
||||
CE_HUDCHANGE,
|
||||
CE_HUD_BUILTIN_ENABLE
|
||||
CE_HUDCHANGE
|
||||
};
|
||||
|
||||
struct ClientEvent
|
||||
|
@ -244,10 +243,6 @@ 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