Public Member Functions | Protected Member Functions | Private Types | Private Attributes

WFGame Class Reference

Collaboration diagram for WFGame:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 WFGame (const int nStartingLevel=0)
 ~WFGame ()
void RunLevel (_DiskFile *levelFile)
void RunGameScript ()
SMemPoolMessagePortMemPool ()
void WriteSystemMailbox (int boxnum, Scalar value)
Scalar ReadSystemMailbox (int boxnum) const

Protected Member Functions

void DistributorLogo ()
void PublisherLogo ()
void DeveloperLogo ()

Private Types

enum  { MSGPORTPOOLSIZE = 500 }

Private Attributes

Display_display
VideoMemory_videoMemory
ViewPort_viewPort
SMemPool_msgPortMemPool
int32 _desiredLevelNum
int32 _overrideLevelNum
_DiskFile_gameFile
DiskTOC _gameTOC

Detailed Description

Definition at line 50 of file game.hp.


Member Enumeration Documentation

anonymous enum [private]
Enumerator:
MSGPORTPOOLSIZE 

Definition at line 82 of file game.hp.


Constructor & Destructor Documentation

WFGame::WFGame ( const int  nStartingLevel = 0  ) 
WFGame::~WFGame (  ) 

Member Function Documentation

void WFGame::DeveloperLogo (  )  [protected]
void WFGame::DistributorLogo (  )  [protected]
INLINE SMemPool * WFGame::MessagePortMemPool (  ) 

Definition at line 28 of file game.hpi.

References _msgPortMemPool, assert, and ValidPtr().

Referenced by Level::ConstructStartupData().

void WFGame::PublisherLogo (  )  [protected]
Scalar WFGame::ReadSystemMailbox ( int  boxnum  )  const

Definition at line 368 of file game.cc.

References _desiredLevelNum, assert, RangeCheck, and Scalar::zero.

Referenced by GameMailboxes::ReadMailbox().

void WFGame::RunGameScript (  ) 
void WFGame::RunLevel ( _DiskFile levelFile  ) 
void WFGame::WriteSystemMailbox ( int  boxnum,
Scalar  value 
)

Definition at line 388 of file game.cc.

References _desiredLevelNum, AssertMsg, DBSTREAM1, RangeCheck, and Scalar::WholePart().

Referenced by GameMailboxes::WriteMailbox().


Member Data Documentation

Definition at line 86 of file game.hp.

Referenced by ReadSystemMailbox(), RunGameScript(), and WriteSystemMailbox().

Definition at line 77 of file game.hp.

Referenced by RunLevel(), WFGame(), and ~WFGame().

Definition at line 88 of file game.hp.

Referenced by RunGameScript(), WFGame(), and ~WFGame().

Definition at line 89 of file game.hp.

Referenced by RunGameScript().

Definition at line 83 of file game.hp.

Referenced by MessagePortMemPool(), WFGame(), and ~WFGame().

Definition at line 87 of file game.hp.

Referenced by RunGameScript().

Definition at line 78 of file game.hp.

Referenced by RunLevel(), WFGame(), and ~WFGame().

Definition at line 79 of file game.hp.

Referenced by RunLevel(), WFGame(), and ~WFGame().


The documentation for this class was generated from the following files: