1
0
Fork 0
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:
Diego Martínez 2013-04-22 06:53:55 -03:00 committed by Perttu Ahola
parent 58ded5cd27
commit 7c37b1891a
9 changed files with 38 additions and 2 deletions

View file

@ -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;
};