Public Member Functions | |
| void | save (SimpleFile *file, int indent) override |
| void | load (SimpleFile *file) override |
| CGameManager * | getGameManager () const override |
| void | setGameManager (CGameManager *gameManager) |
| CPetControl * | getPetControl () const |
| void | resetGameManager () |
| void | loadGame (int slotId) |
| void | saveGame (int slotId, const CString &desc) |
| void | clear () |
| void | setFilename (const CString &name) |
| CRoomItem * | findFirstRoom () const |
| CRoomItem * | findNextRoom (CRoomItem *priorRoom) const |
| CDontSaveFileItem * | getDontSaveFileItem () const |
| CRoomItem * | findHiddenRoom () |
| CViewItem * | findView (int roomNumber, int nodeNumber, int viewNumber) |
| CViewItem * | parseView (const CString &viewString) |
| bool | changeView (const CString &viewName, const CString &clipName) |
| bool | changeView (const CString &viewName) |
Public Member Functions inherited from Titanic::CFileItem | |
| bool | isFileItem () const override |
| CString | formFilename () const |
| CString | getFilename () const |
Public Member Functions inherited from Titanic::CTreeItem | |
| void | dump (int indent) |
| virtual CString | dumpItem (int indent) const |
| void | save (SimpleFile *file, int indent) override |
| void | load (SimpleFile *file) override |
| virtual bool | isRoomItem () const |
| virtual bool | isNodeItem () const |
| virtual bool | isViewItem () const |
| virtual bool | isLinkItem () const |
| virtual bool | isPlaceHolderItem () const |
| virtual bool | isNamedItem () const |
| virtual bool | isGameObject () const |
| virtual bool | isGameObjectDescItem () const |
| virtual const CString | getName () const |
| virtual bool | isEquals (const CString &name, bool startsWith=false) const |
| virtual int | compareTo (const CString &name, int maxLen=0) const |
| virtual const CMovieClipList * | getMovieClips () const |
| virtual bool | connectsTo (CViewItem *destView) const |
| virtual void | draw (CScreenManager *screenManager) |
| virtual Rect | getBounds () const |
| virtual void | freeSurface () |
| CTreeItem * | getParent () const |
| CProjectItem * | getRoot () const |
| CTreeItem * | getNextSibling () const |
| CTreeItem * | getPriorSibling () const |
| CTreeItem * | getLastSibling () |
| CTreeItem * | getFirstChild () const |
| CTreeItem * | getLastChild () const |
| CTreeItem * | scan (CTreeItem *item) const |
| CTreeItem * | findChildInstanceOf (ClassDef *classDef) const |
| CTreeItem * | findNextInstanceOf (ClassDef *classDef, CTreeItem *startItem) const |
| void | addUnder (CTreeItem *newParent) |
| void | setParent (CTreeItem *newParent) |
| void | addSibling (CTreeItem *item) |
| void | moveUnder (CTreeItem *newParent) |
| void | destroyAll () |
| int | destroyChildren () |
| void | detach () |
| void | attach (CTreeItem *item) |
| CNamedItem * | findByName (const CString &name, bool subMatch=false) |
Public Member Functions inherited from Titanic::CSaveableObject | |
| virtual ClassDef * | getType () const |
| bool | isInstanceOf (const ClassDef *classDef) const |
| virtual void | saveHeader (SimpleFile *file, int indent) |
| virtual void | saveFooter (SimpleFile *file, int indent) |
Static Public Member Functions | |
| static SaveStateList | getSavegameList (const MetaEngine *metaEngine, const Common::String &target) |
| static void | writeSavegameHeader (SimpleFile *file, TitanicSavegameHeader &header) |
| static WARN_UNUSED_RESULT bool | readSavegameHeader (SimpleFile *file, TitanicSavegameHeader &header, bool skipThumbnail=true) |
Static Public Member Functions inherited from Titanic::CSaveableObject | |
| static void | initClassList () |
| static void | freeClassList () |
| static CSaveableObject * | createInstance (const Common::String &name) |
Public Attributes | |
| CLASSDEF | |
Public Attributes inherited from Titanic::CFileItem | |
| CLASSDEF | |
Public Attributes inherited from Titanic::CTreeItem | |
| CLASSDEF | |
Additional Inherited Members | |
Static Public Attributes inherited from Titanic::CSaveableObject | |
| static ClassDef * | _type |
|
static |
Load a list of savegames
|
static |
Write out the header information for a savegame
|
static |
Read in the header information for a savegame
|
overridevirtual |
Save the data for the class to file
Reimplemented from Titanic::CFileItem.
|
overridevirtual |
Load the data for the class from file
Reimplemented from Titanic::CFileItem.
|
overridevirtual |
Get the game manager for the project
Reimplemented from Titanic::CTreeItem.
| void Titanic::CProjectItem::setGameManager | ( | CGameManager * | gameManager | ) |
Sets the game manager for the project, if not already set
| CPetControl* Titanic::CProjectItem::getPetControl | ( | ) | const |
Get a reference to the PET control
| void Titanic::CProjectItem::resetGameManager | ( | ) |
Resets the game manager field
| void Titanic::CProjectItem::loadGame | ( | int | slotId | ) |
Load the entire project data for a given slot Id
| void Titanic::CProjectItem::saveGame | ( | int | slotId, |
| const CString & | desc | ||
| ) |
Save the entire project data to a given savegame slot
| void Titanic::CProjectItem::clear | ( | ) |
Clear any currently loaded project
|
inline |
Set the proejct's name
| CRoomItem* Titanic::CProjectItem::findFirstRoom | ( | ) | const |
Returns a reference to the first room item in the project
Returns a reference to the next room following the specified room
| CDontSaveFileItem* Titanic::CProjectItem::getDontSaveFileItem | ( | ) | const |
Returns the don't save file item, if it exists in the project
| CRoomItem* Titanic::CProjectItem::findHiddenRoom | ( | ) |
Finds the hidden room node of the project
| CViewItem* Titanic::CProjectItem::findView | ( | int | roomNumber, |
| int | nodeNumber, | ||
| int | viewNumber | ||
| ) |
Finds a view
Parses a view into it's components of room, node, and view, and locates the designated view
Change the view
| bool Titanic::CProjectItem::changeView | ( | const CString & | viewName | ) |
Change the view