From 2e52b69f092cf183ce05d0697954eee749e94e5e Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Tue, 7 Jun 2022 00:26:24 +0200 Subject: Support HUD font style --- hudfield_string.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'hudfield_string.go') diff --git a/hudfield_string.go b/hudfield_string.go index 4190d19..8883146 100644 --- a/hudfield_string.go +++ b/hudfield_string.go @@ -21,12 +21,13 @@ func _() { _ = x[HUDSize-10] _ = x[HUDZIndex-11] _ = x[HUDText2-12] - _ = x[hudMax-13] + _ = x[HUDStyle-13] + _ = x[hudMax-14] } -const _HUDField_name = "PosNameScaleTextNumberItemDirAlignOffsetWorldPosSizeZIndexText2hudMax" +const _HUDField_name = "PosNameScaleTextNumberItemDirAlignOffsetWorldPosSizeZIndexText2StylehudMax" -var _HUDField_index = [...]uint8{0, 3, 7, 12, 16, 22, 26, 29, 34, 40, 48, 52, 58, 63, 69} +var _HUDField_index = [...]uint8{0, 3, 7, 12, 16, 22, 26, 29, 34, 40, 48, 52, 58, 63, 68, 74} func (i HUDField) String() string { if i >= HUDField(len(_HUDField_index)-1) { -- cgit v1.2.3