
Public Types | |
| typedef vector< const Vehicletype * > | Container |
Public Member Functions | |
| VehicleCounterFactory (GameMap *actmap) | |
| VehicleCounterFactory (const ContainerBase *container) | |
| ASCString | toString () |
| void | restart () |
| SelectionWidget * | spawnNextItem (PG_Widget *parent, const PG_Point &pos) |
| void | itemSelected (const SelectionWidget *widget, bool mouse) |
Protected Types | |
| typedef map< const Vehicletype *, int > | Counter |
Protected Member Functions | |
| void | calcCargoSummary (const ContainerBase *cb, Counter &summary) |
Protected Attributes | |
| Container::iterator | it |
| Container | items |
| Counter | counter |
| GameMap * | gamemap |
|
|
Definition at line 32 of file unitcounting.cpp. |
|
|
Definition at line 37 of file unitcounting.cpp. |
|
|
Definition at line 63 of file unitcounting.cpp. References GameMap::actplayer, calcCargoSummary(), cbbuildingentry, counter, GameMap::getField(), getTerrainBitType(), items, restart(), and vehicleComp(). |
|
|
Definition at line 87 of file unitcounting.cpp. References calcCargoSummary(), counter, items, restart(), and vehicleComp(). |
|
||||||||||||
|
Definition at line 41 of file unitcounting.cpp. References ContainerBase::getCargo(), and ContainerBase::getMap(). Referenced by VehicleCounterFactory(). |
|
||||||||||||
|
Implements SelectionItemFactory. Definition at line 60 of file unitcounting.cpp. |
|
|
Implements SelectionItemFactory. Definition at line 99 of file unitcounting.cpp. Referenced by VehicleCounterFactory(). |
|
||||||||||||
|
Implements SelectionItemFactory. Definition at line 105 of file unitcounting.cpp. References counter, gamemap, GameMap::getCurrentPlayer(), it, items, and PG_Rect::Width(). |
|
|
Definition at line 114 of file unitcounting.cpp. References counter, Vehicletype::getName(), and ASCString::toString(). |
|
|
Definition at line 38 of file unitcounting.cpp. Referenced by spawnNextItem(), toString(), and VehicleCounterFactory(). |
|
|
Definition at line 39 of file unitcounting.cpp. Referenced by spawnNextItem(). |
|
|
Definition at line 34 of file unitcounting.cpp. Referenced by restart(), and spawnNextItem(). |
|
|
Definition at line 35 of file unitcounting.cpp. Referenced by restart(), spawnNextItem(), and VehicleCounterFactory(). |
1.4.2