Jump to content

Gm

From EDukeWiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Game modes.

Flags

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