X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fmapinfo.qh;h=2ce5d60c9032eb4136652baf42be37ad5fbb98e1;hb=9c40c25078426ed90e985c402c648fea3e3a8832;hp=64076e7121a5f91f7d4432b107aeb29cf5d90b6a;hpb=7c62768eab4fee3b2b0281afded2d17abd246da4;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/mapinfo.qh b/qcsrc/common/mapinfo.qh index 64076e712..2ce5d60c9 100644 --- a/qcsrc/common/mapinfo.qh +++ b/qcsrc/common/mapinfo.qh @@ -12,8 +12,9 @@ float MAPINFO_TYPE_KEYHUNT = 1024; float MAPINFO_TYPE_ASSAULT = 2048; float MAPINFO_TYPE_ONSLAUGHT = 4096; float MAPINFO_TYPE_NEXBALL = 8192; -float MAPINFO_TYPE_KEEPAWAY = 16384; -float MAPINFO_TYPE_ALL = 32767; // this has to include all above bits +float MAPINFO_TYPE_FREEZETAG = 16384; +float MAPINFO_TYPE_KEEPAWAY = 32768; +float MAPINFO_TYPE_ALL = 65535; // this has to include all above bits float MAPINFO_FEATURE_WEAPONS = 1; // not defined for minstagib-only maps @@ -67,6 +68,8 @@ void MapInfo_LoadMap(string s); // list all maps for the current game type string MapInfo_ListAllowedMaps(float pFlagsRequired, float pFlagsForbidden); +// list all allowed maps (for any game type) +string MapInfo_ListAllAllowedMaps(float pFlagsRequired, float pFlagsForbidden); // gets a gametype from a string float MapInfo_Type_FromString(string t);