Template:Gm: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Fox (talk | contribs)
No edit summary
Fox (talk | contribs)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<noinclude>{{Template}}</noinclude>
The following values are used with [[gm]].
The following values are used with [[gm]].


Line 20: Line 22:
| 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>

Latest revision as of 16:56, 12 September 2021

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


The following values are used with 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