Public Member Functions | |
| SavegameWriter (Common::WriteStream *ws) | |
| bool | writeFile (const Common::String &name, const uint8 *data, uint32 size) |
| bool | writeFile (const Common::String &name, Common::MemoryWriteStreamDynamic *buf) |
| bool | finish () |
| finish savegame | |
| bool Ultima::Ultima8::SavegameWriter::writeFile | ( | const Common::String & | name, |
| const uint8 * | data, | ||
| uint32 | size | ||
| ) |
write a file to the savegame
| name | name of the file |
| data | the data |
| size | (in bytes) of data |
| bool Ultima::Ultima8::SavegameWriter::writeFile | ( | const Common::String & | name, |
| Common::MemoryWriteStreamDynamic * | buf | ||
| ) |
write a file to the savegame from a memory stream
| name | name of the file |
| buf | the MemoryWriteStreamDynamic to save |