Changed how waypoint saving works

This commit is contained in:
INeedGames
2020-12-24 15:05:53 -06:00
parent 2532aa8e91
commit d5335aa73a
14 changed files with 1279 additions and 1259 deletions

View File

@ -1377,6 +1377,46 @@ getGoodMapAmount()
}
}
/*
Matches a num to a char
*/
keyCodeToString(a)
{
b="";
switch(a)
{
case 0: b= "a"; break;
case 1: b= "b"; break;
case 2: b= "c"; break;
case 3: b= "d"; break;
case 4: b= "e"; break;
case 5: b= "f"; break;
case 6: b= "g"; break;
case 7: b= "h"; break;
case 8: b= "i"; break;
case 9: b= "j"; break;
case 10: b= "k"; break;
case 11: b= "l"; break;
case 12: b= "m"; break;
case 13: b= "n"; break;
case 14: b= "o"; break;
case 15: b= "p"; break;
case 16: b= "q"; break;
case 17: b= "r"; break;
case 18: b= "s"; break;
case 19: b= "t"; break;
case 20: b= "u"; break;
case 21: b= "v"; break;
case 22: b= "w"; break;
case 23: b= "x"; break;
case 24: b= "y"; break;
case 25: b= "z"; break;
case 26: b= "."; break;
case 27: b= " "; break;
}
return b;
}
/*
Returns an array of all the bots in the game.
*/
@ -1664,6 +1704,14 @@ RectDistanceSquared(origin)
return dx*dx + dy*dy + dz*dz;
}
/*
Does the extra check when adding bots
*/
doExtraCheck()
{
maps\mp\bots\_bot_internal::checkTheBots();
}
/*
A heap invarient comparitor, used for objects, objects with a higher X coord will be first in the heap.
*/