Template:Globalflags: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Fox (talk | contribs)
No edit summary
Fox (talk | contribs)
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The following values are used with [[globalflags]] userdef or [[globalflags (def)|| globalflags]] DEF command.
<noinclude>{{Template}}</noinclude>
 
The following values are used with [[globalflags]] userdef or [[globalflags (def)| globalflags DEF]] command.


{| {{prettytable}}
{| {{prettytable}}
Line 8: Line 10:
| No || 2 || GLOBAL_NO_GL_FULLBRIGHT || Disable fullbright colors 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 (def)|tint]] to set individually for a palette.
| 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 (DEF)|tint]] to set individually for a palette.
|-
|-
|}
|}


{| {{Collapse}}
| <strong>Defines</strong>
|-
|
  define GLOBAL_NO_GL_TILESHADES          0x00000001
  define GLOBAL_NO_GL_TILESHADES          0x00000001
  define GLOBAL_NO_GL_FULLBRIGHT          0x00000002
  define GLOBAL_NO_GL_FULLBRIGHT          0x00000002
  define GLOBAL_NO_GL_FOGSHADE            0x00000004
  define GLOBAL_NO_GL_FOGSHADE            0x00000004
|}
<noinclude>[[Category:Templates]]</noinclude>
<includeonly>[[Category:Pages with templates]]</includeonly>

Latest revision as of 15:56, 12 September 2021

This page is a template.
This page was created to be included in other pages.


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