Pre-defined values: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Fox (talk | contribs)
WIP
Fox (talk | contribs)
No edit summary
Line 1: Line 1:
== Globalflags ==


Used with [[globalflags]] userdef or [[DEF_Language#globalflags|globalflags]] DEF command.
 
== Game modes ==
 
Used with [[gm]].


{| {{prettytable}}
{| {{prettytable}}
Line 7: Line 9:
|-
|-
| 1
| 1
| GLOBAL_NO_GL_TILESHADES
| MODE_MENU
| Disable tile shades (aka palette emulation) in OpenGL
| Menu is being displayed
|-
|-
| 2
| 2
| GLOBAL_NO_GL_FULLBRIGHT
| MODE_DEMO
| Disable fullbright colors in OpenGL
| Demo is being played
|-
|-
| 4
| 4
| GLOBAL_NO_GL_FOGSHADE
| MODE_GAME
| 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  
| Game is running
|-
| 8
| MODE_EOL
| End of Level has been signaled
|-
| 16
| MODE_TYPE
| User is typing chat message
|-
| 32
| MODE_RESTART
| Level is restarting
|-
| 64
| MODE_SENDTOWHOM
| User is selecting the message recipient
|-
| 128
| MODE_END
|
|-
|-
|}
|}


  define GLOBAL_NO_GL_TILESHADES          0x00000001
  define MODE_MENU                        0x00000001
  define GLOBAL_NO_GL_FULLBRIGHT          0x00000002
  define MODE_DEMO                        0x00000002
  define GLOBAL_NO_GL_FOGSHADE            0x00000004
  define MODE_GAME                        0x00000004
define MODE_EOL                        0x00000008
define MODE_TYPE                        0x00000010
define MODE_RESTART                    0x00000020
define MODE_SENDTOWHOM                  0x00000040
define MODE_END                        0x00000080


[[Category:Scripting documentation]]
== Multiplayer game type ==
 
== Globalgameflags ==


Used with [[globalgameflags]] userdef or [[DEF_Language#globalgameflags|globalgameflags]] DEF command.
Used with [[definegametype]] and [[gametypeflags]]


{| {{prettytable}}
{| {{prettytable}}
Line 34: Line 59:
|-
|-
| 1
| 1
| DUKE3D_NO_WIDESCREEN_PINNING
| GAMETYPE_COOP
| Disable widescreen orientation bits for weapon sprites drawn on screen. Enable this if you are using weapon sprites extended on the sides (similar to 20th Anniversary World Tour).
| Cooperative
|-
|-
| 2
| 2
| DUKE3D_NO_HARDCODED_FOGPALS
| GAMETYPE_WEAPSTAY
| Disable the four fog palettes. By default Eduke32 will create four new palettes, with IDs ranging from 26 to 29 (however it varies depending of the size of the lookup table).
| Weapon pick-ups stay
|-
|-
| 4
| 4
| DUKE3D_NO_PALETTE_CHANGES
| GAMETYPE_FRAGBAR
| Disable changes to the game palette. By default Eduke32 will attempt to replace the magenta color used for transparency with the color closest to black.
| Show frag bar in status bar
|-
|-
|}
| 8
 
| GAMETYPE_SCORESHEET
define DUKE3D_NO_WIDESCREEN_PINNING    0x00000001
| Show scoresheet when a deathmatch game ends
define DUKE3D_NO_HARDCODED_FOGPALS      0x00000002
define DUKE3D_NO_PALETTE_CHANGES        0x00000004
 
== Orientation ==
 
Used with [[rotatesprite]], [[screentext]] and other screen drawing commands.
 
{| {{prettytable}}
!Value!!Label!!Description!!
|-
|-
| 1
| 16
| RS_TRANS1
| GAMETYPE_DMSWITCHES
| Translucency level one (66% opacity).
| Spawn deathmatch switches (non-zero palette)
|-
| 2
| RS_AUTO
| Scaling on 320-200 coordinates. This is implicitly applied to all CON screen drawing commands, but including it in your bitfields is recommended for clarity and portability of your code.
|-
| 4
| RS_YFLIP
| Used to invert Y coordinates. Combine this bit with an angle of 1024 (using rotatesprite) and the tile will appear to have inverted X coordinates. If you want inversion for both the X and Y coordinates, simply set the angle (again, with rotatesprite) to 1024 and do not use this bit.
|-
| 8
| RS_NOCLIP
| Causes the sprite to be not affected by the screen size (using the + or - commands). This is usefull, for example, when displaying a status bar.
|-
| 16
| RS_TOPLEFT
| Forces the center of the sprite you're drawing to its top-left if set. It also ignores the x-y offset of the tile.
|-
|-
| 32
| 32
| RS_TRANS2
| GAMETYPE_COOPSPAWN
| Translucency level two (33% opacity). It won't work if | 1|  is not set.
| Use co-operative spawn points (lo-tag 1)
|-
|-
| 64
| 64
| RS_NOMASK
| GAMETYPE_ACCESSCARDSPRITES
| Forces masking off if set. It discards translucency too.
| Spawn access cards
|-
|-
| 128
| 128
| RS_PERM
| GAMETYPE_COOPVIEW
| "Permanent" tile (deprecated).
| Allow accessing the view of other players
|-
|-
| 256
| 256
| RS_ALIGN_L
| GAMETYPE_COOPSOUND
| Align to the left (widescreen support)
| Allow co-operative sounds
|-
|-
| 512
| 512
| RS_ALIGN_R
| GAMETYPE_OTHERPLAYERSINMAP
| Align to the right (widescreen support)
| Show other players in the automap
|-
|-
| 1024
| 1024
| RS_STRETCH
| GAMETYPE_ITEMRESPAWN
| Stretch to screen resolution (distorts aspect ratio; this is the behavior of rotatesprite prior to widescreen awareness)
| Respawn items
|-
|-
| 2048
| 2048
|  
| GAMETYPE_MARKEROPTION
| Always interpret coordinate values as having "full" precision, [[shiftvarl|bit-shifted left by 16]], so that 20971520x13107200 corresponds to 320x200. See [[rotatesprite16]].
| Enable respawn markers option
|-
| 4096
| GAMETYPE_PLAYERSFRIENDLY
| Enable friendly fire option
|-
| 8192
| GAMETYPE_FIXEDRESPAWN
| Player always spawn in the same point
|-
| 16384
| GAMETYPE_ACCESSATSTART
| Players have all access cards on start
|-
| 32768
| GAMETYPE_PRESERVEINVENTORYDEATH
| Players preserve all weapons and items on respawn
|-
| 65536
| GAMETYPE_TDM
| Team deathmatch
|-
| 131072
| GAMETYPE_TDMSPAWN
| Use team deathmatch spawn points
|-
|-
|}
|}


  define RS_TRANS1                        0x00000001
  define GAMETYPE_COOP                    0x00000001
  define RS_AUTO                          0x00000002
  define GAMETYPE_WEAPSTAY                0x00000002
  define RS_YFLIP                        0x00000004
  define GAMETYPE_FRAGBAR                0x00000004
  define RS_NOCLIP                        0x00000008
  define GAMETYPE_SCORESHEET              0x00000008
  define RS_TOPLEFT                      0x00000010
  define GAMETYPE_DMSWITCHES              0x00000010
  define RS_TRANS2                        0x00000020
  define GAMETYPE_COOPSPAWN              0x00000020
  define RS_NOMASK                        0x00000040
  define GAMETYPE_ACCESSCARDSPRITES      0x00000040
  define RS_PERM                          0x00000080
  define GAMETYPE_COOPVIEW                0x00000080
  define RS_ALIGN_L                      0x00000100
  define GAMETYPE_COOPSOUND              0x00000100
  define RS_ALIGN_R                      0x00000200
  define GAMETYPE_OTHERPLAYERSINMAP      0x00000200
  define RS_STRETCH                      0x00000400
  define GAMETYPE_ITEMRESPAWN            0x00000400
 
define GAMETYPE_MARKEROPTION            0x00000800
==Text Properties==
define GAMETYPE_PLAYERSFRIENDLY        0x00001000
 
define GAMETYPE_FIXEDRESPAWN            0x00002000
Used with [[screentext]].
define GAMETYPE_ACCESSATSTART          0x00004000
define GAMETYPE_PRESERVEINVENTORYDEATH  0x00008000
define GAMETYPE_TDM                    0x00010000
define GAMETYPE_TDMSPAWN                0x00020000
 
== Globalflags ==
 
Used with [[globalflags]] userdef or [[DEF_Language#globalflags|globalflags]] DEF command.


{| {{prettytable}}
{| {{prettytable}}
!Value!!Label!!Description!!
!Value!!Label!!Description!!
|-
|-
|1
| 1
|TEXT_XRIGHT
| GLOBAL_NO_GL_TILESHADES
|Right-align text on the x-axis. For example, you could display text at x=320 with this flag and the string's right edge would be on the right edge of the screen.
| Disable tile shades (aka palette emulation) in OpenGL
|-
|-
|2
| 2
|TEXT_XCENTER
| GLOBAL_NO_GL_FULLBRIGHT
|Center-align text on the x-axis. For example, you could display text at x=160 with this flag and the string would be perfectly horizontally centered.
| Disable fullbright colors in OpenGL
|-
|-
|4
| 4
|TEXT_YBOTTOM
| GLOBAL_NO_GL_FOGSHADE
|Bottom-align text on the y-axis. For example, you could display text at y=200 with this flag and the string's bottom edge would be on the bottom edge of the screen.
| 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  
|-
|-
|8
|}
|TEXT_YCENTER
 
|Center-align text on the y-axis. For example, you could display text at y=100 with this flag and the string would be perfectly vertically centered.
define GLOBAL_NO_GL_TILESHADES          0x00000001
define GLOBAL_NO_GL_FULLBRIGHT          0x00000002
define GLOBAL_NO_GL_FOGSHADE            0x00000004
 
[[Category:Scripting documentation]]
 
== Globalgameflags ==
 
Used with [[globalgameflags]] userdef or [[DEF_Language#globalgameflags|globalgameflags]] DEF command.
 
{| {{prettytable}}
!Value!!Label!!Description!!
|-
|-
|16
| 1
|TEXT_INTERNALSPACE
| DUKE3D_NO_WIDESCREEN_PINNING
|If you are unsure what to specify for the <xspace> parameter, this flag will allow EDuke32 to make its own determination. Don't use this unless you have no idea whatsoever. The <xspace> value will be added to the internal result.
| Disable widescreen orientation bits for weapon sprites drawn on screen. Enable this if you are using weapon sprites extended on the sides (similar to 20th Anniversary World Tour).
|-
|-
|32
| 2
|TEXT_TILESPACE
| DUKE3D_NO_HARDCODED_FOGPALS
|The <xspace> parameter will be determined using the width of the tile after '~'. Good for custom fonts. (NB: <xbetween> is added to spaces just like any other character.) The <xspace> value will be added to the result.
| Disable the four fog palettes. By default Eduke32 will create four new palettes, with IDs ranging from 26 to 29 (however it varies depending of the size of the lookup table).
|-
|-
|64
| 4
|TEXT_INTERNALLINE
| DUKE3D_NO_PALETTE_CHANGES
|If you are unsure what to specify for the <yline> parameter, this flag will allow EDuke32 to make its own determination. Don't use this unless you have no idea whatsoever. The <yline> value will be added to the internal result.
| Disable changes to the game palette. By default Eduke32 will attempt to replace the magenta color used for transparency with the color closest to black.
|-
|-
|128
|}
|TEXT_TILELINE
 
|The <yline> parameter will be determined using the height of the tile after '~'. Good for custom fonts. The <yline> value will be added to the result.
define DUKE3D_NO_WIDESCREEN_PINNING    0x00000001
define DUKE3D_NO_HARDCODED_FOGPALS      0x00000002
define DUKE3D_NO_PALETTE_CHANGES        0x00000004
 
== Orientation ==
 
Used with [[rotatesprite]], [[screentext]] and other screen drawing commands.
 
{| {{prettytable}}
!Value!!Label!!Description!!
|-
|-
|256
| 1
|TEXT_XOFFSETZERO
| RS_TRANS1
|Calculate spacing between characters from the left edge instead of the right. In other words, <xbetween> is used as a constant width for the characters in the string and the potentially variable widths of the tiles displayed in the string are ignored.
| Translucency level one (66% opacity).
|-
|-
|512
| 2
|TEXT_XJUSTIFY
| RS_AUTO
||[[Wikipedia:Justification (typesetting)|Justify]] text in the X direction, using <xbetween> for the total width (since the actual distance will be calculated automatically). Compatible with TEXT_XRIGHT and TEXT_XCENTER.
| Scaling on 320-200 coordinates. This is implicitly applied to all CON screen drawing commands, but including it in your bitfields is recommended for clarity and portability of your code.
|-
|-
|1024
| 4
|TEXT_YOFFSETZERO
| RS_YFLIP
|Calculate spacing between line from the top edge instead of the bottom. In other words, <ybetween> is used as a constant height for the lines in the string and the potentially variable heights of the tiles displayed in the string are ignored.
| Used to invert Y coordinates. Combine this bit with an angle of 1024 (using rotatesprite) and the tile will appear to have inverted X coordinates. If you want inversion for both the X and Y coordinates, simply set the angle (again, with rotatesprite) to 1024 and do not use this bit.
|-
|-
|2048
| 8
|TEXT_YJUSTIFY
| RS_NOCLIP
|[[Wikipedia:Justification (typesetting)|Justify]] text in the Y direction, using <ybetween> for the total height (since the actual distance will be calculated automatically). Compatible with TEXT_YBOTTOM and TEXT_YCENTER.
| Causes the sprite to be not affected by the screen size (using the + or - commands). This is usefull, for example, when displaying a status bar.
|-
|-
|4096
| 16
|TEXT_LINEWRAP
| RS_TOPLEFT
|Enable a hackish internal line wrapping feature used by some text in the executable (such as multiplayer messages) that will wrap a string back to its starting X position at the point when a character would go off the screen. This flag has no effect if any alignment flags are used or if the <block angle> is not a multiple of 512, which includes 0--perfectly horizontal or vertical.
| Forces the center of the sprite you're drawing to its top-left if set. It also ignores the x-y offset of the tile.
|-
|-
|8192
| 32
|TEXT_UPPERCASE
| RS_TRANS2
|Force the case of all letters in the string to uppercase.
| Translucency level two (33% opacity). It won't work if | 1|  is not set.
|-
|-
|16384
| 64
|TEXT_INVERTCASE
| RS_NOMASK
|Invert the case of the letters in the string. Combine with TEXT_UPPERCASE to produce all-lowercase output.
| Forces masking off if set. It discards translucency too.
|-
|-
|32768
| 128
|TEXT_IGNOREESCAPE
| RS_PERM
|Palette escape sequences (^# or ^##) will have no effect. (See [[definequote]].)
| "Permanent" tile (deprecated).
|-
|-
|65536
| 256
|TEXT_LITERALESCAPE
| RS_ALIGN_L
|No parsing will be done for palette escape sequences so they will show up as actual text. This is useful if you have '^' followed by a number that you actually want to display on the screen, such as exponentiation.
| Align to the left (widescreen support)
|-
|-
|131072
| 512
|TEXT_BACKWARDS
| RS_ALIGN_R
|Iterate through the string backwards. (TEXT_LITERALESCAPE is highly recommended because there is not a separate pass to escape the palette sequences forwards.)
| Align to the right (widescreen support)
|-
|-
|262144
| 1024
|TEXT_GAMETEXTNUMHACK
| RS_STRETCH
|All numerals will display as if they have a TEXT_XOFFSETZERO of the width of the '0' minus one. For the standard blue font, this value would be 8. This is useful if you have some string including a number value (such as a countdown timer) that you want to display without the place values shifting due to variable width tiles, particularly '1'.
| Stretch to screen resolution (distorts aspect ratio; this is the behavior of rotatesprite prior to widescreen awareness)
|-
|-
|524288
| 2048
|TEXT_DIGITALNUMBER
|  
|Special tile order: starting at '0' instead of 'A'. Using this flag with quotes containing anything other than numbers may give you undefined behavior. (Recommended tile numbers: DIGITALNUM (#2472), THREEBYFIVE (#3010))
| Always interpret coordinate values as having "full" precision, [[shiftvarl|bit-shifted left by 16]], so that 20971520x13107200 corresponds to 320x200. See [[rotatesprite16]].
|-
|1048576
|TEXT_BIGALPHANUM
|Special tile order: main menu red font. As in v1.3D, the gray font serves as the lowercase letters, so TEXT_UPPERCASE is recommended. (Recommended tile number: BIGALPHANUM (#2930))
|-
|2097152
|TEXT_GRAYFONT
|Special tile order: gray font. To parallel the above flag, the red font serves as the lowercase letters, so TEXT_UPPERCASE is recommended. The primary difference compared to using the above flag with the lowercase flags is that the gray font has its own set of numerals. The red font's punctuation is still used. (Recommended tile number: #2966)
|-
|-
|}
|}


  define TEXT_XRIGHT                      0x00000001
  define RS_TRANS1                        0x00000001
  define TEXT_XCENTER                    0x00000002
  define RS_AUTO                          0x00000002
  define TEXT_YBOTTOM                    0x00000004
  define RS_YFLIP                        0x00000004
  define TEXT_YCENTER                    0x00000008
  define RS_NOCLIP                        0x00000008
  define TEXT_INTERNALSPACE              0x00000010
  define RS_TOPLEFT                      0x00000010
  define TEXT_TILESPACE                  0x00000020
  define RS_TRANS2                        0x00000020
  define TEXT_INTERNALLINE                0x00000040
  define RS_NOMASK                        0x00000040
  define TEXT_TILELINE                    0x00000080
  define RS_PERM                          0x00000080
  define TEXT_XOFFSETZERO                0x00000100
  define RS_ALIGN_L                      0x00000100
  define TEXT_XJUSTIFY                    0x00000200
  define RS_ALIGN_R                      0x00000200
  define TEXT_YOFFSETZERO                0x00000400
  define RS_STRETCH                      0x00000400
define TEXT_YJUSTIFY                    0x00000800
define TEXT_LINEWRAP                    0x00001000
define TEXT_UPPERCASE                  0x00002000
define TEXT_INVERTCASE                  0x00004000
define TEXT_IGNOREESCAPE                0x00008000
define TEXT_LITERALESCAPE              0x00010000
define TEXT_BACKWARDS                  0x00020000
define TEXT_GAMETEXTNUMHACK            0x00040000
define TEXT_DIGITALNUMBER              0x00080000
define TEXT_BIGALPHANUM                0x00100000
define TEXT_GRAYFONT                    0x00200000


==Text Properties==


Used with [[screentext]].


 
{| {{prettytable}}
 
!Value!!Label!!Description!!
 
|-
 
|1
 
|TEXT_XRIGHT
 
|Right-align text on the x-axis. For example, you could display text at x=320 with this flag and the string's right edge would be on the right edge of the screen.
 
|-
 
|2
 
|TEXT_XCENTER
 
|Center-align text on the x-axis. For example, you could display text at x=160 with this flag and the string would be perfectly horizontally centered.
 
|-
 
|4
 
|TEXT_YBOTTOM
 
|Bottom-align text on the y-axis. For example, you could display text at y=200 with this flag and the string's bottom edge would be on the bottom edge of the screen.
 
|-
 
|8
 
|TEXT_YCENTER
 
|Center-align text on the y-axis. For example, you could display text at y=100 with this flag and the string would be perfectly vertically centered.
 
|-
 
|16
 
|TEXT_INTERNALSPACE
 
|If you are unsure what to specify for the <xspace> parameter, this flag will allow EDuke32 to make its own determination. Don't use this unless you have no idea whatsoever. The <xspace> value will be added to the internal result.
 
|-
 
|32
 
|TEXT_TILESPACE
 
|The <xspace> parameter will be determined using the width of the tile after '~'. Good for custom fonts. (NB: <xbetween> is added to spaces just like any other character.) The <xspace> value will be added to the result.
 
|-
 
|64
 
|TEXT_INTERNALLINE
 
|If you are unsure what to specify for the <yline> parameter, this flag will allow EDuke32 to make its own determination. Don't use this unless you have no idea whatsoever. The <yline> value will be added to the internal result.
 
|-
 
|128
 
|TEXT_TILELINE
 
|The <yline> parameter will be determined using the height of the tile after '~'. Good for custom fonts. The <yline> value will be added to the result.
 
|-
 
|256
 
|TEXT_XOFFSETZERO
 
|Calculate spacing between characters from the left edge instead of the right. In other words, <xbetween> is used as a constant width for the characters in the string and the potentially variable widths of the tiles displayed in the string are ignored.
 
|-
 
|512
 
|TEXT_XJUSTIFY
 
||[[Wikipedia:Justification (typesetting)|Justify]] text in the X direction, using <xbetween> for the total width (since the actual distance will be calculated automatically). Compatible with TEXT_XRIGHT and TEXT_XCENTER.
 
|-
 
|1024
 
|TEXT_YOFFSETZERO
 
|Calculate spacing between line from the top edge instead of the bottom. In other words, <ybetween> is used as a constant height for the lines in the string and the potentially variable heights of the tiles displayed in the string are ignored.
 
|-
 
|2048
 
|TEXT_YJUSTIFY
 
|[[Wikipedia:Justification (typesetting)|Justify]] text in the Y direction, using <ybetween> for the total height (since the actual distance will be calculated automatically). Compatible with TEXT_YBOTTOM and TEXT_YCENTER.
 
|-
 
|4096
 
|TEXT_LINEWRAP
 
|Enable a hackish internal line wrapping feature used by some text in the executable (such as multiplayer messages) that will wrap a string back to its starting X position at the point when a character would go off the screen. This flag has no effect if any alignment flags are used or if the <block angle> is not a multiple of 512, which includes 0--perfectly horizontal or vertical.
 
|-
 
|8192
 
|TEXT_UPPERCASE
 
|Force the case of all letters in the string to uppercase.
 
|-
 
|16384
 
|TEXT_INVERTCASE
 
|Invert the case of the letters in the string. Combine with TEXT_UPPERCASE to produce all-lowercase output.
 
|-
 
|32768
 
|TEXT_IGNOREESCAPE
 
|Palette escape sequences (^# or ^##) will have no effect. (See [[definequote]].)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
{| {{prettytable}}
!Value!!Label!!Description!!
|-
|-
| 1
|65536
| MODE_MENU
|TEXT_LITERALESCAPE
|
|No parsing will be done for palette escape sequences so they will show up as actual text. This is useful if you have '^' followed by a number that you actually want to display on the screen, such as exponentiation.
|-
|-
| 2
|131072
| MODE_DEMO
|TEXT_BACKWARDS
|
|Iterate through the string backwards. (TEXT_LITERALESCAPE is highly recommended because there is not a separate pass to escape the palette sequences forwards.)
|-
|-
| 4
|262144
| MODE_GAME
|TEXT_GAMETEXTNUMHACK
|
|All numerals will display as if they have a TEXT_XOFFSETZERO of the width of the '0' minus one. For the standard blue font, this value would be 8. This is useful if you have some string including a number value (such as a countdown timer) that you want to display without the place values shifting due to variable width tiles, particularly '1'.
|-
|-
| 8
|524288
| MODE_EOL
|TEXT_DIGITALNUMBER
|
|Special tile order: starting at '0' instead of 'A'. Using this flag with quotes containing anything other than numbers may give you undefined behavior. (Recommended tile numbers: DIGITALNUM (#2472), THREEBYFIVE (#3010))
|-
|-
| 16
|1048576
| MODE_TYPE
|TEXT_BIGALPHANUM
|
|Special tile order: main menu red font. As in v1.3D, the gray font serves as the lowercase letters, so TEXT_UPPERCASE is recommended. (Recommended tile number: BIGALPHANUM (#2930))
|-
|-
| 32
|2097152
| MODE_RESTART
|TEXT_GRAYFONT
|
|Special tile order: gray font. To parallel the above flag, the red font serves as the lowercase letters, so TEXT_UPPERCASE is recommended. The primary difference compared to using the above flag with the lowercase flags is that the gray font has its own set of numerals. The red font's punctuation is still used. (Recommended tile number: #2966)
|-
|-
| 64
|}
| MODE_SENDTOWHOM
 
|
define TEXT_XRIGHT                      0x00000001
|-
define TEXT_XCENTER                    0x00000002
| 128
define TEXT_YBOTTOM                    0x00000004
| MODE_END
define TEXT_YCENTER                    0x00000008
|
define TEXT_INTERNALSPACE              0x00000010
|-
define TEXT_TILESPACE                  0x00000020
|}
define TEXT_INTERNALLINE                0x00000040
define TEXT_TILELINE                    0x00000080
define TEXT_XOFFSETZERO                0x00000100
define TEXT_XJUSTIFY                    0x00000200
define TEXT_YOFFSETZERO                0x00000400
define TEXT_YJUSTIFY                    0x00000800
define TEXT_LINEWRAP                    0x00001000
define TEXT_UPPERCASE                  0x00002000
define TEXT_INVERTCASE                  0x00004000
define TEXT_IGNOREESCAPE                0x00008000
define TEXT_LITERALESCAPE              0x00010000
define TEXT_BACKWARDS                  0x00020000
define TEXT_GAMETEXTNUMHACK            0x00040000
define TEXT_DIGITALNUMBER              0x00080000
define TEXT_BIGALPHANUM                0x00100000
define TEXT_GRAYFONT                    0x00200000
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


{| {{prettytable}}
!Value!!Label!!Description!!
|-
| 1
| GAMETYPE_COOP
|
|-
| 2
| GAMETYPE_WEAPSTAY
|
|-
| 4
| GAMETYPE_FRAGBAR
|
|-
| 8
| GAMETYPE_SCORESHEET
|
|-
| 16
| GAMETYPE_DMSWITCHES
|
|-
| 32
| GAMETYPE_COOPSPAWN
|
|-
| 64
| GAMETYPE_ACCESSCARDSPRITES
|
|-
| 128
| GAMETYPE_COOPVIEW
|
|-
| 256
| GAMETYPE_COOPSOUND
|
|-
| 512
| GAMETYPE_OTHERPLAYERSINMAP
|
|-
| 1024
| GAMETYPE_ITEMRESPAWN
|
|-
| 2048
| GAMETYPE_MARKEROPTION
|
|-
| 4096
| GAMETYPE_PLAYERSFRIENDLY
|
|-
| 8192
| GAMETYPE_FIXEDRESPAWN
|
|-
| 16384
| GAMETYPE_ACCESSATSTART
|
|-
| 32768
| GAMETYPE_PRESERVEINVENTORYDEATH
|
|-
| 65536
| GAMETYPE_TDM
|
|-
| 131072
| GAMETYPE_TDMSPAWN
|
|-
|}


{| {{prettytable}}
!Value!!Label!!Description!!
|-
| 0
| REND_CLASSIC
|
|-
| 3
| REND_POLYMOST
|
|-
| 4
| REND_POLYMER
|
|-
|}


{| {{prettytable}}
!Value!!Label!!Description!!
|-
| 1
| DUKE3D_NO_WIDESCREEN_PINNING
|
|-
| 2
| DUKE3D_NO_HARDCODED_FOGPALS
|
|-
| 4
| DUKE3D_NO_PALETTE_CHANGES
|
|-
|}


{| {{prettytable}}
 
!Value!!Label!!Description!!
 
|-
 
| -2147483648
 
| MENU_NULL
 
|
 
|-
 
| -2
 
| MENU_CLOSE
 
|
 
|-
 
| -1
 
| MENU_PREVIOUS
 
|
 
|-
 
| 0
 
| MENU_MAIN
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
{| {{prettytable}}
!Value!!Label!!Description!!
|-
| 0
| REND_CLASSIC
|
|
|-
|-
| 50
| 3
| MENU_MAIN_INGAME
| REND_POLYMOST
|
|
|-
|-
| 100
| 4
| MENU_EPISODE
| REND_POLYMER
|
|-
|}
 
define REND_CLASSIC                    0
define REND_POLYMOST                    3
define REND_POLYMER                    4
 
 
 
{| {{prettytable}}
!Value!!Label!!Description!!
|-
| -2147483648
| MENU_NULL
|
|-
| -2
| MENU_CLOSE
|
|-
| -1
| MENU_PREVIOUS
|
|-
| 0
| MENU_MAIN
|
|-
| 50
| MENU_MAIN_INGAME
|
|-
| 100
| MENU_EPISODE
|
|
|-
|-
Line 704: Line 740:
|-
|-
|}
|}
define MENU_NULL                        -2147483648
define MENU_CLOSE                      -2
define MENU_PREVIOUS                    -1
define MENU_MAIN                        0
define MENU_MAIN_INGAME                50
define MENU_EPISODE                    100
define MENU_USERMAP                    101
define MENU_SKILL                      110
define MENU_GAMESETUP                  200
define MENU_OPTIONS                    202
define MENU_VIDEOSETUP                  203
define MENU_KEYBOARDSETUP              204
define MENU_MOUSESETUP                  205
define MENU_JOYSTICKSETUP              206
define MENU_JOYSTICKBTNS                207
define MENU_JOYSTICKAXES                208
define MENU_KEYBOARDKEYS                209
define MENU_MOUSEBTNS                  210
define MENU_MOUSEADVANCED              212
define MENU_JOYSTICKAXIS                213
define MENU_CONTROLS                    220
define MENU_RENDERERSETUP              230
define MENU_COLCORR                    231
define MENU_COLCORR_INGAME              232
define MENU_SCREENSETUP                233
define MENU_DISPLAYSETUP                234
define MENU_LOAD                        300
define MENU_SAVE                        350
define MENU_STORY                      400
define MENU_F1HELP                      401
define MENU_QUIT                        500
define MENU_QUITTOTITLE                501
define MENU_QUIT_INGAME                502
define MENU_NETSETUP                    600
define MENU_NETWAITMASTER              601
define MENU_NETWAITVOTES                603
define MENU_SOUND                      700
define MENU_SOUND_INGAME                701
define MENU_ADVSOUND                    702
define MENU_CREDITS                    990
define MENU_CREDITS2                    991
define MENU_CREDITS3                    992
define MENU_CREDITS4                    993
define MENU_CREDITS5                    994
define MENU_LOADVERIFY                  1000
define MENU_NEWVERIFY                  1500
define MENU_SAVEVERIFY                  2000
define MENU_ADULTPASSWORD              10001
define MENU_RESETPLAYER                15000
define MENU_BUYDUKE                    20000
define MENU_NETWORK                    20001
define MENU_PLAYER                      20002
define MENU_MACROS                      20004
define MENU_NETHOST                    20010
define MENU_NETOPTIONS                  20011
define MENU_NETUSERMAP                  20012
define MENU_NETJOIN                    20020


{| {{prettytable}}
{| {{prettytable}}
Line 817: Line 913:
|-
|-
|}
|}
define LOGO_ENABLED                    0x00000001
define LOGO_PLAYANIM                    0x00000002
define LOGO_PLAYMUSIC                  0x00000004
define LOGO_3DRSCREEN                  0x00000008
define LOGO_TITLESCREEN                0x00000010
define LOGO_DUKENUKEM                  0x00000020
define LOGO_THREEDEE                    0x00000040
define LOGO_PLUTOPAKSPRITE              0x00000080
define LOGO_SHAREWARESCREENS            0x00000100
define LOGO_TENSCREEN                  0x00000200
define LOGO_STOPANIMSOUNDS              0x00000400
define LOGO_NOE4CUTSCENE                0x00000800
define LOGO_NOE1BONUSSCENE              0x00001000
define LOGO_NOE2BONUSSCENE              0x00002000
define LOGO_NOE3BONUSSCENE              0x00004000
define LOGO_NOE4BONUSSCENE              0x00008000
define LOGO_NOE1ENDSCREEN              0x00010000
define LOGO_NOE2ENDSCREEN              0x00020000
define LOGO_NOE3RADLOGO                0x00040000
define LOGO_NODUKETEAMTEXT              0x00080000
define LOGO_NODUKETEAMPIC              0x00100000
define LOGO_STOPMISCSOUNDS              0x00200000
define LOGO_NOGAMETITLE                0x00400000
define LOGO_NOTITLEBAR                  0x00800000
define LOGO_HIDEEPISODE                0x01000000
define LOGO_NOHELP                      0x02000000
define LOGO_NOCREDITS                  0x04000000


{| {{prettytable}}
{| {{prettytable}}
Line 850: Line 976:
|-
|-
|}
|}
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


{| {{prettytable}}
{| {{prettytable}}
Line 1,079: Line 1,215:
|-
|-
|}
|}
define gamefunc_Move_Forward            0
define gamefunc_Move_Backward          1
define gamefunc_Turn_Left              2
define gamefunc_Turn_Right              3
define gamefunc_Strafe                  4
define gamefunc_Fire                    5
define gamefunc_Open                    6
define gamefunc_Run                    7
define gamefunc_AutoRun                8
define gamefunc_Jump                    9
define gamefunc_Crouch                  10
define gamefunc_Look_Up                11
define gamefunc_Look_Down              12
define gamefunc_Look_Left              13
define gamefunc_Look_Right              14
define gamefunc_Strafe_Left            15
define gamefunc_Strafe_Right            16
define gamefunc_Aim_Up                  17
define gamefunc_Aim_Down                18
define gamefunc_Weapon_1                19
define gamefunc_Weapon_2                20
define gamefunc_Weapon_3                21
define gamefunc_Weapon_4                22
define gamefunc_Weapon_5                23
define gamefunc_Weapon_6                24
define gamefunc_Weapon_7                25
define gamefunc_Weapon_8                26
define gamefunc_Weapon_9                27
define gamefunc_Weapon_10              28
define gamefunc_Inventory              29
define gamefunc_Inventory_Left          30
define gamefunc_Inventory_Right        31
define gamefunc_Holo_Duke              32
define gamefunc_Jetpack                33
define gamefunc_NightVision            34
define gamefunc_MedKit                  35
define gamefunc_TurnAround              36
define gamefunc_SendMessage            37
define gamefunc_Map                    38
define gamefunc_Shrink_Screen          39
define gamefunc_Enlarge_Screen          40
define gamefunc_Center_View            41
define gamefunc_Holster_Weapon          42
define gamefunc_Show_Opponents_Weapon  43
define gamefunc_Map_Follow_Mode        44
define gamefunc_See_Coop_View          45
define gamefunc_Mouse_Aiming            46
define gamefunc_Toggle_Crosshair        47
define gamefunc_Steroids                48
define gamefunc_Quick_Kick              49
define gamefunc_Next_Weapon            50
define gamefunc_Previous_Weapon        51
define gamefunc_Show_Console            52
define gamefunc_Show_DukeMatch_Scores  53
define gamefunc_Dpad_Select            54
define gamefunc_Dpad_Aiming            55


{| {{prettytable}}
{| {{prettytable}}
Line 1,244: Line 1,439:
|-
|-
|}
|}
define INPUT_JUMP                      0x00000001
define INPUT_CROUCH                    0x00000002
define INPUT_FIRE                      0x00000004
define INPUT_AIM_UP                    0x00000008
define INPUT_AIM_DOWN                  0x00000010
define INPUT_RUNNING                    0x00000020
define INPUT_LOOK_LEFT                  0x00000040
define INPUT_LOOK_RIGHT                0x00000080
define INPUT_WEAPON_1                  0x00000100
define INPUT_WEAPON_2                  0x00000200
define INPUT_WEAPON_3                  0x00000300
define INPUT_WEAPON_4                  0x00000400
define INPUT_WEAPON_5                  0x00000500
define INPUT_WEAPON_6                  0x00000600
define INPUT_WEAPON_7                  0x00000700
define INPUT_WEAPON_8                  0x00000800
define INPUT_WEAPON_9                  0x00000900
define INPUT_WEAPON_10                  0x00000A00
define INPUT_WEAPON_PREV                0x00000B00
define INPUT_WEAPON_NEXT                0x00000C00
define INPUT_STEROIDS                  0x00001000
define INPUT_LOOK_UP                    0x00002000
define INPUT_LOOK_DOWN                  0x00004000
define INPUT_NIGHTVISION                0x00008000
define INPUT_MEDKIT                    0x00010000
define INPUT_RESERVED                  0x00020000
define INPUT_CENTER_VIEW                0x00040000
define INPUT_HOLSTER_WEAPON            0x00080000
define INPUT_INVENTORY_LEFT            0x00100000
define INPUT_PAUSE                      0x00200000
define INPUT_QUICK_KICK                0x00400000
define INPUT_AIM_MODE                  0x00800000
define INPUT_HOLODUKE                  0x01000000
define INPUT_JETPACK                    0x02000000
define INPUT_QUIT                      0x04000000
define INPUT_INVENTORY_RIGHT            0x08000000
define INPUT_TURN_AROUND                0x10000000
define INPUT_OPEN                      0x20000000
define INPUT_INVENTORY                  0x40000000
define INPUT_ESC                        0x80000000


{| {{prettytable}}
{| {{prettytable}}
Line 1,273: Line 1,511:
|-
|-
|}
|}
define INPUT_MOVE_FORWARD              0x00000001
define INPUT_MOVE_BACKWARD              0x00000002
define INPUT_STRAFE_LEFT                0x00000004
define INPUT_STRAFE_RIGHT              0x00000008
define INPUT_TURN_LEFT                  0x00000010
define INPUT_TURN_RIGHT                0x00000020


{| {{prettytable}}
{| {{prettytable}}
Line 1,374: Line 1,621:
|-
|-
|}
|}
define CHEAT_CORNHOLIO                  0
define CHEAT_STUFF                      1
define CHEAT_SCOTTY                    2
define CHEAT_COORDS                    3
define CHEAT_VIEW                      4
define CHEAT_TIME                      5
define CHEAT_UNLOCK                    6
define CHEAT_CASHMAN                    7
define CHEAT_ITEMS                      8
define CHEAT_RATE                      9
define CHEAT_SKILL                      10
define CHEAT_BETA                      11
define CHEAT_HYPER                      12
define CHEAT_MONSTERS                  13
define CHEAT_TODD                      16
define CHEAT_SHOWMAP                    17
define CHEAT_KROZ                      18
define CHEAT_ALLEN                      19
define CHEAT_CLIP                      20
define CHEAT_WEAPONS                    21
define CHEAT_INVENTORY                  22
define CHEAT_KEYS                      23
define CHEAT_DEBUG                      24
define CHEAT_COMEGETSOME                26


{| {{prettytable}}
{| {{prettytable}}
Line 1,639: Line 1,913:
|-
|-
|}
|}
define QUOTE_SHOW_MAP_OFF              1
define QUOTE_ACTIVATED                  2
define QUOTE_MEDKIT                    3
define QUOTE_LOCKED                    4
define QUOTE_CHEAT_EVERYTHING          5
define QUOTE_BOOTS                      6
define QUOTE_WASTED                    7
define QUOTE_UNLOCKED                  8
define QUOTE_FOUND_SECRET              9
define QUOTE_SQUISHED                  10
define QUOTE_USED_STEROIDS              12
define QUOTE_DEAD                      13
define QUOTE_DEACTIVATED                15
define QUOTE_CHEAT_GODMODE_ON          17
define QUOTE_CHEAT_GODMODE_OFF          18
define QUOTE_CROSSHAIR_OFF              21
define QUOTE_CHEATS_DISABLED            22
define QUOTE_MESSAGES_ON                23
define QUOTE_MESSAGES_OFF              24
define QUOTE_MUSIC                      26
define QUOTE_CHEAT_STEROIDS            37
define QUOTE_F1HELP                    40
define QUOTE_MOUSE_AIMING_OFF          44
define QUOTE_HOLODUKE_ON                47
define QUOTE_HOLODUKE_OFF              48
define QUOTE_HOLODUKE_NOT_FOUND        49
define QUOTE_JETPACK_NOT_FOUND          50
define QUOTE_JETPACK_ON                52
define QUOTE_JETPACK_OFF                53
define QUOTE_NEED_BLUE_KEY              70
define QUOTE_NEED_RED_KEY              71
define QUOTE_NEED_YELLOW_KEY            72
define QUOTE_WEAPON_LOWERED            73
define QUOTE_WEAPON_RAISED              74
define QUOTE_BOOTS_ON                  75
define QUOTE_SCUBA_ON                  76
define QUOTE_CHEAT_ALLEN                79
define QUOTE_MIGHTY_FOOT                80
define QUOTE_WEAPON_MODE_OFF            82
define QUOTE_MAP_FOLLOW_OFF            83
define QUOTE_RUN_MODE_OFF              85
define QUOTE_JETPACK                    88
define QUOTE_SCUBA                      89
define QUOTE_STEROIDS                  90
define QUOTE_HOLODUKE                  91
define QUOTE_CHEAT_TODD                99
define QUOTE_CHEAT_UNLOCK              100
define QUOTE_NVG                        101
define QUOTE_WEREGONNAFRYYOURASS        102
define QUOTE_SCREEN_SAVED              103
define QUOTE_CHEAT_BETA                105
define QUOTE_NVG_OFF                    107
define QUOTE_VIEW_MODE_OFF              109
define QUOTE_SHOW_MAP_ON                111
define QUOTE_CHEAT_NOCLIP              113
define QUOTE_SAVE_BAD_VERSION          114
define QUOTE_RESERVED                  115
define QUOTE_RESERVED2                  116
define QUOTE_RESERVED3                  117
define QUOTE_SAVE_DEAD                  118
define QUOTE_CHEAT_ALL_WEAPONS          119
define QUOTE_CHEAT_ALL_INV              120
define QUOTE_CHEAT_ALL_KEYS            121
define QUOTE_RESERVED4                  122
define QUOTE_SAVE_BAD_PLAYERS          124


{| {{prettytable}}
{| {{prettytable}}
Line 1,680: Line 2,022:
|-
|-
|}
|}
define FLOOR_STAT_PLAX                  0x00000001
define FLOOR_STAT_SLOPE                0x00000002
define FLOOR_STAT_SWAPXY                0x00000004
define FLOOR_STAT_SMOOSH                0x00000008
define FLOOR_STAT_XFLIP                0x00000010
define FLOOR_STAT_YFLIP                0x00000020
define FLOOR_STAT_RELATIVE              0x00000040
define FLOOR_STAT_MASKED                0x00000080
define FLOOR_STAT_TRANS                0x00000100


{| {{prettytable}}
{| {{prettytable}}
Line 1,721: Line 2,075:
|-
|-
|}
|}
define CEILING_STAT_PLAX                0x00000001
define CEILING_STAT_SLOPE              0x00000002
define CEILING_STAT_SWAPXY              0x00000004
define CEILING_STAT_SMOOSH              0x00000008
define CEILING_STAT_XFLIP              0x00000010
define CEILING_STAT_YFLIP              0x00000020
define CEILING_STAT_RELATIVE            0x00000040
define CEILING_STAT_MASKED              0x00000080
define CEILING_STAT_TRANS              0x00000100


{| {{prettytable}}
{| {{prettytable}}
Line 1,775: Line 2,141:
|}
|}


{| {{prettytable}}
define CSTAT_WALL_BLOCK                0x00000001
define CSTAT_WALL_BOTTOM_SWAP          0x00000002
define CSTAT_WALL_ALIGN_BOTTOM          0x00000004
define CSTAT_WALL_XFLIP                0x00000008
define CSTAT_WALL_MASKED                0x00000010
define CSTAT_WALL_1WAY                  0x00000020
define CSTAT_WALL_BLOCK_HITSCAN        0x00000040
define CSTAT_WALL_TRANSLUCENT          0x00000080
define CSTAT_WALL_YFLIP                0x00000100
define CSTAT_WALL_TRANS_FLIP            0x00000200
define CSTAT_WALL_BLOCK_ACTOR          0x00004000
define CSTAT_WALL_WARP_HITSCAN          0x00008000
 
 
 
{| {{prettytable}}
!Value!!Label!!Description!!
!Value!!Label!!Description!!
|-
|-
Line 1,827: Line 2,208:
|-
|-
|}
|}
define CSTAT_SPRITE_BLOCK              0x00000001
define CSTAT_SPRITE_TRANSLUCENT        0x00000002
define CSTAT_SPRITE_XFLIP              0x00000004
define CSTAT_SPRITE_YFLIP              0x00000008
define CSTAT_SPRITE_WALL                0x00000010
define CSTAT_SPRITE_FLOOR              0x00000020
define CSTAT_SPRITE_ONE_SIDE            0x00000040
define CSTAT_SPRITE_YCENTER            0x00000080
define CSTAT_SPRITE_BLOCK_HITSCAN      0x00000100
define CSTAT_SPRITE_TRANS_FLIP          0x00000200
define CSTAT_SPRITE_NOSHADE            0x00000800
define CSTAT_SPRITE_INVISIBLE          0x00008000


{| {{prettytable}}
{| {{prettytable}}
Line 1,896: Line 2,292:
|-
|-
|}
|}
define SFLAG_SHADOW                    0x00000001
define SFLAG_NVG                        0x00000002
define SFLAG_NOSHADE                    0x00000004
define SFLAG_PROJECTILE                0x00000008
define SFLAG_DECAL                      0x00000010
define SFLAG_NULL                      0x00000400
define SFLAG_NOFLOORSHADOW              0x00001000
define SFLAG_BADGUYSTAYPUT              0x00008000
define SFLAG_CACHE                      0x00010000
define SFLAG_ROTFIXED                  0x00020000
define SFLAG_HARDCODED_BADGUY          0x00040000
define SFLAG_DIDNOSE7WATER              0x00080000
define SFLAG_HURTSPAWNBLOOD            0x00400000
define SFLAG_GREENSLIMEFOOD            0x00800000
define SFLAG_WAKEUPBADGUYS              0x02000000
define SFLAG_DAMAGEEVENT                0x04000000


{| {{prettytable}}
{| {{prettytable}}
Line 1,909: Line 2,324:
|-
|-
|}
|}
define TSPR_TEMP                        99
define STAT_MIRROREDACTOR              100


{| {{prettytable}}
{| {{prettytable}}
Line 1,938: Line 2,358:
|-
|-
|}
|}
define SPREXT_NOTMD                    0x00000001
define SPREXT_NOMDANIM                  0x00000002
define SPREXT_AWAY1                    0x00000004
define SPREXT_AWAY2                    0x00000008
define SPREXT_TSPRACCESS                0x00000010
define SPREXT_TEMPINVISIBLE            0x00000020


{| {{prettytable}}
{| {{prettytable}}
Line 1,947: Line 2,376:
|-
|-
|}
|}
define TSPR_EXTRA_MDHACK                0x00000001


{| {{prettytable}}
{| {{prettytable}}
!Value!!Label!!Description!!
!Value!!Label!!Description!!
|-
|-
| 1
| 30719
| RS_TRANS1
| TILE_SAVESHOT
|
|
|-
|-
| 2
| 30718
| RS_AUTO
| TILE_TILT
|
|
|-
|-
| 4
| 30717
| RS_YFLIP
| TILE_LOADSHOT
|
|
|-
|-
| 8
| 30716
| RS_NOCLIP
| TILE_ANIM
|
|
|-
|-
| 16
| 30715
| RS_TOPLEFT
| TILE_VIEWSCR
|
|
|-
|-
| 32
|}
| RS_TRANS2
 
|
define TILE_SAVESHOT                    30719
define TILE_TILT                        30718
define TILE_LOADSHOT                    30717
define TILE_ANIM                        30716
define TILE_VIEWSCR                    30715
 
 
 
{| {{prettytable}}
!Value!!Label!!Description!!
|-
|-
| 64
| 0
| RS_NOMASK
| BASEPAL
|
|
|-
|-
| 128
| 1
| RS_PERM
| WATERPAL
|
|
|-
|-
| 256
| 2
| RS_ALIGN_L
| SLIMEPAL
|
|
|-
|-
| 512
| 3
| RS_ALIGN_R
| DREALMSPAL
|
|
|-
|-
| 1024
| 4
| RS_STRETCH
| TITLEPAL
|
|-
| 5
| ENDINGPAL
|
|
|-
|-
| 2048
| 6
| ROTATESPRITE_FULL16
| ANIMPAL
|
|
|-
|-
|}
|}
define BASEPAL                          0
define WATERPAL                        1
define SLIMEPAL                        2
define DREALMSPAL                      3
define TITLEPAL                        4
define ENDINGPAL                        5
define ANIMPAL                          6


{| {{prettytable}}
{| {{prettytable}}
!Value!!Label!!Description!!
!Value!!Label!!Description!!
|-
|-
| 1
| 251
| TEXT_XRIGHT
| CROSSHAIR_PAL
|
|
|-
|-
| 2
| 252
| TEXT_XCENTER
| NORMALPAL
|
|
|-
|-
| 4
| 253
| TEXT_YBOTTOM
| SPECULARPAL
|
|
|-
|-
| 8
| 254
| TEXT_YCENTER
| GLOWPAL
|
|
|-
|-
| 16
| 255
| TEXT_INTERNALSPACE
| DETAILPAL
|
|
|-
|-
| 32
|}
| TEXT_TILESPACE
 
define CROSSHAIR_PAL                    251
define NORMALPAL                        252
define SPECULARPAL                      253
define GLOWPAL                          254
define DETAILPAL                        255
 
 
 
{| {{prettytable}}
!Value!!Label!!Description!!
|-
| 0
| MUS_INTRO
|
|
|-
|-
| 64
| 1
| TEXT_INTERNALLINE
| MUS_BRIEFING
|
|
|-
|-
| 128
| 2
| TEXT_TILELINE
| MUS_LOADING
|
|
|-
|-
| 256
|}
| TEXT_XOFFSETZERO
 
|
define MUS_INTRO                        0
define MUS_BRIEFING                    1
define MUS_LOADING                      2
 
 
 
{| {{prettytable}}
!Value!!Label!!Description!!
|-
|-
| 512
| 0
| TEXT_XJUSTIFY
| ICON_NONE
|
|
|-
|-
| 1024
| 1
| TEXT_YOFFSETZERO
| ICON_FIRSTAID
|
|
|-
|-
| 2048
| 2
| TEXT_YJUSTIFY
| ICON_STEROIDS
|
|
|-
|-
| 4096
| 3
| TEXT_LINEWRAP
| ICON_HOLODUKE
|
|
|-
|-
| 8192
| 4
| TEXT_UPPERCASE
| ICON_JETPACK
|
|
|-
|-
| 16384
| 5
| TEXT_INVERTCASE
| ICON_HEATS
|
|
|-
|-
| 32768
| 6
| TEXT_IGNOREESCAPE
| ICON_SCUBA
|
|
|-
|-
| 65536
| 7
| TEXT_LITERALESCAPE
| ICON_BOOTS
|
|
|-
|-
| 131072
|}
| TEXT_BACKWARDS
 
define ICON_NONE                        0
define ICON_FIRSTAID                    1
define ICON_STEROIDS                    2
define ICON_HOLODUKE                    3
define ICON_JETPACK                    4
define ICON_HEATS                      5
define ICON_SCUBA                      6
define ICON_BOOTS                      7
 
 
 
{| {{prettytable}}
!Value!!Label!!Description!!
|-
| 1
| WEAPON_HOLSTER_CLEARS_CLIP
|
|
|-
|-
| 262144
| 2
| TEXT_GAMETEXTNUMHACK
| WEAPON_GLOWS
|
|
|-
|-
| 524288
| 4
| TEXT_DIGITALNUMBER
| WEAPON_AUTOMATIC
|
|
|-
|-
| 1048576
| 8
| TEXT_BIGALPHANUM
| WEAPON_FIREEVERYOTHER
|
|
|-
|-
| 2097152
| 16
| TEXT_GRAYFONT
| WEAPON_FIREEVERYTHIRD
|
|
|-
|-
|}
| 32
 
| WEAPON_RANDOMRESTART
{| {{prettytable}}
!Value!!Label!!Description!!
|-
| 30719
| TILE_SAVESHOT
|
|
|-
|-
| 30718
| 64
| TILE_TILT
| WEAPON_AMMOPERSHOT
|
|
|-
|-
| 30717
| 128
| TILE_LOADSHOT
| WEAPON_BOMB_TRIGGER
|
|
|-
|-
| 30716
| 256
| TILE_ANIM
| WEAPON_NOVISIBLE
|
|
|-
|-
| 30715
| 512
| TILE_VIEWSCR
| WEAPON_THROWIT
|
|
|-
|-
|}
| 1024
 
| WEAPON_CHECKATRELOAD
{| {{prettytable}}
!Value!!Label!!Description!!
|-
| 0
| BASEPAL
|
|
|-
|-
| 1
| 2048
| WATERPAL
| WEAPON_STANDSTILL
|
|
|-
|-
| 2
| 4096
| SLIMEPAL
| WEAPON_SPAWNTYPE2
|
|
|-
|-
| 3
| 8192
| DREALMSPAL
| WEAPON_SPAWNTYPE3
|
|
|-
|-
| 4
| 16384
| TITLEPAL
| WEAPON_SEMIAUTO
|
|
|-
|-
| 5
| 32768
| ENDINGPAL
| WEAPON_RELOAD_TIMING
|
|
|-
|-
| 6
| 65536
| ANIMPAL
| WEAPON_RESET
|
|
|-
|-
|}
|}
define WEAPON_HOLSTER_CLEARS_CLIP      0x00000001
define WEAPON_GLOWS                    0x00000002
define WEAPON_AUTOMATIC                0x00000004
define WEAPON_FIREEVERYOTHER            0x00000008
define WEAPON_FIREEVERYTHIRD            0x00000010
define WEAPON_RANDOMRESTART            0x00000020
define WEAPON_AMMOPERSHOT              0x00000040
define WEAPON_BOMB_TRIGGER              0x00000080
define WEAPON_NOVISIBLE                0x00000100
define WEAPON_THROWIT                  0x00000200
define WEAPON_CHECKATRELOAD            0x00000400
define WEAPON_STANDSTILL                0x00000800
define WEAPON_SPAWNTYPE2                0x00001000
define WEAPON_SPAWNTYPE3                0x00002000
define WEAPON_SEMIAUTO                  0x00004000
define WEAPON_RELOAD_TIMING            0x00008000
define WEAPON_RESET                    0x00010000


{| {{prettytable}}
{| {{prettytable}}
!Value!!Label!!Description!!
!Value!!Label!!Description!!
|-
|-
| 251
| 16384
| CROSSHAIR_PAL
| HIT_SECTOR
|
|
|-
|-
| 252
| 32768
| NORMALPAL
| HIT_WALL
|
|
|-
|-
| 253
| 49152
| SPECULARPAL
| HIT_SPRITE
|
|-
| 254
| GLOWPAL
|
|-
| 255
| DETAILPAL
|
|
|-
|-
|}
|}
define HIT_SECTOR                      16384
define HIT_WALL                        32768
define HIT_SPRITE                      49152


{| {{prettytable}}
{| {{prettytable}}
!Value!!Label!!Description!!
!Value!!Label!!Description!!
|-
|-
| 0
| 16
| MUS_INTRO
| MAXGAMETYPES
|
|
|-
|-
| 1
| 7
| MUS_BRIEFING
| MAXVOLUMES
|
|
|-
|-
| 2
| 64
| MUS_LOADING
| MAXLEVELS
|
|
|-
|-
|}
| 7
 
| MAXSKILLS
{| {{prettytable}}
!Value!!Label!!Description!!
|-
| 0
| ICON_NONE
|
|
|-
|-
| 1
| 4096
| ICON_FIRSTAID
| MAXSECTORS
|
|
|-
|-
| 2
| 16384
| ICON_STEROIDS
| MAXWALLS
|
|
|-
|-
| 3
| 16384
| ICON_HOLODUKE
| MAXSPRITES
|
|
|-
|-
| 4
| 30720
| ICON_JETPACK
| MAXTILES
|
|
|-
|-
| 5
|}
| ICON_HEATS
 
|
define MAXGAMETYPES                    16
|-
define MAXVOLUMES                      7
| 6
define MAXLEVELS                        64
| ICON_SCUBA
define MAXSKILLS                        7
|
define MAXSECTORS                      4096
|-
define MAXWALLS                        16384
| 7
define MAXSPRITES                      16384
| ICON_BOOTS
define MAXTILES                        30720
|
 
|-
 
|}


{| {{prettytable}}
{| {{prettytable}}
!Value!!Label!!Description!!
!Value!!Label!!Description!!
|-
|-
| 1
| 120
| WEAPON_HOLSTER_CLEARS_CLIP
| TICRATE
|
|
|-
|-
| 2
| 26
| WEAPON_GLOWS
| GAMETICSPERSEC
|
|
|-
|-
| 4
| 30
| WEAPON_AUTOMATIC
| REALGAMETICSPERSEC
|
|
|-
|-
| 8
| 4
| WEAPON_FIREEVERYOTHER
| TICSPERFRAME
|
|-
| 16
| WEAPON_FIREEVERYTHIRD
|
|-
| 32
| WEAPON_RANDOMRESTART
|
|-
| 64
| WEAPON_AMMOPERSHOT
|
|-
| 128
| WEAPON_BOMB_TRIGGER
|
|-
| 256
| WEAPON_NOVISIBLE
|
|-
| 512
| WEAPON_THROWIT
|
|-
| 1024
| WEAPON_CHECKATRELOAD
|
|-
| 2048
| WEAPON_STANDSTILL
|
|-
| 4096
| WEAPON_SPAWNTYPE2
|
|-
| 8192
| WEAPON_SPAWNTYPE3
|
|-
| 16384
| WEAPON_SEMIAUTO
|
|-
| 32768
| WEAPON_RELOAD_TIMING
|
|-
| 65536
| WEAPON_RESET
|
|-
|}
 
{| {{prettytable}}
!Value!!Label!!Description!!
|-
| 16384
| HIT_SECTOR
|
|-
| 32768
| HIT_WALL
|
|-
| 49152
| HIT_SPRITE
|
|-
|}
 
{| {{prettytable}}
!Value!!Label!!Description!!
|-
| 16
| MAXGAMETYPES
|
|-
| 7
| MAXVOLUMES
|
|-
| 64
| MAXLEVELS
|
|-
| 7
| MAXSKILLS
|
|-
| 4096
| MAXSECTORS
|
|-
| 16384
| MAXWALLS
|
|-
| 16384
| MAXSPRITES
|
|-
| 30720
| MAXTILES
|
|
|-
|-
|}
|}


{| {{prettytable}}
define TICRATE                          120
!Value!!Label!!Description!!
define GAMETICSPERSEC                  26
|-
define REALGAMETICSPERSEC              30
| 120
define TICSPERFRAME                    4
| TICRATE
|
|-
| 26
| GAMETICSPERSEC
|
|-
| 30
| REALGAMETICSPERSEC
|
|-
| 4
| TICSPERFRAME
|
|-
|}





Revision as of 06:47, 10 December 2019


Game modes

Used with gm.

Value Label Description
1 MODE_MENU Menu is being displayed
2 MODE_DEMO Demo is being played
4 MODE_GAME Game is running
8 MODE_EOL End of Level has been signaled
16 MODE_TYPE User is typing chat message
32 MODE_RESTART Level is restarting
64 MODE_SENDTOWHOM User is selecting the message recipient
128 MODE_END
define MODE_MENU                        0x00000001
define MODE_DEMO                        0x00000002
define MODE_GAME                        0x00000004
define MODE_EOL                         0x00000008
define MODE_TYPE                        0x00000010
define MODE_RESTART                     0x00000020
define MODE_SENDTOWHOM                  0x00000040
define MODE_END                         0x00000080

Multiplayer game type

Used with definegametype and gametypeflags

Value Label Description
1 GAMETYPE_COOP Cooperative
2 GAMETYPE_WEAPSTAY Weapon pick-ups stay
4 GAMETYPE_FRAGBAR Show frag bar in status bar
8 GAMETYPE_SCORESHEET Show scoresheet when a deathmatch game ends
16 GAMETYPE_DMSWITCHES Spawn deathmatch switches (non-zero palette)
32 GAMETYPE_COOPSPAWN Use co-operative spawn points (lo-tag 1)
64 GAMETYPE_ACCESSCARDSPRITES Spawn access cards
128 GAMETYPE_COOPVIEW Allow accessing the view of other players
256 GAMETYPE_COOPSOUND Allow co-operative sounds
512 GAMETYPE_OTHERPLAYERSINMAP Show other players in the automap
1024 GAMETYPE_ITEMRESPAWN Respawn items
2048 GAMETYPE_MARKEROPTION Enable respawn markers option
4096 GAMETYPE_PLAYERSFRIENDLY Enable friendly fire option
8192 GAMETYPE_FIXEDRESPAWN Player always spawn in the same point
16384 GAMETYPE_ACCESSATSTART Players have all access cards on start
32768 GAMETYPE_PRESERVEINVENTORYDEATH Players preserve all weapons and items on respawn
65536 GAMETYPE_TDM Team deathmatch
131072 GAMETYPE_TDMSPAWN Use team deathmatch spawn points
define GAMETYPE_COOP                    0x00000001
define GAMETYPE_WEAPSTAY                0x00000002
define GAMETYPE_FRAGBAR                 0x00000004
define GAMETYPE_SCORESHEET              0x00000008
define GAMETYPE_DMSWITCHES              0x00000010
define GAMETYPE_COOPSPAWN               0x00000020
define GAMETYPE_ACCESSCARDSPRITES       0x00000040
define GAMETYPE_COOPVIEW                0x00000080
define GAMETYPE_COOPSOUND               0x00000100
define GAMETYPE_OTHERPLAYERSINMAP       0x00000200
define GAMETYPE_ITEMRESPAWN             0x00000400
define GAMETYPE_MARKEROPTION            0x00000800
define GAMETYPE_PLAYERSFRIENDLY         0x00001000
define GAMETYPE_FIXEDRESPAWN            0x00002000
define GAMETYPE_ACCESSATSTART           0x00004000
define GAMETYPE_PRESERVEINVENTORYDEATH  0x00008000
define GAMETYPE_TDM                     0x00010000
define GAMETYPE_TDMSPAWN                0x00020000

Globalflags

Used with globalflags userdef or globalflags DEF command.

Value Label Description
1 GLOBAL_NO_GL_TILESHADES Disable tile shades (aka palette emulation) in OpenGL
2 GLOBAL_NO_GL_FULLBRIGHT Disable fullbright colors in OpenGL
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
define GLOBAL_NO_GL_FULLBRIGHT          0x00000002
define GLOBAL_NO_GL_FOGSHADE            0x00000004

Globalgameflags

Used with globalgameflags userdef or globalgameflags DEF command.

Value Label Description
1 DUKE3D_NO_WIDESCREEN_PINNING Disable widescreen orientation bits for weapon sprites drawn on screen. Enable this if you are using weapon sprites extended on the sides (similar to 20th Anniversary World Tour).
2 DUKE3D_NO_HARDCODED_FOGPALS Disable the four fog palettes. By default Eduke32 will create four new palettes, with IDs ranging from 26 to 29 (however it varies depending of the size of the lookup table).
4 DUKE3D_NO_PALETTE_CHANGES Disable changes to the game palette. By default Eduke32 will attempt to replace the magenta color used for transparency with the color closest to black.
define DUKE3D_NO_WIDESCREEN_PINNING     0x00000001
define DUKE3D_NO_HARDCODED_FOGPALS      0x00000002
define DUKE3D_NO_PALETTE_CHANGES        0x00000004

Orientation

Used with rotatesprite, screentext and other screen drawing commands.

Value Label Description
1 RS_TRANS1 Translucency level one (66% opacity).
2 RS_AUTO Scaling on 320-200 coordinates. This is implicitly applied to all CON screen drawing commands, but including it in your bitfields is recommended for clarity and portability of your code.
4 RS_YFLIP Used to invert Y coordinates. Combine this bit with an angle of 1024 (using rotatesprite) and the tile will appear to have inverted X coordinates. If you want inversion for both the X and Y coordinates, simply set the angle (again, with rotatesprite) to 1024 and do not use this bit.
8 RS_NOCLIP Causes the sprite to be not affected by the screen size (using the + or - commands). This is usefull, for example, when displaying a status bar.
16 RS_TOPLEFT Forces the center of the sprite you're drawing to its top-left if set. It also ignores the x-y offset of the tile.
32 RS_TRANS2 1| is not set.
64 RS_NOMASK Forces masking off if set. It discards translucency too.
128 RS_PERM "Permanent" tile (deprecated).
256 RS_ALIGN_L Align to the left (widescreen support)
512 RS_ALIGN_R Align to the right (widescreen support)
1024 RS_STRETCH Stretch to screen resolution (distorts aspect ratio; this is the behavior of rotatesprite prior to widescreen awareness)
2048 Always interpret coordinate values as having "full" precision, bit-shifted left by 16, so that 20971520x13107200 corresponds to 320x200. See rotatesprite16.
define RS_TRANS1                        0x00000001
define RS_AUTO                          0x00000002
define RS_YFLIP                         0x00000004
define RS_NOCLIP                        0x00000008
define RS_TOPLEFT                       0x00000010
define RS_TRANS2                        0x00000020
define RS_NOMASK                        0x00000040
define RS_PERM                          0x00000080
define RS_ALIGN_L                       0x00000100
define RS_ALIGN_R                       0x00000200
define RS_STRETCH                       0x00000400

Text Properties

Used with screentext.

Value Label Description
1 TEXT_XRIGHT Right-align text on the x-axis. For example, you could display text at x=320 with this flag and the string's right edge would be on the right edge of the screen.
2 TEXT_XCENTER Center-align text on the x-axis. For example, you could display text at x=160 with this flag and the string would be perfectly horizontally centered.
4 TEXT_YBOTTOM Bottom-align text on the y-axis. For example, you could display text at y=200 with this flag and the string's bottom edge would be on the bottom edge of the screen.
8 TEXT_YCENTER Center-align text on the y-axis. For example, you could display text at y=100 with this flag and the string would be perfectly vertically centered.
16 TEXT_INTERNALSPACE If you are unsure what to specify for the <xspace> parameter, this flag will allow EDuke32 to make its own determination. Don't use this unless you have no idea whatsoever. The <xspace> value will be added to the internal result.
32 TEXT_TILESPACE The <xspace> parameter will be determined using the width of the tile after '~'. Good for custom fonts. (NB: <xbetween> is added to spaces just like any other character.) The <xspace> value will be added to the result.
64 TEXT_INTERNALLINE If you are unsure what to specify for the <yline> parameter, this flag will allow EDuke32 to make its own determination. Don't use this unless you have no idea whatsoever. The <yline> value will be added to the internal result.
128 TEXT_TILELINE The <yline> parameter will be determined using the height of the tile after '~'. Good for custom fonts. The <yline> value will be added to the result.
256 TEXT_XOFFSETZERO Calculate spacing between characters from the left edge instead of the right. In other words, <xbetween> is used as a constant width for the characters in the string and the potentially variable widths of the tiles displayed in the string are ignored.
512 TEXT_XJUSTIFY Justify text in the X direction, using <xbetween> for the total width (since the actual distance will be calculated automatically). Compatible with TEXT_XRIGHT and TEXT_XCENTER.
1024 TEXT_YOFFSETZERO Calculate spacing between line from the top edge instead of the bottom. In other words, <ybetween> is used as a constant height for the lines in the string and the potentially variable heights of the tiles displayed in the string are ignored.
2048 TEXT_YJUSTIFY Justify text in the Y direction, using <ybetween> for the total height (since the actual distance will be calculated automatically). Compatible with TEXT_YBOTTOM and TEXT_YCENTER.
4096 TEXT_LINEWRAP Enable a hackish internal line wrapping feature used by some text in the executable (such as multiplayer messages) that will wrap a string back to its starting X position at the point when a character would go off the screen. This flag has no effect if any alignment flags are used or if the <block angle> is not a multiple of 512, which includes 0--perfectly horizontal or vertical.
8192 TEXT_UPPERCASE Force the case of all letters in the string to uppercase.
16384 TEXT_INVERTCASE Invert the case of the letters in the string. Combine with TEXT_UPPERCASE to produce all-lowercase output.
32768 TEXT_IGNOREESCAPE Palette escape sequences (^# or ^##) will have no effect. (See definequote.)
65536 TEXT_LITERALESCAPE No parsing will be done for palette escape sequences so they will show up as actual text. This is useful if you have '^' followed by a number that you actually want to display on the screen, such as exponentiation.
131072 TEXT_BACKWARDS Iterate through the string backwards. (TEXT_LITERALESCAPE is highly recommended because there is not a separate pass to escape the palette sequences forwards.)
262144 TEXT_GAMETEXTNUMHACK All numerals will display as if they have a TEXT_XOFFSETZERO of the width of the '0' minus one. For the standard blue font, this value would be 8. This is useful if you have some string including a number value (such as a countdown timer) that you want to display without the place values shifting due to variable width tiles, particularly '1'.
524288 TEXT_DIGITALNUMBER Special tile order: starting at '0' instead of 'A'. Using this flag with quotes containing anything other than numbers may give you undefined behavior. (Recommended tile numbers: DIGITALNUM (#2472), THREEBYFIVE (#3010))
1048576 TEXT_BIGALPHANUM Special tile order: main menu red font. As in v1.3D, the gray font serves as the lowercase letters, so TEXT_UPPERCASE is recommended. (Recommended tile number: BIGALPHANUM (#2930))
2097152 TEXT_GRAYFONT Special tile order: gray font. To parallel the above flag, the red font serves as the lowercase letters, so TEXT_UPPERCASE is recommended. The primary difference compared to using the above flag with the lowercase flags is that the gray font has its own set of numerals. The red font's punctuation is still used. (Recommended tile number: #2966)
define TEXT_XRIGHT                      0x00000001
define TEXT_XCENTER                     0x00000002
define TEXT_YBOTTOM                     0x00000004
define TEXT_YCENTER                     0x00000008
define TEXT_INTERNALSPACE               0x00000010
define TEXT_TILESPACE                   0x00000020
define TEXT_INTERNALLINE                0x00000040
define TEXT_TILELINE                    0x00000080
define TEXT_XOFFSETZERO                 0x00000100
define TEXT_XJUSTIFY                    0x00000200
define TEXT_YOFFSETZERO                 0x00000400
define TEXT_YJUSTIFY                    0x00000800
define TEXT_LINEWRAP                    0x00001000
define TEXT_UPPERCASE                   0x00002000
define TEXT_INVERTCASE                  0x00004000
define TEXT_IGNOREESCAPE                0x00008000
define TEXT_LITERALESCAPE               0x00010000
define TEXT_BACKWARDS                   0x00020000
define TEXT_GAMETEXTNUMHACK             0x00040000
define TEXT_DIGITALNUMBER               0x00080000
define TEXT_BIGALPHANUM                 0x00100000
define TEXT_GRAYFONT                    0x00200000
















































Value Label Description
0 REND_CLASSIC
3 REND_POLYMOST
4 REND_POLYMER
define REND_CLASSIC                     0
define REND_POLYMOST                    3
define REND_POLYMER                     4


Value Label Description
-2147483648 MENU_NULL
-2 MENU_CLOSE
-1 MENU_PREVIOUS
0 MENU_MAIN
50 MENU_MAIN_INGAME
100 MENU_EPISODE
101 MENU_USERMAP
110 MENU_SKILL
200 MENU_GAMESETUP
202 MENU_OPTIONS
203 MENU_VIDEOSETUP
204 MENU_KEYBOARDSETUP
205 MENU_MOUSESETUP
206 MENU_JOYSTICKSETUP
207 MENU_JOYSTICKBTNS
208 MENU_JOYSTICKAXES
209 MENU_KEYBOARDKEYS
210 MENU_MOUSEBTNS
212 MENU_MOUSEADVANCED
213 MENU_JOYSTICKAXIS
220 MENU_CONTROLS
230 MENU_RENDERERSETUP
231 MENU_COLCORR
232 MENU_COLCORR_INGAME
233 MENU_SCREENSETUP
234 MENU_DISPLAYSETUP
300 MENU_LOAD
350 MENU_SAVE
400 MENU_STORY
401 MENU_F1HELP
500 MENU_QUIT
501 MENU_QUITTOTITLE
502 MENU_QUIT_INGAME
600 MENU_NETSETUP
601 MENU_NETWAITMASTER
603 MENU_NETWAITVOTES
700 MENU_SOUND
701 MENU_SOUND_INGAME
702 MENU_ADVSOUND
990 MENU_CREDITS
991 MENU_CREDITS2
992 MENU_CREDITS3
993 MENU_CREDITS4
994 MENU_CREDITS5
1000 MENU_LOADVERIFY
1500 MENU_NEWVERIFY
2000 MENU_SAVEVERIFY
10001 MENU_ADULTPASSWORD
15000 MENU_RESETPLAYER
20000 MENU_BUYDUKE
20001 MENU_NETWORK
20002 MENU_PLAYER
20004 MENU_MACROS
20010 MENU_NETHOST
20011 MENU_NETOPTIONS
20012 MENU_NETUSERMAP
20020 MENU_NETJOIN
define MENU_NULL                        -2147483648
define MENU_CLOSE                       -2
define MENU_PREVIOUS                    -1
define MENU_MAIN                        0
define MENU_MAIN_INGAME                 50
define MENU_EPISODE                     100
define MENU_USERMAP                     101
define MENU_SKILL                       110
define MENU_GAMESETUP                   200
define MENU_OPTIONS                     202
define MENU_VIDEOSETUP                  203
define MENU_KEYBOARDSETUP               204
define MENU_MOUSESETUP                  205
define MENU_JOYSTICKSETUP               206
define MENU_JOYSTICKBTNS                207
define MENU_JOYSTICKAXES                208
define MENU_KEYBOARDKEYS                209
define MENU_MOUSEBTNS                   210
define MENU_MOUSEADVANCED               212
define MENU_JOYSTICKAXIS                213
define MENU_CONTROLS                    220
define MENU_RENDERERSETUP               230
define MENU_COLCORR                     231
define MENU_COLCORR_INGAME              232
define MENU_SCREENSETUP                 233
define MENU_DISPLAYSETUP                234
define MENU_LOAD                        300
define MENU_SAVE                        350
define MENU_STORY                       400
define MENU_F1HELP                      401
define MENU_QUIT                        500
define MENU_QUITTOTITLE                 501
define MENU_QUIT_INGAME                 502
define MENU_NETSETUP                    600
define MENU_NETWAITMASTER               601
define MENU_NETWAITVOTES                603
define MENU_SOUND                       700
define MENU_SOUND_INGAME                701
define MENU_ADVSOUND                    702
define MENU_CREDITS                     990
define MENU_CREDITS2                    991
define MENU_CREDITS3                    992
define MENU_CREDITS4                    993
define MENU_CREDITS5                    994
define MENU_LOADVERIFY                  1000
define MENU_NEWVERIFY                   1500
define MENU_SAVEVERIFY                  2000
define MENU_ADULTPASSWORD               10001
define MENU_RESETPLAYER                 15000
define MENU_BUYDUKE                     20000
define MENU_NETWORK                     20001
define MENU_PLAYER                      20002
define MENU_MACROS                      20004
define MENU_NETHOST                     20010
define MENU_NETOPTIONS                  20011
define MENU_NETUSERMAP                  20012
define MENU_NETJOIN                     20020


Value Label Description
1 LOGO_ENABLED
2 LOGO_PLAYANIM
4 LOGO_PLAYMUSIC
8 LOGO_3DRSCREEN
16 LOGO_TITLESCREEN
32 LOGO_DUKENUKEM
64 LOGO_THREEDEE
128 LOGO_PLUTOPAKSPRITE
256 LOGO_SHAREWARESCREENS
512 LOGO_TENSCREEN
1024 LOGO_STOPANIMSOUNDS
2048 LOGO_NOE4CUTSCENE
4096 LOGO_NOE1BONUSSCENE
8192 LOGO_NOE2BONUSSCENE
16384 LOGO_NOE3BONUSSCENE
32768 LOGO_NOE4BONUSSCENE
65536 LOGO_NOE1ENDSCREEN
131072 LOGO_NOE2ENDSCREEN
262144 LOGO_NOE3RADLOGO
524288 LOGO_NODUKETEAMTEXT
1048576 LOGO_NODUKETEAMPIC
2097152 LOGO_STOPMISCSOUNDS
4194304 LOGO_NOGAMETITLE
8388608 LOGO_NOTITLEBAR
16777216 LOGO_HIDEEPISODE
33554432 LOGO_NOHELP
67108864 LOGO_NOCREDITS
define LOGO_ENABLED                     0x00000001
define LOGO_PLAYANIM                    0x00000002
define LOGO_PLAYMUSIC                   0x00000004
define LOGO_3DRSCREEN                   0x00000008
define LOGO_TITLESCREEN                 0x00000010
define LOGO_DUKENUKEM                   0x00000020
define LOGO_THREEDEE                    0x00000040
define LOGO_PLUTOPAKSPRITE              0x00000080
define LOGO_SHAREWARESCREENS            0x00000100
define LOGO_TENSCREEN                   0x00000200
define LOGO_STOPANIMSOUNDS              0x00000400
define LOGO_NOE4CUTSCENE                0x00000800
define LOGO_NOE1BONUSSCENE              0x00001000
define LOGO_NOE2BONUSSCENE              0x00002000
define LOGO_NOE3BONUSSCENE              0x00004000
define LOGO_NOE4BONUSSCENE              0x00008000
define LOGO_NOE1ENDSCREEN               0x00010000
define LOGO_NOE2ENDSCREEN               0x00020000
define LOGO_NOE3RADLOGO                 0x00040000
define LOGO_NODUKETEAMTEXT              0x00080000
define LOGO_NODUKETEAMPIC               0x00100000
define LOGO_STOPMISCSOUNDS              0x00200000
define LOGO_NOGAMETITLE                 0x00400000
define LOGO_NOTITLEBAR                  0x00800000
define LOGO_HIDEEPISODE                 0x01000000
define LOGO_NOHELP                      0x02000000
define LOGO_NOCREDITS                   0x04000000


Value Label Description
1 STATUSBAR_NONONE
2 STATUSBAR_NOMINI
4 STATUSBAR_NOFULL
8 STATUSBAR_NOSHRINK
16 STATUSBAR_NOFRAGBAR
32 STATUSBAR_NOOVERLAY
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


Value Label Description
0 gamefunc_Move_Forward
1 gamefunc_Move_Backward
2 gamefunc_Turn_Left
3 gamefunc_Turn_Right
4 gamefunc_Strafe
5 gamefunc_Fire
6 gamefunc_Open
7 gamefunc_Run
8 gamefunc_AutoRun
9 gamefunc_Jump
10 gamefunc_Crouch
11 gamefunc_Look_Up
12 gamefunc_Look_Down
13 gamefunc_Look_Left
14 gamefunc_Look_Right
15 gamefunc_Strafe_Left
16 gamefunc_Strafe_Right
17 gamefunc_Aim_Up
18 gamefunc_Aim_Down
19 gamefunc_Weapon_1
20 gamefunc_Weapon_2
21 gamefunc_Weapon_3
22 gamefunc_Weapon_4
23 gamefunc_Weapon_5
24 gamefunc_Weapon_6
25 gamefunc_Weapon_7
26 gamefunc_Weapon_8
27 gamefunc_Weapon_9
28 gamefunc_Weapon_10
29 gamefunc_Inventory
30 gamefunc_Inventory_Left
31 gamefunc_Inventory_Right
32 gamefunc_Holo_Duke
33 gamefunc_Jetpack
34 gamefunc_NightVision
35 gamefunc_MedKit
36 gamefunc_TurnAround
37 gamefunc_SendMessage
38 gamefunc_Map
39 gamefunc_Shrink_Screen
40 gamefunc_Enlarge_Screen
41 gamefunc_Center_View
42 gamefunc_Holster_Weapon
43 gamefunc_Show_Opponents_Weapon
44 gamefunc_Map_Follow_Mode
45 gamefunc_See_Coop_View
46 gamefunc_Mouse_Aiming
47 gamefunc_Toggle_Crosshair
48 gamefunc_Steroids
49 gamefunc_Quick_Kick
50 gamefunc_Next_Weapon
51 gamefunc_Previous_Weapon
52 gamefunc_Show_Console
53 gamefunc_Show_DukeMatch_Scores
54 gamefunc_Dpad_Select
55 gamefunc_Dpad_Aiming
define gamefunc_Move_Forward            0
define gamefunc_Move_Backward           1
define gamefunc_Turn_Left               2
define gamefunc_Turn_Right              3
define gamefunc_Strafe                  4
define gamefunc_Fire                    5
define gamefunc_Open                    6
define gamefunc_Run                     7
define gamefunc_AutoRun                 8
define gamefunc_Jump                    9
define gamefunc_Crouch                  10
define gamefunc_Look_Up                 11
define gamefunc_Look_Down               12
define gamefunc_Look_Left               13
define gamefunc_Look_Right              14
define gamefunc_Strafe_Left             15
define gamefunc_Strafe_Right            16
define gamefunc_Aim_Up                  17
define gamefunc_Aim_Down                18
define gamefunc_Weapon_1                19
define gamefunc_Weapon_2                20
define gamefunc_Weapon_3                21
define gamefunc_Weapon_4                22
define gamefunc_Weapon_5                23
define gamefunc_Weapon_6                24
define gamefunc_Weapon_7                25
define gamefunc_Weapon_8                26
define gamefunc_Weapon_9                27
define gamefunc_Weapon_10               28
define gamefunc_Inventory               29
define gamefunc_Inventory_Left          30
define gamefunc_Inventory_Right         31
define gamefunc_Holo_Duke               32
define gamefunc_Jetpack                 33
define gamefunc_NightVision             34
define gamefunc_MedKit                  35
define gamefunc_TurnAround              36
define gamefunc_SendMessage             37
define gamefunc_Map                     38
define gamefunc_Shrink_Screen           39
define gamefunc_Enlarge_Screen          40
define gamefunc_Center_View             41
define gamefunc_Holster_Weapon          42
define gamefunc_Show_Opponents_Weapon   43
define gamefunc_Map_Follow_Mode         44
define gamefunc_See_Coop_View           45
define gamefunc_Mouse_Aiming            46
define gamefunc_Toggle_Crosshair        47
define gamefunc_Steroids                48
define gamefunc_Quick_Kick              49
define gamefunc_Next_Weapon             50
define gamefunc_Previous_Weapon         51
define gamefunc_Show_Console            52
define gamefunc_Show_DukeMatch_Scores   53
define gamefunc_Dpad_Select             54
define gamefunc_Dpad_Aiming             55


Value Label Description
1 INPUT_JUMP
2 INPUT_CROUCH
4 INPUT_FIRE
8 INPUT_AIM_UP
16 INPUT_AIM_DOWN
32 INPUT_RUNNING
64 INPUT_LOOK_LEFT
128 INPUT_LOOK_RIGHT
256 INPUT_WEAPON_1
512 INPUT_WEAPON_2
768 INPUT_WEAPON_3
1024 INPUT_WEAPON_4
1280 INPUT_WEAPON_5
1536 INPUT_WEAPON_6
1792 INPUT_WEAPON_7
2048 INPUT_WEAPON_8
2304 INPUT_WEAPON_9
2560 INPUT_WEAPON_10
2816 INPUT_WEAPON_PREV
3072 INPUT_WEAPON_NEXT
4096 INPUT_STEROIDS
8192 INPUT_LOOK_UP
16384 INPUT_LOOK_DOWN
32768 INPUT_NIGHTVISION
65536 INPUT_MEDKIT
131072 INPUT_RESERVED
262144 INPUT_CENTER_VIEW
524288 INPUT_HOLSTER_WEAPON
1048576 INPUT_INVENTORY_LEFT
2097152 INPUT_PAUSE
4194304 INPUT_QUICK_KICK
8388608 INPUT_AIM_MODE
16777216 INPUT_HOLODUKE
33554432 INPUT_JETPACK
67108864 INPUT_QUIT
134217728 INPUT_INVENTORY_RIGHT
268435456 INPUT_TURN_AROUND
536870912 INPUT_OPEN
1073741824 INPUT_INVENTORY
2147483648 INPUT_ESC
define INPUT_JUMP                       0x00000001
define INPUT_CROUCH                     0x00000002
define INPUT_FIRE                       0x00000004
define INPUT_AIM_UP                     0x00000008
define INPUT_AIM_DOWN                   0x00000010
define INPUT_RUNNING                    0x00000020
define INPUT_LOOK_LEFT                  0x00000040
define INPUT_LOOK_RIGHT                 0x00000080
define INPUT_WEAPON_1                   0x00000100
define INPUT_WEAPON_2                   0x00000200
define INPUT_WEAPON_3                   0x00000300
define INPUT_WEAPON_4                   0x00000400
define INPUT_WEAPON_5                   0x00000500
define INPUT_WEAPON_6                   0x00000600
define INPUT_WEAPON_7                   0x00000700
define INPUT_WEAPON_8                   0x00000800
define INPUT_WEAPON_9                   0x00000900
define INPUT_WEAPON_10                  0x00000A00
define INPUT_WEAPON_PREV                0x00000B00
define INPUT_WEAPON_NEXT                0x00000C00
define INPUT_STEROIDS                   0x00001000
define INPUT_LOOK_UP                    0x00002000
define INPUT_LOOK_DOWN                  0x00004000
define INPUT_NIGHTVISION                0x00008000
define INPUT_MEDKIT                     0x00010000
define INPUT_RESERVED                   0x00020000
define INPUT_CENTER_VIEW                0x00040000
define INPUT_HOLSTER_WEAPON             0x00080000
define INPUT_INVENTORY_LEFT             0x00100000
define INPUT_PAUSE                      0x00200000
define INPUT_QUICK_KICK                 0x00400000
define INPUT_AIM_MODE                   0x00800000
define INPUT_HOLODUKE                   0x01000000
define INPUT_JETPACK                    0x02000000
define INPUT_QUIT                       0x04000000
define INPUT_INVENTORY_RIGHT            0x08000000
define INPUT_TURN_AROUND                0x10000000
define INPUT_OPEN                       0x20000000
define INPUT_INVENTORY                  0x40000000
define INPUT_ESC                        0x80000000


Value Label Description
1 INPUT_MOVE_FORWARD
2 INPUT_MOVE_BACKWARD
4 INPUT_STRAFE_LEFT
8 INPUT_STRAFE_RIGHT
16 INPUT_TURN_LEFT
32 INPUT_TURN_RIGHT
define INPUT_MOVE_FORWARD               0x00000001
define INPUT_MOVE_BACKWARD              0x00000002
define INPUT_STRAFE_LEFT                0x00000004
define INPUT_STRAFE_RIGHT               0x00000008
define INPUT_TURN_LEFT                  0x00000010
define INPUT_TURN_RIGHT                 0x00000020


Value Label Description
0 CHEAT_CORNHOLIO
1 CHEAT_STUFF
2 CHEAT_SCOTTY
3 CHEAT_COORDS
4 CHEAT_VIEW
5 CHEAT_TIME
6 CHEAT_UNLOCK
7 CHEAT_CASHMAN
8 CHEAT_ITEMS
9 CHEAT_RATE
10 CHEAT_SKILL
11 CHEAT_BETA
12 CHEAT_HYPER
13 CHEAT_MONSTERS
16 CHEAT_TODD
17 CHEAT_SHOWMAP
18 CHEAT_KROZ
19 CHEAT_ALLEN
20 CHEAT_CLIP
21 CHEAT_WEAPONS
22 CHEAT_INVENTORY
23 CHEAT_KEYS
24 CHEAT_DEBUG
26 CHEAT_COMEGETSOME
define CHEAT_CORNHOLIO                  0
define CHEAT_STUFF                      1
define CHEAT_SCOTTY                     2
define CHEAT_COORDS                     3
define CHEAT_VIEW                       4
define CHEAT_TIME                       5
define CHEAT_UNLOCK                     6
define CHEAT_CASHMAN                    7
define CHEAT_ITEMS                      8
define CHEAT_RATE                       9
define CHEAT_SKILL                      10
define CHEAT_BETA                       11
define CHEAT_HYPER                      12
define CHEAT_MONSTERS                   13
define CHEAT_TODD                       16
define CHEAT_SHOWMAP                    17
define CHEAT_KROZ                       18
define CHEAT_ALLEN                      19
define CHEAT_CLIP                       20
define CHEAT_WEAPONS                    21
define CHEAT_INVENTORY                  22
define CHEAT_KEYS                       23
define CHEAT_DEBUG                      24
define CHEAT_COMEGETSOME                26


Value Label Description
1 QUOTE_SHOW_MAP_OFF
2 QUOTE_ACTIVATED
3 QUOTE_MEDKIT
4 QUOTE_LOCKED
5 QUOTE_CHEAT_EVERYTHING
6 QUOTE_BOOTS
7 QUOTE_WASTED
8 QUOTE_UNLOCKED
9 QUOTE_FOUND_SECRET
10 QUOTE_SQUISHED
12 QUOTE_USED_STEROIDS
13 QUOTE_DEAD
15 QUOTE_DEACTIVATED
17 QUOTE_CHEAT_GODMODE_ON
18 QUOTE_CHEAT_GODMODE_OFF
21 QUOTE_CROSSHAIR_OFF
22 QUOTE_CHEATS_DISABLED
23 QUOTE_MESSAGES_ON
24 QUOTE_MESSAGES_OFF
26 QUOTE_MUSIC
37 QUOTE_CHEAT_STEROIDS
40 QUOTE_F1HELP
44 QUOTE_MOUSE_AIMING_OFF
47 QUOTE_HOLODUKE_ON
48 QUOTE_HOLODUKE_OFF
49 QUOTE_HOLODUKE_NOT_FOUND
50 QUOTE_JETPACK_NOT_FOUND
52 QUOTE_JETPACK_ON
53 QUOTE_JETPACK_OFF
70 QUOTE_NEED_BLUE_KEY
71 QUOTE_NEED_RED_KEY
72 QUOTE_NEED_YELLOW_KEY
73 QUOTE_WEAPON_LOWERED
74 QUOTE_WEAPON_RAISED
75 QUOTE_BOOTS_ON
76 QUOTE_SCUBA_ON
79 QUOTE_CHEAT_ALLEN
80 QUOTE_MIGHTY_FOOT
82 QUOTE_WEAPON_MODE_OFF
83 QUOTE_MAP_FOLLOW_OFF
85 QUOTE_RUN_MODE_OFF
88 QUOTE_JETPACK
89 QUOTE_SCUBA
90 QUOTE_STEROIDS
91 QUOTE_HOLODUKE
99 QUOTE_CHEAT_TODD
100 QUOTE_CHEAT_UNLOCK
101 QUOTE_NVG
102 QUOTE_WEREGONNAFRYYOURASS
103 QUOTE_SCREEN_SAVED
105 QUOTE_CHEAT_BETA
107 QUOTE_NVG_OFF
109 QUOTE_VIEW_MODE_OFF
111 QUOTE_SHOW_MAP_ON
113 QUOTE_CHEAT_NOCLIP
114 QUOTE_SAVE_BAD_VERSION
115 QUOTE_RESERVED
116 QUOTE_RESERVED2
117 QUOTE_RESERVED3
118 QUOTE_SAVE_DEAD
119 QUOTE_CHEAT_ALL_WEAPONS
120 QUOTE_CHEAT_ALL_INV
121 QUOTE_CHEAT_ALL_KEYS
122 QUOTE_RESERVED4
124 QUOTE_SAVE_BAD_PLAYERS
define QUOTE_SHOW_MAP_OFF               1
define QUOTE_ACTIVATED                  2
define QUOTE_MEDKIT                     3
define QUOTE_LOCKED                     4
define QUOTE_CHEAT_EVERYTHING           5
define QUOTE_BOOTS                      6
define QUOTE_WASTED                     7
define QUOTE_UNLOCKED                   8
define QUOTE_FOUND_SECRET               9
define QUOTE_SQUISHED                   10
define QUOTE_USED_STEROIDS              12
define QUOTE_DEAD                       13
define QUOTE_DEACTIVATED                15
define QUOTE_CHEAT_GODMODE_ON           17
define QUOTE_CHEAT_GODMODE_OFF          18
define QUOTE_CROSSHAIR_OFF              21
define QUOTE_CHEATS_DISABLED            22
define QUOTE_MESSAGES_ON                23
define QUOTE_MESSAGES_OFF               24
define QUOTE_MUSIC                      26
define QUOTE_CHEAT_STEROIDS             37
define QUOTE_F1HELP                     40
define QUOTE_MOUSE_AIMING_OFF           44
define QUOTE_HOLODUKE_ON                47
define QUOTE_HOLODUKE_OFF               48
define QUOTE_HOLODUKE_NOT_FOUND         49
define QUOTE_JETPACK_NOT_FOUND          50
define QUOTE_JETPACK_ON                 52
define QUOTE_JETPACK_OFF                53
define QUOTE_NEED_BLUE_KEY              70
define QUOTE_NEED_RED_KEY               71
define QUOTE_NEED_YELLOW_KEY            72
define QUOTE_WEAPON_LOWERED             73
define QUOTE_WEAPON_RAISED              74
define QUOTE_BOOTS_ON                   75
define QUOTE_SCUBA_ON                   76
define QUOTE_CHEAT_ALLEN                79
define QUOTE_MIGHTY_FOOT                80
define QUOTE_WEAPON_MODE_OFF            82
define QUOTE_MAP_FOLLOW_OFF             83
define QUOTE_RUN_MODE_OFF               85
define QUOTE_JETPACK                    88
define QUOTE_SCUBA                      89
define QUOTE_STEROIDS                   90
define QUOTE_HOLODUKE                   91
define QUOTE_CHEAT_TODD                 99
define QUOTE_CHEAT_UNLOCK               100
define QUOTE_NVG                        101
define QUOTE_WEREGONNAFRYYOURASS        102
define QUOTE_SCREEN_SAVED               103
define QUOTE_CHEAT_BETA                 105
define QUOTE_NVG_OFF                    107
define QUOTE_VIEW_MODE_OFF              109
define QUOTE_SHOW_MAP_ON                111
define QUOTE_CHEAT_NOCLIP               113
define QUOTE_SAVE_BAD_VERSION           114
define QUOTE_RESERVED                   115
define QUOTE_RESERVED2                  116
define QUOTE_RESERVED3                  117
define QUOTE_SAVE_DEAD                  118
define QUOTE_CHEAT_ALL_WEAPONS          119
define QUOTE_CHEAT_ALL_INV              120
define QUOTE_CHEAT_ALL_KEYS             121
define QUOTE_RESERVED4                  122
define QUOTE_SAVE_BAD_PLAYERS           124


Value Label Description
1 FLOOR_STAT_PLAx
2 FLOOR_STAT_SLOPE
4 FLOOR_STAT_SWAPXY
8 FLOOR_STAT_SMOOSH
16 FLOOR_STAT_XFLIP
32 FLOOR_STAT_YFLIP
64 FLOOR_STAT_RELATIVE
128 FLOOR_STAT_MASKED
256 FLOOR_STAT_TRANS
define FLOOR_STAT_PLAX                  0x00000001
define FLOOR_STAT_SLOPE                 0x00000002
define FLOOR_STAT_SWAPXY                0x00000004
define FLOOR_STAT_SMOOSH                0x00000008
define FLOOR_STAT_XFLIP                 0x00000010
define FLOOR_STAT_YFLIP                 0x00000020
define FLOOR_STAT_RELATIVE              0x00000040
define FLOOR_STAT_MASKED                0x00000080
define FLOOR_STAT_TRANS                 0x00000100


Value Label Description
1 CEILING_STAT_PLAx
2 CEILING_STAT_SLOPE
4 CEILING_STAT_SWAPXY
8 CEILING_STAT_SMOOSH
16 CEILING_STAT_XFLIP
32 CEILING_STAT_YFLIP
64 CEILING_STAT_RELATIVE
128 CEILING_STAT_MASKED
256 CEILING_STAT_TRANS
define CEILING_STAT_PLAX                0x00000001
define CEILING_STAT_SLOPE               0x00000002
define CEILING_STAT_SWAPXY              0x00000004
define CEILING_STAT_SMOOSH              0x00000008
define CEILING_STAT_XFLIP               0x00000010
define CEILING_STAT_YFLIP               0x00000020
define CEILING_STAT_RELATIVE            0x00000040
define CEILING_STAT_MASKED              0x00000080
define CEILING_STAT_TRANS               0x00000100


Value Label Description
1 CSTAT_WALL_BLOCK
2 CSTAT_WALL_BOTTOM_SWAP
4 CSTAT_WALL_ALIGN_BOTTOM
8 CSTAT_WALL_XFLIP
16 CSTAT_WALL_MASKED
32 CSTAT_WALL_1WAY
64 CSTAT_WALL_BLOCK_HITSCAN
128 CSTAT_WALL_TRANSLUCENT
256 CSTAT_WALL_YFLIP
512 CSTAT_WALL_TRANS_FLIP
16384 CSTAT_WALL_BLOCK_ACTOR
32768 CSTAT_WALL_WARP_HITSCAN
define CSTAT_WALL_BLOCK                 0x00000001
define CSTAT_WALL_BOTTOM_SWAP           0x00000002
define CSTAT_WALL_ALIGN_BOTTOM          0x00000004
define CSTAT_WALL_XFLIP                 0x00000008
define CSTAT_WALL_MASKED                0x00000010
define CSTAT_WALL_1WAY                  0x00000020
define CSTAT_WALL_BLOCK_HITSCAN         0x00000040
define CSTAT_WALL_TRANSLUCENT           0x00000080
define CSTAT_WALL_YFLIP                 0x00000100
define CSTAT_WALL_TRANS_FLIP            0x00000200
define CSTAT_WALL_BLOCK_ACTOR           0x00004000
define CSTAT_WALL_WARP_HITSCAN          0x00008000


Value Label Description
1 CSTAT_SPRITE_BLOCK
2 CSTAT_SPRITE_TRANSLUCENT
4 CSTAT_SPRITE_XFLIP
8 CSTAT_SPRITE_YFLIP
16 CSTAT_SPRITE_WALL
32 CSTAT_SPRITE_FLOOR
64 CSTAT_SPRITE_ONE_SIDE
128 CSTAT_SPRITE_YCENTER
256 CSTAT_SPRITE_BLOCK_HITSCAN
512 CSTAT_SPRITE_TRANS_FLIP
2048 CSTAT_SPRITE_NOSHADE
32768 CSTAT_SPRITE_INVISIBLE
define CSTAT_SPRITE_BLOCK               0x00000001
define CSTAT_SPRITE_TRANSLUCENT         0x00000002
define CSTAT_SPRITE_XFLIP               0x00000004
define CSTAT_SPRITE_YFLIP               0x00000008
define CSTAT_SPRITE_WALL                0x00000010
define CSTAT_SPRITE_FLOOR               0x00000020
define CSTAT_SPRITE_ONE_SIDE            0x00000040
define CSTAT_SPRITE_YCENTER             0x00000080
define CSTAT_SPRITE_BLOCK_HITSCAN       0x00000100
define CSTAT_SPRITE_TRANS_FLIP          0x00000200
define CSTAT_SPRITE_NOSHADE             0x00000800
define CSTAT_SPRITE_INVISIBLE           0x00008000


Value Label Description
1 SFLAG_SHADOW
2 SFLAG_NVG
4 SFLAG_NOSHADE
8 SFLAG_PROJECTILE
16 SFLAG_DECAL
1024 SFLAG_NULL
4096 SFLAG_NOFLOORSHADOW
32768 SFLAG_BADGUYSTAYPUT
65536 SFLAG_CACHE
131072 SFLAG_ROTFIXED
262144 SFLAG_HARDCODED_BADGUY
524288 SFLAG_DIDNOSE7WATER
4194304 SFLAG_HURTSPAWNBLOOD
8388608 SFLAG_GREENSLIMEFOOD
33554432 SFLAG_WAKEUPBADGUYS
67108864 SFLAG_DAMAGEEVENT
define SFLAG_SHADOW                     0x00000001
define SFLAG_NVG                        0x00000002
define SFLAG_NOSHADE                    0x00000004
define SFLAG_PROJECTILE                 0x00000008
define SFLAG_DECAL                      0x00000010
define SFLAG_NULL                       0x00000400
define SFLAG_NOFLOORSHADOW              0x00001000
define SFLAG_BADGUYSTAYPUT              0x00008000
define SFLAG_CACHE                      0x00010000
define SFLAG_ROTFIXED                   0x00020000
define SFLAG_HARDCODED_BADGUY           0x00040000
define SFLAG_DIDNOSE7WATER              0x00080000
define SFLAG_HURTSPAWNBLOOD             0x00400000
define SFLAG_GREENSLIMEFOOD             0x00800000
define SFLAG_WAKEUPBADGUYS              0x02000000
define SFLAG_DAMAGEEVENT                0x04000000


Value Label Description
99 TSPR_TEMP
100 STAT_MIRROREDACTOR
define TSPR_TEMP                        99
define STAT_MIRROREDACTOR               100


Value Label Description
1 SPREXT_NOTMD
2 SPREXT_NOMDANIM
4 SPREXT_AWAY1
8 SPREXT_AWAY2
16 SPREXT_TSPRACCESS
32 SPREXT_TEMPINVISIBLE
define SPREXT_NOTMD                     0x00000001
define SPREXT_NOMDANIM                  0x00000002
define SPREXT_AWAY1                     0x00000004
define SPREXT_AWAY2                     0x00000008
define SPREXT_TSPRACCESS                0x00000010
define SPREXT_TEMPINVISIBLE             0x00000020


Value Label Description
1 TSPR_EXTRA_MDHACK
define TSPR_EXTRA_MDHACK                0x00000001


Value Label Description
30719 TILE_SAVESHOT
30718 TILE_TILT
30717 TILE_LOADSHOT
30716 TILE_ANIM
30715 TILE_VIEWSCR
define TILE_SAVESHOT                    30719
define TILE_TILT                        30718
define TILE_LOADSHOT                    30717
define TILE_ANIM                        30716
define TILE_VIEWSCR                     30715


Value Label Description
0 BASEPAL
1 WATERPAL
2 SLIMEPAL
3 DREALMSPAL
4 TITLEPAL
5 ENDINGPAL
6 ANIMPAL
define BASEPAL                          0
define WATERPAL                         1
define SLIMEPAL                         2
define DREALMSPAL                       3
define TITLEPAL                         4
define ENDINGPAL                        5
define ANIMPAL                          6


Value Label Description
251 CROSSHAIR_PAL
252 NORMALPAL
253 SPECULARPAL
254 GLOWPAL
255 DETAILPAL
define CROSSHAIR_PAL                    251
define NORMALPAL                        252
define SPECULARPAL                      253
define GLOWPAL                          254
define DETAILPAL                        255


Value Label Description
0 MUS_INTRO
1 MUS_BRIEFING
2 MUS_LOADING
define MUS_INTRO                        0
define MUS_BRIEFING                     1
define MUS_LOADING                      2


Value Label Description
0 ICON_NONE
1 ICON_FIRSTAID
2 ICON_STEROIDS
3 ICON_HOLODUKE
4 ICON_JETPACK
5 ICON_HEATS
6 ICON_SCUBA
7 ICON_BOOTS
define ICON_NONE                        0
define ICON_FIRSTAID                    1
define ICON_STEROIDS                    2
define ICON_HOLODUKE                    3
define ICON_JETPACK                     4
define ICON_HEATS                       5
define ICON_SCUBA                       6
define ICON_BOOTS                       7


Value Label Description
1 WEAPON_HOLSTER_CLEARS_CLIP
2 WEAPON_GLOWS
4 WEAPON_AUTOMATIC
8 WEAPON_FIREEVERYOTHER
16 WEAPON_FIREEVERYTHIRD
32 WEAPON_RANDOMRESTART
64 WEAPON_AMMOPERSHOT
128 WEAPON_BOMB_TRIGGER
256 WEAPON_NOVISIBLE
512 WEAPON_THROWIT
1024 WEAPON_CHECKATRELOAD
2048 WEAPON_STANDSTILL
4096 WEAPON_SPAWNTYPE2
8192 WEAPON_SPAWNTYPE3
16384 WEAPON_SEMIAUTO
32768 WEAPON_RELOAD_TIMING
65536 WEAPON_RESET
define WEAPON_HOLSTER_CLEARS_CLIP       0x00000001
define WEAPON_GLOWS                     0x00000002
define WEAPON_AUTOMATIC                 0x00000004
define WEAPON_FIREEVERYOTHER            0x00000008
define WEAPON_FIREEVERYTHIRD            0x00000010
define WEAPON_RANDOMRESTART             0x00000020
define WEAPON_AMMOPERSHOT               0x00000040
define WEAPON_BOMB_TRIGGER              0x00000080
define WEAPON_NOVISIBLE                 0x00000100
define WEAPON_THROWIT                   0x00000200
define WEAPON_CHECKATRELOAD             0x00000400
define WEAPON_STANDSTILL                0x00000800
define WEAPON_SPAWNTYPE2                0x00001000
define WEAPON_SPAWNTYPE3                0x00002000
define WEAPON_SEMIAUTO                  0x00004000
define WEAPON_RELOAD_TIMING             0x00008000
define WEAPON_RESET                     0x00010000


Value Label Description
16384 HIT_SECTOR
32768 HIT_WALL
49152 HIT_SPRITE
define HIT_SECTOR                       16384
define HIT_WALL                         32768
define HIT_SPRITE                       49152


Value Label Description
16 MAXGAMETYPES
7 MAXVOLUMES
64 MAXLEVELS
7 MAXSKILLS
4096 MAXSECTORS
16384 MAXWALLS
16384 MAXSPRITES
30720 MAXTILES
define MAXGAMETYPES                     16
define MAXVOLUMES                       7
define MAXLEVELS                        64
define MAXSKILLS                        7
define MAXSECTORS                       4096
define MAXWALLS                         16384
define MAXSPRITES                       16384
define MAXTILES                         30720


Value Label Description
120 TICRATE
26 GAMETICSPERSEC
30 REALGAMETICSPERSEC
4 TICSPERFRAME
define TICRATE                          120
define GAMETICSPERSEC                   26
define REALGAMETICSPERSEC               30
define TICSPERFRAME                     4