#include <SidesList.h>
Inherits MemoryPoolObject, and Snapshot.
Public Types | |
| enum | { UNLIMITED_REBUILDS =0xFFFFFFFF } |
| enum | { MAX_RESOURCE_GATHERERS = 10 } |
Static Public Member Functions | |
| static void | parseStructure (INI *ini, void *instance, void *, const void *) |
Protected Member Functions | |
| virtual void | crc (Xfer *xfer) |
| virtual void | xfer (Xfer *xfer) |
| virtual void | loadPostProcess (void) |
Protected Member Functions inherited from MemoryPoolObject | |
| virtual | ~MemoryPoolObject () |
| void * | operator new (size_t s) |
| void | operator delete (void *p) |
| virtual MemoryPool * | getObjectMemoryPool ()=0 |
Protected Attributes | |
| AsciiString | m_buildingName |
| The name of this building. | |
| AsciiString | m_templateName |
| The thing template name for this model's info. | |
| Coord3D | m_location |
| The location of the object. | |
| Coord2D | m_rallyPointOffset |
| Offset to the natural rally point. | |
| Real | m_angle |
| Initial orientation of the building. | |
| Bool | m_isInitiallyBuilt |
| Whether the building is built at the start of the game. | |
| UnsignedInt | m_numRebuilds |
| Number of rebuilds allowed. | |
| BuildListInfo * | m_nextBuildList |
| linked list. | |
| AsciiString | m_script |
| Int | m_health |
| Bool | m_whiner |
| Bool | m_unsellable |
| Bool | m_repairable |
| Bool | m_automaticallyBuild |
| If true, the ai will build. If false, script has to enable this. | |
| RenderObjClass * | m_renderObj |
| object that renders in the 3d scene. | |
| Shadow * | m_shadowObj |
| object that renders shadows in the 3d scane. | |
| Bool | m_selected |
| True if the obj is selected in the editor. | |
| ObjectID | m_objectID |
| the object on the map instantiated by this info | |
| UnsignedInt | m_objectTimestamp |
| frame when object was built | |
| Bool | m_underConstruction |
| True if being constructed by dozer. | |
| ObjectID | m_resourceGatherers [MAX_RESOURCE_GATHERERS] |
| gatherers for this supply center type building. | |
| Bool | m_isSupplyBuilding |
| Uses gatherers to get supplies. | |
| Int | m_desiredGatherers |
| Number of gatherers desired. | |
| Int | m_currentGatherers |
| Number of gatherers available. | |
| Bool | m_priorityBuild |
| Is priority build. | |
This is a class that describes an entry in the build list.
Definition at line 250 of file SidesList.h.
| anonymous enum |
| Enumerator | |
|---|---|
| UNLIMITED_REBUILDS | |
Definition at line 265 of file SidesList.h.
| anonymous enum |
| Enumerator | |
|---|---|
| MAX_RESOURCE_GATHERERS | |
Definition at line 266 of file SidesList.h.
| BuildListInfo::BuildListInfo | ( | void | ) |
BuildListInfo - Constructor.
Definition at line 910 of file SidesList.cpp.
|
protectedvirtual |
|
inline |
Definition at line 374 of file SidesList.h.
| BuildListInfo * BuildListInfo::duplicate | ( | void | ) |
BuildListInfo - Duplicate - note - if linked, duplicates linked items.
Definition at line 991 of file SidesList.cpp.
|
inline |
Definition at line 334 of file SidesList.h.
|
inline |
Gets the name.
Definition at line 326 of file SidesList.h.
|
inline |
Definition at line 368 of file SidesList.h.
|
inline |
Definition at line 366 of file SidesList.h.
Definition at line 364 of file SidesList.h.
|
inline |
Definition at line 337 of file SidesList.h.
|
inline |
Definition at line 332 of file SidesList.h.
|
inline |
Definition at line 325 of file SidesList.h.
|
inline |
Definition at line 329 of file SidesList.h.
|
inline |
Definition at line 352 of file SidesList.h.
|
inline |
Definition at line 354 of file SidesList.h.
|
inline |
Definition at line 333 of file SidesList.h.
|
inline |
Definition at line 343 of file SidesList.h.
|
inline |
Definition at line 340 of file SidesList.h.
|
inline |
Definition at line 336 of file SidesList.h.
|
inline |
Definition at line 345 of file SidesList.h.
|
inline |
Gets the name.
Definition at line 327 of file SidesList.h.
|
inline |
Definition at line 339 of file SidesList.h.
|
inline |
Definition at line 338 of file SidesList.h.
|
inline |
Definition at line 380 of file SidesList.h.
|
inline |
Definition at line 360 of file SidesList.h.
|
inline |
returns true if has enough rebuilds left to build again
Definition at line 386 of file SidesList.h.
|
inline |
Definition at line 335 of file SidesList.h.
|
inline |
Definition at line 359 of file SidesList.h.
|
inline |
Definition at line 348 of file SidesList.h.
|
inline |
Definition at line 362 of file SidesList.h.
|
inline |
Definition at line 356 of file SidesList.h.
|
protectedvirtual |
|
inline |
Definition at line 358 of file SidesList.h.
|
static |
Definition at line 964 of file SidesList.cpp.
|
inline |
Definition at line 315 of file SidesList.h.
|
inline |
Definition at line 317 of file SidesList.h.
|
inline |
Definition at line 369 of file SidesList.h.
|
inline |
Definition at line 367 of file SidesList.h.
Definition at line 365 of file SidesList.h.
|
inline |
Definition at line 319 of file SidesList.h.
|
inline |
Definition at line 316 of file SidesList.h.
|
inline |
Definition at line 314 of file SidesList.h.
|
inline |
Definition at line 313 of file SidesList.h.
|
inline |
Definition at line 312 of file SidesList.h.
|
inline |
Definition at line 351 of file SidesList.h.
|
inline |
Definition at line 353 of file SidesList.h.
|
inline |
Definition at line 342 of file SidesList.h.
|
inline |
Definition at line 322 of file SidesList.h.
|
inline |
Definition at line 318 of file SidesList.h.
|
inline |
Definition at line 347 of file SidesList.h.
|
inline |
Definition at line 344 of file SidesList.h.
|
inline |
Definition at line 363 of file SidesList.h.
|
inline |
Definition at line 328 of file SidesList.h.
|
inline |
Definition at line 357 of file SidesList.h.
|
inline |
Definition at line 321 of file SidesList.h.
|
inline |
Definition at line 320 of file SidesList.h.
|
protectedvirtual |
Xfer method Version Info: 1: Initial version
Implements Snapshot.
Definition at line 1022 of file SidesList.cpp.
|
protected |
Initial orientation of the building.
Definition at line 283 of file SidesList.h.
|
protected |
If true, the ai will build. If false, script has to enable this.
Definition at line 292 of file SidesList.h.
|
protected |
The name of this building.
Definition at line 279 of file SidesList.h.
|
protected |
Number of gatherers available.
Definition at line 307 of file SidesList.h.
|
protected |
Number of gatherers desired.
Definition at line 306 of file SidesList.h.
|
protected |
Definition at line 288 of file SidesList.h.
|
protected |
Whether the building is built at the start of the game.
Definition at line 284 of file SidesList.h.
|
protected |
Uses gatherers to get supplies.
Definition at line 305 of file SidesList.h.
|
protected |
The location of the object.
Definition at line 281 of file SidesList.h.
|
protected |
linked list.
Definition at line 286 of file SidesList.h.
|
protected |
Number of rebuilds allowed.
Definition at line 285 of file SidesList.h.
|
protected |
the object on the map instantiated by this info
Definition at line 301 of file SidesList.h.
|
protected |
frame when object was built
Definition at line 302 of file SidesList.h.
|
protected |
Is priority build.
Definition at line 308 of file SidesList.h.
|
protected |
Offset to the natural rally point.
Definition at line 282 of file SidesList.h.
|
protected |
object that renders in the 3d scene.
Definition at line 296 of file SidesList.h.
|
protected |
Definition at line 291 of file SidesList.h.
|
protected |
gatherers for this supply center type building.
Definition at line 304 of file SidesList.h.
|
protected |
Definition at line 287 of file SidesList.h.
|
protected |
True if the obj is selected in the editor.
Definition at line 298 of file SidesList.h.
|
protected |
object that renders shadows in the 3d scane.
Definition at line 297 of file SidesList.h.
|
protected |
The thing template name for this model's info.
Definition at line 280 of file SidesList.h.
|
protected |
True if being constructed by dozer.
Definition at line 303 of file SidesList.h.
|
protected |
Definition at line 290 of file SidesList.h.
|
protected |
Definition at line 289 of file SidesList.h.