#include <tank/TankLib.h>#include <tank/TankContainer.h>#include <tank/TankPosition.h>#include <tank/TankState.h>#include <common/RandomGenerator.h>#include <common/OptionsTransient.h>#include <common/Defines.h>#include <landscapemap/LandscapeMaps.h>#include <GLEXT/GLState.h>#include <math.h>Go to the source code of this file.
Functions | |
| fixed | TankLib::getDistanceToTank (FixedVector &position, Tank *targetTank) |
| void | TankLib::getTanksSortedByDistance (ScorchedContext &context, FixedVector &position, std::list< std::pair< fixed, Tank * > > &result, unsigned int teams, fixed maxDistance) |
| bool | TankLib::intersection (ScorchedContext &context, FixedVector position, fixed xy, fixed yz, fixed power, int dist) |
| bool | TankLib::getSniperShotTowardsPosition (ScorchedContext &context, FixedVector &position, FixedVector &shootAt, fixed distForSniper, fixed &angleXYDegs, fixed &angleYZDegs, fixed &power, bool checkIntersection) |
| void | TankLib::getShotTowardsPosition (ScorchedContext &context, RandomGenerator &random, FixedVector &position, FixedVector &shootAt, fixed &angleXYDegs, fixed &angleYZDegs, fixed &power) |
| FixedVector & | TankLib::getVelocityVector (fixed xy, fixed yz) |
| FixedVector & | TankLib::getGunPosition (fixed xy, fixed yz) |
1.5.3