
Public Member Functions | |
| BuildingConstruction () | |
| bool | init (Vehicle *vehicle) |
| bool | setup () |
| void | eval (const MapCoordinate &mc, ContainerBase *subject) |
| checks evaluates the field on which the cursor resides | |
| bool | setBuilding (const MapCoordinate &pos, ContainerBase *subject, int id) |
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 2213 of file guifunctions.cpp. References GameMap::sigMapDeletion. |
|
||||||||||||||||||||
|
Definition at line 2485 of file guifunctions.cpp. References NewGuiHost::getButton(), GuiIconHandler::host, GuiButton::registerFunc(), and PG_Widget::Show(). |
|
||||||||||||||||
|
Implements GuiFunction. Definition at line 2261 of file guifunctions.cpp. References actmap, GameMap::getField(), moveparams, and tmoveparams::movestatus. |
|
||||||||||||
|
checks evaluates the field on which the cursor resides
Reimplemented from GuiIconHandler. Definition at line 2542 of file guifunctions.cpp. References addButton(), NewGuiHost::disableButtons(), NewGuiHost::getButton(), GuiIconHandler::host, moveparams, tmoveparams::movestatus, GuiButton::registerFunc(), and PG_Widget::Show(). Referenced by execute(), and setBuilding(). |
|
||||||||||||||||
|
||||||||||||||||
|
Implements GuiFunction. Definition at line 2438 of file guifunctions.cpp. References IconRepository::getIcon(). |
|
||||||||||||||||
|
Implements GuiFunction. Definition at line 2468 of file guifunctions.cpp. References buildingTypeRepository, ASCString::format(), Resources::fuel, Resources::material, ContainerBaseType::name, and ContainerBaseType::productionCost. |
|
|
Definition at line 2225 of file guifunctions.cpp. References Vehicle::buildingconstructable(), buildingTypeRepository, moveparams, and tmoveparams::movestatus. Referenced by GuiFunctions::ConstructBuilding::execute(). |
|
||||||||||||||||
|
Definition at line 2493 of file guifunctions.cpp. References tfield::a, actmap, tfield::bdt, tfield::building, buildingTypeRepository, cbbuildingentry, chfahrend, GameMap::getField(), and getTerrainBitType(). Referenced by setBuilding(). |
|
||||||||||||||||
|
Definition at line 2278 of file guifunctions.cpp. References actmap, GameMap::cleartemps(), dispmessage2(), eval(), getNeighbouringFieldCoordinate(), Vehicle::getPosition(), moveparams, tmoveparams::movestatus, repaintMap, and search(). Referenced by GuiFunctions::ConstructBuilding::execute(), and execute(). |
|
|
Definition at line 2241 of file guifunctions.cpp. References addButton(), Vehicle::buildingconstructable(), buildingTypeRepository, NewGuiHost::disableButtons(), NewGuiHost::getButton(), Vehicle::getPosition(), GuiIconHandler::host, moveparams, tmoveparams::movestatus, GuiButton::registerFunc(), and PG_Widget::Show(). Referenced by GuiFunctions::ConstructBuilding::execute(). |
1.4.2