#include <W3DGhostObject.h>
Inherits GhostObjectManager.
Public Member Functions | |
| W3DGhostObjectManager () | |
| virtual | ~W3DGhostObjectManager () |
| virtual void | reset (void) |
| virtual GhostObject * | addGhostObject (Object *object, PartitionData *pd) |
| virtual void | removeGhostObject (GhostObject *mod) |
| virtual void | setLocalPlayerIndex (int index) |
| 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. | |
Public Member Functions inherited from GhostObjectManager | |
| GhostObjectManager () | |
| virtual | ~GhostObjectManager () |
| int | getLocalPlayerIndex (void) |
| 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) |
| virtual void | xfer (Xfer *xfer) |
| virtual void | loadPostProcess (void) |
Protected Attributes | |
| W3DGhostObject * | m_freeModules |
| W3DGhostObject * | m_usedModules |
Protected Attributes inherited from GhostObjectManager | |
| Int | m_localPlayer |
| Bool | m_lockGhostObjects |
| Bool | m_saveLockGhostObjects |
| used to lock the ghost object system during a save/load | |
Definition at line 73 of file W3DGhostObject.h.
| W3DGhostObjectManager::W3DGhostObjectManager | ( | void | ) |
Definition at line 844 of file W3DGhostObject.cpp.
|
virtual |
Definition at line 854 of file W3DGhostObject.cpp.
|
virtual |
Reimplemented from GhostObjectManager.
Definition at line 929 of file W3DGhostObject.cpp.
|
protectedvirtual |
|
protectedvirtual |
Load post process
Reimplemented from GhostObjectManager.
Definition at line 1252 of file W3DGhostObject.cpp.
|
virtual |
saves data needed to later rebuild partition manager data.
Reimplemented from GhostObjectManager.
Definition at line 1067 of file W3DGhostObject.cpp.
|
virtual |
Reimplemented from GhostObjectManager.
Definition at line 902 of file W3DGhostObject.cpp.
|
virtual |
Reimplemented from GhostObjectManager.
Definition at line 871 of file W3DGhostObject.cpp.
|
virtual |
restores ghost objects into the partition manager.
Reimplemented from GhostObjectManager.
Definition at line 1095 of file W3DGhostObject.cpp.
|
virtual |
Reimplemented from GhostObjectManager.
Definition at line 987 of file W3DGhostObject.cpp.
|
virtual |
When a game object/drawable dies, it is removed from the rest of the engine. It leaves behind a GhostObject in case any players didn't see the death and have a fogged view of the pre-death object. We need to manually determine if these orphaned GhostObjects ever become visible and are no longer needed
Reimplemented from GhostObjectManager.
Definition at line 1025 of file W3DGhostObject.cpp.
|
protectedvirtual |
Xfer Method Version Info: 1: Initial version
Reimplemented from GhostObjectManager.
Definition at line 1144 of file W3DGhostObject.cpp.
|
protected |
Definition at line 92 of file W3DGhostObject.h.
|
protected |
Definition at line 93 of file W3DGhostObject.h.