]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/campaign.qh
Don't attempt to network more than the maximum number of shown spectators, fixes...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / campaign.qh
1 #pragma once
2
3 // this must be included BEFORE campaign_common.h to make this a memory saving
4 #define CAMPAIGN_MAX_ENTRIES 2
5
6 int Campaign_GetLevelNum();
7 string Campaign_GetMessage();
8
9 void CampaignPreInit();
10 void CampaignPostInit();
11 void CampaignPreIntermission();
12 void CampaignPostIntermission(); // must change map
13
14 void CampaignLevelWarp(float n);
15
16 /**
17  * campaign mode: bots shall spawn but wait for the player to spawn before they do anything
18  * in other game modes, this is ignored
19  */
20 bool campaign_bots_may_start;
21
22 bool campaign_forcewin;