X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fcampaign.qh;h=0662a3704f1eeaa0b0ea0a3560477f10c9d3579a;hb=90d9f7c775306324957323d53d5a4ad995d999e3;hp=487deb9820af2fa049c42421cae4d8ad38317489;hpb=0e7ed909bffb4ff21f0c68d163edfc17487e380a;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/campaign.qh b/qcsrc/server/campaign.qh index 487deb982..0662a3704 100644 --- a/qcsrc/server/campaign.qh +++ b/qcsrc/server/campaign.qh @@ -1,7 +1,10 @@ +#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(); @@ -10,6 +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 +/** + * 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;