]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/campaign.qh
Update default video settings
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / campaign.qh
index f5228c269338cd146e6c4656a45044185e59c56b..a9c790e3647a9cb0d8622652c63ee85de49956e2 100644 (file)
@@ -1,10 +1,16 @@
-#ifndef CAMPAIGN_H
-#define CAMPAIGN_H
+#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;
+int Campaign_GetLevelNum();
 
 void CampaignPreInit();
 void CampaignPostInit();
@@ -13,7 +19,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
-#endif
+/**
+ * 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;