diff options
author | Nicola Mettifogo | 2007-12-10 20:29:51 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-12-10 20:29:51 +0000 |
commit | 0b0ec8ee00c6fb7b4c0ce2f19f0865704f5a5b4a (patch) | |
tree | a97affa481dc5d9e6429b27fdd6e00f3620d118c /engines/parallaction/callables_ns.cpp | |
parent | 32a3b601670e14ad48b5fa0ce548f412421f382c (diff) | |
download | scummvm-rg350-0b0ec8ee00c6fb7b4c0ce2f19f0865704f5a5b4a.tar.gz scummvm-rg350-0b0ec8ee00c6fb7b4c0ce2f19f0865704f5a5b4a.tar.bz2 scummvm-rg350-0b0ec8ee00c6fb7b4c0ce2f19f0865704f5a5b4a.zip |
* Switched Nippon Safes to use new names for savefiles. User will be asked to perform conversion on engine start.
* Special files used for keeping track of completed parts of the game have been replaced by special savefile 'nippon.999'.
svn-id: r29820
Diffstat (limited to 'engines/parallaction/callables_ns.cpp')
-rw-r--r-- | engines/parallaction/callables_ns.cpp | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/engines/parallaction/callables_ns.cpp b/engines/parallaction/callables_ns.cpp index e1a338b9c3..9de1dbb14b 100644 --- a/engines/parallaction/callables_ns.cpp +++ b/engines/parallaction/callables_ns.cpp @@ -392,29 +392,12 @@ void Parallaction_ns::_c_finito(void *parm) { const char **v2C = endMsg6; const char **v1C = endMsg7; - Common::File stream; - - stream.open(_char.getBaseName(), Common::File::kFileWriteMode); - if (stream.isOpen()) - stream.close(); - - Common::File streamDino, streamDough, streamDonna; - - streamDino.open("dino"); - streamDough.open("dough"); - streamDonna.open("donna"); - - bool gameCompleted = streamDino.isOpen() && streamDough.isOpen() && streamDonna.isOpen(); - - streamDino.close(); - streamDough.close(); - streamDonna.close(); + setPartComplete(_char); cleanInventory(); - _gfx->setPalette(_gfx->_palette); - if (gameCompleted) { + if (allPartsComplete()) { _gfx->setFont(_menuFont); _gfx->displayCenteredString(70, v4C[_language]); _gfx->displayCenteredString(100, v3C[_language]); |