#include <RemorseGame.h>
Inheritance diagram for RemorseGame:
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 Game * | createGame (GameInfo *info) |
Static Protected Attributes | |
static Game * | game |
Definition at line 24 of file RemorseGame.h.
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.
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] |
ProcId RemorseGame::playEndgameMovie | ( | ) | [virtual] |
ProcId RemorseGame::playIntroMovie | ( | ) | [virtual] |
virtual void RemorseGame::playQuotes | ( | ) | [inline, virtual] |
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] |
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.
Game* RemorseGame::game [static, protected] |