Jonathan G Rennison
ba8d8d99b8
Add support for loading SpringPP savegame versions 221 and 222.
...
These correspond to versions from v2.1.108 and v2.1.147.
The oil rig airport type bug is fixed as of version 221.
The oil rig type has been moved, but this is not a problem as
the afterload code already remaps it to the correct value.
The cost scaling issue also seems to have been mostly fixed
as of version 221.
2015-08-18 23:08:34 +01:00
Jonathan G Rennison
39608841f2
Initial support for loading savegames from SpringPP v2.0.102/103
...
Savegame version 220
Bin all extra settings added in SpringPP.
Bin extra features: trip histories, more conditional orders/jump counter,
prev order time, snow-line chunk, town auto adv. campaign, etc.
Fix vehicle flags.
Fix bridges wrt height changes.
Handle 60-bit RIFF chunk sizes.
Doesn't deal with huge airports, loading games with these may
lead to undefined ehaviour.
PAX signals and traffic lights are ignored.
2015-08-09 18:31:00 +01:00
rubidium
f3b79480ed
(svn r26878) -Change: move m6 to TileExtended to keep Tile 8 bytes and thus better alignable
2014-09-21 11:23:33 +00:00
rubidium
d214ca2c7d
(svn r26753) -Fix: desync due to not always properly restoring game state from the savegame
2014-08-22 17:11:59 +00:00
rubidium
fb9dbf30fa
(svn r26580) -Codechange: s/GES_PICKUP/GES_RATING/ (it has nothing to do with actual pickup), s/acceptance_pickup/status/ (the enum isn't called GoodEntryStatus for a reason; it's not only acceptance and pickup anymore)
2014-05-11 18:02:11 +00:00
rubidium
2be4215f43
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-04-23 20:13:33 +00:00
frosch
74916a103e
(svn r26175) -Add: Log in desync output when persistent storage is discarded.
2013-12-23 18:09:29 +00:00
rubidium
73474728e3
(svn r26057) -Fix: a number of possibly uninitialised variables
2013-11-23 13:12:19 +00:00
fonsinchen
7025a145e3
(svn r25899) -Change: Restrict flows if links are restricted and don't normally pick them anymore.
2013-10-22 16:13:54 +00:00
fonsinchen
1de46050f6
(svn r25362) -Feature: consider cargo waiting at other stations for rating at the origin station
2013-06-09 13:04:32 +00:00
fonsinchen
f022550df9
(svn r25361) -Feature: distribute cargo according to plan given by linkgraph
2013-06-09 13:03:48 +00:00
fonsinchen
45d7df8fc2
(svn r25360) -Codechange: save and load flow stats
2013-06-09 13:03:11 +00:00
fonsinchen
ace5038657
(svn r25337) -Fix: saving only 8 bits of 16 causes endianness problems
2013-06-08 20:47:59 +00:00
rubidium
2b2706009e
(svn r25312) -Fix-ish: missing spaces after comma + realignment of tables; quite boring with -x -w
2013-06-01 07:44:53 +00:00
rubidium
7dd2354a13
(svn r25012) -Codechange: persistently keep 'reserved' cargo (for full-load improved loading) instead of calculating if for every cycle
2013-02-17 14:54:50 +00:00
peter1138
1e10e91fde
(svn r24905) -Feature(ish): Implement station randomisation triggers.
2013-01-11 07:39:25 +00:00
frosch
193ee85c6f
(svn r24718) -Codechange: Rename GoodsEntry::days_since_pickup to GoodsEntry::time_since_pickup.
2012-11-12 21:59:02 +00:00
rubidium
d5eeab43b7
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
2012-01-03 21:32:51 +00:00
truebrain
8ac2d13c79
(svn r23636) -Add: introduce ScriptText in parameters where it can be used
2011-12-19 21:06:06 +00:00
rubidium
24263638bf
(svn r23526) -Codechange: unify cargos vs cargoes
2011-12-15 21:56:00 +00:00
terkhen
7e0daae1ec
(svn r22567) -Codechange: Store persistent storages inside a pool.
2011-06-12 20:47:45 +00:00
terkhen
55695277c8
(svn r22540) -Codechange: Rename AcceptancePickup to GoodsEntryStatus.
2011-06-04 21:17:07 +00:00
smatz
b04623b63c
(svn r22155) -Codechange: one comment in saveload/station_sl.cpp was wrong
2011-02-27 13:59:20 +00:00
rubidium
83d1ff09c6
(svn r22057) -Fix: waypoint conversion could (previously) silently overfill the pool and crash
2011-02-11 09:33:38 +00:00
smatz
8608a7c29b
(svn r22025) -Fix: verify there is enough space in the pool when creating new pool items while loading old savegames
2011-02-08 18:34:13 +00:00
rubidium
971252a204
(svn r21795) -Fix (r21790): when converting TTDPatch train waypoints, convert the data on the map as well
2011-01-14 20:52:22 +00:00
smatz
1b062d2249
(svn r21794) -Fix (r21790): convert train orders too (Rubidium)
2011-01-14 19:51:50 +00:00
smatz
27630bd63c
(svn r21790) -Fix [FS#4398]: TTDPatch savegames can have train waypoints encoded as buoys
2011-01-14 16:49:29 +00:00
smatz
8e6ec374a5
(svn r21784) -Fix (r16909): crash when converting savegame with custom waypoint name
2011-01-14 16:15:05 +00:00
alberth
16f678a990
(svn r21284) -Codechange: Rename CheckSavegameVersion() to IsSavegameVersionBefore().
2010-11-21 12:47:04 +00:00
rubidium
e567833521
(svn r20857) -Fix [FS#3637]: The station with the second highest rating was doubly penalised when distributing cargo. Now the penalty is completely removed and the granularity/precision of the distribution in increased by using fractional cargo. This should make competing stations less "all-or-nothing".
2010-09-28 22:00:24 +00:00
rubidium
64f3c1e243
(svn r20815) -Revert (r20814): wrong patch at wrong time...
2010-09-16 16:31:38 +00:00
rubidium
dfa550681c
(svn r20814) -Codechange [FS#3835]: make waypoint default names work like depots, stations and vehicles (Krille)
2010-09-16 16:28:40 +00:00
rubidium
40ab6a3298
(svn r20406) -Codechange: make StationClass use the new generic class
2010-08-07 22:07:07 +00:00
yexo
ccccb2c490
(svn r20374) -Codechange: add persistant storage for airports
2010-08-05 12:06:13 +00:00
yexo
2743532ae5
(svn r20366) -Codechange: store the rotation of the airport layout in the station struct and use it to rotate hangar tiles
2010-08-05 12:00:09 +00:00
yexo
7f7e3d4a3a
(svn r20365) -Codechange: allow multiple layouts for one airport statemachine, store the layout number
2010-08-05 11:59:07 +00:00
frosch
fe063af382
(svn r19973) -Codechange: Add another procedure to chunk handlers for checking savegames (empty for now).
2010-06-13 14:11:59 +00:00
yexo
22a27d3b62
(svn r19455) -Codechange: split all airport information in Station to a seperate class
2010-03-18 21:02:20 +00:00
terkhen
e18436477b
(svn r19392) -Codechange: Increase the maximum size of a TileArea.
2010-03-12 19:38:00 +00:00
yexo
d13ca455b8
(svn r19382) -Fix (r19381): don't break savegame version 139
2010-03-10 18:59:40 +00:00
yexo
8bc4dbf8ab
(svn r19381) -Fix [FS#3670] (r19198): airport size wasn't properly stored in the savegame
2010-03-10 18:51:56 +00:00
yexo
80982cc91b
(svn r19198) -Codechange: store the size of stations in savegames
2010-02-22 14:17:07 +00:00
rubidium
9467b7c6d6
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
2010-01-15 16:41:15 +00:00
rubidium
0fed86a779
(svn r18404) -Codechange: link drive through stops better together
...
-Feature: make penalty for road stop occupancy user configurable
-Fix [FS#1944]: road vehicles would not pick an empty drive through stop. Now they will *if* the penalty for driving around is less than the occupancy penalty
-Fix [FS#1495]: long (articulated) road vehicles could block loading of others when the following road vehicle already got 'permission' to go to the next bay even when it could not reach it
-Change: improve the throughput of the drive through road stops by letting them stop closer together
2009-12-04 20:52:19 +00:00
rubidium
0f7cee89d8
(svn r18377) -Codechange: add 'cache' of the tile area of truck and bus stops.
2009-12-02 16:20:44 +00:00
rubidium
224f4e0197
(svn r18028) -Codechange: unglobalise some functions
2009-11-09 10:40:33 +00:00
rubidium
079b7fa034
(svn r17816) -Codechange: move the CargoList invalidation-after-saveload to the function that handles the CargoPackets instead of spreading it around over the saveload files. Also add some code to validate whether the caches are valid; to be removed later when no problems turn up
2009-10-20 12:20:53 +00:00
rubidium
ef38feefda
(svn r17807) -Codechange: move all 'updates' just after the 'load' constructor of CargoPackets to the constructor call itself
2009-10-18 17:52:44 +00:00
rubidium
10428de7a3
(svn r17727) -Codechange: some coding style and documentation fixes
2009-10-06 19:52:27 +00:00