TankLib.h File Reference

#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)
FixedVectorTankLib::getVelocityVector (fixed xy, fixed yz)
FixedVectorTankLib::getGunPosition (fixed xy, fixed yz)


Define Documentation

#define __INCLUDE_TankLibh_INCLUDE__

Definition at line 22 of file TankLib.h.


Generated on Mon Feb 16 15:14:59 2009 for Scorched3D by  doxygen 1.5.3