#include <objecttype.h>
Public Member Functions | |
| FieldModification () | |
| void | runTextIO (PropertyContainer &pc) |
Public Attributes | |
| TerrainType::MoveMalus | movemalus_plus |
| the movemalus_plus is added to the current movemalus of the field to form the new movemalus. Negative values are ok. | |
| TerrainType::MoveMalus | movemalus_abs |
| The movemalus_abs replaces the current movemalus of the field by a new one. Values of 0 and -1 won't affect the movemalus of the field, and values ranging from 1 to 9 must not be used. | |
| TerrainAccess | terrainaccess |
| The terrain on which this object can be placed. | |
| TerrainBits | terrain_and |
| the terrain properties of the field will be AND-masked with this field and then OR-masked with terrain_or to form the new terrain properties | |
| TerrainBits | terrain_or |
Definition at line 58 of file objecttype.h.
| ObjectType::FieldModification::FieldModification | ( | ) |
| void ObjectType::FieldModification::runTextIO | ( | PropertyContainer & | pc | ) |
Definition at line 1086 of file objecttype.cpp.
References PropertyContainer::addDFloatArray(), PropertyContainer::addTagArray(), PropertyContainer::closeBracket(), cmovemalitypenum, movemalus_abs, movemalus_plus, PropertyContainer::openBracket(), TerrainAccess::runTextIO(), terrain_and, terrain_or, terrainaccess, terrainProperties, and terrainPropertyNum.
Referenced by ObjectType::runTextIO().
the movemalus_plus is added to the current movemalus of the field to form the new movemalus. Negative values are ok.
Definition at line 62 of file objecttype.h.
Referenced by ObjectType::read(), runTextIO(), and ObjectType::write().
The movemalus_abs replaces the current movemalus of the field by a new one. Values of 0 and -1 won't affect the movemalus of the field, and values ranging from 1 to 9 must not be used.
Definition at line 65 of file objecttype.h.
Referenced by ObjectType::read(), runTextIO(), and ObjectType::write().
The terrain on which this object can be placed.
Definition at line 68 of file objecttype.h.
Referenced by runTextIO().
the terrain properties of the field will be AND-masked with this field and then OR-masked with terrain_or to form the new terrain properties
Definition at line 71 of file objecttype.h.
Referenced by FieldModification(), ObjectType::read(), runTextIO(), and ObjectType::write().
Definition at line 72 of file objecttype.h.
Referenced by PipeLayer::PipeLayer(), ObjectType::read(), runTextIO(), and ObjectType::write().
1.5.1