Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
dialog_singleplayer_winner.qc
Go to the documentation of this file.
1
#include "
dialog_singleplayer_winner.qh
"
2
3
#include "
image.qh
"
4
#include "
button.qh
"
5
6
void
XonoticWinnerDialog_fill
(
entity
me)
7
{
8
entity
e;
9
10
me.TR(me);
11
me.TD(me, me.rows - 2, me.columns, e =
makeXonoticImage
(
"/gfx/winner"
, -1));
12
13
me.gotoRC(me, me.rows - 1, 0);
14
me.TD(me, 1, me.columns, e =
makeXonoticButton
(_(
"OK"
),
'0 0 0'
));
15
e.onClick =
Dialog_Close
;
16
e.onClickEntity = me;
17
}
18
void
XonoticWinnerDialog_focusEnter
(
entity
me)
19
{
20
m_play_click_sound
(
MENU_SOUND_WINNER
);
21
}
entity
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
XonoticWinnerDialog_fill
void XonoticWinnerDialog_fill(entity me)
Definition
dialog_singleplayer_winner.qc:6
XonoticWinnerDialog_focusEnter
void XonoticWinnerDialog_focusEnter(entity me)
Definition
dialog_singleplayer_winner.qc:18
dialog_singleplayer_winner.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
m_play_click_sound
void m_play_click_sound(string soundfile)
Definition
menu.qc:1106
MENU_SOUND_WINNER
const string MENU_SOUND_WINNER
Definition
menu.qh:56
makeXonoticImage
entity makeXonoticImage(string theImage, float theAspect)
Definition
image.qc:3
image.qh
menu
xonotic
dialog_singleplayer_winner.qc
Generated on
for Xonotic QuakeC by
1.14.0