diff options
author | Paul Gilbert | 2016-03-02 22:05:25 -0500 |
---|---|---|
committer | Paul Gilbert | 2016-03-02 22:05:25 -0500 |
commit | 3ae4e63c80cda635f941370e72536988bde67698 (patch) | |
tree | a63cb088bbb9109f7e3ad36cdf20112ebf60f99d /engines/titanic/game/speech_dispensor.cpp | |
parent | 5dce31417cd257785b9bbc790a9686e64a4aff37 (diff) | |
download | scummvm-rg350-3ae4e63c80cda635f941370e72536988bde67698.tar.gz scummvm-rg350-3ae4e63c80cda635f941370e72536988bde67698.tar.bz2 scummvm-rg350-3ae4e63c80cda635f941370e72536988bde67698.zip |
TITANIC: Implemented more saveable classes
Diffstat (limited to 'engines/titanic/game/speech_dispensor.cpp')
-rw-r--r-- | engines/titanic/game/speech_dispensor.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/engines/titanic/game/speech_dispensor.cpp b/engines/titanic/game/speech_dispensor.cpp index d8fc66b07a..72873391db 100644 --- a/engines/titanic/game/speech_dispensor.cpp +++ b/engines/titanic/game/speech_dispensor.cpp @@ -26,11 +26,27 @@ namespace Titanic { void CSpeechDispensor::save(SimpleFile *file, int indent) const { file->writeNumberLine(1, indent); + file->writeNumberLine(_fieldE0, indent); + file->writeNumberLine(_fieldE4, indent); + file->writeNumberLine(_fieldEC, indent); + file->writeNumberLine(_fieldF0, indent); + file->writeNumberLine(_fieldF4, indent); + file->writeNumberLine(_fieldF8, indent); + file->writeNumberLine(_fieldFC, indent); + CBackground::save(file, indent); } void CSpeechDispensor::load(SimpleFile *file) { file->readNumber(); + _fieldE0 = file->readNumber(); + _fieldE4 = file->readNumber(); + _fieldEC = file->readNumber(); + _fieldF0 = file->readNumber(); + _fieldF4 = file->readNumber(); + _fieldF8 = file->readNumber(); + _fieldFC = file->readNumber(); + CBackground::load(file); } |