summaryrefslogtreecommitdiff
path: root/src/saveload.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/saveload.h')
-rw-r--r--src/saveload.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/saveload.h b/src/saveload.h
index 102c9a04f..c55a1df51 100644
--- a/src/saveload.h
+++ b/src/saveload.h
@@ -28,6 +28,13 @@ enum SaveOrLoadMode {
SL_BMP = 4,
};
+enum SavegameType {
+ SGT_TTD, ///< TTD savegame (can be detected incorrectly)
+ SGT_TTDP1, ///< TTDP savegame ( -//- ) (data at NW border)
+ SGT_TTDP2, ///< TTDP savegame in new format (data at SE border)
+ SGT_OTTD ///< OTTD savegame
+};
+
void SetSaveLoadError(uint16 str);
const char *GetSaveLoadErrorString();
SaveOrLoadResult SaveOrLoad(const char *filename, int mode, Subdirectory sb);