16 if (
main.firstRunDialog.shouldShow())
17 main.firstDraw =
true;
40 me.text =
strzone(
"Error reading ToS");
41 me.textBox.setText(me.textBox, me.text);
51 temp =
strcat(temp,
"\n", s);
57 me.textBox.setText(me.textBox, me.text);
78 subtitle = _(
"Terms of Service have been updated. Please read them before continuing:");
80 subtitle = _(
"Welcome to Xonotic! Please read the following Terms of Service:");
91 me.gotoRC(me, me.rows - 1, 0);
97 me.TD(me, 1, me.columns/2, e =
makeXonoticButton(_(
"Don't accept (quit the game)"),
'1 0 0'));
const float URL_READY_CANREAD
const float URL_READY_CLOSED
void DontAccept_Clicked(entity btn, entity me)
entity makeXonoticTextLabel(float theAlign, string theText)
bool XonoticToSDialog_shouldShow()
void Close_Clicked(entity btn, entity me)
void XonoticToS_OnGet(entity fh, entity me, int status)
spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 f1 s1 strcat(_("Level %s: "), "^BG%s\3\, _("^BGPress ^F2%s^BG to enter the game"))
entity makeXonoticTextBox()
ERASEABLE void url_fclose(entity e)
void XonoticToSDialog_fill(entity me)
ERASEABLE void url_single_fopen(string url, int mode, url_ready_func rdy, entity pass)
const float URL_READY_ERROR
const string termsofservice_url
int autocvar__termsofservice_accepted
ERASEABLE string url_fgets(entity e)
void XonoticToSDialog_loadXonoticToS(entity me)