Nuclide
Software Development Kit for id Technology
Main Page
Related Pages
Modules
Classes
textmenu.h
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
17
var
string
g_textmenu =
""
;
18
var
float
g_textmenucheck = 0.0f;
19
29
void
Textmenu_Call
(
string
);
30
32
void
Textmenu_Toggle
(
string
);
33
35
int
Textmenu_IsActive
(
void
);
36
38
void
Textmenu_Hide
(
void
);
39
41
void
Textmenu_Input
(
int
);
42
44
void
Textmenu_Draw
(
void
);
45
// end of client
Textmenu_IsActive
int Textmenu_IsActive(void)
Returns true or false depending on if a text menu is currently active.
Definition:
textmenu.qc:20
Textmenu_Call
void Textmenu_Call(string)
Forcefully displays a given text menu.
Definition:
textmenu.qc:34
Textmenu_Draw
void Textmenu_Draw(void)
Called by Nuclide to draw text menus.
Definition:
textmenu.qc:50
Textmenu_Input
void Textmenu_Input(int)
Called by Nuclide to pass numeric input values to the text menu.
Definition:
textmenu.qc:72
Textmenu_Toggle
void Textmenu_Toggle(string)
Toggle the text menu, replacing it with the one specified if inactive.
Definition:
textmenu.qc:41
Textmenu_Hide
void Textmenu_Hide(void)
Force the active text menu to be hidden.
Definition:
textmenu.qc:26
src
client
textmenu.h
2009-2024 (C) Nuclide is a project by
Vera Visions, L.L.C.
and is available under the
ISC License
.