Xonotic
dialog_termsofservice.qh
Go to the documentation of this file.
1 #pragma once
2 
4 const string termsofservice_url = "http://update.xonotic.org/tos.txt";
5 
6 #include "rootdialog.qh"
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);
23 
24 void XonoticToS_OnGet(entity fh, entity me, int status);
vector color
CLASS(Object) Object
Definition: oo.qh:318
entity() spawn
#define METHOD(cname, name, prototype)
Definition: oo.qh:257
#define ATTRIB(...)
Definition: oo.qh:136
vector(float skel, float bonenum) _skel_get_boneabs_hidden
#define ENDCLASS(cname)
Definition: oo.qh:269
const string termsofservice_url
void XonoticToS_OnGet(entity fh, entity me, int status)
int autocvar__termsofservice_accepted