X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fcampaign.qh;h=0662a3704f1eeaa0b0ea0a3560477f10c9d3579a;hp=f5228c269338cd146e6c4656a45044185e59c56b;hb=65fc9d516200f4df289b42e1595e91baf7878331;hpb=4e85c153239969d8dccea38031e18ddb24b6c935 diff --git a/qcsrc/server/campaign.qh b/qcsrc/server/campaign.qh index f5228c269..0662a3704 100644 --- a/qcsrc/server/campaign.qh +++ b/qcsrc/server/campaign.qh @@ -1,10 +1,10 @@ -#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 -string campaign_message; +int Campaign_GetLevelNum(); +string Campaign_GetMessage(); void CampaignPreInit(); void CampaignPostInit(); @@ -13,7 +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 -#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;