![]() |
Nuclide
Software Development Kit for id Technology (BETA)
|
Displays text-based menus, for use with a keyboard. More...
Displays text-based menus, for use with a keyboard.
The text of the menu is defined inside titles.txt, powered by the same backend handling Game Text.
It is also used for things such as the waypoint editor. What the menu looks like can be seen here:
Will display the text named TITLE. If a file named decls/textmenu/TITLE.decl exists, it'll map the input codes to command entries named in the file.
Such a decl can look like this:
When issued, will close/hide whatever text menu may have been open at this time.
Classes | |
| class | ncTextMenuDict |
Functions | |
| void | Textmenu_Call (string) |
| Forcefully displays a given text menu. More... | |
| void | Textmenu_Toggle (string) |
| Toggle the text menu, replacing it with the one specified if inactive. More... | |
| int | Textmenu_IsActive (void) |
Returns true or false depending on if a text menu is currently active. More... | |
| void | Textmenu_Hide (void) |
| Force the active text menu to be hidden. More... | |
| void | Textmenu_Input (int) |
| Called by Nuclide to pass numeric input values to the text menu. More... | |
| void | Textmenu_Draw (void) |
| Called by Nuclide to draw text menus. More... | |
| bool | Textmenu_Open (string defName) |
Called by textMenuCreate console command, argument equals the decl name. More... | |
Variables | |
| ncTextMenuDict | g_textMenuDict |
| void Textmenu_Call | ( | string | menu | ) |
Forcefully displays a given text menu.
| void Textmenu_Draw | ( | void | ) |
Called by Nuclide to draw text menus.
| void Textmenu_Hide | ( | void | ) |
Force the active text menu to be hidden.
| void Textmenu_Input | ( | int | nr | ) |
Called by Nuclide to pass numeric input values to the text menu.
| int Textmenu_IsActive | ( | void | ) |
Returns true or false depending on if a text menu is currently active.
| bool Textmenu_Open | ( | string | defName | ) |
Called by textMenuCreate console command, argument equals the decl name.
| void Textmenu_Toggle | ( | string | menu | ) |
Toggle the text menu, replacing it with the one specified if inactive.
| ncTextMenuDict g_textMenuDict |