#include <ed_mapcomponent.h>
Inheritance diagram for BuildingItem:

Public Member Functions | |
| BuildingItem (const BuildingType *building) | |
| ASCString | getName () const |
| virtual int | displayWidth () const |
| virtual int | displayHeight () const |
| virtual bool | supportMultiFieldPlacement () const |
| virtual int | place (const MapCoordinate &mc) const |
| virtual void | display (Surface &s, const SPoint &pos) const |
| virtual MapComponent * | clone () const |
| virtual int | getID () const |
Static Public Member Functions | |
| static int | Width () |
| static int | Height () |
Protected Member Functions | |
| Surface & | getClippingSurface () const |
|
|
Definition at line 108 of file ed_mapcomponent.h. Referenced by clone(). |
|
|
Implements MapComponent. Definition at line 117 of file ed_mapcomponent.h. References BuildingItem(). |
|
||||||||||||
|
|
Implements MapComponent. Definition at line 112 of file ed_mapcomponent.h. References Height(). Referenced by display(). |
|
|
Implements MapComponent. Definition at line 110 of file ed_mapcomponent.h. References Width(). Referenced by display(). |
|
|
Implements MapComponent. Definition at line 106 of file ed_mapcomponent.h. |
|
|
Definition at line 118 of file ed_mapcomponent.h. References ContainerBaseType::id. |
|
|
Definition at line 109 of file ed_mapcomponent.h. References ContainerBaseType::getName(). |
|
|
Definition at line 113 of file ed_mapcomponent.h. References fielddisty, and fieldsizey. Referenced by displayHeight(), and Maped_MainScreenWidget::Maped_MainScreenWidget(). |
|
|
Implements MapComponent. Definition at line 189 of file edselfnt.cpp. References TerrainAccess::accessible(), actmap, choice_dlg(), BuildingType::construction_steps, BuildingType::fieldExists(), GameMap::getCursor(), GameMap::getField(), BuildingType::getFieldCoordinate(), SelectionHolder::getPlayer(), putbuilding(), selection, and BuildingType::terrainaccess. |
|
|
Reimplemented from MapComponent. Definition at line 114 of file ed_mapcomponent.h. |
|
|
Definition at line 111 of file ed_mapcomponent.h. References fielddisthalfx, fielddistx, and fieldsizex. Referenced by displayWidth(), and Maped_MainScreenWidget::Maped_MainScreenWidget(). |
1.4.2