aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/savegame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/engine/savegame.cpp')
-rw-r--r--engines/sci/engine/savegame.cpp30
1 files changed, 1 insertions, 29 deletions
diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp
index 0972aec4a4..302f046458 100644
--- a/engines/sci/engine/savegame.cpp
+++ b/engines/sci/engine/savegame.cpp
@@ -48,9 +48,8 @@
#include "sci/sound/music.h"
#ifdef ENABLE_SCI32
-#include "sci/graphics/frameout.h"
#include "sci/graphics/palette32.h"
-#include "sci/graphics/remap32.h"
+#include "sci/graphics/frameout.h"
#endif
namespace Sci {
@@ -808,33 +807,6 @@ void GfxPalette32::saveLoadWithSerializer(Common::Serializer &s) {
}
}
}
-
-void GfxRemap32::saveLoadWithSerializer(Common::Serializer &s) {
- if (s.getVersion() < 35) {
- return;
- }
-
- s.syncAsByte(_numActiveRemaps);
- s.syncAsByte(_blockedRangeStart);
- s.syncAsSint16LE(_blockedRangeCount);
-
- for (uint i = 0; i < _remaps.size(); ++i) {
- SingleRemap &singleRemap = _remaps[i];
- s.syncAsByte(singleRemap._type);
- if (s.isLoading() && singleRemap._type != kRemapNone) {
- singleRemap.reset();
- }
- s.syncAsByte(singleRemap._from);
- s.syncAsByte(singleRemap._to);
- s.syncAsByte(singleRemap._delta);
- s.syncAsByte(singleRemap._percent);
- s.syncAsByte(singleRemap._gray);
- }
-
- if (s.isLoading()) {
- _needsUpdate = true;
- }
-}
#endif
void GfxPorts::saveLoadWithSerializer(Common::Serializer &s) {