Xonotic
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
7
void
XonoticCreditsDialog_fill
(
entity
me)
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
}
17
void
XonoticCreditsDialog_focusEnter
(
entity
me)
18
{
19
me.creditsList.scrolling =
time
+ 1;
20
}
dialog_credits.qh
XonoticCreditsDialog_focusEnter
void XonoticCreditsDialog_focusEnter(entity me)
Definition:
dialog_credits.qc:17
makeXonoticButton
entity makeXonoticButton(string theText, vector theColor)
Definition:
button.qc:10
Dialog_Close
void Dialog_Close(entity button, entity me)
Definition:
dialog.qc:7
entity
entity() spawn
makeXonoticCreditsList
entity makeXonoticCreditsList()
Definition:
credits.qc:459
button.qh
XonoticCreditsDialog_fill
void XonoticCreditsDialog_fill(entity me)
Definition:
dialog_credits.qc:7
time
float time
Definition:
csprogsdefs.qc:16
credits.qh
menu
xonotic
dialog_credits.qc
Generated on Thu Mar 17 2022 17:26:29 for Xonotic by
1.8.13