Advanced Strategic Command
Public Member Functions | Public Attributes | List of all members
ObjectType::FieldModification Struct Reference

#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. More...
 
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. More...
 
TerrainAccess terrainaccess
 The terrain on which this object can be placed. More...
 
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 More...
 
TerrainBits terrain_or
 

Detailed Description

Definition at line 58 of file objecttype.h.

Constructor & Destructor Documentation

ObjectType::FieldModification::FieldModification ( )

Definition at line 42 of file objecttype.cpp.

References terrain_and.

Member Function Documentation

void ObjectType::FieldModification::runTextIO ( PropertyContainer pc)

Member Data Documentation

TerrainType::MoveMalus ObjectType::FieldModification::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.

Definition at line 65 of file objecttype.h.

Referenced by ObjectType::read(), runTextIO(), and ObjectType::write().

TerrainType::MoveMalus ObjectType::FieldModification::movemalus_plus

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().

TerrainBits ObjectType::FieldModification::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

Definition at line 71 of file objecttype.h.

Referenced by FieldModification(), ObjectType::read(), runTextIO(), and ObjectType::write().

TerrainBits ObjectType::FieldModification::terrain_or

Definition at line 72 of file objecttype.h.

Referenced by PipeLayer::PipeLayer(), ObjectType::read(), runTextIO(), and ObjectType::write().

TerrainAccess ObjectType::FieldModification::terrainaccess

The terrain on which this object can be placed.

Definition at line 68 of file objecttype.h.

Referenced by ObjectType::read(), runTextIO(), and ObjectType::write().


The documentation for this struct was generated from the following files: