Nuclide
Software Development Kit for id Tech
textmenu.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2016-2022 Vera Visions LLC.
3 *
4 * Permission to use, copy, modify, and distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 * WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER
13 * IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
14 * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15*/
16
17var string g_textmenu = "";
18var float g_textmenucheck = 0.0f;
19
29void Textmenu_Call(string);
30
32void Textmenu_Toggle(string);
33
35int Textmenu_IsActive(void);
36
38void Textmenu_Hide(void);
39
41void Textmenu_Input(int);
42
44void Textmenu_Draw(void);
45 // end of client
int Textmenu_IsActive(void)
Returns true or false depending on if a text menu is currently active.
Definition: textmenu.qc:20
void Textmenu_Call(string)
Forcefully displays a given text menu.
Definition: textmenu.qc:34
void Textmenu_Draw(void)
Called by Nuclide to draw text menus.
Definition: textmenu.qc:50
void Textmenu_Input(int)
Called by Nuclide to pass numeric input values to the text menu.
Definition: textmenu.qc:72
void Textmenu_Toggle(string)
Toggle the text menu, replacing it with the one specified if inactive.
Definition: textmenu.qc:41
void Textmenu_Hide(void)
Force the active text menu to be hidden.
Definition: textmenu.qc:26
var float g_textmenucheck
Definition: textmenu.h:18
var string g_textmenu
Definition: textmenu.h:17