mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Added support for alignment in HUD items
This commit is contained in:
parent
58ded5cd27
commit
7c37b1891a
9 changed files with 38 additions and 2 deletions
|
@ -47,7 +47,8 @@ enum HudElementStat {
|
|||
HUD_STAT_TEXT,
|
||||
HUD_STAT_NUMBER,
|
||||
HUD_STAT_ITEM,
|
||||
HUD_STAT_DIR
|
||||
HUD_STAT_DIR,
|
||||
HUD_STAT_ALIGN
|
||||
};
|
||||
|
||||
struct HudElement {
|
||||
|
@ -59,6 +60,7 @@ struct HudElement {
|
|||
u32 number;
|
||||
u32 item;
|
||||
u32 dir;
|
||||
v2f align;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue