Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
dialog_termsofservice.qh
Go to the documentation of this file.
1
#pragma once
2
3
int
autocvar__termsofservice_accepted
;
4
const
string
termsofservice_url
=
"https://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
, textBox,
entity
);
19
20
ATTRIB
(
XonoticToSDialog
,
closable
,
bool
,
false
);
21
ENDCLASS
(
XonoticToSDialog
)
22
23
void
XonoticToS_OnGet
(
entity
fh,
entity
me,
int
status);
entity
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
XonoticRootDialog
Definition
rootdialog.qh:4
XonoticToSDialog
Definition
dialog_termsofservice.qh:7
XonoticToSDialog::ATTRIB
ATTRIB(XonoticToSDialog, textBox, entity)
XonoticToSDialog::color
vector color
Definition
dialog_termsofservice.qh:12
XonoticToSDialog::shouldShow
virtual void shouldShow()
XonoticToSDialog::fill
virtual void fill()
XonoticToSDialog::title
string title
Definition
dialog_termsofservice.qh:11
XonoticToSDialog::name
string name
Definition
dialog_termsofservice.qh:16
XonoticToSDialog::loadXonoticToS
virtual void loadXonoticToS()
XonoticToSDialog::rows
float rows
Definition
dialog_termsofservice.qh:14
XonoticToSDialog::columns
float columns
Definition
dialog_termsofservice.qh:15
XonoticToSDialog::closable
bool closable
Definition
dialog_termsofservice.qh:20
XonoticToSDialog::intendedWidth
float intendedWidth
Definition
dialog_termsofservice.qh:13
false
#define false
Definition
csprogsdefs.qh:6
autocvar__termsofservice_accepted
int autocvar__termsofservice_accepted
Definition
dialog_termsofservice.qh:3
XonoticToS_OnGet
void XonoticToS_OnGet(entity fh, entity me, int status)
Definition
dialog_termsofservice.qc:31
termsofservice_url
const string termsofservice_url
Definition
dialog_termsofservice.qh:4
CLASS
#define CLASS(...)
Definition
oo.qh:145
ENDCLASS
#define ENDCLASS(cname)
Definition
oo.qh:281
METHOD
#define METHOD(cname, name, prototype)
Definition
oo.qh:269
rootdialog.qh
vector
vector
Definition
self.qh:92
menu
xonotic
dialog_termsofservice.qh
Generated on
for Xonotic QuakeC by
1.14.0