mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-07 16:48:40 +00:00
Fix heart + bubble bar size on different texture packs
Add DPI support for statbar Move heart+bubble bar to Lua HUD Add statbar size (based upon an idea by blue42u) Add support for customizing breath and statbar
This commit is contained in:
parent
c80d67f48e
commit
d3ee617f37
15 changed files with 325 additions and 51 deletions
|
@ -150,7 +150,7 @@ enum ToClientCommand
|
|||
u8 keep_metadata // Added in protocol version 22
|
||||
*/
|
||||
TOCLIENT_REMOVENODE = 0x22,
|
||||
|
||||
|
||||
TOCLIENT_PLAYERPOS = 0x23, // Obsolete
|
||||
/*
|
||||
[0] u16 command
|
||||
|
@ -171,7 +171,7 @@ enum ToClientCommand
|
|||
[N] u16 peer_id
|
||||
[N] char[20] name
|
||||
*/
|
||||
|
||||
|
||||
TOCLIENT_OPT_BLOCK_NOT_FOUND = 0x25, // Obsolete
|
||||
|
||||
TOCLIENT_SECTORMETA = 0x26, // Obsolete
|
||||
|
@ -186,7 +186,7 @@ enum ToClientCommand
|
|||
[0] u16 command
|
||||
[2] serialized inventory
|
||||
*/
|
||||
|
||||
|
||||
TOCLIENT_OBJECTDATA = 0x28, // Obsolete
|
||||
/*
|
||||
Sent as unreliable.
|
||||
|
@ -237,7 +237,7 @@ enum ToClientCommand
|
|||
string initialization data
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
TOCLIENT_ACTIVE_OBJECT_MESSAGES = 0x32,
|
||||
/*
|
||||
u16 command
|
||||
|
@ -303,21 +303,21 @@ enum ToClientCommand
|
|||
u16 length of remote media server url (if applicable)
|
||||
string url
|
||||
*/
|
||||
|
||||
|
||||
TOCLIENT_TOOLDEF = 0x39,
|
||||
/*
|
||||
u16 command
|
||||
u32 length of the next item
|
||||
serialized ToolDefManager
|
||||
*/
|
||||
|
||||
|
||||
TOCLIENT_NODEDEF = 0x3a,
|
||||
/*
|
||||
u16 command
|
||||
u32 length of the next item
|
||||
serialized NodeDefManager
|
||||
*/
|
||||
|
||||
|
||||
TOCLIENT_CRAFTITEMDEF = 0x3b,
|
||||
/*
|
||||
u16 command
|
||||
|
@ -344,7 +344,7 @@ enum ToClientCommand
|
|||
u32 length of next item
|
||||
serialized ItemDefManager
|
||||
*/
|
||||
|
||||
|
||||
TOCLIENT_PLAY_SOUND = 0x3f,
|
||||
/*
|
||||
u16 command
|
||||
|
@ -472,6 +472,8 @@ enum ToClientCommand
|
|||
u32 dir
|
||||
v2f1000 align
|
||||
v2f1000 offset
|
||||
v3f1000 world_pos
|
||||
v2s32 size
|
||||
*/
|
||||
|
||||
TOCLIENT_HUDRM = 0x4a,
|
||||
|
@ -530,7 +532,7 @@ enum ToClientCommand
|
|||
u8 do_override (boolean)
|
||||
u16 day-night ratio 0...65535
|
||||
*/
|
||||
|
||||
|
||||
TOCLIENT_LOCAL_PLAYER_ANIMATIONS = 0x51,
|
||||
/*
|
||||
u16 command
|
||||
|
@ -634,7 +636,7 @@ enum ToServerCommand
|
|||
2: stop digging (all parameters ignored)
|
||||
3: digging completed
|
||||
*/
|
||||
|
||||
|
||||
TOSERVER_RELEASE = 0x29, // Obsolete
|
||||
|
||||
// (oops, there is some gap here)
|
||||
|
@ -676,7 +678,7 @@ enum ToServerCommand
|
|||
[3] u16 id
|
||||
[5] u16 item
|
||||
*/
|
||||
|
||||
|
||||
TOSERVER_DAMAGE = 0x35,
|
||||
/*
|
||||
u16 command
|
||||
|
@ -699,7 +701,7 @@ enum ToServerCommand
|
|||
[0] u16 TOSERVER_PLAYERITEM
|
||||
[2] u16 item
|
||||
*/
|
||||
|
||||
|
||||
TOSERVER_RESPAWN=0x38,
|
||||
/*
|
||||
u16 TOSERVER_RESPAWN
|
||||
|
@ -721,7 +723,7 @@ enum ToServerCommand
|
|||
|
||||
(Obsoletes TOSERVER_GROUND_ACTION and TOSERVER_CLICK_ACTIVEOBJECT.)
|
||||
*/
|
||||
|
||||
|
||||
TOSERVER_REMOVED_SOUNDS = 0x3a,
|
||||
/*
|
||||
u16 command
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue