Current menu - EDukeWiki

# Current menu

From EDukeWiki

current_menu contains an ID number corresponding to the menu that the player is currently displaying. Individual values can be found by looking through menus.h and menus.c.

    enum MenuIndex_t {
        MENU_NULL           = INT32_MIN, // sentinel for "do nothing"
        MENU_CLOSE          = -2, // sentinel for "close the menu"/"no menu"
        MENU_PREVIOUS       = -1, // sentinel for "go to previous menu"
        MENU_MAIN           = 0,
        MENU_MAIN_INGAME    = 50,
        MENU_EPISODE        = 100,
        MENU_USERMAP        = 101,
        MENU_SKILL          = 110,
        MENU_GAMESETUP      = 200,
        MENU_OPTIONS        = 202,
        MENU_VIDEOSETUP     = 203,
        MENU_KEYBOARDSETUP  = 204,
        MENU_MOUSESETUP     = 205,
        MENU_JOYSTICKSETUP  = 206,
        MENU_JOYSTICKBTNS   = 207,
        MENU_JOYSTICKAXES   = 208,
        MENU_KEYBOARDKEYS   = 209,
        MENU_MOUSEBTNS      = 210,
        MENU_MOUSEADVANCED  = 212,
        MENU_JOYSTICKAXIS   = 213,
        MENU_TOUCHSETUP     = 214,
        MENU_CONTROLS       = 220,
        MENU_POLYMOST       = 230,
        MENU_COLCORR        = 231,
        MENU_COLCORR_INGAME = 232,
        MENU_SCREENSETUP    = 233,
        MENU_DISPLAYSETUP   = 234,
        MENU_POLYMER        = 240,
        MENU_LOAD           = 300,
        MENU_SAVE           = 350,
        MENU_STORY          = 400,
        MENU_F1HELP         = 401,
        MENU_QUIT           = 500,
        MENU_QUITTOTITLE    = 501,
        MENU_QUIT_INGAME    = 502,
        MENU_NETSETUP       = 600,
        MENU_NETWAITMASTER  = 601,
        MENU_NETWAITVOTES   = 603,
        MENU_SOUND          = 700,
        MENU_SOUND_INGAME   = 701,
        MENU_ADVSOUND       = 702,
        MENU_CHEATS         = 800,
        MENU_CHEATENTRY     = 801,
        MENU_CHEAT_WARP     = 802,
        MENU_CHEAT_SKILL    = 803,
        MENU_CREDITS        = 990,
        MENU_CREDITS2       = 991,
        MENU_CREDITS3       = 992,
        MENU_CREDITS4       = 993,
        MENU_CREDITS5       = 994,
        MENU_LOADVERIFY     = 1000,
        MENU_NEWVERIFY      = 1500,
        MENU_SAVEVERIFY     = 2000,
        MENU_ADULTPASSWORD  = 10001,
        MENU_RESETPLAYER    = 15000,
        MENU_BUYDUKE        = 20000,
        MENU_NETWORK        = 20001,
        MENU_PLAYER         = 20002,
        MENU_MACROS         = 20004,
        MENU_NETHOST        = 20010,
        MENU_NETOPTIONS     = 20011,
        MENU_NETUSERMAP     = 20012,
        MENU_NETJOIN        = 20020,
    };

Retrieved from "http://wiki.eduke32.com/w/index.php?title=Current_menu&oldid=12320"
Category:

- Constantly updated gamevars