]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/campaign.qh
Merge branch 'bones_was_here/805' into 'master'
[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 string Campaign_GetTitle();
14 int Campaign_GetLevelNum();
15 string Campaign_GetMessage();
16
17 void CampaignPreInit();
18 void CampaignPostInit();
19 void CampaignPreIntermission();
20 void CampaignPostIntermission(); // must change map
21
22 void CampaignLevelWarp(float n);
23
24 /**
25  * campaign mode: bots shall spawn but wait for the player to spawn before they do anything
26  * in other game modes, this is ignored
27  */
28 bool campaign_bots_may_start;
29
30 bool campaign_forcewin;