-float _MapInfo_Cache_Active;
-float _MapInfo_Cache_DB_NameToIndex;
-float _MapInfo_Cache_Buf_IndexToMapData;
+int _MapInfo_Cache_Active;
+int _MapInfo_Cache_DB_NameToIndex;
+int _MapInfo_Cache_Buf_IndexToMapData;
- mapMins_x = min(mapMins.x, o.x);
- mapMins_y = min(mapMins.y, o.y);
- mapMins_z = min(mapMins.z, o.z);
- mapMaxs_x = max(mapMaxs.x, o.x);
- mapMaxs_y = max(mapMaxs.y, o.y);
- mapMaxs_z = max(mapMaxs.z, o.z);
+ mapMins.x = min(mapMins.x, o.x);
+ mapMins.y = min(mapMins.y, o.y);
+ mapMins.z = min(mapMins.z, o.z);
+ mapMaxs.x = max(mapMaxs.x, o.x);
+ mapMaxs.y = max(mapMaxs.y, o.y);
+ mapMaxs.z = max(mapMaxs.z, o.z);
print("Map ", pFilename, " references not existing config file ", s, "\n");
else
{
print("Map ", pFilename, " references not existing config file ", s, "\n");
else
{
{
n = tokenize_console(cvar_string("g_cdtracks_remaplist"));
s = strcat(" ", cvar_string("g_cdtracks_dontusebydefault"), " ");
{
n = tokenize_console(cvar_string("g_cdtracks_remaplist"));
s = strcat(" ", cvar_string("g_cdtracks_dontusebydefault"), " ");
{
i = floor(random() * n);
if(strstrofs(s, strcat(" ", argv(i), " "), 0) < 0)
{
i = floor(random() * n);
if(strstrofs(s, strcat(" ", argv(i), " "), 0) < 0)
print("Map ", pFilename, " contains an incorrect size line, mins have to be < maxs\n");
else
{
print("Map ", pFilename, " contains an incorrect size line, mins have to be < maxs\n");
else
{
- MapInfo_Map_mins_x = a;
- MapInfo_Map_mins_y = b;
- MapInfo_Map_mins_z = c;
- MapInfo_Map_maxs_x = d;
- MapInfo_Map_maxs_y = e;
- MapInfo_Map_maxs_z = f;
+ MapInfo_Map_mins.x = a;
+ MapInfo_Map_mins.y = b;
+ MapInfo_Map_mins.z = c;
+ MapInfo_Map_maxs.x = d;
+ MapInfo_Map_maxs.y = e;
+ MapInfo_Map_maxs.z = f;