#include <GLWTracker.h>
Public Member Functions | |
| GLWTankTracker () | |
| virtual | ~GLWTankTracker () |
| virtual void | draw () |
| virtual void | currentChanged (unsigned int id, float valueX, float valueY) |
| REGISTER_CLASS_HEADER (GLWTankTracker) | |
Definition at line 60 of file GLWTracker.h.
| GLWTankTracker::GLWTankTracker | ( | ) |
Definition at line 86 of file GLWTracker.cpp.
References GLWTracker::setHandler(), GLWidget::setToolTip(), and ToolTip::ToolTipHelp.
| GLWTankTracker::~GLWTankTracker | ( | ) | [virtual] |
Definition at line 100 of file GLWTracker.cpp.
| void GLWTankTracker::draw | ( | ) | [virtual] |
Reimplemented from GLWidget.
Definition at line 104 of file GLWTracker.cpp.
References fixed::asFloat(), GLWidget::draw(), TankContainer::getCurrentTank(), Tank::getPosition(), TankPosition::getRotationGunXY(), TankPosition::getRotationGunYZ(), TankState::getState(), Tank::getState(), ScorchedContext::getTankContainer(), ScorchedClient::instance(), GLWTracker::setCurrentX(), GLWTracker::setCurrentY(), and TankState::sNormal.
| void GLWTankTracker::currentChanged | ( | unsigned int | id, | |
| float | valueX, | |||
| float | valueY | |||
| ) | [virtual] |
Implements GLWTrackerI.
Definition at line 119 of file GLWTracker.cpp.
References fixed::fromFloat(), TankContainer::getCurrentTank(), GLWidget::getId(), Tank::getPosition(), TankState::getState(), Tank::getState(), ScorchedContext::getTankContainer(), ScorchedClient::instance(), TankPosition::rotateGunXY(), TankPosition::rotateGunYZ(), and TankState::sNormal.
| GLWTankTracker::REGISTER_CLASS_HEADER | ( | GLWTankTracker | ) |
1.5.3