Current menu: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
'''''current_menu''''' contains an ID number corresponding to the menu that the player is currently displaying. Individual values can be found by looking through [{{EDuke32 source|source/menus.h}} menus.h] and [{{EDuke32 source|source/menus.c}} menus.c].
'''''current_menu''''' contains an ID number corresponding to the menu that the player is currently displaying. Individual values can be found by looking through [{{EDuke32 source|source/menus.h}} menus.h] and [{{EDuke32 source|source/menus.c}} menus.c].
Here are some sample values:
* 0: Main menu (title screen)
* 50: Main menu (game paused)
* 100: Select an episode
* 102: Select a user map
* 110: Select skill
* 200: Game setup
* 201: More game setup
* 202: Options
* 203: Video setup
* 204: Keyboard setup
* 205: Mouse setup
* 212: Advanced mouse setup
* 230: Renderer setup
* 231: Color correction
* 300: Load game
* 351: Save game
* 360: Save game (text box)
* 500: "Are you sure you want to quit?"
* 501: "Quit to title?"
* 700: Sound setup
* 1,000: Load game (confirm)
* 1,500: "ABORT this game?"
* 2,000: Save game (confirm)
* 20,002: Player setup
* 20,004: Multiplayer macros
* 20,005: Multiplayer macros (text box)


[[Category:Constantly updated gamevars]]
[[Category:Constantly updated gamevars]]

Revision as of 09:33, 20 May 2014

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.