
Public Member Functions | |
| VehicleBuildingGui () | |
| bool | init (Vehicle *vehicle) |
| 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 id) |
| void | execute (const MapCoordinate &pos, ContainerBase *subject, int id) |
| Surface & | getImage (const MapCoordinate &pos, ContainerBase *subject, int id) |
| ASCString | getName (const MapCoordinate &pos, ContainerBase *subject, int id) |
| void | search (const MapCoordinate &pos, int &num, int pass) |
| void | addButton (int &num, const MapCoordinate &mc, ContainerBase *subject, int id) |
|
|
Definition at line 2002 of file guifunctions.cpp. References GameMap::sigMapDeletion. |
|
||||||||||||||||||||
|
Definition at line 2083 of file guifunctions.cpp. References NewGuiHost::getButton(), GuiIconHandler::host, GuiButton::registerFunc(), and PG_Widget::Show(). Referenced by search(). |
|
||||||||||||||||
|
Implements GuiFunction. Definition at line 2025 of file guifunctions.cpp. |
|
||||||||||||
|
checks evaluates the field on which the cursor resides
Reimplemented from GuiIconHandler. Definition at line 2116 of file guifunctions.cpp. References actmap, beeline(), NewGuiHost::disableButtons(), NewGuiHost::getButton(), Vehicle::getPosition(), GuiIconHandler::host, GuiButton::registerFunc(), search(), PG_Widget::Show(), MapCoordinate::x, GameMap::xsize, MapCoordinate::y, and GameMap::ysize. |
|
||||||||||||||||
|
Implements GuiFunction. Definition at line 2030 of file guifunctions.cpp. References actmap, GameMap::cleartemps(), Vehicle::constructvehicle(), evaluateviewcalculation(), ContainerBase::getOwner(), Vehicle::getPosition(), Vehicle::height, logtoreplayinfo(), moveparams, tmoveparams::movestatus, NewGuiHost::popIconHandler(), repaintMap, rpl_buildtnk4, updateFieldInfo, vehicleTypeRepository, MapCoordinate::x, and MapCoordinate::y. |
|
||||||||||||||||
|
Implements GuiFunction. Definition at line 2045 of file guifunctions.cpp. References GuiFunctions::buildGuiIcon(), IconRepository::getIcon(), Vehicletype::getImage(), and vehicleTypeRepository. |
|
||||||||||||||||
|
Implements GuiFunction. Definition at line 2066 of file guifunctions.cpp. References Resources::energy, ASCString::format(), Resources::material, ContainerBaseType::name, ContainerBaseType::productionCost, and vehicleTypeRepository. |
|
|
Definition at line 2013 of file guifunctions.cpp. References getNeighbouringFieldCoordinate(), Vehicle::getPosition(), and search(). Referenced by GuiFunctions::BuildVehicle::execute(). |
|
||||||||||||||||
1.4.2