aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/saveload.h
diff options
context:
space:
mode:
authorColin Snover2017-11-29 12:05:59 -0600
committerEugene Sandulenko2018-01-31 17:58:01 +0100
commit2e061d95c5aeed11b20999baa62418ef3c53141c (patch)
treeb05ea4d25e3d5ae1a1cd931acb61bcc138c0adaf /engines/scumm/saveload.h
parent9916b263831f20e5841275051a8ed014de1f24eb (diff)
downloadscummvm-rg350-2e061d95c5aeed11b20999baa62418ef3c53141c.tar.gz
scummvm-rg350-2e061d95c5aeed11b20999baa62418ef3c53141c.tar.bz2
scummvm-rg350-2e061d95c5aeed11b20999baa62418ef3c53141c.zip
COMMON: Move VER macro for serializer into common code
Diffstat (limited to 'engines/scumm/saveload.h')
-rw-r--r--engines/scumm/saveload.h55
1 files changed, 0 insertions, 55 deletions
diff --git a/engines/scumm/saveload.h b/engines/scumm/saveload.h
deleted file mode 100644
index a0f45a32fc..0000000000
--- a/engines/scumm/saveload.h
+++ /dev/null
@@ -1,55 +0,0 @@
-/* ScummVM - Graphic Adventure Engine
- *
- * ScummVM is the legal property of its developers, whose names
- * are too numerous to list here. Please refer to the COPYRIGHT
- * file distributed with this source distribution.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
- */
-
-#ifndef SCUMM_SAVELOAD_H
-#define SCUMM_SAVELOAD_H
-
-#include "common/scummsys.h"
-#include "common/serializer.h"
-
-namespace Scumm {
-
-/**
- * The current savegame format version.
- * Our save/load system uses an elaborate scheme to allow us to modify the
- * savegame while keeping full backward compatibility, in the sense that newer
- * ScummVM versions always are able to load old savegames.
- * In order to achieve that, we store a version in the savegame files, and whenever
- * the savegame layout is modified, the version is incremented.
- *
- * This roughly works by marking each savegame entry with a range of versions
- * for which it is valid; the save/load code iterates over all entries, but
- * only saves/loads those which are valid for the version of the savegame
- * which is being loaded/saved currently.
- */
-#define CURRENT_VER 98
-
-/**
- * An auxillary macro, used to specify savegame versions. We use this instead
- * of just writing the raw version, because this way they stand out more to
- * the reading eye, making it a bit easier to navigate through the code.
- */
-#define VER(x) Common::Serializer::Version(x)
-
-} // End of namespace Scumm
-
-#endif