Gm: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[GameMode]]. Valid values are:<BR>
Game mode. Valid values are:
*[[MODE_MENU]] 1 Menu is being dispalyed
 
*[[MODE_DEMO]] 2 Demo is being played back
enum gamemode_t {
*[[MODE_GAME]] 4 Game is running
    MODE_MENU                   = 0x00000001, // 1 - Menu is being displayed
*[[MODE_EOL]] 8 End of Level has been signaled
    MODE_DEMO                   = 0x00000002, // 2 - Demo is being played
*[[MODE_TYPE]] 16 User is typing chat message
    MODE_GAME                   = 0x00000004, // 4 - Game is running
*[[MODE_RESTART]] 32 Level is restarting
    MODE_EOL                   = 0x00000008, // 8 - End of Level has been signaled
*[[MODE_SENDTOWHOM]] 64 Choosing who to send message to
    MODE_TYPE                   = 0x00000010, // 16 - User is typing chat message
*[[MODE_END]] 128 Game is ending(exit main game loop)
    MODE_RESTART               = 0x00000020, // 32 - Level is restarting
    MODE_SENDTOWHOM             = 0x00000040, // 64 - User is select the message recipient
};


[[Category:Player structure members]]
[[Category:Player structure members]]

Revision as of 10:29, 13 September 2012

Game mode. Valid values are:

enum gamemode_t {
    MODE_MENU                   = 0x00000001, // 1 - Menu is being displayed
    MODE_DEMO                   = 0x00000002, // 2 - Demo is being played
    MODE_GAME                   = 0x00000004, // 4 - Game is running
    MODE_EOL                    = 0x00000008, // 8 - End of Level has been signaled
    MODE_TYPE                   = 0x00000010, // 16 - User is typing chat message
    MODE_RESTART                = 0x00000020, // 32 - Level is restarting
    MODE_SENDTOWHOM             = 0x00000040, // 64 - User is select the message recipient
};