diff options
| author | Wuzzy <wuzzy2@mail.ru> | 2020-05-11 21:40:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-11 21:40:45 +0200 |
| commit | 6e1372bd894d955300c40d69e5c882e9cc7d7523 (patch) | |
| tree | 6273a8c2ddfec5efbc5b69fa49b088368dd78c15 /src/network/networkprotocol.h | |
| parent | 88bb8e57e6780130df1877e7a89bb56c9561ea6a (diff) | |
| download | minetest-6e1372bd894d955300c40d69e5c882e9cc7d7523.tar.xz | |
Add support for statbar “off state” icons (#9462)
This adds support for optional “off state” icons for statbars. “off state icons” can be used to denote the lack of something, like missing hearts or bubbles.
Add "off state" textures to the builtin statbars.
Co-authored-by: SmallJoker <mk939@ymail.com>
Diffstat (limited to 'src/network/networkprotocol.h')
| -rw-r--r-- | src/network/networkprotocol.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/network/networkprotocol.h b/src/network/networkprotocol.h index 527ebba7c..ab924f1db 100644 --- a/src/network/networkprotocol.h +++ b/src/network/networkprotocol.h @@ -560,10 +560,10 @@ enum ToClientCommand u32 id u8 type v2f1000 pos - u32 len + u16 len u8[len] name v2f1000 scale - u32 len2 + u16 len2 u8[len2] text u32 number u32 item @@ -573,6 +573,8 @@ enum ToClientCommand v3f1000 world_pos v2s32 size s16 z_index + u16 len3 + u8[len3] text2 */ TOCLIENT_HUDRM = 0x4a, |
