#include <GhostObject.h>
Inherits Snapshot.
Inherited by W3DGhostObjectManager.
Public Member Functions | |
| GhostObjectManager () | |
| virtual | ~GhostObjectManager () |
| virtual void | reset (void) |
| virtual GhostObject * | addGhostObject (Object *object, PartitionData *pd) |
| virtual void | removeGhostObject (GhostObject *mod) |
| virtual void | setLocalPlayerIndex (int index) |
| int | getLocalPlayerIndex (void) |
| virtual void | updateOrphanedObjects (int *playerIndexList, int numNonLocalPlayers) |
| virtual void | releasePartitionData (void) |
| saves data needed to later rebuild partition manager data. | |
| virtual void | restorePartitionData (void) |
| restores ghost objects into the partition manager. | |
| void | lockGhostObjects (Bool enableLock) |
| temporary lock on creating new ghost objects. Only used by map border resizing! | |
| void | saveLockGhostObjects (Bool enableLock) |
Public Member Functions inherited from Snapshot | |
| Snapshot (void) | |
| ~Snapshot (void) | |
Protected Member Functions | |
| virtual void | crc (Xfer *xfer) |
| run the "light" crc check on this data structure | |
| virtual void | xfer (Xfer *xfer) |
| virtual void | loadPostProcess (void) |
Protected Attributes | |
| Int | m_localPlayer |
| Bool | m_lockGhostObjects |
| Bool | m_saveLockGhostObjects |
| used to lock the ghost object system during a save/load | |
Definition at line 81 of file GhostObject.h.
| GhostObjectManager::GhostObjectManager | ( | void | ) |
Definition at line 139 of file GhostObject.cpp.
|
virtual |
Definition at line 148 of file GhostObject.cpp.
|
virtual |
Reimplemented in W3DGhostObjectManager.
Definition at line 162 of file GhostObject.cpp.
|
protectedvirtual |
run the "light" crc check on this data structure
Implements Snapshot.
Reimplemented in W3DGhostObjectManager.
Definition at line 195 of file GhostObject.cpp.
|
inline |
Definition at line 90 of file GhostObject.h.
|
protectedvirtual |
Load post process
Implements Snapshot.
Reimplemented in W3DGhostObjectManager.
Definition at line 221 of file GhostObject.cpp.
|
inline |
temporary lock on creating new ghost objects. Only used by map border resizing!
Definition at line 94 of file GhostObject.h.
|
virtual |
saves data needed to later rebuild partition manager data.
Reimplemented in W3DGhostObjectManager.
Definition at line 183 of file GhostObject.cpp.
|
virtual |
Reimplemented in W3DGhostObjectManager.
Definition at line 169 of file GhostObject.cpp.
|
virtual |
Reimplemented in W3DGhostObjectManager.
Definition at line 155 of file GhostObject.cpp.
|
virtual |
restores ghost objects into the partition manager.
Reimplemented in W3DGhostObjectManager.
Definition at line 189 of file GhostObject.cpp.
|
inline |
Definition at line 95 of file GhostObject.h.
|
inlinevirtual |
Reimplemented in W3DGhostObjectManager.
Definition at line 89 of file GhostObject.h.
|
virtual |
Reimplemented in W3DGhostObjectManager.
Definition at line 176 of file GhostObject.cpp.
|
protectedvirtual |
Xfer Method: Version Info: 1: Initial version
Implements Snapshot.
Reimplemented in W3DGhostObjectManager.
Definition at line 205 of file GhostObject.cpp.
|
protected |
Definition at line 100 of file GhostObject.h.
|
protected |
Definition at line 101 of file GhostObject.h.
|
protected |
used to lock the ghost object system during a save/load
Definition at line 102 of file GhostObject.h.