ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


hud_library_state

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
hud_library_state [2017/04/17 19:53]
korshun
hud_library_state [2017/04/18 16:21] (current)
korshun
Line 21: Line 21:
 <note important>This width and height is stored **in HUD Library**. [[zdoom>SetHudSize]] is **not** a replacement for [[functions:HudSetVirtualSize]], because HUD Library needs to overwrite actual SetHudSize dimensions to implement scaling.</note> <note important>This width and height is stored **in HUD Library**. [[zdoom>SetHudSize]] is **not** a replacement for [[functions:HudSetVirtualSize]], because HUD Library needs to overwrite actual SetHudSize dimensions to implement scaling.</note>
  
-**Default:** 640x480+<note important>Virtual screen size is specified using fixed-point numbers. The restriction on integers in [[zdoom>SetHudSize]] is completely arbitrary.</note>
  
-Manipulated by: +<note important>Virtual screen size affects 3D message sizeIF [[#auto distance scale]] is enabled, the scale of 3D messages will match that of 2D ones at 128 units from the camera planeIf it's disabled, 3D messages will look just like 2D ones at this virtual screen size.</note>
-  * [[functions:HudSetVirtualSize]]. +
-  * [[functions:HudUseDefaultSize]]. +
-  * [[functions:HudUseRealSize]].+
  
 +**Default:** 640x480
 +
 +Manipulated by [[functions:HudSetVirtualSize]].
 +----
 ==== 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>SetHudSize]].
  
 **Default:** false **Default:** false
Line 181: Line 182:
  
 Manipulated by [[functions:HudSetWordWrap]]. Manipulated by [[functions:HudSetWordWrap]].
 +----
 +
 +==== 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:** HUD_TEXTORIGIN_CENTER HUD_TEXTORIGIN_CENTER
 +
 +Manipulated by:
 +  * [[functions:HudSetTextOrigin]]
 +  * [[functions:HudSetTextOriginX]]
 +  * [[functions:HudSetTextOriginY]]
 +
 ---- ----
  
hud_library_state.1492447982.txt.gz · Last modified: 2017/04/17 19:53 by korshun