Xonotic
|
#include "credits.qh"
Go to the source code of this file.
Macros | |
#define | _CREDITS_PERSON(p) CREDITS_PERSON(#p) |
#define | CREDITS(TITLE, FUNCTION, PERSON, PERSON_, NL) |
#define | CREDITS_FUNCTION(f) credits_add_line(fh, n, CREDITS_TYPE_FUNCTION, f); |
#define | CREDITS_NL() credits_add_line(fh, n, CREDITS_TYPE_NL, ""); |
#define | CREDITS_PERSON(p) credits_add_line(fh, n, CREDITS_TYPE_PERSON, p); |
#define | CREDITS_TITLE(t) credits_add_line(fh, n, CREDITS_TYPE_TITLE, t); |
Functions | |
void | credits_add_line (int fh, int n, int type, string line) |
void | credits_build (int fh, int n) |
void | credits_export () |
int | credits_get () |
entity | makeXonoticCreditsList () |
void | XonoticCreditsList_configureXonoticCreditsList (entity me) |
void | XonoticCreditsList_destroy (entity me) |
void | XonoticCreditsList_draw (entity me) |
void | XonoticCreditsList_drawListBoxItem (entity me, int i, vector absSize, bool isSelected, bool isFocused) |
float | XonoticCreditsList_keyDown (entity me, float key, float ascii, float shift) |
void | XonoticCreditsList_resizeNotify (entity me, vector relOrigin, vector relSize, vector absOrigin, vector absSize) |
Variables | |
int | CREDITS_TYPE_FUNCTION = 1 |
int | CREDITS_TYPE_NL = -1 |
int | CREDITS_TYPE_PERSON = 0 |
int | CREDITS_TYPE_TITLE = 2 |
#define _CREDITS_PERSON | ( | p | ) | CREDITS_PERSON(#p) |
Referenced by credits_build().
#define CREDITS | ( | TITLE, | |
FUNCTION, | |||
PERSON, | |||
PERSON_, | |||
NL | |||
) |
Definition at line 3 of file credits.qc.
Referenced by credits_build().
#define CREDITS_FUNCTION | ( | f | ) | credits_add_line(fh, n, CREDITS_TYPE_FUNCTION, f); |
Referenced by credits_build().
#define CREDITS_NL | ( | ) | credits_add_line(fh, n, CREDITS_TYPE_NL, ""); |
Referenced by credits_build().
#define CREDITS_PERSON | ( | p | ) | credits_add_line(fh, n, CREDITS_TYPE_PERSON, p); |
Referenced by credits_build().
#define CREDITS_TITLE | ( | t | ) | credits_add_line(fh, n, CREDITS_TYPE_TITLE, t); |
Referenced by credits_build().
Definition at line 414 of file credits.qc.
References CREDITS_TYPE_FUNCTION, CREDITS_TYPE_TITLE, fputs(), and strcat().
Definition at line 427 of file credits.qc.
References _CREDITS_PERSON, CREDITS, CREDITS_FUNCTION, CREDITS_NL, CREDITS_PERSON, and CREDITS_TITLE.
Referenced by credits_export(), and credits_get().
void credits_export | ( | ) |
Definition at line 449 of file credits.qc.
References credits_build(), FILE_WRITE, and fopen().
Referenced by XonoticCreditsList_configureXonoticCreditsList().
int credits_get | ( | ) |
Definition at line 442 of file credits.qc.
References buf_create, and credits_build().
Referenced by XonoticCreditsList_configureXonoticCreditsList().
entity makeXonoticCreditsList | ( | ) |
Definition at line 459 of file credits.qc.
Referenced by XonoticCreditsDialog_fill().
Definition at line 466 of file credits.qc.
References credits_export(), credits_get(), cvar(), and cvar_set().
Definition at line 477 of file credits.qc.
Definition at line 481 of file credits.qc.
References bound(), SUPER, and time.
void XonoticCreditsList_drawListBoxItem | ( | entity | me, |
int | i, | ||
vector | absSize, | ||
bool | isSelected, | ||
bool | isFocused | ||
) |
Definition at line 498 of file credits.qc.
References draw_CenterText(), eX, eY, strlen(), substring(), and vector().
void XonoticCreditsList_resizeNotify | ( | entity | me, |
vector | relOrigin, | ||
vector | relSize, | ||
vector | absOrigin, | ||
vector | absSize | ||
) |
int CREDITS_TYPE_FUNCTION = 1 |
Definition at line 411 of file credits.qc.
Referenced by credits_add_line().
int CREDITS_TYPE_NL = -1 |
Definition at line 413 of file credits.qc.
int CREDITS_TYPE_PERSON = 0 |
Definition at line 412 of file credits.qc.
int CREDITS_TYPE_TITLE = 2 |
Definition at line 410 of file credits.qc.
Referenced by credits_add_line().