X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fcampaign.qh;h=df25c6c6ac5430581e13b7bb293446159e38b1d6;hb=HEAD;hp=f5228c269338cd146e6c4656a45044185e59c56b;hpb=82dbcadfd0556053b74638f2e3ae2e57103ddf26;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/campaign.qh b/qcsrc/server/campaign.qh index f5228c269..a9c790e36 100644 --- a/qcsrc/server/campaign.qh +++ b/qcsrc/server/campaign.qh @@ -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;