Xonotic
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.

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

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 }
entity() spawn
entity makeXonoticImage(string theImage, float theAspect)
Definition: image.qc:3
+ Here is the call graph for this function:

◆ XonoticWinnerDialog_focusEnter()

void XonoticWinnerDialog_focusEnter ( entity  me)

Definition at line 18 of file dialog_singleplayer_winner.qc.

References m_play_click_sound(), and MENU_SOUND_WINNER.

19 {
21 }
+ Here is the call graph for this function: