summaryrefslogtreecommitdiff
path: root/src/saveload/saveload.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/saveload/saveload.h')
-rw-r--r--src/saveload/saveload.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/saveload/saveload.h b/src/saveload/saveload.h
index c5ffbeff8..c4a26b4fa 100644
--- a/src/saveload/saveload.h
+++ b/src/saveload/saveload.h
@@ -15,6 +15,8 @@
#include "../fileio_type.h"
#include "../strings_type.h"
+#define SL_TTSEP_VER 200
+
/** Save or load result codes. */
enum SaveOrLoadResult {
SL_OK = 0, ///< completed successfully
@@ -82,9 +84,13 @@ enum SLRefType {
REF_ENGINE_RENEWS = 6, ///< Load/save a reference to an engine renewal (autoreplace).
REF_CARGO_PACKET = 7, ///< Load/save a reference to a cargo packet.
REF_ORDERLIST = 8, ///< Load/save a reference to an orderlist.
- REF_STORAGE = 9, ///< Load/save a reference to a persistent storage.
+ REF_ROUTE_LINK = 9, ///< Load/save a reference to a route link.
+ REF_STORAGE = 10, ///< Load/save a reference to a persistent storage.
};
+/* Current savegame version. */
+static const uint TL_SV = 200;
+
/** Highest possible savegame version. */
#define SL_MAX_VERSION 255