Newgamecustomsubopen: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Add documentation
 
No edit summary
Line 1: Line 1:
Array of bitmaps where each array entry corresponds to a top-layer menu entry, and each bit corresponds to an entry in the submenu. (see: [[DEF_Language#newgamechoices|newgamechoices]])
Array of [[bitfield]]s where each array entry corresponds to a top-layer menu entry, and each bit corresponds to an entry in the submenu. (see: [[DEF_Language#newgamechoices|newgamechoices]])


If a bit is set, it disables the '''locked''' and '''hidden''' flag for the corresponding submenu entry.
If a bit is set, it disables the '''locked''' and '''hidden''' flag for the corresponding submenu entry.
Line 8: Line 8:


[[Category:Userdef structure members]]
[[Category:Userdef structure members]]
[[Category:Bitfields]]

Revision as of 06:32, 20 August 2025

Array of bitfields where each array entry corresponds to a top-layer menu entry, and each bit corresponds to an entry in the submenu. (see: newgamechoices)

If a bit is set, it disables the locked and hidden flag for the corresponding submenu entry.

Example:

setu .newgamecustomsubopen 2 0x10  // disables flags for the 5th submenu entry of the 3rd top-level menu entry