summaryrefslogtreecommitdiff
path: root/saveload.h
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-01-08 09:48:08 +0000
committertruelight <truelight@openttd.org>2005-01-08 09:48:08 +0000
commitdcca3cf80ba4214270f8e8577e9d73909108e4ee (patch)
treec6b4a875776f54b785166d4185fc347319af6b8e /saveload.h
parent90871eeb9e7b564c9cefb0c11e06e4f9ada92acb (diff)
downloadopenttd-dcca3cf80ba4214270f8e8577e9d73909108e4ee.tar.xz
(svn r1426) -Codechange: cleaned up the reference code in the saveload routines
-Codechange: removed next_in_chain_old, and saved ->next for Vehicles (and bumped savegame revision for that to version 4.4) -Codechange: Added _sl.full_version, which has both major and minor version
Diffstat (limited to 'saveload.h')
-rw-r--r--saveload.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/saveload.h b/saveload.h
index d9ba00765..ab5a15cf5 100644
--- a/saveload.h
+++ b/saveload.h
@@ -37,6 +37,7 @@ typedef struct {
byte block_mode;
bool error;
byte version;
+ uint16 full_version;
int obj_len;
int array_index, last_array_index;
@@ -73,6 +74,7 @@ enum {
REF_VEHICLE = 1,
REF_STATION = 2,
REF_TOWN = 3,
+ REF_VEHICLE_OLD = 4,
};