#include <reactionfire.h>
Inheritance diagram for tsearchreactionfireingunits:

Public Member Functions | |
| tsearchreactionfireingunits (void) | |
| void | init (Vehicle *eht, const AStar3D::Path &fieldlist) |
| void | init (Vehicle *eht, const MapCoordinate3D &pos) |
| int | checkfield (const MapCoordinate3D &pos, Vehicle *&eht, MapDisplayInterface *md) |
| virtual int | finalCheck (MapDisplayInterface *md, int currentPlayer) |
| ~tsearchreactionfireingunits () | |
Protected Types | |
| typedef map< const Vehicle *, int > | VisibleUnits |
Protected Member Functions | |
| int | attack (Vehicle *attacker, Vehicle *target, MapDisplayInterface *md) |
| void | addunit (Vehicle *vehicle) |
| void | removeunit (Vehicle *vehicle) |
Protected Attributes | |
| VisibleUnits | visibleUnits |
Static Protected Attributes | |
| static int | maxshootdist [8] = { -1, -1, -1, -1, -1, -1, -1, -1 } |
|
|
Definition at line 82 of file reactionfire.h. |
|
|
Definition at line 149 of file reactionfire.cpp. |
|
|
Definition at line 460 of file reactionfire.cpp. References tunitlist::next. |
|
|
Definition at line 269 of file reactionfire.cpp. References ContainerBase::color, tunitlist::eht, and tunitlist::next. |
|
||||||||||||||||
|
Definition at line 299 of file reactionfire.cpp. References actmap, attackpossible(), tfight::av, AttackWeap::count, MapDisplayInterface::cursor_goto(), tfight::tavalues::damage, tfight::dv, fieldvisiblenow(), ContainerBase::getMap(), GameMap::getPlayerView(), Vehicle::getPosition(), AttackWeap::num, releasetimeslice(), MapDisplayInterface::showBattle(), AttackWeap::strength, ticker, ASCString::toString(), updateFieldInfo, Vehicle::xpos, and Vehicle::ypos. Referenced by checkfield(), and finalCheck(). |
|
||||||||||||||||
|
Implements treactionfire. Definition at line 374 of file reactionfire.cpp. References actmap, attack(), cgp_initialMapVisibility, tunitlist::eht, evaluatevisibilityfield(), fieldvisiblenow(), MapCoordinate3D::getBitmappedHeight(), getfield(), GameMap::getgameparameter(), MapCoordinate3D::getNumericalHeight(), Vehicle::height, tunitlist::next, npop, npush, tfield::vehicle, MapCoordinate::x, Vehicle::xpos, MapCoordinate::y, and Vehicle::ypos. Referenced by JumpDrive::jump(). |
|
||||||||||||
|
Implements treactionfire. Definition at line 420 of file reactionfire.cpp. References actmap, attack(), beeline(), fieldvisiblenow(), GameMap::getField(), GameMap::getPlayer(), GameMap::getUnit(), maxshootdist, and visibleUnits. Referenced by JumpDrive::jump(). |
|
||||||||||||
|
Definition at line 155 of file reactionfire.cpp. References MapCoordinate3D::getNumericalHeight(), MapCoordinate::x, and MapCoordinate::y. |
|
||||||||||||
|
Implements treactionfire. Definition at line 245 of file reactionfire.cpp. References log2(), and maxint. Referenced by JumpDrive::jump(). |
|
|
Definition at line 279 of file reactionfire.cpp. References ContainerBase::color, tunitlist::eht, and tunitlist::next. |
|
|
Definition at line 147 of file reactionfire.cpp. Referenced by finalCheck(). |
|
|
Definition at line 83 of file reactionfire.h. Referenced by finalCheck(). |
1.4.2