Xonotic
bigcommandbutton.qc
Go to the documentation of this file.
1
#include "
bigcommandbutton.qh
"
2
3
entity
makeXonoticBigCommandButton_T
(
string
theText,
vector
theColor,
string
theCommand,
int
theFlags,
string
theTooltip)
4
{
5
entity
me;
6
me =
NEW
(
XonoticBigCommandButton
);
7
me.configureXonoticBigCommandButton(me, theText, theColor, theCommand, theFlags, theTooltip);
8
return
me;
9
}
10
entity
makeXonoticBigCommandButton
(
string
theText,
vector
theColor,
string
theCommand,
int
theFlags)
11
{
12
return
makeXonoticBigCommandButton_T
(theText, theColor, theCommand, theFlags,
string_null
);
13
}
14
15
void
XonoticBigCommandButton_configureXonoticBigCommandButton
(
entity
me,
string
theText,
vector
theColor,
string
theCommand,
int
theFlags,
string
theTooltip)
16
{
17
me.configureXonoticCommandButton(me, theText, theColor, theCommand, theFlags, theTooltip);
18
}
string_null
string string_null
Definition:
nil.qh:9
NEW
#define NEW(cname,...)
Definition:
oo.qh:105
entity
entity() spawn
makeXonoticBigCommandButton_T
entity makeXonoticBigCommandButton_T(string theText, vector theColor, string theCommand, int theFlags, string theTooltip)
Definition:
bigcommandbutton.qc:3
XonoticBigCommandButton_configureXonoticBigCommandButton
void XonoticBigCommandButton_configureXonoticBigCommandButton(entity me, string theText, vector theColor, string theCommand, int theFlags, string theTooltip)
Definition:
bigcommandbutton.qc:15
makeXonoticBigCommandButton
entity makeXonoticBigCommandButton(string theText, vector theColor, string theCommand, int theFlags)
Definition:
bigcommandbutton.qc:10
vector
vector(float skel, float bonenum) _skel_get_boneabs_hidden
bigcommandbutton.qh
XonoticBigCommandButton
Definition:
bigcommandbutton.qh:4
menu
xonotic
bigcommandbutton.qc
Generated on Thu Mar 17 2022 17:26:29 for Xonotic by
1.8.13