Commit Graph

336 Commits (b9ce3de23dadff8d1a3348734df88228b5cb45cb)

Author SHA1 Message Date
alberth f72ad87540 (svn r26802) -Add: Command to set visibility of an engine for a company (based on patch by Juanjo). 10 years ago
rubidium 48d446ffeb (svn r26700) -Fix [FS#6066]: incorrect saving of order backups 10 years ago
fonsinchen 37b1d36fb8 (svn r26650) -Fix [FS#6041]: Support save/load chunk lengths of up to (1 << 32) - 1 10 years ago
fonsinchen 957f5ca117 (svn r26646) -Fix [FS#6041]: Save locations instead of distances in link graphs to reduce size. 10 years ago
rubidium 46792e58dd (svn r26591) -Add: some instrumentation to catch most cases where the wrong number of bytes would be written into variables during loading (or read during saving) 11 years ago
fonsinchen 2c11eeb39e (svn r26551) -Fix: document revision number for latest savegame version change 11 years ago
fonsinchen 3ee31a8f89 (svn r26547) -Codechange: Collect order travel and wait times independent of timetables 11 years ago
rubidium 9ed12b0f07 (svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL) 11 years ago
rubidium 5b82822c12 (svn r26486) -Codechange: replace a number of snprintfs with seprintf 11 years ago
rubidium 0463dbdc9e (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 11 years ago
peter1138 567d0ff3a7 (svn r26450) -Feature: Hierarchical vehicle subgroups. 11 years ago
frosch 8ff9499fe2 (svn r26409) -Update: Version number in some more places. 11 years ago
frosch b02179bd8e (svn r26169) -Fix-ish [FS#5831-ish]: Unify the time a RV needs to travel through a curve. 11 years ago
rubidium 77e5b1e3b2 (svn r26115) -Fix: AfterLoadGame can throw an exception; from the old savegame load section this wouldn't be caught 11 years ago
rubidium 0e9c992104 (svn r26058) -Fix: handle the return value of a number of functions better 11 years ago
fonsinchen bd230f34f4 (svn r25900) -Change [FS#5677]: Allow restricted flows to be picked for kept cargo. 11 years ago
fonsinchen 6524849386 (svn r25899) -Change: Restrict flows if links are restricted and don't normally pick them anymore. 11 years ago
frosch 871519f75a (svn r25855) -Fix [FS#5788] (r25833): Obiwan messed up savegame conversion. 11 years ago
frosch 35d7e8bca4 (svn r25833) -Codechange: Move ObjectType from map array into pool item. 11 years ago
zuu 09897c5fd6 (svn r25620) -Fix (r25342): Save/load of story books were broken 11 years ago
rubidium dd49c84363 (svn r25510) -Fix: forgot to update some documentation 11 years ago
rubidium f9c9ff6ec3 (svn r25508) -Change: split unit localisation choice into a choice per type of unit, and move it to the advanced settings
-Feature [FS#5482]: have tractive effort in imperial (lbf) and metric (kgf) units
-Feature: have weights and volumes in imperial units (short tons, gallons)
11 years ago
fonsinchen 0e5fa8d195 (svn r25363) -Codechange: bump the savegame version for cargodist 11 years ago
fonsinchen 3d0a0e8e48 (svn r25358) -Codechange: save and load link graph jobs and the schedule 11 years ago
zuu 9aa1bf0264 (svn r25342) -Add: StoryPage data structures and GS API 11 years ago
zuu a4cddc3e08 (svn r25296) -Feature: Goals can now have a progress text and/or be marked as completed. 12 years ago
rubidium 3947453277 (svn r25259) -Codechange: track capacities and usage of links 12 years ago
rubidium 0cc3d8df4b (svn r25258) -Codechange: save linkgraph (fonsinchen) 12 years ago
rubidium 327615c2ce (svn r25136) -Merge: 1.3 release (documentation) updates 12 years ago
rubidium cdb0a76958 (svn r25012) -Codechange: persistently keep 'reserved' cargo (for full-load improved loading) instead of calculating if for every cycle 12 years ago
rubidium ced17303c2 (svn r24998) -Fix [FS#5137]: Set vehicle's service interval is percent flag appropriately on creation (peter1138) 12 years ago
planetmaker c24374f99c (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
frosch 0e4b212c45 (svn r24810) -Fix: Make engine preview offers more robust wrt. changes in the company ranking. 12 years ago
frosch d8fb8e6cfc (svn r24795) -Fix (r24789): Unfinished patch. 12 years ago
frosch 812ae4140a (svn r24789) -Add: Separate setting to control the default settings of newly added scripts and random AIs. 12 years ago
alberth 732e073261 (svn r24776) -Doc: Typo fixes, additions, and additional dots collected from various sources (including Eagle_rainbow, MinchinWeb) 12 years ago
rubidium 3a40a0f1e8 (svn r24754) -Fix [FS#5367]: crash on corrupted savegame 12 years ago
planetmaker f2e94237fc (svn r24619) -Change: Check for bankruptcy on a monthly basis (ZxBioHazardZx) 12 years ago
frosch 9527bad3a7 (svn r24446) -Add [FS#5199]: Store more consist properties in order backups. 12 years ago
alberth 05aaf18d38 (svn r24405) -Add: Save and load of active cargo monitors. 12 years ago
michi_cc 6a70abbd99 (svn r24136) -Feature [FS#4465]: Autoreplace vehicles only when they get old. (Vikthor) 13 years ago
michi_cc 5aeae7ca49 (svn r23973) -Fix (r23947): Also save the maximum travel speed for the current vehicle order. 13 years ago
rubidium 1c4827cc71 (svn r23967) -Fix-ish: don't fix road ownership of standard road stops each time you load a savegame, only when loading an old one 13 years ago
michi_cc f2c694c8fb (svn r23947) -Feature: Timetabled maximum travel speeds for non-flying vehicles. 13 years ago
frosch 5bf1710a28 (svn r23835) -Change [FS#4999]: Make signs placed in scenario editor belong to the GS. That way they are always shown in game and are not editable. 13 years ago
frosch 5fa15c563c (svn r23828) -Fix: Return early from SlString() for empty strings, before doing invalid things which surprisingly do not break everything. 13 years ago
rubidium 70c7fbd90e (svn r23826) -Fix [FS#4972]: the detailed performance rating window showed the cargo count of the current quarter instead of the last quarter like the tooltip says 13 years ago
yexo 2c99805117 (svn r23816) -Fix (r23635, r23805): make SCC_ENCODED the first entry in the StringControlCode enum since it's value is not allowed to change 13 years ago
rubidium 6d6be50ae0 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
truebrain 1c9bec1999 (svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC) 13 years ago
truebrain 44b70d176c (svn r23637) -Change: bump the savegame, to store all the new goodies 13 years ago
truebrain 3ada3b9cc5 (svn r23630) -Add: a Goal GUI to show your current goals 13 years ago
truebrain f239a61406 (svn r23609) -Add: save/load all GameScript related material 13 years ago
truebrain 5cda1d7c90 (svn r23603) -Add: support for control commands in strings, in both network and safe/load (Rubidium) 13 years ago
michi_cc def8e7215b (svn r23504) -Feature: Aircraft range. 13 years ago
yexo 89854e0ab1 (svn r23501) -Fix: loading scenarios downloaded from the online content didn't work anymore 13 years ago
rubidium 0ca25fb3af (svn r23480) -Fix [FS#4594]: replace OS error messages with internal error messages when that's possible 13 years ago
rubidium 58423b26d1 (svn r23474) -Codechange: move the declaration error related functions to error.h 13 years ago
michi_cc d3b7b89493 (svn r23415) -Feature: Infrastructure maintenance costs. 13 years ago
truebrain 160bfd8851 (svn r23376) -Remove: on popular demand, remove my (revoked) name from comments in the code. It was silly to name me like that to begin with ;) (based on patch by HackaLittleBit) 13 years ago
truebrain d809ea4f23 (svn r23304) -Add: bump the savegame to start storing the new bits and pieces 13 years ago
michi_cc 4d2a9e384c (svn r23290) -Fix [FS#2379,FS#3569]: Change the centre of train vehicles to depend on the vehicle length instead of being fixed at 4/8th of the original vehicle length to make sure shortened vehicles don't block tiles they shouldn't block. 13 years ago
rubidium a8d33a4d89 (svn r23192) -Codechange: don't cast away const needlessly 13 years ago
frosch 88f8457b83 (svn r23013) -Doc: Add a note about the savegame version used in the 1.1 branch. 13 years ago
rubidium 0041408e4f (svn r22767) -Add: river generation 13 years ago
michi_cc 08b7981f37 (svn r22713) -Feature: [NewGRF] Per vehicle custom cargo ageing period. 13 years ago
frosch c9e920f1eb (svn r22693) -Fix [FS#4691]: The override managers were not reset in some cases like creating a new scenario. 13 years ago
terkhen 00e5c1df18 (svn r22567) -Codechange: Store persistent storages inside a pool. 13 years ago
rubidium 75b87c554f (svn r22371) -Fix [FS#4596]: make sure saving has completely and utterly finished before starting a new one. Otherwise you could start a save, which would be marked as done by the previous save stopping and then yet another save could be started... and that could create a deadlock 14 years ago
rubidium e48967541a (svn r22198) -Codechange: make some constants name more explicit 14 years ago
rubidium ae6dca77e5 (svn r22146) -Fix: don't run savegame conversion during SlNullPointers; the pointer might not be converted or be NULL at that point 14 years ago
alberth 1dbc0a20be (svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)' 14 years ago
rubidium b6be3f2acc (svn r22124) -Codechange: move comment to its logical place 14 years ago
rubidium d8cada7563 (svn r22064) -Fix [FS#4497] (r21399): crash when disconnecting and reconnecting while the server is still saving the savegame 14 years ago
rubidium 7de823b1bd (svn r22062) -Fix: memory leak when saving fails mid-way 14 years ago
smatz 887a7724dc (svn r22025) -Fix: verify there is enough space in the pool when creating new pool items while loading old savegames 14 years ago
terkhen a4b08dddd1 (svn r21974) -Feature: Add a setting to enable/disable funding local road reconstruction. 14 years ago
alberth 7da952115b (svn r21971) -Fix (r21969): Subversion auto-increments revision on commit. 14 years ago
alberth bdf5a1c2f7 (svn r21969) -Feature: Introduce 'minimal' number of industries as a replacment for the old 'none' setting in the newgame window. 14 years ago
rubidium 0fe0225751 (svn r21962) -Feature-ish: GUI setting to disable reversing at signals 14 years ago
rubidium c85d350310 (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 a97d52a29a (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 656caf16db (svn r21875) -Codechange: indentation of some comments was wrong 14 years ago
terkhen d426906a01 (svn r21862) -Codechange: Unify subtype handling between road vehicles and trains. 14 years ago
rubidium 6a17bf91e3 (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 4cc2d71d6d (svn r21731) -Fix (r21728): don't forget to update the saveload version, or to check for MSVC warnings 14 years ago
rubidium eab47d2227 (svn r21728) -Fix/Feature [FS#4331]: (configurably) limit amount of tiles that can be cleared/terraformed by a company 14 years ago
rubidium cd6180a46d (svn r21453) -Codechange: add the view of an object to the savegame 14 years ago
rubidium df410fd7ed (svn r21426) -Change: introduce a setting for the types of commands that are allowed to be executed while paused 14 years ago
rubidium 085c693289 (svn r21395) -Codechange: move the save and load filter's interface to a header 14 years ago
rubidium 5ff58155d1 (svn r21394) -Codechange: split the actual savegame loading from SaveOrLoad as well 14 years ago
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" 14 years ago
rubidium a0fb4c8a13 (svn r21381) -Fix (r21377,r21375): some compilers have to spoil the fun... 14 years ago
rubidium b7d2d79581 (svn r21380) -Codechange: move ThreadedSave variables to a more logical place, and move an include to the right place 14 years ago
rubidium bf7da9b3a8 (svn r21379) -Codechange: move the actual save code into a separate function 14 years ago
rubidium a7b9297d20 (svn r21378) -Codechange: move the logic for reading bytes from a savegame into a class 14 years ago
rubidium 1d8d046823 (svn r21377) -Codechange: rewrite the savegame decompressors to behave more like filters 14 years ago
rubidium d1db18757d (svn r21376) -Codechange: generalise ClearMemoryDumper 14 years ago
rubidium 8d81e17acc (svn r21375) -Codechange: rewrite the savegame compressors to behave more like filters 14 years ago
rubidium b250888aa3 (svn r21373) -Codechange: rewrite the game state to memory dumper 14 years ago
rubidium d81cee085b (svn r21371) -Codechange: pass the buffer to the compressor directly instead of using a global variable 14 years ago
alberth 3e27739287 (svn r21284) -Codechange: Rename CheckSavegameVersion() to IsSavegameVersionBefore(). 14 years ago
alberth edef25d30c (svn r21282) -Codechange: Rename CheckSavegameVersionOldStyle() to IsSavegameVersionBefore(). 14 years ago
alberth 2974141641 (svn r21281) -Doc: Add doxygen comments to saveload code. 14 years ago
alberth 3b0ee65571 (svn r21270) -Doc: Doxyment updates and additions. Removal of doxyment in code. 14 years ago
alberth 9d899b3758 (svn r21267) -Doc: Typo fixes. 14 years ago
rubidium 097880c5e2 (svn r21263) -Fix [FS#3935]: under some circumstances two vehicles could leave a non-drive through road stop at once 14 years ago
alberth f22fb0d53d (svn r21171) -Change: Reset industry build data at game start or load. 14 years ago
rubidium adde677c0a (svn r21073) -Fix: spelling errors in comments 14 years ago
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. 14 years ago
frosch 3866ecad38 (svn r20918) -Add: Store NewGRF version information from Action14 in savegame. (planetmaker) 14 years ago
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". 14 years ago
terkhen e90930e572 (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 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 14 years ago
rubidium b01c63cd23 (svn r20815) -Revert (r20814): wrong patch at wrong time... 14 years ago
rubidium 9a0a753d96 (svn r20814) -Codechange [FS#3835]: make waypoint default names work like depots, stations and vehicles (Krille) 14 years ago
rubidium 8fd9728e19 (svn r20659) -Feature: make the (flat) area around an industry configurable (Eddi|zuHause) 14 years ago
rubidium 30f2afac9b (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
rubidium 7f86dcca90 (svn r20621) -Codechange: move animation frames of houses, objects and industries to m7 (same as airports and stations) 14 years ago
rubidium 89b2b9370a (svn r20482) -Codechange: move some object related information off the map and unify the relation objects have to towns 14 years ago
rubidium ab5b0ceff2 (svn r20446) -Codechange: unify the location of the water class 14 years ago
yexo a3a24f4c68 (svn r20376) -Feature [FS#3093]: add setting for none/original/more smoke (SirkoZ) 14 years ago
rubidium f44c51577b (svn r20334) -Codechange: reorder the unmovable bits a bit for futher extension 14 years ago
frosch 4bd32799f1 (svn r20286) -Codechange: Unify end of doxygen comments. 14 years ago
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
alberth a825b4fa5f (svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements. 14 years ago
rubidium fc6f336fee (svn r20233) -Codechange: fix/unify coding and comment style a bit 14 years ago
rubidium d72ee2bc57 (svn r20232) -Codechange: shuffle a few functions around so they don't need to be declared in advance 14 years ago
rubidium 70ff0d7513 (svn r20231) -Document: which version had which savegame version 14 years ago
alberth be6c058424 (svn r20211) -Codechange: Indented code should have curly braces around it. 14 years ago
rubidium b8487afe54 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 14 years ago
rubidium 45213e5708 (svn r20183) -Codechange: make _do_autosave and _dedicated_forks not use VARDEF and put them in a more logical location 14 years ago
rubidium 72bfda4634 (svn r20090) -Fix: savegames would (very likely) end with 128 KiB worth of useless zeros 14 years ago
rubidium b7fe013793 (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 a75583bbb6 (svn r20048) -Feature: Add a setting to forbid towns building level crossings. 14 years ago
yexo 9cfb61adf5 (svn r20003) -Feature [FS#3886]: [NewGRF] var 43 depot build date for railtypes 14 years ago
frosch d9b4d92050 (svn r19981) -Add: Read NewGRF configuration during SL_LOAD_CHECK. 15 years ago
frosch 8d9b573f8f (svn r19975) -Add: SL_LOAD_CHECK mode for partial reading of savegames. 15 years ago
frosch e8248cf113 (svn r19974) -Add: SlSkipArray() to skip arrays and sparse arrays in savegames. 15 years ago
rubidium 93ff7d78e1 (svn r19799) -Change: give depots an unique name in the same manner buoys and waypoints are named 15 years ago
rubidium a6f46657ab (svn r19638) -Change: log the _date and _date_fract in the desync log for saved games 15 years ago
rubidium d8baa1342c (svn r19589) -Change: add some more useful information to the desync log and unify the formatting 15 years ago
yexo 38f4cb6469 (svn r19457) -Codechange: introduce AirportOverrideManager to keep track of airports if a newgrf can't be found 15 years ago
yexo 22081cbd19 (svn r19382) -Fix (r19381): don't break savegame version 139 15 years ago
terkhen b443a3ee0a (svn r19346) -Feature: Configurable slope steepness for road vehicles from 0% to 10%, default is 7%. 15 years ago
smatz f051066bc4 (svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit 15 years ago
rubidium 78f31c1744 (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 64ead0b513 (svn r19022) -Fix (r18770): loading old (0.1-ish) savegames failed 15 years ago
rubidium a126db6ea4 (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 fa01b25f74 (svn r18942) -Feature [FS#2678]: add a setting to reduce/disable aircraft crashes 15 years ago