Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
campaign.qh File Reference
#include "listbox.qh"
Include dependency graph for campaign.qh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  XonoticCampaignList

Functions

void CampaignList_LoadMap (entity btn, entity me)
entity makeXonoticCampaignList ()
void MultiCampaign_Next (entity btn, entity me)
void MultiCampaign_Prev (entity btn, entity me)

Function Documentation

◆ CampaignList_LoadMap()

void CampaignList_LoadMap ( entity btn,
entity me )

Definition at line 262 of file campaign.qc.

263{
264 if(me.selectedItem >= me.nItems || me.selectedItem < 0)
265 return;
266 CampaignSetup(me.selectedItem);
267}
void CampaignSetup(int n)

References CampaignSetup(), and entity().

Referenced by XonoticCampaignList::ATTRIB(), XonoticCampaignList_doubleClickListBoxItem(), XonoticCampaignList_keyDown(), and XonoticSingleplayerDialog_fill().

◆ makeXonoticCampaignList()

entity makeXonoticCampaignList ( )

Definition at line 48 of file campaign.qc.

49{
51 me.configureXonoticCampaignList(me);
52 return me;
53}
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
#define NEW(cname,...)
Definition oo.qh:117

References entity(), and NEW.

Referenced by XonoticCampaignList::ATTRIB(), and XonoticSingleplayerDialog_fill().

◆ MultiCampaign_Next()

void MultiCampaign_Next ( entity btn,
entity me )

Definition at line 141 of file campaign.qc.

142{
143 me.campaignGo(me, +1);
144}

References entity().

Referenced by XonoticCampaignList::ATTRIB(), and XonoticSingleplayerDialog_fill().

◆ MultiCampaign_Prev()

void MultiCampaign_Prev ( entity btn,
entity me )

Definition at line 145 of file campaign.qc.

146{
147 me.campaignGo(me, -1);
148}

References entity().

Referenced by XonoticCampaignList::ATTRIB(), and XonoticSingleplayerDialog_fill().