Globalflags: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Fox (talk | contribs)
No edit summary
Fox (talk | contribs)
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''globalflags''' holds values that control certain aspects of the engine.
'''globalflags''' holds values that control certain aspects of the engine.


{| {{prettytable}}
Can be set via DEF with the [[globalflags (DEF)|globalflags]] command.
!Exposed!!Value!!Label!!Description!!
|-
| No || 1 || GLOBAL_NO_GL_TILESHADES || Disable tile shades (aka palette emulation) in OpenGL
|-
| No || 2 || GLOBAL_NO_GL_FULLBRIGHT || Disable fullbright colors in OpenGL
|-
| No || 4 || GLOBAL_NO_GL_FOGSHADE || Make visibility the same for all shades in OpenGL. With this, positive shades won't appear darker with visibility, and negative shades won't appear brighter (and negative shades will have virtually no difference from shade zero). As a result, positive shades won't look even darker with distance, while negative shades will look the
|-
|}


define GLOBAL_NO_GL_TILESHADES          0x00000001
See also [[globalgameflags]] and [[globalgameflags (DEF)|globalgameflags (DEF command)]].
define GLOBAL_NO_GL_FULLBRIGHT          0x00000002
define GLOBAL_NO_GL_FOGSHADE            0x00000004


Can be set via def with the [[globalflags (def)|globalflags]] command.
==Flags==
 
{{Template:globalflags}}


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

Latest revision as of 15:07, 21 February 2020

globalflags holds values that control certain aspects of the engine.

Can be set via DEF with the globalflags command.

See also globalgameflags and globalgameflags (DEF command).

Flags

The following values are used with globalflags userdef or globalflags DEF command.

Exposed Value Label Description
No 1 GLOBAL_NO_GL_TILESHADES Disable tile shades (aka palette emulation) in OpenGL
No 2 GLOBAL_NO_GL_FULLBRIGHT Disable fullbright colors in OpenGL
No 4 GLOBAL_NO_GL_FOGSHADE Make visibility the same for all shades in OpenGL. With this, positive shades won't appear darker with visibility, and negative shades won't appear brighter (and negative shades will have virtually no difference from shade zero). Use HICTINT_NOFOGSHADE on tint to set individually for a palette.
Defines
define GLOBAL_NO_GL_TILESHADES          0x00000001
define GLOBAL_NO_GL_FULLBRIGHT          0x00000002
define GLOBAL_NO_GL_FOGSHADE            0x00000004