Screen size: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
Fox (talk | contribs)
No edit summary
 
Line 1: Line 1:
'''screen_size''' holds the player's screen size
'''screen_size''' holds the player's "screen size". Not to be confused with resolution.


Screen_size starts at 0 if the player has no HUD displayed and then increments by 4 for each time the screen is shrunken, up to 64.
Screen_size starts at 0 if the player has no HUD displayed and then increments by 4 for each time the screen is shrunken, up to 64.
A value of 4 means the player has just the mini-HUD displayed.  A value of 8 or above means the player has the full status bar up.  From 12 to 64, the viewport will shrink, with a texture filling the border.  The HUD will remain at full size.


Not to be confused with resolution.
A value of 4 means the player has just the mini-HUD displayed.
 
A value of 8 or above means the player has the full status bar up.
 
From 12 to 64, the viewport will shrink, with a texture filling the border.  The HUD will remain at full size.
 
See also [[statusbarscale]], [[statusbarflags]], [[statusbarrange]] and [[statusbarcustom]].


[[Category:Userdef structure members]]
[[Category:Userdef structure members]]

Latest revision as of 05:48, 20 February 2020

screen_size holds the player's "screen size". Not to be confused with resolution.

Screen_size starts at 0 if the player has no HUD displayed and then increments by 4 for each time the screen is shrunken, up to 64.

A value of 4 means the player has just the mini-HUD displayed.

A value of 8 or above means the player has the full status bar up.

From 12 to 64, the viewport will shrink, with a texture filling the border. The HUD will remain at full size.

See also statusbarscale, statusbarflags, statusbarrange and statusbarcustom.