mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Add bold, italic and monospace font styling for HUD text elements (#11478)
Co-authored-by: Elias Fleckenstein <eliasfleckenstein@web.de>
This commit is contained in:
parent
cf136914cf
commit
6e8aebf432
12 changed files with 127 additions and 24 deletions
|
@ -8447,6 +8447,9 @@ Used by `Player:hud_add`. Returned by `Player:hud_get`.
|
|||
|
||||
z_index = 0,
|
||||
-- Z index : lower z-index HUDs are displayed behind higher z-index HUDs
|
||||
|
||||
style = 0,
|
||||
-- For "text" elements sets font style: bitfield with 1 = bold, 2 = italic, 4 = monospace
|
||||
}
|
||||
|
||||
Particle definition
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue