aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/saveload_hof.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2008-05-02 15:21:51 +0000
committerJohannes Schickel2008-05-02 15:21:51 +0000
commitc6830b4138be54e056a7cf18b6b900c3e46ab4ff (patch)
tree58539ee1e4abf7ef87c8f76404025af9b7043639 /engines/kyra/saveload_hof.cpp
parent2da2fb7f4d183ca6e64c9ada4c92986685185c40 (diff)
downloadscummvm-rg350-c6830b4138be54e056a7cf18b6b900c3e46ab4ff.tar.gz
scummvm-rg350-c6830b4138be54e056a7cf18b6b900c3e46ab4ff.tar.bz2
scummvm-rg350-c6830b4138be54e056a7cf18b6b900c3e46ab4ff.zip
- Renamed TextDisplayer_v2 to TextDisplayer_HoF
- Moved some character shape code to KyraEngine_v2 svn-id: r31821
Diffstat (limited to 'engines/kyra/saveload_hof.cpp')
-rw-r--r--engines/kyra/saveload_hof.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/kyra/saveload_hof.cpp b/engines/kyra/saveload_hof.cpp
index 75abdaa9e2..34bafe5d3c 100644
--- a/engines/kyra/saveload_hof.cpp
+++ b/engines/kyra/saveload_hof.cpp
@@ -53,7 +53,7 @@ void KyraEngine_HoF::saveGame(const char *fileName, const char *saveName) {
//out->writeUint16BE(word_2AB05);
out->writeSint16BE(_lastMusicCommand);
out->writeByte(_newChapterFile);
- out->writeByte(_loadedZTable);
+ out->writeByte(_characterShapeFile);
out->writeByte(_cauldronState);
out->writeByte(_colorCodeFlag1);
out->writeByte(_colorCodeFlag2);
@@ -152,7 +152,7 @@ void KyraEngine_HoF::loadGame(const char *fileName) {
_lastMusicCommand = -1;
}
- int loadedZTable = _loadedZTable;
+ int loadedZTable = _characterShapeFile;
Common::SeekableSubReadStreamEndian in(saveFile, saveFile->pos(), saveFile->size(), !header.originalSave, true);
@@ -172,7 +172,7 @@ void KyraEngine_HoF::loadGame(const char *fileName) {
in.readUint16();
_lastMusicCommand = in.readSint16();
_newChapterFile = in.readByte();
- _loadedZTable = in.readByte();
+ _characterShapeFile = in.readByte();
_cauldronState = in.readByte();
_colorCodeFlag1 = in.readByte();
_colorCodeFlag2 = in.readByte();
@@ -286,8 +286,8 @@ void KyraEngine_HoF::loadGame(const char *fileName) {
else
debugC(1, kDebugLevelMain, "Loaded savegame '%s.'", header.description.c_str());
- if (loadedZTable != _loadedZTable)
- loadZShapes(_loadedZTable);
+ if (loadedZTable != _characterShapeFile)
+ loadCharacterShapes(_characterShapeFile);
_screen->loadBitmap("_PLAYFLD.CPS", 3, 3, 0);
if (!queryGameFlag(1))