-float MAPINFO_TYPE_CTF = 1;
-float MAPINFO_TYPE_ASSAULT = 2;
-float MAPINFO_TYPE_ONSLAUGHT = 4;
-float MAPINFO_TYPE_RACE = 8;
-float MAPINFO_TYPE_DEATHMATCH = 16;
-float MAPINFO_TYPE_TEAM_DEATHMATCH = 32;
-float MAPINFO_TYPE_DOMINATION = 64;
-float MAPINFO_TYPE_RUNEMATCH = 128;
-float MAPINFO_TYPE_LMS = 256;
-float MAPINFO_TYPE_ARENA = 512;
-float MAPINFO_TYPE_KEYHUNT = 1024;
-float MAPINFO_TYPE_NEXBALL = 2048;
-float MAPINFO_TYPE_CTS = 4096;
-float MAPINFO_TYPE_CA = 8192;
-float MAPINFO_TYPE_ALL = 16383; // this has to include all above bits
+float MAPINFO_TYPE_DEATHMATCH = 1;
+float MAPINFO_TYPE_LMS = 2;
+float MAPINFO_TYPE_ARENA = 4;
+float MAPINFO_TYPE_RUNEMATCH = 8;
+float MAPINFO_TYPE_RACE = 16;
+float MAPINFO_TYPE_CTS = 32;
+float MAPINFO_TYPE_TEAM_DEATHMATCH = 64;
+float MAPINFO_TYPE_CTF = 128;
+float MAPINFO_TYPE_CA = 256;
+float MAPINFO_TYPE_DOMINATION = 512;
+float MAPINFO_TYPE_KEYHUNT = 1024;
+float MAPINFO_TYPE_ASSAULT = 2048;
+float MAPINFO_TYPE_ONSLAUGHT = 4096;
+float MAPINFO_TYPE_NEXBALL = 8192;
+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
+float MAPINFO_FEATURE_VEHICLES = 2;
+float MAPINFO_FEATURE_TURRETS = 4;
float MAPINFO_FLAG_HIDDEN = 1; // not in lsmaps/menu/vcall/etc., can just be changed to manually
float MAPINFO_FLAG_FORBIDDEN = 2; // don't even allow the map by a cvar setting that allows hidden maps
// info about a map that MapInfo loads
string MapInfo_Map_bspname;
string MapInfo_Map_title;
+string MapInfo_Map_titlestring; // either bspname: title or just title, depending on whether bspname is redundant
string MapInfo_Map_description;
string MapInfo_Map_author;
string MapInfo_Map_clientstuff; // not in cache, only for map load
// 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);