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.
2
3#include "image.qh"
4#include "button.qh"
5
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}
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
void XonoticWinnerDialog_fill(entity me)
void XonoticWinnerDialog_focusEnter(entity me)
void Dialog_Close(entity button, entity me)
Definition dialog.qc:7
entity makeXonoticButton(string theText, vector theColor)
Definition button.qc:10
void m_play_click_sound(string soundfile)
Definition menu.qc:1106
const string MENU_SOUND_WINNER
Definition menu.qh:56
entity makeXonoticImage(string theImage, float theAspect)
Definition image.qc:3