
Public Member Functions | |
| AttackGui () | |
| void | setupWeapons (VehicleAttack *va) |
| void | eval (const MapCoordinate &mc, ContainerBase *subject) |
| checks evaluates the field on which the cursor resides | |
Protected Member Functions | |
| bool | available (const MapCoordinate &pos, ContainerBase *subject, int num) |
| void | execute (const MapCoordinate &pos, ContainerBase *subject, int num) |
| Surface & | getImage (const MapCoordinate &pos, ContainerBase *subject, int num) |
| ASCString | getName (const MapCoordinate &pos, ContainerBase *subject, int num) |
| bool | checkForKey (const SDL_KeyboardEvent *key, int modifier, int num) |
|
|
Definition at line 79 of file guifunctions.cpp. References GameMap::sigMapDeletion. |
|
||||||||||||||||
|
Implements GuiFunction. Definition at line 124 of file guifunctions.cpp. |
|
||||||||||||||||
|
Reimplemented from GuiFunction. Definition at line 88 of file guifunctions.cpp. |
|
||||||||||||
|
checks evaluates the field on which the cursor resides
Reimplemented from GuiIconHandler. Definition at line 205 of file guifunctions.cpp. References NewGuiHost::disableButtons(), NewGuiHost::getButton(), GuiIconHandler::host, GuiButton::registerFunc(), and PG_Widget::Show(). |
|
||||||||||||||||
|
Implements GuiFunction. Definition at line 135 of file guifunctions.cpp. References actmap, PendingVehicleActions::attack, GameMap::cleartemps(), dispmessage2(), VehicleAttack::execute(), pendingVehicleActions, NewGuiHost::popIconHandler(), repaintMap, setupWeapons(), and updateFieldInfo. |
|
||||||||||||||||
|
Implements GuiFunction. Definition at line 155 of file guifunctions.cpp. References cwbombb, cwcannonb, cwcruisemissileb, cwlargemissileb, cwmachinegunb, cwsmallmissileb, cwtorpedob, and IconRepository::getIcon(). |
|
||||||||||||||||
|
Implements GuiFunction. Definition at line 173 of file guifunctions.cpp. References actmap, tfight::av, AttackWeap::building, tfight::calc(), cwaffentypen, tfight::tavalues::damage, tfight::dv, ASCString::format(), VehicleAttack::getAttacker(), GameMap::getField(), log2(), AttackWeap::object, tfight::tavalues::strength, AttackWeap::vehicle, MapCoordinate::x, and MapCoordinate::y. |
|
|
Definition at line 83 of file guifunctions.cpp. Referenced by GuiFunctions::Attack::execute(), and execute(). |
1.4.2