Commit Graph

428 Commits (e2d08a83a3f2395d6384df9f60b29fb49779a293)

Author SHA1 Message Date
terkhen f69d280f14 (svn r21521) -Codechange: Unify some cached values that were present in both road vehicles and trains. 14 years ago
terkhen 47c9189002 (svn r21516) -Codechange: Add IsGroundVehicle function to the Vehicle class. 14 years ago
rubidium 45344d48bb (svn r21504) -Codechange: move the "lost" bit from the train's flags to vehicle flags 14 years ago
rubidium 1af7df8ba0 (svn r21453) -Codechange: add the view of an object to the savegame 14 years ago
rubidium 7bed9deb4f (svn r21426) -Change: introduce a setting for the types of commands that are allowed to be executed while paused 14 years ago
rubidium 2a577707e7 (svn r21395) -Codechange: move the save and load filter's interface to a header 14 years ago
rubidium b5771255a6 (svn r21394) -Codechange: split the actual savegame loading from SaveOrLoad as well 14 years ago
rubidium 924aba8e67 (svn r21393) -Codechange: support resetting of the "base" filters, i.e. reset their read location to be begin of the file. This is needed for trying to load savegames as a "buggy format" 14 years ago
rubidium cd053de1f5 (svn r21382) -Fix (r21153) [FS#4290]: the road vehicle's frame wasn't properly set upon savegame conversion *if* the vehicle would be hidden, but isn't going to be hidden anymore after the conversion 14 years ago
rubidium ae8ce70bbd (svn r21381) -Fix (r21377,r21375): some compilers have to spoil the fun... 14 years ago
rubidium df2880e68c (svn r21380) -Codechange: move ThreadedSave variables to a more logical place, and move an include to the right place 14 years ago
rubidium 2770e24e5c (svn r21379) -Codechange: move the actual save code into a separate function 14 years ago
rubidium 1fb2849566 (svn r21378) -Codechange: move the logic for reading bytes from a savegame into a class 14 years ago
rubidium e589dca253 (svn r21377) -Codechange: rewrite the savegame decompressors to behave more like filters 14 years ago
rubidium 07ee6b9ccf (svn r21376) -Codechange: generalise ClearMemoryDumper 14 years ago
rubidium cc8d1198d5 (svn r21375) -Codechange: rewrite the savegame compressors to behave more like filters 14 years ago
rubidium 1f409aa285 (svn r21373) -Codechange: rewrite the game state to memory dumper 14 years ago
rubidium 944a544fe3 (svn r21371) -Codechange: pass the buffer to the compressor directly instead of using a global variable 14 years ago
rubidium 805e768e3a (svn r21299) -Fix (r21263): a road vehicle in a depot or wormhole could get into an incorrect state upon savegame conversion causing it to break up later in the game 14 years ago
alberth 16f678a990 (svn r21284) -Codechange: Rename CheckSavegameVersion() to IsSavegameVersionBefore(). 14 years ago
alberth 8b104cbdfd (svn r21283) -Codechange: Allow minor argument IsSavegameVersionBefore() to be optional. 14 years ago
alberth 160b6834e9 (svn r21282) -Codechange: Rename CheckSavegameVersionOldStyle() to IsSavegameVersionBefore(). 14 years ago
alberth 41041dda9a (svn r21281) -Doc: Add doxygen comments to saveload code. 14 years ago
alberth de9c678901 (svn r21270) -Doc: Doxyment updates and additions. Removal of doxyment in code. 14 years ago
alberth 9ef150d7ea (svn r21267) -Doc: Typo fixes. 14 years ago
rubidium d24dbdac7b (svn r21263) -Fix [FS#3935]: under some circumstances two vehicles could leave a non-drive through road stop at once 14 years ago
rubidium bc247f1e41 (svn r21195) -Fix [FS#4230] (r21135): in some corner cases the savegame conversion didn't do the right thing 14 years ago
alberth 40d69ce604 (svn r21171) -Change: Reset industry build data at game start or load. 14 years ago
alberth 701fb1907f (svn r21170) -Codechange: Store industry management data in the save game (some of it is used in the very near future). 14 years ago
rubidium 127a70cb19 (svn r21153) -Change: unify the moment trains/road vehicles become (un)visible when entering/leaving a tunnel. As a side effect some tunnel related glitches are gone. 14 years ago
terkhen c7a2d1f883 (svn r21123) -Codechange: Remove max_speed from the Vehicle class. 14 years ago
terkhen 79ab8cb571 (svn r21098) -Codechange: Ships now store their max speed in the cache instead of recalculating it every time. 14 years ago
rubidium 0f942d3ed5 (svn r21074) -Fix [FS#4194]: Crash when loading a corrupted 0.7.x (or before) savegame where the waypoint refered to an already removed town 14 years ago
rubidium d22c1eee26 (svn r21073) -Fix: spelling errors in comments 14 years ago
rubidium a9fc9b2e9a (svn r21044) -Feature: XZ/LZMA2 savegame support. New default reduces savegame size by 10 to 30% with slightly more CPU usage. With maximum settings it reduces savegame size by 20 to 30%, but that takes 7 to 14 times longer. Map saving + downloading takes, on average, 5% less. 14 years ago
frosch fca6f11a25 (svn r20918) -Add: Store NewGRF version information from Action14 in savegame. (planetmaker) 14 years ago
smatz 548a3747e9 (svn r20860) -Cleanup: remove some unused functions and variables 14 years ago
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". 14 years ago
terkhen 379a8f3504 (svn r20832) -Feature: Allow to select a custom percentage of water in the map generation window (based on patch by CommanderZ). 14 years ago
rubidium f3cf16f529 (svn r20819) -Fix [FS#3714]: be a bit more "lenient" w.r.t. invalid savegames; don't crash on saveload related NOT_REACHEDs, just show the user an error that the savegame is corrupted 14 years ago
rubidium 76bd43dbff (svn r20818) -Fix [FS#3791]: make the crash-on-saveload message clearer and more correct 14 years ago
rubidium 1de34d3103 (svn r20816) -Codechange [FS#3835]: make waypoint default names work like depots, stations and vehicles (Krille) 14 years ago
rubidium 64f3c1e243 (svn r20815) -Revert (r20814): wrong patch at wrong time... 14 years ago
rubidium dfa550681c (svn r20814) -Codechange [FS#3835]: make waypoint default names work like depots, stations and vehicles (Krille) 14 years ago
yexo a10ce551c9 (svn r20717) -Fix [FS#4103]: water class was not set for stations 14 years ago
rubidium a8d00c2ac0 (svn r20708) -Fix [FS#4101]: upon company bankruptcy some objects weren't removed properly 14 years ago
rubidium 4ad5ef5c43 (svn r20659) -Feature: make the (flat) area around an industry configurable (Eddi|zuHause) 14 years ago
rubidium 18e6bf0d71 (svn r20658) -Codechange: add the colour of an object to the object instance 14 years ago
rubidium 63478d8533 (svn r20656) -Codechange: implement counting of objects 14 years ago
rubidium 3f6dab2127 (svn r20648) -Codechange: implement the NewGRF override manager for objects 14 years ago