X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fcampaign_common.qh;h=3bdc8725c2803b5c9c27f6f0f30c9841d6ea8294;hb=b8d1818720e24f8d6b70806e6e62956c755e4dd8;hp=f6e240a6faf5bd4411a1919fc9badf34ddf56e04;hpb=3ed6f385fd689d9cdb6618792f0f59acb4a91007;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/campaign_common.qh b/qcsrc/common/campaign_common.qh index f6e240a6f..3bdc8725c 100644 --- a/qcsrc/common/campaign_common.qh +++ b/qcsrc/common/campaign_common.qh @@ -1,10 +1,12 @@ +#pragma once + #ifndef CAMPAIGN_MAX_ENTRIES #define CAMPAIGN_MAX_ENTRIES 64 #endif // each i-th array element corresponds to the list entry campaign_offset+i -float campaign_entries; -float campaign_offset; +int campaign_entries; +int campaign_offset; string campaign_gametype[CAMPAIGN_MAX_ENTRIES]; string campaign_mapname[CAMPAIGN_MAX_ENTRIES]; float campaign_bots[CAMPAIGN_MAX_ENTRIES];