Commit Graph

435 Commits

Author SHA1 Message Date
smatz
ff469ab352 (svn r21784) -Fix (r16909): crash when converting savegame with custom waypoint name 2011-01-14 16:15:05 +00:00
rubidium
4cc2d71d6d (svn r21731) -Fix (r21728): don't forget to update the saveload version, or to check for MSVC warnings 2011-01-05 07:57:10 +00:00
rubidium
eab47d2227 (svn r21728) -Fix/Feature [FS#4331]: (configurably) limit amount of tiles that can be cleared/terraformed by a company 2011-01-04 22:50:09 +00:00
terkhen
2103f7e91a (svn r21718) -Feature: Show a list of companies in the owner legend. 2011-01-04 20:57:11 +00:00
peter1138
1b61d234a1 (svn r21710) -Fix (r8128): Update oldloader for change in vehicle cur_image size. 2011-01-04 12:22:27 +00:00
peter1138
3408814169 (svn r21709) -Fix (r8128): Vehicle sprite was cached into a 16 bit variable, causing incorrect sprites to be displayed. 2011-01-04 12:04:09 +00:00
smatz
e7971c2971 (svn r21657) -Cleanup (r17107): remove superfluous semicolon 2010-12-29 13:47:53 +00:00
terkhen
48b7916458 (svn r21521) -Codechange: Unify some cached values that were present in both road vehicles and trains. 2010-12-14 21:33:53 +00:00
terkhen
79e2b3153d (svn r21516) -Codechange: Add IsGroundVehicle function to the Vehicle class. 2010-12-14 21:26:03 +00:00
rubidium
49a77e89c4 (svn r21504) -Codechange: move the "lost" bit from the train's flags to vehicle flags 2010-12-13 21:52:39 +00:00
rubidium
cd6180a46d (svn r21453) -Codechange: add the view of an object to the savegame 2010-12-10 21:32:04 +00:00
rubidium
df410fd7ed (svn r21426) -Change: introduce a setting for the types of commands that are allowed to be executed while paused 2010-12-07 21:08:08 +00:00
rubidium
085c693289 (svn r21395) -Codechange: move the save and load filter's interface to a header 2010-12-05 14:41:34 +00:00
rubidium
5ff58155d1 (svn r21394) -Codechange: split the actual savegame loading from SaveOrLoad as well 2010-12-05 14:37:54 +00:00
rubidium
da76d2f46f (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" 2010-12-05 14:35:55 +00:00
rubidium
e5b456f289 (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 2010-12-04 13:04:19 +00:00
rubidium
a0fb4c8a13 (svn r21381) -Fix (r21377,r21375): some compilers have to spoil the fun... 2010-12-04 10:08:32 +00:00
rubidium
b7d2d79581 (svn r21380) -Codechange: move ThreadedSave variables to a more logical place, and move an include to the right place 2010-12-04 09:56:13 +00:00
rubidium
bf7da9b3a8 (svn r21379) -Codechange: move the actual save code into a separate function 2010-12-04 09:54:38 +00:00
rubidium
a7b9297d20 (svn r21378) -Codechange: move the logic for reading bytes from a savegame into a class 2010-12-04 09:53:43 +00:00
rubidium
1d8d046823 (svn r21377) -Codechange: rewrite the savegame decompressors to behave more like filters 2010-12-04 09:52:52 +00:00
rubidium
d1db18757d (svn r21376) -Codechange: generalise ClearMemoryDumper 2010-12-04 09:43:13 +00:00
rubidium
8d81e17acc (svn r21375) -Codechange: rewrite the savegame compressors to behave more like filters 2010-12-04 09:09:29 +00:00
rubidium
b250888aa3 (svn r21373) -Codechange: rewrite the game state to memory dumper 2010-12-02 23:08:22 +00:00
rubidium
d81cee085b (svn r21371) -Codechange: pass the buffer to the compressor directly instead of using a global variable 2010-12-02 22:43:10 +00:00
rubidium
33e3d7f6a2 (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 2010-11-23 18:26:02 +00:00
alberth
3e27739287 (svn r21284) -Codechange: Rename CheckSavegameVersion() to IsSavegameVersionBefore(). 2010-11-21 12:47:04 +00:00
alberth
5f8afaadb7 (svn r21283) -Codechange: Allow minor argument IsSavegameVersionBefore() to be optional. 2010-11-21 12:38:16 +00:00
alberth
edef25d30c (svn r21282) -Codechange: Rename CheckSavegameVersionOldStyle() to IsSavegameVersionBefore(). 2010-11-21 12:31:16 +00:00
alberth
2974141641 (svn r21281) -Doc: Add doxygen comments to saveload code. 2010-11-21 12:12:23 +00:00
alberth
3b0ee65571 (svn r21270) -Doc: Doxyment updates and additions. Removal of doxyment in code. 2010-11-20 14:15:02 +00:00
alberth
9d899b3758 (svn r21267) -Doc: Typo fixes. 2010-11-20 13:33:24 +00:00
rubidium
097880c5e2 (svn r21263) -Fix [FS#3935]: under some circumstances two vehicles could leave a non-drive through road stop at once 2010-11-20 09:09:57 +00:00
rubidium
d572100585 (svn r21195) -Fix [FS#4230] (r21135): in some corner cases the savegame conversion didn't do the right thing 2010-11-14 21:39:12 +00:00
alberth
f22fb0d53d (svn r21171) -Change: Reset industry build data at game start or load. 2010-11-13 15:15:25 +00:00
alberth
4d419b9f3e (svn r21170) -Codechange: Store industry management data in the save game (some of it is used in the very near future). 2010-11-13 15:13:14 +00:00
rubidium
395335c197 (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. 2010-11-12 19:40:39 +00:00
terkhen
6a38925ca3 (svn r21123) -Codechange: Remove max_speed from the Vehicle class. 2010-11-09 17:43:05 +00:00
terkhen
25d1b2f54b (svn r21098) -Codechange: Ships now store their max speed in the cache instead of recalculating it every time. 2010-11-06 13:03:17 +00:00
rubidium
7148a8e21f (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 2010-11-01 22:27:34 +00:00
rubidium
adde677c0a (svn r21073) -Fix: spelling errors in comments 2010-11-01 22:12:12 +00:00
rubidium
59519edd34 (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. 2010-10-27 16:42:20 +00:00
frosch
3866ecad38 (svn r20918) -Add: Store NewGRF version information from Action14 in savegame. (planetmaker) 2010-10-12 17:47:15 +00:00
smatz
77fe95f552 (svn r20860) -Cleanup: remove some unused functions and variables 2010-10-01 16:42:28 +00:00
rubidium
b4f6201e94 (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
terkhen
e90930e572 (svn r20832) -Feature: Allow to select a custom percentage of water in the map generation window (based on patch by CommanderZ). 2010-09-20 18:56:35 +00:00
rubidium
97dbb1f27d (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 2010-09-16 22:06:36 +00:00
rubidium
5b733f88a8 (svn r20818) -Fix [FS#3791]: make the crash-on-saveload message clearer and more correct 2010-09-16 21:13:16 +00:00
rubidium
af18c30f30 (svn r20816) -Codechange [FS#3835]: make waypoint default names work like depots, stations and vehicles (Krille) 2010-09-16 16:31:57 +00:00
rubidium
b01c63cd23 (svn r20815) -Revert (r20814): wrong patch at wrong time... 2010-09-16 16:31:38 +00:00