|
| Savegame (AsylumEngine *engine) |
|
bool | hasSavegames () const |
|
void | loadList () |
|
void | load () |
|
bool | quickLoad () |
|
void | save () |
|
bool | quickSave () |
|
void | remove () |
|
bool | isCompatible () |
|
void | setMovieViewed (uint32 index) |
|
uint32 | getMoviesViewed (int32 *movieList) const |
|
void | loadMoviesViewed () |
|
void | setName (uint32 index, const Common::String &name) |
|
Common::String | getName (uint32 index) const |
|
Common::String * | getName () |
|
void | setIndex (uint32 index) |
|
uint32 | getIndex () |
|
bool | hasSavegame (uint32 index) const |
|
ResourcePackId | getScenePack () |
|
void | resetVersion () |
|
const char * | getVersion () |
|
uint32 | getBuild () |
|
|
static void | seek (Common::InSaveFile *file, uint32 offset, const Common::String &description) |
|
static uint32 | read (Common::InSaveFile *file, const Common::String &description) |
|
static Common::String | read (Common::InSaveFile *file, uint32 strLength, const Common::String &description) |
|
static void | read (Common::InSaveFile *file, Common::Serializable *data, uint32 size, uint32 count, const Common::String &description) |
|
static void | write (Common::OutSaveFile *file, uint32 val, const Common::String &description) |
|
static void | write (Common::OutSaveFile *file, const Common::String &val, uint32 strLength, const Common::String &description) |
|
static void | write (Common::OutSaveFile *file, Common::Serializable *data, uint32 size, uint32 count, const Common::String &description) |
|
◆ hasSavegames()
bool Asylum::Savegame::hasSavegames |
( |
| ) |
const |
Checks if saved games are present
- Returns
- true if it succeeds, false if it fails.
◆ loadList()
void Asylum::Savegame::loadList |
( |
| ) |
|
Loads the list of saved games.
◆ load()
void Asylum::Savegame::load |
( |
| ) |
|
◆ quickLoad()
bool Asylum::Savegame::quickLoad |
( |
| ) |
|
Quick loads a game
- Returns
- true if it succeeds, false if it fails.
◆ save()
void Asylum::Savegame::save |
( |
| ) |
|
Saves a game
- Returns
- true if it succeeds, false if it fails.
◆ quickSave()
bool Asylum::Savegame::quickSave |
( |
| ) |
|
Quick saves a game
- Returns
- true if it succeeds, false if it fails.
◆ remove()
void Asylum::Savegame::remove |
( |
| ) |
|
◆ isCompatible()
bool Asylum::Savegame::isCompatible |
( |
| ) |
|
Checks if a savegame is compatible
- Returns
- true if it is, false otherwise.
◆ seek()
Seeks to a specific place in the file
- Parameters
-
[in,out] | file | If non-null, the file. |
| offset | Offset index of the info into the file |
| description | The description. |
◆ read() [1/3]
Reads data from a file.
- Parameters
-
[in,out] | file | If non-null, the file. |
| description | The description. |
- Returns
- the value
◆ read() [2/3]
Reads data from a file.
- Parameters
-
[in,out] | file | If non-null, the file. |
| strLength | Length of the string. |
| description | The description. |
- Returns
- the string
◆ read() [3/3]
Reads data from a file.
- Parameters
-
[in,out] | file | If non-null, the file. |
[in,out] | data | If non-null, the data. |
| size | The size. |
| count | Number of. |
| description | The description. |
◆ write() [1/3]
Writes data to a file.
- Parameters
-
[in,out] | file | If non-null, the file. |
| val | The value |
| description | The description. |
◆ write() [2/3]
Writes data to a file.
- Parameters
-
[in,out] | file | If non-null, the file. |
| val | The string |
| strLength | The size of the string. |
| description | The description. |
◆ write() [3/3]
Writes data to a file.
- Parameters
-
[in,out] | file | If non-null, the file. |
[in,out] | data | If non-null, the data. |
| size | The size. |
| count | Number of. |
| description | The description. |
The documentation for this class was generated from the following file: