#include <engine/ScorchedContext.h>#include <common/FixedVector.h>#include <list>Go to the source code of this file.
Namespaces | |
| namespace | TankLib |
Defines | |
| #define | __INCLUDE_TankLibh_INCLUDE__ |
Functions | |
| bool | TankLib::intersection (ScorchedContext &context, FixedVector position, fixed xy, fixed yz, fixed power, int dist) |
| 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::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