Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
dialog_media_demo_timeconfirm.qc
Go to the documentation of this file.
1
#include "
dialog_media_demo_timeconfirm.qh
"
2
3
#include "
demolist.qh
"
4
#include "
textlabel.qh
"
5
#include "
button.qh
"
6
7
void
Handle_TimeDemo_Click
(
entity
unused,
entity
unused) {
demolist
.timeDemo(
demolist
); }
8
void
XonoticDemoTimeConfirmDialog_fill
(
entity
me)
9
{
10
entity
e;
11
12
me.TR(me);
13
me.TD(me, 1, 2, e =
makeXonoticTextLabel
(0.5, _(
"Timing a demo will disconnect you from the current match."
)));
14
me.TR(me);
15
me.TD(me, 1, 2, e =
makeXonoticTextLabel
(0.5, _(
"Do you really wish to disconnect now?"
)));
16
me.TR(me);
17
me.TR(me);
18
me.TD(me, 1, 1, e =
makeXonoticButton
(_(
"Yes"
),
'1 0 0'
));
19
e.onClick =
Handle_TimeDemo_Click
;
20
e.onClickEntity =
demolist
;
21
me.TD(me, 1, 1, e =
makeXonoticButton
(_(
"No"
),
'0 1 0'
));
22
e.onClick =
Dialog_Close
;
23
e.onClickEntity = me;
24
}
entity
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
demolist.qh
demolist
entity demolist
Definition
demolist.qh:30
XonoticDemoTimeConfirmDialog_fill
void XonoticDemoTimeConfirmDialog_fill(entity me)
Definition
dialog_media_demo_timeconfirm.qc:8
Handle_TimeDemo_Click
void Handle_TimeDemo_Click(entity unused, entity unused)
Definition
dialog_media_demo_timeconfirm.qc:7
dialog_media_demo_timeconfirm.qh
Dialog_Close
void Dialog_Close(entity button, entity me)
Definition
dialog.qc:7
makeXonoticButton
entity makeXonoticButton(string theText, vector theColor)
Definition
button.qc:10
button.qh
makeXonoticTextLabel
entity makeXonoticTextLabel(float theAlign, string theText)
Definition
textlabel.qc:3
textlabel.qh
menu
xonotic
dialog_media_demo_timeconfirm.qc
Generated on
for Xonotic QuakeC by
1.14.0