#include <CaveSystem.h>
Inherits SubsystemInterface, and Snapshot.
Public Member Functions | |
| CaveSystem () | |
| ~CaveSystem () | |
| void | init () |
| void | reset () |
| void | update () |
| Bool | canSwitchIndexToIndex (Int oldIndex, Int newIndex) |
| void | registerNewCave (Int theIndex) |
| void | unregisterCave (Int theIndex) |
| TunnelTracker * | getTunnelTrackerForCaveIndex (Int theIndex) |
Public Member Functions inherited from SubsystemInterface | |
| SubsystemInterface () | |
| virtual | ~SubsystemInterface () |
| virtual void | postProcessLoad () |
| virtual void | draw (void) |
| void | UPDATE (void) |
| void | DRAW (void) |
| AsciiString | getName (void) |
| void | setName (AsciiString name) |
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) |
Additional Inherited Members | |
Protected Attributes inherited from SubsystemInterface | |
| AsciiString | m_name |
System responsible for Crates as code objects - ini, new/delete etc
Definition at line 45 of file CaveSystem.h.
| CaveSystem::CaveSystem | ( | ) |
Definition at line 39 of file CaveSystem.cpp.
| CaveSystem::~CaveSystem | ( | ) |
Definition at line 43 of file CaveSystem.cpp.
Definition at line 68 of file CaveSystem.cpp.
|
inlineprotectedvirtual |
run the "light" crc check on this data structure
Implements Snapshot.
Definition at line 64 of file CaveSystem.h.
| TunnelTracker * CaveSystem::getTunnelTrackerForCaveIndex | ( | Int | theIndex | ) |
Definition at line 121 of file CaveSystem.cpp.
|
virtual |
Implements SubsystemInterface.
Definition at line 47 of file CaveSystem.cpp.
|
inlineprotectedvirtual |
post process phase for loading save games. All save systems have their xfer run using XferLoad mode, and then all systems each have their post process run
Implements Snapshot.
Definition at line 66 of file CaveSystem.h.
| void CaveSystem::registerNewCave | ( | Int | theIndex | ) |
Definition at line 92 of file CaveSystem.cpp.
|
virtual |
Implements SubsystemInterface.
Definition at line 51 of file CaveSystem.cpp.
| void CaveSystem::unregisterCave | ( | Int | theIndex | ) |
Definition at line 114 of file CaveSystem.cpp.
|
virtual |
Implements SubsystemInterface.
Definition at line 64 of file CaveSystem.cpp.
|
protectedvirtual |
Xfer Method Version Info 1: Initial version
Implements Snapshot.
Definition at line 139 of file CaveSystem.cpp.