Template:Gm: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Fox (talk | contribs)
No edit summary
m "Defines" for consistency with other templates
Line 20: Line 20:
| No || 128 || MODE_END ||  
| No || 128 || MODE_END ||  
|-
|-
|}
{| {{Collapse}}
| <strong>Defines</strong>
|-
|
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
|}
|}


<noinclude>[[Category:Templates]]</noinclude>
<noinclude>[[Category:Templates]]</noinclude>
<includeonly>[[Category:Pages with templates]]</includeonly>
<includeonly>[[Category:Pages with templates]]</includeonly>

Revision as of 23:25, 14 June 2021

The following values are used with gm.

Exposed Value Label Description
No 1 MODE_MENU Menu is being displayed
No 2 MODE_DEMO Demo is being played
No 4 MODE_GAME Game is running
No 8 MODE_EOL End of Level has been signaled
No 16 MODE_TYPE User is typing chat message
No 32 MODE_RESTART Level is restarting
No 64 MODE_SENDTOWHOM User is selecting the message recipient
No 128 MODE_END
Defines
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