1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Add hotbar Lua HUD element and replace hardcoded hotbar

This commit is contained in:
cx384 2024-01-29 16:43:37 +01:00
parent efd7792add
commit 52376fd87a
11 changed files with 165 additions and 31 deletions

View file

@ -67,7 +67,8 @@ enum HudElementType {
HUD_ELEM_WAYPOINT = 4,
HUD_ELEM_IMAGE_WAYPOINT = 5,
HUD_ELEM_COMPASS = 6,
HUD_ELEM_MINIMAP = 7
HUD_ELEM_MINIMAP = 7,
HUD_ELEM_HOTBAR = 8,
};
enum HudElementStat : u8 {