diff options
author | Max Horn | 2004-04-03 19:41:31 +0000 |
---|---|---|
committer | Max Horn | 2004-04-03 19:41:31 +0000 |
commit | 6aa6b49ed57cc5900baaff6698bad062ea2f198b (patch) | |
tree | a52cb80d6b9345d39f779ea2fab58462ead47892 /scumm/saveload.cpp | |
parent | 8f6ae7973e895e40ecbf84afa95a0aa81508113b (diff) | |
download | scummvm-rg350-6aa6b49ed57cc5900baaff6698bad062ea2f198b.tar.gz scummvm-rg350-6aa6b49ed57cc5900baaff6698bad062ea2f198b.tar.bz2 scummvm-rg350-6aa6b49ed57cc5900baaff6698bad062ea2f198b.zip |
cleanup StringTab stuff
svn-id: r13448
Diffstat (limited to 'scumm/saveload.cpp')
-rw-r--r-- | scumm/saveload.cpp | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/scumm/saveload.cpp b/scumm/saveload.cpp index 6ec5243d11..e174aadf4c 100644 --- a/scumm/saveload.cpp +++ b/scumm/saveload.cpp @@ -573,27 +573,23 @@ void ScummEngine::saveOrLoad(Serializer *s, uint32 savegameVersion) { }; const SaveLoadEntry stringTabEntries[] = { - // TODO - It makes no sense to have all these t_* fields in StringTab - // Rather let's dump them all when the save game format changes, and - // keep two StringTab objects where we have one now: a "normal" one, - // and a temporar y"t_" one. // Then backup/restore of a StringTab entry becomes a one liner. MKLINE(StringTab, xpos, sleInt16, VER(8)), - MKLINE(StringTab, t_xpos, sleInt16, VER(8)), + MKLINE(StringTab, backup.xpos, sleInt16, VER(8)), MKLINE(StringTab, ypos, sleInt16, VER(8)), - MKLINE(StringTab, t_ypos, sleInt16, VER(8)), + MKLINE(StringTab, backup.ypos, sleInt16, VER(8)), MKLINE(StringTab, right, sleInt16, VER(8)), - MKLINE(StringTab, t_right, sleInt16, VER(8)), + MKLINE(StringTab, backup.right, sleInt16, VER(8)), MKLINE(StringTab, color, sleInt8, VER(8)), - MKLINE(StringTab, t_color, sleInt8, VER(8)), + MKLINE(StringTab, backup.color, sleInt8, VER(8)), MKLINE(StringTab, charset, sleInt8, VER(8)), - MKLINE(StringTab, t_charset, sleInt8, VER(8)), + MKLINE(StringTab, backup.charset, sleInt8, VER(8)), MKLINE(StringTab, center, sleByte, VER(8)), - MKLINE(StringTab, t_center, sleByte, VER(8)), + MKLINE(StringTab, backup.center, sleByte, VER(8)), MKLINE(StringTab, overhead, sleByte, VER(8)), - MKLINE(StringTab, t_overhead, sleByte, VER(8)), + MKLINE(StringTab, backup.overhead, sleByte, VER(8)), MKLINE(StringTab, no_talk_anim, sleByte, VER(8)), - MKLINE(StringTab, t_no_talk_anim, sleByte, VER(8)), + MKLINE(StringTab, backup.no_talk_anim, sleByte, VER(8)), MKEND() }; |