]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/campaign.qh
Fix waypoints marked as pure but still linked to the world and with collision testing...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / campaign.qh
index 6feb07c4541965366aa850ee8aaf2b984200e253..10e06a240f836f6328cf7834c6a66989529e6a1a 100644 (file)
@@ -1,9 +1,18 @@
 #pragma once
 
+bool autocvar__campaign_testrun;
+int autocvar__campaign_index;
+string autocvar__campaign_name;
+bool autocvar_g_campaign;
+float autocvar_g_campaign_forceteam;
+int autocvar_g_campaign_skill;
+
 // this must be included BEFORE campaign_common.h to make this a memory saving
 #define CAMPAIGN_MAX_ENTRIES 2
 
-string campaign_message;
+string Campaign_GetTitle();
+int Campaign_GetLevelNum();
+string Campaign_GetMessage();
 
 void CampaignPreInit();
 void CampaignPostInit();
@@ -17,3 +26,5 @@ void CampaignLevelWarp(float n);
  * in other game modes, this is ignored
  */
 bool campaign_bots_may_start;
+
+bool campaign_forcewin;