summaryrefslogtreecommitdiff
path: root/src/saveload/saveload_internal.h
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-06-06 16:03:56 +0200
committerPatric Stout <github@truebrain.nl>2021-06-14 21:58:05 +0200
commit4e4720f2178c9e0faf7233e55bec71e6ae19f9ad (patch)
treeaf474483110fca7fd7c617e052d1d381991e1179 /src/saveload/saveload_internal.h
parent4600d289b5d12389137d36e57bfda09c26ed6caf (diff)
downloadopenttd-4e4720f2178c9e0faf7233e55bec71e6ae19f9ad.tar.xz
Codechange: remove the special station/vehicle code from SaveLoad
With the new SLEG_STRUCT it is much easier to embed a struct in a struct, where the sub-struct has limitations on when it is being used. This makes both the code easier to read (less magic) and avoids the SaveLoad needing to know all these things about Stations and Vehicles.
Diffstat (limited to 'src/saveload/saveload_internal.h')
-rw-r--r--src/saveload/saveload_internal.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/saveload/saveload_internal.h b/src/saveload/saveload_internal.h
index 920be0417..a7fc54d7d 100644
--- a/src/saveload/saveload_internal.h
+++ b/src/saveload/saveload_internal.h
@@ -23,7 +23,6 @@ void ResetOldNames();
void ResetOldWaypoints();
void MoveBuoysToWaypoints();
void MoveWaypointsToBaseStations();
-SaveLoadTable GetBaseStationDescription();
void AfterLoadVehicles(bool part_of_load);
void FixupTrainLengths();