ScummVM API documentation
Titanic::CFilesManager Class Reference

Public Member Functions

 CFilesManager (TitanicEngine *vm)
 
bool loadResourceIndex ()
 
void setGameManager (CGameManager *gameManager)
 
bool scanForFile (const CString &name)
 
void loadDrive ()
 
void insertCD (CScreenManager *screenManager)
 
void resetView ()
 
void preload (const CString &name)
 
Common::SeekableReadStreamgetResource (const CString &str)
 

Static Public Member Functions

static bool fileExists (const CString &name)
 

Member Function Documentation

◆ loadResourceIndex()

bool Titanic::CFilesManager::loadResourceIndex ( )

Opens up the titanic.dat support file and loads it's index

◆ setGameManager()

void Titanic::CFilesManager::setGameManager ( CGameManager gameManager)
inline

Sets the game manager

◆ fileExists()

static bool Titanic::CFilesManager::fileExists ( const CString name)
static

Returns true if a file of the given name exists

◆ scanForFile()

bool Titanic::CFilesManager::scanForFile ( const CString name)

Scans for a file with a matching name

◆ loadDrive()

void Titanic::CFilesManager::loadDrive ( )

Handles displaying a load drive view if necessary

◆ insertCD()

void Titanic::CFilesManager::insertCD ( CScreenManager screenManager)

Shows a dialog for inserting a new CD

◆ resetView()

void Titanic::CFilesManager::resetView ( )

Resets the view being displayed

◆ preload()

void Titanic::CFilesManager::preload ( const CString name)

Preloads and caches a file for access shortly

◆ getResource()

Common::SeekableReadStream* Titanic::CFilesManager::getResource ( const CString str)

Get a resource from the executable


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