Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
dialog_credits.qc
Go to the documentation of this file.
1#include "dialog_credits.qh"
2
3#include "credits.qh"
4#include "button.qh"
5#include "../item/dialog.qh"
6
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}
18{
19 me.creditsList.scrolling = time + 1;
20}
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
entity makeXonoticCreditsList()
Definition credits.qc:680
float time
void XonoticCreditsDialog_focusEnter(entity me)
void XonoticCreditsDialog_fill(entity me)
void Dialog_Close(entity button, entity me)
Definition dialog.qc:7
entity makeXonoticButton(string theText, vector theColor)
Definition button.qc:10