Commit Graph

214 Commits (64c54f73a85e41b7e0d2f40939ced26fb2ee204b)

Author SHA1 Message Date
rubidium 91fb1787fb (svn r22124) -Codechange: move comment to its logical place 14 years ago
rubidium e92f2d6b9a (svn r22064) -Fix [FS#4497] (r21399): crash when disconnecting and reconnecting while the server is still saving the savegame 14 years ago
rubidium e3b44f460f (svn r22062) -Fix: memory leak when saving fails mid-way 14 years ago
smatz 8608a7c29b (svn r22025) -Fix: verify there is enough space in the pool when creating new pool items while loading old savegames 14 years ago
terkhen 67ce7c5c41 (svn r21974) -Feature: Add a setting to enable/disable funding local road reconstruction. 14 years ago
alberth a2ceba992d (svn r21971) -Fix (r21969): Subversion auto-increments revision on commit. 14 years ago
alberth e3a35f7d40 (svn r21969) -Feature: Introduce 'minimal' number of industries as a replacment for the old 'none' setting in the newgame window. 14 years ago
rubidium 088223e058 (svn r21962) -Feature-ish: GUI setting to disable reversing at signals 14 years ago
rubidium fd7633def5 (svn r21960) -Change: show the length of vehicles in tiles, instead of half tiles in the depot
-Fix [FS#4461]: don't count the number of vehicles but the length of vehicles to (configurably) limit train length
14 years ago
frosch 7c04ea586d (svn r21933) -Codechange: Split cur_order_index into cur_auto_order_index and cur_real_order_index to keep track of the current real order in an unambiguous way.
-Fix [FS#4440]: Automatic orders behave now stable wrt. service orders and are not added or removed depending on the need of servicing.
-Fix: Various other issues with automatic orders, e.g. vehicles getting stuck with "no orders" when there are automatic orders at the end of the order list.
14 years ago
smatz f2006f36a1 (svn r21875) -Codechange: indentation of some comments was wrong 14 years ago
terkhen 8db501e115 (svn r21862) -Codechange: Unify subtype handling between road vehicles and trains. 14 years ago
rubidium 2ae8216363 (svn r21833) -Fix [FS#4427]: desync debug savegames might not be actually saved in case threading is enabled, which is enabled by default 14 years ago
rubidium 1850e6fd5c (svn r21731) -Fix (r21728): don't forget to update the saveload version, or to check for MSVC warnings 14 years ago
rubidium be077e030e (svn r21728) -Fix/Feature [FS#4331]: (configurably) limit amount of tiles that can be cleared/terraformed by a company 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 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
alberth 16f678a990 (svn r21284) -Codechange: Rename CheckSavegameVersion() to IsSavegameVersionBefore(). 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
alberth 40d69ce604 (svn r21171) -Change: Reset industry build data at game start or load. 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
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 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
rubidium 4ad5ef5c43 (svn r20659) -Feature: make the (flat) area around an industry configurable (Eddi|zuHause) 14 years ago
rubidium 360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
rubidium 1d8b95b235 (svn r20621) -Codechange: move animation frames of houses, objects and industries to m7 (same as airports and stations) 14 years ago
rubidium f336f61104 (svn r20482) -Codechange: move some object related information off the map and unify the relation objects have to towns 14 years ago
rubidium 8975ef1f7b (svn r20446) -Codechange: unify the location of the water class 14 years ago
yexo c8d8c996c2 (svn r20376) -Feature [FS#3093]: add setting for none/original/more smoke (SirkoZ) 14 years ago
rubidium 5ed887648c (svn r20334) -Codechange: reorder the unmovable bits a bit for futher extension 14 years ago
frosch c18839704b (svn r20286) -Codechange: Unify end of doxygen comments. 14 years ago
frosch 5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
alberth 1743c86610 (svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements. 14 years ago
rubidium a94031d60c (svn r20233) -Codechange: fix/unify coding and comment style a bit 14 years ago
rubidium 5153532a7f (svn r20232) -Codechange: shuffle a few functions around so they don't need to be declared in advance 14 years ago
rubidium caf65f71de (svn r20231) -Document: which version had which savegame version 14 years ago
alberth 137e2b64c9 (svn r20211) -Codechange: Indented code should have curly braces around it. 14 years ago
rubidium 9fd2afb147 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 14 years ago
rubidium 8894ae2ccb (svn r20183) -Codechange: make _do_autosave and _dedicated_forks not use VARDEF and put them in a more logical location 14 years ago
rubidium 73280326f9 (svn r20090) -Fix: savegames would (very likely) end with 128 KiB worth of useless zeros 14 years ago
rubidium 621c5a77e2 (svn r20087) -Fix [FS#3876, FS#3887, FS#3920, FS#3923]: if after loading a savegame (including intro game) one tried to save a game (including autosave) and that failed (very) early on because it couldn't open the file for writing all pointers would be converted to NULLs which then causes corrupted game states 14 years ago
michi_cc a8c6eaeb4a (svn r20048) -Feature: Add a setting to forbid towns building level crossings. 14 years ago
yexo ec723b7744 (svn r20003) -Feature [FS#3886]: [NewGRF] var 43 depot build date for railtypes 14 years ago
frosch cce89a5cb9 (svn r19981) -Add: Read NewGRF configuration during SL_LOAD_CHECK. 14 years ago
frosch ec903570f1 (svn r19975) -Add: SL_LOAD_CHECK mode for partial reading of savegames. 14 years ago
frosch 3d38176cd5 (svn r19974) -Add: SlSkipArray() to skip arrays and sparse arrays in savegames. 14 years ago
rubidium 7f43b93eae (svn r19799) -Change: give depots an unique name in the same manner buoys and waypoints are named 14 years ago
rubidium 5a6c2d786e (svn r19638) -Change: log the _date and _date_fract in the desync log for saved games 14 years ago
rubidium ff5dfd9c7e (svn r19589) -Change: add some more useful information to the desync log and unify the formatting 14 years ago
yexo cc23ebd446 (svn r19457) -Codechange: introduce AirportOverrideManager to keep track of airports if a newgrf can't be found 14 years ago
yexo d13ca455b8 (svn r19382) -Fix (r19381): don't break savegame version 139 15 years ago
terkhen f78a386b87 (svn r19346) -Feature: Configurable slope steepness for road vehicles from 0% to 10%, default is 7%. 15 years ago
smatz 5504b1105e (svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit 15 years ago
rubidium 0168957924 (svn r19044) -Codechange: don't load the 'new game' NewGRFs when you're certain the savegame wouldn't have been saved with them, i.e. don't load the 'new game' NewGRFs for TTO savegames. 15 years ago
rubidium 8e674964cb (svn r19022) -Fix (r18770): loading old (0.1-ish) savegames failed 15 years ago
rubidium cc204f134b (svn r19021) -Fix [FS#3570]: don't NULL the pointers when saving the savegame on an error during saving; the savegame is still valid 15 years ago
yexo 06d4f3a0f2 (svn r18942) -Feature [FS#2678]: add a setting to reduce/disable aircraft crashes 15 years ago
yexo 0f5286a388 (svn r18912) -Codechange: free up a bunch of airporttile ids by using the tile animation frame 15 years ago
michi_cc 04f83cbe48 (svn r18904) -Fix: Writing LZO-compressed savegames would produce invalid files and potentially overwrite memory. 15 years ago
rubidium 9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
rubidium ea465084b1 (svn r18775) -Fix (r18769): non-LZO code used LZO defines, also replace #define with static const uint and add some documentation. 15 years ago
rubidium 5d997e288d (svn r18772) -Feature-ish: allow user customisable compression levels for the zlib compression 15 years ago
rubidium 88c7e83e9d (svn r18771) -Codechange: minor cleanups in saveload code 15 years ago
rubidium a7676f2f86 (svn r18770) -Fix-ish: don't allow the memory saveload format to be chosen for savegames; it's utterly useless to make a snapshot in memory and then throw that away without doing anything with it. 15 years ago
rubidium 36df94ddb0 (svn r18769) -Codechange: replace MiniLZO with the real library. If you're using MSVC update openttd-useful, otherwise make sure you've got liblzo2 and it's development files installed. 15 years ago
rubidium ad8d6e8dd2 (svn r18764) -Fix [FS#3422]: split the (un)load ticks counter and signal wait counter; sometimes they might get into eachother's way 15 years ago
yexo 2a6fc142de (svn r18719) -Feature: don't delete the rough/rocky status of a tile when it's covered by snow, this allows rocky tiles under snow if you have a variable snowline 15 years ago
rubidium f99c8b3f21 (svn r18703) -Feature-ish: allow virtually paying a percentage of the leg profit in feeder chains. This to give the user a better chance to get a feeder system without "losses". 15 years ago
rubidium 5d5f0ed1e0 (svn r18689) -Codechange: move the looping over chunkhandlers code to a macro 15 years ago
rubidium 53916ac770 (svn r18688) -Cleanup: remove some unused code/constants 15 years ago
rubidium 2f29975421 (svn r18686) -Fix [FS#3470]: in some cases _sl.chs is used when not initialised. As _sl.chs always refers to a single table when initialised replace _sl.chs with the actual table 15 years ago
peter1138 a70af30250 (svn r18674) -Feature (FS#3459): Configurable slope steepness for trains from 0% to 10%, default is 3% as before (mostly by Terkhen) 15 years ago
rubidium b224e62d19 (svn r18634) -Revert (r16808): the fix doesn't work in all cases
-Fix [FS#3421] (r16838): crash when invalid pointers are left due to saveload failing at e.g. decompressing the savegame
15 years ago
rubidium 6baaea23de (svn r18522) -Feature: add the possibility to not make new tree tiles in-game 15 years ago
rubidium 899b3db66b (svn r18481) -Codechange: unify the curve pathfinder penalty defaults; 0.01 tile won't make a dent, 3 tiles might be a bit too much
-Feature-ish: make maximum pathfinder penalties for finding depots customisable, also increase it slightly to 20 tiles worth of penalties.
15 years ago
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
15 years ago
rubidium bd9c679873 (svn r18292) -Codechange: add a command to set the start date of a timetable. Based on work by PhilSophus. 15 years ago
smatz f7466979b9 (svn r18281) -Feature: founding towns in-game (based on work by Belugas, TheJosh, GeekToo, Terkhen and others) 15 years ago
rubidium 224f4e0197 (svn r18028) -Codechange: unglobalise some functions 15 years ago