Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
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.

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}
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
entity makeXonoticCreditsList()
Definition credits.qc:680
void Dialog_Close(entity button, entity me)
Definition dialog.qc:7
entity makeXonoticButton(string theText, vector theColor)
Definition button.qc:10

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

◆ XonoticCreditsDialog_focusEnter()

void XonoticCreditsDialog_focusEnter ( entity me)

Definition at line 17 of file dialog_credits.qc.

18{
19 me.creditsList.scrolling = time + 1;
20}
float time

References entity(), and time.