This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
hud_library_state [2017/04/17 14:25] – korshun | hud_library_state [2017/04/18 13:21] (current) – korshun | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== HUD Library State ====== | ====== HUD Library State ====== | ||
- | HUD library | + | [[HUD Library]] has a lot of settings telling it how to draw messages. It stores them in current **state**. |
+ | |||
+ | This state can be reset to default using [[functions: | ||
===== 2D drawing ===== | ===== 2D drawing ===== | ||
Line 17: | Line 19: | ||
The width and height of the [[HUD coordinate system]]. | The width and height of the [[HUD coordinate system]]. | ||
- | <note important> | + | <note important> |
- | **Default: | + | <note important> |
- | Manipulated by: | + | <note important> |
- | * [[functions: | + | |
- | * [[functions: | + | |
- | * [[functions: | + | |
+ | **Default: | ||
+ | |||
+ | Manipulated by [[functions: | ||
+ | ---- | ||
==== Exclude status bar ==== | ==== Exclude status bar ==== | ||
- | Whether to exclude status bar from [[HUD coordinate system]]. | + | Whether to exclude status bar from [[HUD coordinate system]]. This is equivalent to the third argument to [[zdoom> |
**Default: | **Default: | ||
Line 56: | Line 59: | ||
* [[functions: | * [[functions: | ||
* [[functions: | * [[functions: | ||
+ | |||
+ | <note tip>1 / scale = distance</ | ||
---- | ---- | ||
Line 112: | Line 117: | ||
Manipulated by: [[functions: | Manipulated by: [[functions: | ||
---- | ---- | ||
+ | |||
+ | ==== Show on overlay automap ==== | ||
+ | Whether to show the message when overlay automap is enabled. If false, applies [[zdoom> | ||
+ | |||
+ | **Default: | ||
+ | |||
+ | Manipulated by: [[functions: | ||
+ | ---- | ||
+ | |||
+ | ==== Show on full automap ==== | ||
+ | Whether to show the message in full automap mode. If false, applies [[zdoom> | ||
+ | |||
+ | **Default: | ||
+ | |||
+ | Manipulated by: [[functions: | ||
+ | ---- | ||
+ | |||
+ | |||
==== HUD layer ==== | ==== HUD layer ==== | ||
Line 159: | Line 182: | ||
Manipulated by [[functions: | Manipulated by [[functions: | ||
+ | ---- | ||
+ | |||
+ | ==== Text origin ==== | ||
+ | Which point of the text box to position. | ||
+ | |||
+ | Horizontal origin can be one of: | ||
+ | * HUD_TEXTORIGIN_LEFT | ||
+ | * HUD_TEXTORIGIN_CENTER | ||
+ | * HUD_TEXTORIGIN_RIGHT | ||
+ | |||
+ | Vertical origin can be one of: | ||
+ | * HUD_TEXTORIGIN_TOP | ||
+ | * HUD_TEXTORIGIN_CENTER | ||
+ | * HUD_TEXTORIGIN_BOTTOM | ||
+ | |||
+ | **Default: | ||
+ | |||
+ | Manipulated by: | ||
+ | * [[functions: | ||
+ | * [[functions: | ||
+ | * [[functions: | ||
+ | |||
---- | ---- | ||