X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=qcsrc%2Fcommon%2Fcampaign_common.qh;h=8f70c51cfaf5e960b6c7c8982332926070f88242;hb=131d0d5343ee46646b08e6dc4915aeaa19f47f05;hp=3bdc8725c2803b5c9c27f6f0f30c9841d6ea8294;hpb=34e7f534e2015466228eb3a78c9857741b736dca;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/campaign_common.qh b/qcsrc/common/campaign_common.qh index 3bdc8725c..8f70c51cf 100644 --- a/qcsrc/common/campaign_common.qh +++ b/qcsrc/common/campaign_common.qh @@ -11,11 +11,13 @@ string campaign_gametype[CAMPAIGN_MAX_ENTRIES]; string campaign_mapname[CAMPAIGN_MAX_ENTRIES]; float campaign_bots[CAMPAIGN_MAX_ENTRIES]; float campaign_botskill[CAMPAIGN_MAX_ENTRIES]; -float campaign_fraglimit[CAMPAIGN_MAX_ENTRIES]; -float campaign_timelimit[CAMPAIGN_MAX_ENTRIES]; +string campaign_fraglimit[CAMPAIGN_MAX_ENTRIES]; +string campaign_timelimit[CAMPAIGN_MAX_ENTRIES]; string campaign_mutators[CAMPAIGN_MAX_ENTRIES]; +#ifndef SVQC string campaign_shortdesc[CAMPAIGN_MAX_ENTRIES]; string campaign_longdesc[CAMPAIGN_MAX_ENTRIES]; +#endif string campaign_title; // filled upon loading // load the campaign file, but use the given offset and limit the number of @@ -29,4 +31,4 @@ void CampaignFile_Unload(); // Sets up the campaign for the n-th array item (meaning: campaign_offset+nth // level) using localcmd() -void CampaignSetup(float n); +void CampaignSetup(int n);