Xonotic
dialog_credits.qc File Reference
#include "dialog_credits.qh"
#include "credits.qh"
#include "button.qh"
#include "../item/dialog.qh"
+ Include dependency graph for dialog_credits.qc:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void XonoticCreditsDialog_fill (entity me)
 
void XonoticCreditsDialog_focusEnter (entity me)
 

Function Documentation

◆ XonoticCreditsDialog_fill()

void XonoticCreditsDialog_fill ( entity  me)

Definition at line 7 of file dialog_credits.qc.

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

8 {
9  entity e;
10  me.TR(me);
11  me.TD(me, me.rows - 1, me.columns, me.creditsList = makeXonoticCreditsList());
12  me.gotoRC(me, me.rows - 1, 0);
13  me.TD(me, 1, me.columns, e = makeXonoticButton(_("OK"), '0 0 0'));
14  e.onClick = Dialog_Close;
15  e.onClickEntity = me;
16 }
entity() spawn
entity makeXonoticCreditsList()
Definition: credits.qc:459
+ Here is the call graph for this function:

◆ XonoticCreditsDialog_focusEnter()

void XonoticCreditsDialog_focusEnter ( entity  me)

Definition at line 17 of file dialog_credits.qc.

References time.

18 {
19  me.creditsList.scrolling = time + 1;
20 }
float time
Definition: csprogsdefs.qc:16