]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/campaign.qh
Merge branch 'master' into Mario/csqc_muzzleflash
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / campaign.qh
index 487deb9820af2fa049c42421cae4d8ad38317489..0662a3704f1eeaa0b0ea0a3560477f10c9d3579a 100644 (file)
@@ -1,7 +1,10 @@
+#pragma once
+
 // this must be included BEFORE campaign_common.h to make this a memory saving
 #define CAMPAIGN_MAX_ENTRIES 2
 
-string campaign_message;
+int Campaign_GetLevelNum();
+string Campaign_GetMessage();
 
 void CampaignPreInit();
 void CampaignPostInit();
@@ -10,6 +13,10 @@ void CampaignPostIntermission(); // must change map
 
 void CampaignLevelWarp(float n);
 
-float campaign_bots_may_start;
-// campaign mode: bots shall spawn but wait for the player to spawn before they do anything
-// in other game modes, this is ignored
+/**
+ * campaign mode: bots shall spawn but wait for the player to spawn before they do anything
+ * in other game modes, this is ignored
+ */
+bool campaign_bots_may_start;
+
+bool campaign_forcewin;