X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fcampaign.qh;h=df25c6c6ac5430581e13b7bb293446159e38b1d6;hb=8a7433cf6e3a5b9951d9c2037c4acb412fe5414e;hp=f5228c269338cd146e6c4656a45044185e59c56b;hpb=244e5081c5c503c307e557c98ac864f6c9731475;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/campaign.qh b/qcsrc/server/campaign.qh index f5228c269..df25c6c6a 100644 --- a/qcsrc/server/campaign.qh +++ b/qcsrc/server/campaign.qh @@ -1,5 +1,4 @@ -#ifndef CAMPAIGN_H -#define CAMPAIGN_H +#pragma once // this must be included BEFORE campaign_common.h to make this a memory saving #define CAMPAIGN_MAX_ENTRIES 2 @@ -13,7 +12,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;