Xonotic
|
Go to the source code of this file.
Variables | |
string | campaign_longdesc_wrapped [CAMPAIGN_MAX_ENTRIES] |
Definition at line 262 of file campaign.qc.
References CampaignSetup().
Referenced by XonoticCampaignList_doubleClickListBoxItem(), and XonoticCampaignList_keyDown().
entity makeXonoticCampaignList | ( | ) |
Definition at line 48 of file campaign.qc.
Definition at line 142 of file campaign.qc.
Definition at line 146 of file campaign.qc.
Definition at line 8 of file campaign.qc.
References argv(), campaign_entries, campaign_longdesc, campaign_longdesc_wrapped, draw_TextWidth_WithoutColors(), getWrappedLine(), getWrappedLine_remaining, LABEL, strcat(), strfree, strlen(), strzone(), substring(), and tokenizebyseparator.
Referenced by XonoticCampaignList_loadCvars(), and XonoticCampaignList_resizeNotify().
Definition at line 97 of file campaign.qc.
References campaign_name, cvar_defstring(), cvar_set(), mod(), search_getfilename(), search_getsize(), strcat(), strlen(), and substring().
Definition at line 55 of file campaign.qc.
References search_begin().
Definition at line 63 of file campaign.qc.
References search_end().
Definition at line 191 of file campaign.qc.
References CampaignList_LoadMap().
Definition at line 151 of file campaign.qc.
References campaign_name, cvar(), cvar_string(), and SUPER.
void XonoticCampaignList_drawListBoxItem | ( | entity | me, |
int | i, | ||
vector | absSize, | ||
bool | isSelected, | ||
bool | isFocused | ||
) |
Definition at line 195 of file campaign.qc.
References campaign_gametype, campaign_mapname, campaign_shortdesc, cvar_string(), draw_Fill(), draw_Picture(), draw_PictureSize(), draw_TextShortenToWidth(), eX, eY, getFadedAlpha(), strcat(), and vector().
Definition at line 275 of file campaign.qc.
References CampaignList_LoadMap(), K_ENTER, K_KP_ENTER, K_SPACE, and SUPER.
Definition at line 69 of file campaign.qc.
References bound(), campaign_entries, CAMPAIGN_MAX_ENTRIES, campaign_name, campaign_title, CampaignFile_Load(), CampaignFile_Unload(), cvar(), cvar_set(), cvar_string(), ftos(), min(), registercvar(), rewrapCampaign(), strcat(), and strcpy.
void XonoticCampaignList_resizeNotify | ( | entity | me, |
vector | relOrigin, | ||
vector | relSize, | ||
vector | absOrigin, | ||
vector | absSize | ||
) |
Definition at line 163 of file campaign.qc.
References eX, eY, rewrapCampaign(), SUPER, and vec3.
Definition at line 89 of file campaign.qc.
Definition at line 269 of file campaign.qc.
string campaign_longdesc_wrapped[CAMPAIGN_MAX_ENTRIES] |
Definition at line 6 of file campaign.qc.
Referenced by rewrapCampaign().