#include <containerbasetype.h>
Public Types | |
| enum | { In = 1, Out = 2, Docking = 4 } |
Public Member Functions | |
| TransportationIO () | |
| void | runTextIO (PropertyContainer &pc) |
| void | read (tnstream &stream) |
| void | write (tnstream &stream) const |
Public Attributes | |
| int | mode |
| int | height_abs |
| a loadable unit must be on this level of height; 0 if not used | |
| int | height_rel |
| a height of a loadable unit have this height relative to the container; -100 if not used | |
| int | container_height |
| the container must be on this height | |
| int | vehicleCategoriesLoadable |
| bitmapped: vehicle categories that may enter the container | |
| int | dockingHeight_abs |
| int | dockingHeight_rel |
| std::bitset< 64 > | requiresUnitFeature |
| int | movecost |
| bool | disableAttack |
Static Public Attributes | |
| static const int | entranceModeNum = 3 |
|
|
Definition at line 137 of file containerbasetype.h. |
|
|
Definition at line 121 of file containerbasetype.cpp. References container_height, disableAttack, dockingHeight_abs, dockingHeight_rel, height_abs, height_rel, mode, movecost, and vehicleCategoriesLoadable. |
|
|
Definition at line 327 of file containerbasetype.cpp. References container_height, Vehicletype::convertOldFunctions(), disableAttack, dockingHeight_abs, dockingHeight_rel, height_abs, height_rel, mode, movecost, requiresUnitFeature, strrr(), and vehicleCategoriesLoadable. |
|
|
|
Definition at line 356 of file containerbasetype.cpp. References container_height, disableAttack, dockingHeight_abs, dockingHeight_rel, height_abs, height_rel, mode, movecost, requiresUnitFeature, vehicleCategoriesLoadable, tnstream::writeBitset(), and tnstream::writeInt(). |
|
|
the container must be on this height
Definition at line 149 of file containerbasetype.h. Referenced by read(), runTextIO(), TransportationIO(), and write(). |
|
|
Definition at line 162 of file containerbasetype.h. Referenced by read(), runTextIO(), TransportationIO(), and write(). |
|
|
Definition at line 154 of file containerbasetype.h. Referenced by read(), runTextIO(), TransportationIO(), and write(). |
|
|
Definition at line 156 of file containerbasetype.h. Referenced by read(), runTextIO(), TransportationIO(), and write(). |
|
|
Definition at line 136 of file containerbasetype.h. Referenced by runTextIO(). |
|
|
a loadable unit must be on this level of height; 0 if not used
Definition at line 143 of file containerbasetype.h. Referenced by read(), runTextIO(), TransportationIO(), and write(). |
|
|
a height of a loadable unit have this height relative to the container; -100 if not used
Definition at line 146 of file containerbasetype.h. Referenced by read(), runTextIO(), TransportationIO(), and write(). |
|
|
Definition at line 138 of file containerbasetype.h. Referenced by read(), runTextIO(), TransportationIO(), and write(). |
|
|
Definition at line 160 of file containerbasetype.h. Referenced by read(), runTextIO(), TransportationIO(), and write(). |
|
|
Definition at line 158 of file containerbasetype.h. Referenced by read(), runTextIO(), and write(). |
|
|
bitmapped: vehicle categories that may enter the container
Definition at line 152 of file containerbasetype.h. Referenced by read(), runTextIO(), TransportationIO(), and write(). |
1.4.2