#include <Game.h>
Inheritance diagram for Game:
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 Game * | get_instance () |
static Game * | createGame (GameInfo *info) |
Static Protected Attributes | |
static Game * | game = 0 |
Definition at line 26 of file Game.h.
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] |
virtual ProcId Game::playEndgameMovie | ( | ) | [pure virtual] |
virtual ProcId Game::playIntroMovie | ( | ) | [pure virtual] |
Implemented in RemorseGame, and U8Game.
Referenced by StartU8Process::run(), and MenuGump::selectEntry().
virtual void Game::playQuotes | ( | ) | [pure virtual] |
virtual bool Game::startGame | ( | ) | [pure virtual] |
virtual bool Game::startInitialUsecode | ( | ) | [pure virtual] |
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().
Game * Game::game = 0 [static, protected] |
Reimplemented in RemorseGame.
Definition at line 55 of file Game.h.
Referenced by Game(), get_instance(), and ~Game().