]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/campaign.qh
Purge autocvars.qh from the codebase, cvars are defined in the headers of the feature...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / campaign.qh
1 #pragma once
2
3 bool autocvar__campaign_testrun;
4 int autocvar__campaign_index;
5 string autocvar__campaign_name;
6 bool autocvar_g_campaign;
7 float autocvar_g_campaign_forceteam;
8 int autocvar_g_campaign_skill;
9
10 // this must be included BEFORE campaign_common.h to make this a memory saving
11 #define CAMPAIGN_MAX_ENTRIES 2
12
13 int Campaign_GetLevelNum();
14 string Campaign_GetMessage();
15
16 void CampaignPreInit();
17 void CampaignPostInit();
18 void CampaignPreIntermission();
19 void CampaignPostIntermission(); // must change map
20
21 void CampaignLevelWarp(float n);
22
23 /**
24  * campaign mode: bots shall spawn but wait for the player to spawn before they do anything
25  * in other game modes, this is ignored
26  */
27 bool campaign_bots_may_start;
28
29 bool campaign_forcewin;