Statusbarflags: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Fox (talk | contribs)
No edit summary
Fox (talk | contribs)
No edit summary
 
Line 5: Line 5:
== Flags ==
== Flags ==


{| {{prettytable}}
{{Status bar flags}}
!Exposed!!Value!!Label!!Description!!
|-
| No || 1 || STATUSBAR_NONONE ||
|-
| No || 2 || STATUSBAR_NOMINI ||
|-
| No || 4 || STATUSBAR_NOFULL ||
|-
| No || 8 || STATUSBAR_NOSHRINK ||
|-
| No || 16 || STATUSBAR_NOFRAGBAR ||
|-
| No || 32 || STATUSBAR_NOOVERLAY ||
|-
| No || 64 || STATUSBAR_NOMODERN ||
|-
|}
 
define STATUSBAR_NONONE                0x00000001
define STATUSBAR_NOMINI                0x00000002
define STATUSBAR_NOFULL                0x00000004
define STATUSBAR_NOSHRINK              0x00000008
define STATUSBAR_NOFRAGBAR              0x00000010
define STATUSBAR_NOOVERLAY              0x00000020
define STATUSBAR_NOMODERN              0x00000040


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

Latest revision as of 16:36, 20 February 2020

Set special flags for the statusbar. Default value is 8 (screen shrinking is disabled in Eduke32).

See also statusbarrange and statusbarcustom.

Flags

The following values are used with statusbarflags.

They control what occurs when the player shrinks or increases the screen size through the menu or the keybinds.

Exposed Value Label Description
No 1 STATUSBAR_NONONE If set, prevents the HUD display from being hidden entirely.
No 2 STATUSBAR_NOMINI If set, prevents althud from being set to 0, disabling the normal minimal hud. Also prevents statusbarcustom from being incremented. If set together with STATUSBAR_NOMODERN, disables both the minimal and alternate HUD.
No 4 STATUSBAR_NOFULL If set, prevents statusbarmode from being set to 0, resulting in the overlay HUD always being active. If set together with STATUSBAR_NOOVERLAY and STATUSBAR_NOSHRINK, completely disables the fullscreen HUD.
No 8 STATUSBAR_NOSHRINK (Default) If set, prevents screen_size from being incremented past 8. In other words, it is not possible to shrink the screen past the no-overlay fullscreen HUD.
No 16 STATUSBAR_NOFRAGBAR (Multiplayer) If set, does not display the fragbar at the top of the screen in multiplayer games.
No 32 STATUSBAR_NOOVERLAY If set, prevents statusbarmode from being set to 1, disabling the overlay HUD.
No 64 STATUSBAR_NOMODERN If set, prevents althud from being set to 1, disabling it. If set together with STATUSBAR_NOMINI, disables both the minimal and alternate HUD.
Defines
define STATUSBAR_NONONE                 0x00000001
define STATUSBAR_NOMINI                 0x00000002
define STATUSBAR_NOFULL                 0x00000004
define STATUSBAR_NOSHRINK               0x00000008
define STATUSBAR_NOFRAGBAR              0x00000010
define STATUSBAR_NOOVERLAY              0x00000020
define STATUSBAR_NOMODERN               0x00000040