RemorseGame Class Reference

#include <RemorseGame.h>

Inheritance diagram for RemorseGame:

Game List of all members.

Public Member Functions

 RemorseGame ()
virtual ~RemorseGame ()
virtual bool loadFiles ()
virtual bool startGame ()
virtual bool startInitialUsecode ()
virtual void writeSaveInfo (ODataSource *ods)
virtual ProcId playIntroMovie ()
virtual ProcId playEndgameMovie ()
virtual void playCredits ()
virtual void playQuotes ()

Static Public Member Functions

static GamecreateGame (GameInfo *info)

Static Protected Attributes

static Gamegame

Detailed Description

Definition at line 24 of file RemorseGame.h.


Constructor & Destructor Documentation

RemorseGame::RemorseGame (  ) 

Definition at line 36 of file RemorseGame.cpp.

References SettingManager::get_instance(), and SettingManager::setDefault().

RemorseGame::~RemorseGame (  )  [virtual]

Definition at line 47 of file RemorseGame.cpp.


Member Function Documentation

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

Reimplemented from Game.

bool RemorseGame::loadFiles (  )  [virtual]

load/init game's data files

Implements Game.

Definition at line 52 of file RemorseGame.cpp.

References GameData::get_instance(), PaletteManager::get_instance(), FileSystem::get_instance(), PaletteManager::load(), GameData::loadRemorseData(), PaletteManager::Pal_Game, perr, pout, FileSystem::ReadFile(), and U8XFormPal.

void RemorseGame::playCredits (  )  [virtual]

Implements Game.

Definition at line 123 of file RemorseGame.cpp.

ProcId RemorseGame::playEndgameMovie (  )  [virtual]

Implements Game.

Definition at line 118 of file RemorseGame.cpp.

ProcId RemorseGame::playIntroMovie (  )  [virtual]

Implements Game.

Definition at line 113 of file RemorseGame.cpp.

virtual void RemorseGame::playQuotes (  )  [inline, virtual]

Implements Game.

Definition at line 44 of file RemorseGame.h.

bool RemorseGame::startGame (  )  [virtual]

initialize new game

Implements Game.

Definition at line 72 of file RemorseGame.cpp.

References ObjectManager::assignActorObjId(), ItemFactory::createActor(), Item::EXT_PERMANENT_NPC, Item::FLG_IN_NPC_LIST, GUIApp::get_instance(), World::get_instance(), ObjectManager::get_instance(), perr, pout, ObjectManager::reserveObjId(), GUIApp::setAvatarInStasis(), Item::setLocation(), and World::switchMap().

bool RemorseGame::startInitialUsecode (  )  [virtual]

start initial usecode

Implements Game.

Definition at line 104 of file RemorseGame.cpp.

void RemorseGame::writeSaveInfo ( ODataSource ods  )  [virtual]

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

Implements Game.

Definition at line 128 of file RemorseGame.cpp.

References MainActor::getArmourClass(), Actor::getDex(), Actor::getEquip(), Item::getFrame(), Actor::getHP(), Actor::getInt(), getItem(), Item::getLocation(), getMainActor(), Actor::getMana(), Item::getMapNum(), Actor::getMaxHP(), Actor::getMaxMana(), MainActor::getName(), Item::getShape(), Actor::getStr(), Container::getTotalWeight(), ODataSource::write1(), ODataSource::write2(), ODataSource::write4(), x, and y.


Member Data Documentation

Game* RemorseGame::game [static, protected]

Reimplemented from Game.

Definition at line 49 of file RemorseGame.h.


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