Xonotic
dialog_termsofservice.qh
Go to the documentation of this file.
1
#pragma once
2
3
int
autocvar__termsofservice_accepted
;
4
const
string
termsofservice_url
=
"http://update.xonotic.org/tos.txt"
;
5
6
#include "
rootdialog.qh
"
7
CLASS
(
XonoticToSDialog
,
XonoticRootDialog
)
8
METHOD
(
XonoticToSDialog
, shouldShow,
bool
());
9
METHOD
(
XonoticToSDialog
, fill,
void
(
entity
));
10
METHOD
(
XonoticToSDialog
, loadXonoticToS,
void
(
entity
));
11
ATTRIB
(
XonoticToSDialog
, title,
string
, _(
"Terms of Service"
));
12
ATTRIB
(
XonoticToSDialog
,
color
,
vector
, SKINCOLOR_DIALOG_FIRSTRUN);
13
ATTRIB
(
XonoticToSDialog
, intendedWidth,
float
, 0.8);
14
ATTRIB
(
XonoticToSDialog
, rows,
float
, 16);
15
ATTRIB
(
XonoticToSDialog
, columns,
float
, 6.2);
16
ATTRIB
(
XonoticToSDialog
,
name
,
string
,
"TermsOfService"
);
17
18
ATTRIB
(
XonoticToSDialog
, text,
string
);
19
ATTRIB
(
XonoticToSDialog
, textBox,
entity
);
20
21
ATTRIB
(
XonoticToSDialog
, closable,
float
, 0);
22
ENDCLASS
(
XonoticToSDialog
)
23
24
void
XonoticToS_OnGet
(
entity
fh,
entity
me,
int
status);
color
vector color
Definition:
dpextensions.qc:2415
rootdialog.qh
CLASS
CLASS(Object) Object
Definition:
oo.qh:318
entity
entity() spawn
METHOD
#define METHOD(cname, name, prototype)
Definition:
oo.qh:257
ATTRIB
#define ATTRIB(...)
Definition:
oo.qh:136
XonoticRootDialog
Definition:
rootdialog.qh:4
XonoticToSDialog
Definition:
dialog_termsofservice.qh:7
vector
vector(float skel, float bonenum) _skel_get_boneabs_hidden
ENDCLASS
#define ENDCLASS(cname)
Definition:
oo.qh:269
termsofservice_url
const string termsofservice_url
Definition:
dialog_termsofservice.qh:4
name
string name
Definition:
menu.qh:30
XonoticToS_OnGet
void XonoticToS_OnGet(entity fh, entity me, int status)
Definition:
dialog_termsofservice.qc:31
autocvar__termsofservice_accepted
int autocvar__termsofservice_accepted
Definition:
dialog_termsofservice.qh:3
menu
xonotic
dialog_termsofservice.qh
Generated on Thu Mar 17 2022 17:26:29 for Xonotic by
1.8.13