#include <terraintype.h>
Inheritance diagram for TerrainType:

Public Member Functions | |
| int | getID () const |
| ASCString | getName () const |
| TerrainType () | |
| void | runTextIO (PropertyContainer &pc) |
| void | read (tnstream &stream) |
| void | write (tnstream &stream) const |
| int | getMemoryFootprint () const |
| ~TerrainType () | |
Public Attributes | |
| int | id |
| vector< int > | secondaryIDs |
| when loading a file and these IDs are encountered, this object will be used. | |
| ASCString | name |
| Weather * | weather [cwettertypennum] |
Classes | |
| class | MoveMalus |
| class | Weather |
Definition at line 72 of file terraintype.h.
|
|
Definition at line 110 of file terraintype.cpp. References cwettertypennum, and weather. |
|
|
Definition at line 363 of file terraintype.cpp. References cwettertypennum, and weather. |
|
|
Implements MapItemType. Definition at line 79 of file terraintype.h. |
|
|
Definition at line 342 of file terraintype.cpp. References cwettertypennum, TerrainType::Weather::getMemoryFootprint(), and weather. |
|
|
Implements MapItemType. Definition at line 81 of file terraintype.h. References name. |
|
|
Implements LoadableItemType. Definition at line 281 of file terraintype.cpp. References cwettertypennum, name, TerrainType::Weather::read(), terrain_version, and weather. |
|
|
Implements LoadableItemType. Definition at line 427 of file terraintype.cpp. References cwettertypennum, name, TerrainType::Weather::runTextIO(), secondaryIDs, weather, and weatherTags. |
|
|
Implements LoadableItemType. Definition at line 319 of file terraintype.cpp. References cwettertypennum, name, terrain_version, weather, and TerrainType::Weather::write(). |
|
|
Definition at line 74 of file terraintype.h. Referenced by tfield::getmovemalus(), ItemFiltrationSystem::isFiltered(), TerrainType::Weather::runTextIO(), tfield::setparams(), transformMap(), viewterraininfo(), and tspfldloaders::writefields(). |
|
|
Definition at line 79 of file terraintype.h. Referenced by DashboardPanel::eval(), getName(), tfield::getName(), read(), runTextIO(), terrainComp(), and write(). |
|
|
when loading a file and these IDs are encountered, this object will be used.
Definition at line 77 of file terraintype.h. Referenced by runTextIO(). |
|
1.4.2