Game Class Reference

#include <Game.h>

Inheritance diagram for Game:

RemorseGame U8Game List of all members.

Public Member Functions

 Game ()
virtual ~Game ()
virtual bool loadFiles ()=0
virtual bool startGame ()=0
virtual bool startInitialUsecode ()=0
virtual void writeSaveInfo (ODataSource *ods)=0
virtual ProcId playIntroMovie ()=0
virtual ProcId playEndgameMovie ()=0
virtual void playCredits ()=0
virtual void playQuotes ()=0
 INTRINSIC (I_playEndgame)

Static Public Member Functions

static Gameget_instance ()
static GamecreateGame (GameInfo *info)

Static Protected Attributes

static Gamegame = 0

Detailed Description

Definition at line 26 of file Game.h.


Constructor & Destructor Documentation

Game::Game (  ) 

Definition at line 31 of file Game.cpp.

References game.

Game::~Game (  )  [virtual]

Definition at line 37 of file Game.cpp.

References game.


Member Function Documentation

Game * Game::createGame ( GameInfo info  )  [static]

Reimplemented in RemorseGame.

Definition at line 45 of file Game.cpp.

References GameInfo::GAME_REMORSE, GameInfo::GAME_U8, and GameInfo::type.

Referenced by GUIApp::startupGame().

static Game* Game::get_instance (  )  [inline, static]

Definition at line 31 of file Game.h.

References game.

Referenced by StartU8Process::run(), and MenuGump::selectEntry().

Game::INTRINSIC ( I_playEndgame   ) 

virtual bool Game::loadFiles (  )  [pure virtual]

load/init game's data files

Implemented in RemorseGame, and U8Game.

Referenced by GUIApp::startupGame().

virtual void Game::playCredits (  )  [pure virtual]

Implemented in RemorseGame, and U8Game.

Referenced by MenuGump::selectEntry().

virtual ProcId Game::playEndgameMovie (  )  [pure virtual]

Implemented in RemorseGame, and U8Game.

Referenced by MenuGump::selectEntry().

virtual ProcId Game::playIntroMovie (  )  [pure virtual]

Implemented in RemorseGame, and U8Game.

Referenced by StartU8Process::run(), and MenuGump::selectEntry().

virtual void Game::playQuotes (  )  [pure virtual]

Implemented in RemorseGame, and U8Game.

Referenced by MenuGump::selectEntry().

virtual bool Game::startGame (  )  [pure virtual]

initialize new game

Implemented in RemorseGame, and U8Game.

Referenced by GUIApp::newGame().

virtual bool Game::startInitialUsecode (  )  [pure virtual]

start initial usecode

Implemented in RemorseGame, and U8Game.

Referenced by GUIApp::newGame().

virtual void Game::writeSaveInfo ( ODataSource ods  )  [pure virtual]

write game-specific savegame info (avatar stats, equipment, ...)

Implemented in RemorseGame, and U8Game.

Referenced by GUIApp::writeSaveInfo().


Member Data Documentation

Game * Game::game = 0 [static, protected]

Reimplemented in RemorseGame.

Definition at line 55 of file Game.h.

Referenced by Game(), get_instance(), and ~Game().


The documentation for this class was generated from the following files:
Generated on Fri Jul 27 22:29:15 2007 for pentagram by  doxygen 1.4.7