Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
dialog_singleplayer_winner.qc File Reference
#include "dialog_singleplayer_winner.qh"
#include "image.qh"
#include "button.qh"
Include dependency graph for dialog_singleplayer_winner.qc:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void XonoticWinnerDialog_fill (entity me)
void XonoticWinnerDialog_focusEnter (entity me)

Function Documentation

◆ XonoticWinnerDialog_fill()

void XonoticWinnerDialog_fill ( entity me)

Definition at line 6 of file dialog_singleplayer_winner.qc.

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 Dialog_Close(entity button, entity me)
Definition dialog.qc:7
entity makeXonoticButton(string theText, vector theColor)
Definition button.qc:10
entity makeXonoticImage(string theImage, float theAspect)
Definition image.qc:3

References Dialog_Close(), entity(), makeXonoticButton(), and makeXonoticImage().

◆ XonoticWinnerDialog_focusEnter()

void XonoticWinnerDialog_focusEnter ( entity me)

Definition at line 18 of file dialog_singleplayer_winner.qc.

19{
21}
void m_play_click_sound(string soundfile)
Definition menu.qc:1106
const string MENU_SOUND_WINNER
Definition menu.qh:56

References entity(), m_play_click_sound(), and MENU_SOUND_WINNER.