Commit Graph

734 Commits (tracerestrict)

Author SHA1 Message Date
truebrain 1ad295a4cf (svn r23309) -Fix: loading old games didn't have goals set for towns (tnx to frosch for spotting) 13 years ago
truebrain 3a5d257e46 (svn r23304) -Add: bump the savegame to start storing the new bits and pieces 13 years ago
truebrain 2306f2ab6d (svn r23300) -Add: show on the GUI when a town grows and make a general framework to store goals of a town 13 years ago
truebrain 19791d3189 (svn r23298) -Add: track statistics of all incoming and outgoing goods. Incoming based on TownEffect, outgoing based on CargoType (based on patch by Terkhen) 13 years ago
michi_cc 3b45b41e68 (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
michi_cc 56a592dcbd (svn r23233) -Codechange: Refactor maximum and actually transported cargo amount of towns into a reusable struct. 13 years ago
rubidium 215452b911 (svn r23195) -Codechange: if we really need to cast away constness, use const_cast 13 years ago
rubidium e81d564625 (svn r23192) -Codechange: don't cast away const needlessly 13 years ago
yexo 0566a6cfda (svn r23168) -Feature [FS#1824]: always draw fences around field tiles 13 years ago
rubidium 6fe13b1451 (svn r23105) -Fix (r23104): Kenobi visited me ;) 13 years ago
rubidium 1138abad35 (svn r23104) -Codechange: prepare the vehicle/sign z for some further changes to reduce casting 13 years ago
rubidium bcb93b3b75 (svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it 13 years ago
rubidium de980ef0f9 (svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight) 13 years ago
rubidium 41223c8bc9 (svn r23084) -Codechange: get rid of a redundant variable 13 years ago
yexo 091d31b84b (svn r23083) -Fix: run StartupEngines() if NewGRFs changed during loading a savegame, just like it's running when NewGRFs are changed during a game 13 years ago
frosch 6e61fee028 (svn r23080) -Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to draw different sprites on the map and in various GUIs. 13 years ago
frosch e57ba5d0ae (svn r23074) -Codechange: Add Vehicle::GetEngine() to simplify code. 13 years ago
yexo 047957487a (svn r23065) -Add: -q option to read a savegame, write some general info and exit 13 years ago
frosch 5c854f2643 (svn r23013) -Doc: Add a note about the savegame version used in the 1.1 branch. 13 years ago
frosch 4961cd06a9 (svn r22977) -Codechange: Rename SetCachedEngineCounts() to GroupStatistics::UpdateAfterLoad(). 13 years ago
frosch 7d1755403b (svn r22975) -Codechange: Do not store Group::num_vehicle in the savegame, but compute it like num_engines on load. 13 years ago
rubidium e11b817281 (svn r22958) -Fix [FS#4778]: the savegame description and loading of savegames would crash with savegames from a patched stable (which didn't bump the savegame version) 13 years ago
rubidium 3722a0bf98 (svn r22957) -Codechange: SPECSTR_PLAYERNAME is actually the company name, which is derived from the town name + ' Transport'. So make sure the last constant is in sync with the town name table 13 years ago
yexo 72500ddedf (svn r22920) -Cleanup: replace two very old town variables taht were rarely used by small functions that compute there value on-the-fly when necessary 13 years ago
yexo 561d6503be (svn r22915) -Fix (r22743): TTO savegames with any aircraft not in an hangar caused crashes during load 13 years ago
rubidium b7722dbe86 (svn r22914) -Fix [FS#4716]: old TTO/TTD savegames could get non-stop via orders upon savegame loading, even when those orders did not exist back then. This 'conversion' feature is something for TTDPatch and old OpenTTD savegames 13 years ago
frosch 7337332026 (svn r22880) -Cleanup: SIZE_MAX is now defined in stdafx.h 13 years ago
planetmaker 142e244df6 (svn r22843) -Fix [FS#4748]: Harden savegame load against too many ai config settings (monoid) 13 years ago
rubidium 62886dfeed (svn r22827) -Codechange: pass the/a more proper sub directory when opening (some) files instead of the default one 13 years ago
rubidium 5928dbb8a3 (svn r22811) -Change: don't try to load static NewGRFs when loading the intro game for the first time 13 years ago
rubidium 56fedc4db9 (svn r22767) -Add: river generation 13 years ago
rubidium d6a0e5f240 (svn r22737) -Fix [FS#4717]: some corrupted savegames could crash OpenTTD instead of showing the "savegame corrupted" message 13 years ago
rubidium e01b2e26c3 (svn r22736) -Codechange: constify some numbers 13 years ago
michi_cc d25840978c (svn r22713) -Feature: [NewGRF] Per vehicle custom cargo ageing period. 13 years ago
frosch 31ad03e4d2 (svn r22693) -Fix [FS#4691]: The override managers were not reset in some cases like creating a new scenario. 13 years ago
frosch 78e4abbed0 (svn r22644) -Codechange: Use IsShipDepotTile() instead of single water- and depottests. (adf88) 13 years ago
frosch 1bf9bc70a3 (svn r22625) -Fix (r22050)[FS#4642]: Do not zero the orders of disaster vehicles when converting savegames. 13 years ago
terkhen fbf8b6c5ed (svn r22573) -Fix (r22567): Fix operator precedence. 13 years ago
terkhen 2eb8903dce (svn r22568) -Change: Add a list of persistent storages to the Town class. 13 years ago
terkhen 7e0daae1ec (svn r22567) -Codechange: Store persistent storages inside a pool. 13 years ago
terkhen 55695277c8 (svn r22540) -Codechange: Rename AcceptancePickup to GoodsEntryStatus. 13 years ago
smatz c779ee6b58 (svn r22487) -Fix (r15216)[FS#4622]: engine IDs for coal and mail wagons were swapped 13 years ago
planetmaker 7aa57e4acd (svn r22473) -Codechange: Automatic orders are better called implicit orders as no real order influencing path finding is added 13 years ago
alberth a70556dac2 (svn r22459) -Doc: Typo fixes and doxygen markup improvements. 13 years ago
rubidium 6e9122828e (svn r22406) -Document: some more "random-ish" tidbits 13 years ago
rubidium f23d4a7565 (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 13 years ago
rubidium 2a7912d415 (svn r22198) -Codechange: make some constants name more explicit 14 years ago
smatz b04623b63c (svn r22155) -Codechange: one comment in saveload/station_sl.cpp was wrong 14 years ago
rubidium 3b268b61bd (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 a14f4eb271 (svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)' 14 years ago
smatz 37c4cc2e71 (svn r22130) -Fix: failed assert when loading savegame with empty shared orderlist 14 years ago
smatz c7aebed03e (svn r22129) -Codechange: use simpler check to test if there any towns in the game 14 years ago
rubidium 91fb1787fb (svn r22124) -Codechange: move comment to its logical place 14 years ago
rubidium 1e2a681f9c (svn r22122) -Fix/change: when a NOT_REACHED in saveload can be reached due to an invalid savegame, use SlErrorCorrupt instead 14 years ago
rubidium 1516299bca (svn r22070) -Fix [FS#4503] (r21399): crashes when disconnecting after requesting the map 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
yexo 2f414a017c (svn r22061) -Change: when loading old savegames with long trains set the maximum train length to the length of the longest train 14 years ago
rubidium 1edee577e5 (svn r22058) -Fix (r22050): removing broken orders happened before the "front engine" conversion was done for road vehicles, so road vehicles didn't have orders anymore 14 years ago
rubidium 83d1ff09c6 (svn r22057) -Fix: waypoint conversion could (previously) silently overfill the pool and crash 14 years ago
rubidium 720ac3afa6 (svn r22050) -Fix-ish [FS#4496]: in ancient savegames, e.g. TTO savegames, non primary vehicles (wagons and such) could have unitnumbers or even orders. However, these orders would not be updated when a station is removed. As such some savegames have wagons with current orders to invalid stations which triggers trouble in the load conversion. So, trash any orders/unitnumbers a non-primary vehicle has. 14 years ago
frosch d762b17f40 (svn r22046) -Fix [FS#4487]: Make sure order indices stay in range when copying, sharing, unsharing or deleting all orders. 14 years ago
smatz 978818195e (svn r22042) -Fix: when loading a TTO/TTD savegame, verify we can allocate a CargoPacket before actually trying to do so 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
rubidium 701bd8848a (svn r22017) -Codechange: move MarkTileDirtyByTile to viewport_func.h 14 years ago
alberth 8c3041b3c9 (svn r22001) -Codechange: Rename difficulty.number_industries to difficulty.industry_density. 14 years ago
frosch c003e1a358 (svn r21987) -Fix: Make news items, engine previews and AI preview events deal with no longer existing Engine items after resetting the pool. 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
smatz 934d5d423e (svn r21947) -Fix (r21195): crash when converting a savegame with vehicles crashed in a tunnel entry, or with vehicles reversing there 14 years ago
smatz 5ffb43353e (svn r21942) -Codechange: no need to convert GOINGUP/GOINGDOWN flags if they are cleared afterwards during savegame conversion 14 years ago
planetmaker 11a7945c22 (svn r21940) -Fix [FS#4460]: Not all vehicles should be tested to be inside a tunnel upon savegame load (SmatZ) 14 years ago
smatz 65c4e0108c (svn r21939) -Fix (r16357): the check for valid depot wasn't strict enough 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
rubidium c7939e8a63 (svn r21932) -Document: some tidbits related to vehicles 14 years ago
rubidium aa1f02c248 (svn r21912) -Codechange: let road vehicles use gcache.last_speed/SetLastSpeed as well 14 years ago
rubidium 0f411f9899 (svn r21911) -Codechange: move tcache.last_speed to gcache.last_speed and make SetLastSpeed a function of GroundVehicle 14 years ago
rubidium 05199a641a (svn r21890) -Cleanup: remove some unneeded includes 14 years ago
rubidium 43c8073551 (svn r21886) -Codechange: move documentation towards the code to make it more likely to be updated [n]. 14 years ago
smatz d1ee1a5aed (svn r21881) -Codechange: ensure that vehicle's GOINGUP/DOWN bits are set correctly and that it has correct z_pos when converting from older savegames 14 years ago
smatz f2006f36a1 (svn r21875) -Codechange: indentation of some comments was wrong 14 years ago
rubidium 71ee34e574 (svn r21865) -Fix (r21862): don't perform savegame conversion when reinitialising some vehicle structures due to NewGRF changes 14 years ago
terkhen 8db501e115 (svn r21862) -Codechange: Unify subtype handling between road vehicles and trains. 14 years ago
terkhen fdb720cc1a (svn r21860) -Codechange: Rename road vehicle subtype functions to match the train names. 14 years ago
rubidium 0cf2ef83f0 (svn r21846) -Codechange: move documentation towards the code to make it more likely to be updated [o-s]. 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
terkhen b6148914b0 (svn r21803) -Cleanup: Remove unnecessary semicolons. 14 years ago
smatz e98fe27c5d (svn r21802) -Cleanup (r2600): remove unused _vehicle_id_ctr_day 14 years ago
smatz 8c421116d9 (svn r21799) -Fix: further variables need to be reset when we loaded a TTDPatch savegame in the past 14 years ago
smatz 95d264953a (svn r21798) -Fix: loading a TTO savegame failed after loading a TTDP savegame with vehicle multiplier bigger than 1 14 years ago
rubidium 680b090ddd (svn r21796) -Fix [FS#4398]: drive through road stop state wasn't properly converted from TTDPatch savegames 14 years ago
rubidium 971252a204 (svn r21795) -Fix (r21790): when converting TTDPatch train waypoints, convert the data on the map as well 14 years ago
smatz 1b062d2249 (svn r21794) -Fix (r21790): convert train orders too (Rubidium) 14 years ago
smatz 052cabb9f0 (svn r21793) -Fix (r20446): broken usage of GetTileOwner() caused wrong conversion of old savegames 14 years ago
smatz 27630bd63c (svn r21790) -Fix [FS#4398]: TTDPatch savegames can have train waypoints encoded as buoys 14 years ago
smatz 4b543f10c1 (svn r21786) -Fix [FS#4398]: don't trust rail station width and height data stored by TTDPatch, it is invalid for stations wider or higher than 7 14 years ago
smatz 8e6ec374a5 (svn r21784) -Fix (r16909): crash when converting savegame with custom waypoint name 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
terkhen 1af95597cf (svn r21718) -Feature: Show a list of companies in the owner legend. 14 years ago
peter1138 109e4f79f9 (svn r21710) -Fix (r8128): Update oldloader for change in vehicle cur_image size. 14 years ago
peter1138 bf09d85f93 (svn r21709) -Fix (r8128): Vehicle sprite was cached into a 16 bit variable, causing incorrect sprites to be displayed. 14 years ago
smatz 3aa6650bf8 (svn r21657) -Cleanup (r17107): remove superfluous semicolon 14 years ago
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
rubidium 081c6a8b7d (svn r20634) -Fix (r20592): gracefully do the date_fract format conversion when an older OpenTTD savegame which loaded an ancient savegame still has the old date_fract "format". 14 years ago
rubidium 360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
rubidium 5a7d6249af (svn r20622) -Codechange: unify [GS]et[Statation|Object|Industry|House]AnimationFrame 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
frosch 81e0a17783 (svn r20610) -Fix (r20609): X and Y got swapped. 14 years ago
yexo fc882736e3 (svn r20609) -Fix [FS#3702]: crash when a NewGRF defined an invalid substitute type for a house and the NewGRF was removed during the game 14 years ago
rubidium 1f95317454 (svn r20592) -Fix (r2041): no (proper) savegame conversion was done when _date_fract got a new value range 14 years ago
rubidium 0318ddc279 (svn r20591) -Codechange: make sure _date_fract is set when SetDate is called. Some places wouldn't reset _date_fract correctly at all 14 years ago
rubidium 27e45d96a4 (svn r20547) -Change: the way order backups are performed. Now restoring an order doesn't require up to 765 commands. 14 years ago
yexo f5b964e49c (svn r20528) -Fix: in old savegames aircraft can have an invalid state 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 54ba72863f (svn r20450) -Fix: same the airport tile ID mapping as well 14 years ago
rubidium 95b208cde2 (svn r20449) -Codechange: unduplicate saving/loading of NewGRF ID + local id -> OpenTTD spec mappings 14 years ago
rubidium 8975ef1f7b (svn r20446) -Codechange: unify the location of the water class 14 years ago
rubidium 1f2276b785 (svn r20411) -Codechange: rename unmovables as quite a lot of them are actually movable; e.g. HQ and owned land are pretty movable. 14 years ago
rubidium 40ab6a3298 (svn r20406) -Codechange: make StationClass use the new generic class 14 years ago
rubidium 3285c6ab58 (svn r20400) -Codechange: let StationSpec use GRFFilePropsBase 14 years ago
yexo c8d8c996c2 (svn r20376) -Feature [FS#3093]: add setting for none/original/more smoke (SirkoZ) 14 years ago
yexo e6025117e2 (svn r20375) -Codechange: make sure the watertype for existing airport tiles is set to invalid 14 years ago
yexo ccccb2c490 (svn r20374) -Codechange: add persistant storage for airports 14 years ago
yexo 2743532ae5 (svn r20366) -Codechange: store the rotation of the airport layout in the station struct and use it to rotate hangar tiles 14 years ago
yexo 7f7e3d4a3a (svn r20365) -Codechange: allow multiple layouts for one airport statemachine, store the layout number 14 years ago
rubidium d7921b24e6 (svn r20337) -Codechange: unify the construction of objects on the map 14 years ago
rubidium eb0fa68722 (svn r20335) -Codechange: change the name of some unmovable map accessors 14 years ago
rubidium 5ed887648c (svn r20334) -Codechange: reorder the unmovable bits a bit for futher extension 14 years ago
yexo 3cf8186f54 (svn r20311) -Codechange: don't reserve extra space in the savegame that is never used 14 years ago
terkhen 04134c1e51 (svn r20289) -Codechange: Unify fall through coding style. 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
rubidium 8c85b4ce3d (svn r20281) -Codechange: unify case scope closure + break coding style 14 years ago
alberth 1743c86610 (svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements. 14 years ago
rubidium d9393035ea (svn r20253) -Codechange: change GRFConfig::windows_paletted into a bitmask/bitset 14 years ago
rubidium 6c22efc840 (svn r20252) -Codechange: deduplicate logic for setting a suitable (initial) palette for NewGRFs 14 years ago
rubidium 1e86effbd3 (svn r20247) -Fix: when it is known the loading an old savegame is going to fail, bail out immediately (using an exception) instead of going on until e.g. the expected number of byte is read 14 years ago
terkhen c92b2e9d3c (svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH). 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 4a2901eea4 (svn r20184) -Codechange: make _trees_tick_ctr and _disaster_delay not use VARDEF and put them in a more logical location 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 1b507dcf66 (svn r20164) -Fix [FS#3870]: inconsistencies w.r.t. to km/h vs km-ish/h as "base" unit for aircraft speeds 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
alberth 0dd71a0d7e (svn r20025) -Doc: Fix/add comments to let Doxygen know about the documentation. 14 years ago
rubidium c28f639c40 (svn r20013) -Fix [FS#3890]: silence some warnings / take the advice of the warnings into account 14 years ago
frosch 6f800a8407 (svn r20005) -Codechange: Enumify force_proceed. 14 years ago
yexo ec723b7744 (svn r20003) -Feature [FS#3886]: [NewGRF] var 43 depot build date for railtypes 14 years ago
frosch 9468cce730 (svn r19985) -Fix (r19980): Loading preview data from old savegames failed indeterministically due to non-zeroed memory allocation. Thanks smatz. 14 years ago
frosch cce89a5cb9 (svn r19981) -Add: Read NewGRF configuration during SL_LOAD_CHECK. 14 years ago
frosch 928ecf82bb (svn r19980) -Add: Load some general data from savegames on SL_LOAD_CHECK. 14 years ago
frosch c9628dd568 (svn r19979) -Codechange: Separate static loadable fields from Company into separate struct. 14 years ago
frosch 593c7d178f (svn r19977) -Add: Read current date during SL_LOAD_CHECK. 14 years ago
frosch af21685eb8 (svn r19976) -Add: Read mapsize 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
frosch fe063af382 (svn r19973) -Codechange: Add another procedure to chunk handlers for checking savegames (empty for now). 14 years ago
frosch 54a7c3243e (svn r19971) -Codechange: Make IsGoodGRFConfigList() operate on any given GRFConfig and move the GameLog operations directly to AfterLoad(). 14 years ago
frosch a5bea603ea (svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into DEBUG() output. It was triggered on exceptions, especially when aborting world generation. 14 years ago
frosch ee53807e51 (svn r19914) -Codechange: Wrap a helper class around temporary assignments of _current_company to ensure proper restoration. 14 years ago
smatz 0449d7d5b9 (svn r19850) -Codechange: move declaration of InitializeRailGUI() to rail_gui.h 14 years ago
rubidium f09a74a996 (svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int 14 years ago
smatz 32a8202446 (svn r19806) -Codechange: silence one warning 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
frosch aeb5a099ce (svn r19769) -Fix [FS#3820]: MV_VOID tiles shall have no tropic zone. 14 years ago
rubidium 0c8198ee26 (svn r19738) -Fix: MSVC 64 bits compile warnings 14 years ago
terkhen 74a7508777 (svn r19715) -Codechange: Rename all appareances of shiplift to lock. 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 36d229f131 (svn r19612) -Fix [FS#3756] (r3212): crash when opening a savegame with a waypoint from around 0.4.0 14 years ago
rubidium ff5dfd9c7e (svn r19589) -Change: add some more useful information to the desync log and unify the formatting 14 years ago
smatz d2e99657fa (svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT and DECLARE_ENUM_AS_BIT_SET 14 years ago
frosch be6c18454a (svn r19481) -Codechange: Turn _industry_counts into a static member of Industry. 14 years ago
yexo fbf60bf1d1 (svn r19458) -Fix (r19457): svn add the new file 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 22a27d3b62 (svn r19455) -Codechange: split all airport information in Station to a seperate class 14 years ago
yexo fa9d25eb2c (svn r19435) -Fix: when loading a savegame created with a house newgrf without that newgrf available all houses became tall office blocks 14 years ago
yexo 4c358cb1e1 (svn r19429) -Fix: when the title game contains an AIPL block the AI settinsg where overwritten by those from the title game 14 years ago
Yexo 25e5be2b51 (svn r19395) -Fix [FS#3669]: the AI Debug window didn't open if an AI or library fails to compile when loading a savegame 15 years ago
terkhen e18436477b (svn r19392) -Codechange: Increase the maximum size of a TileArea. 15 years ago
yexo d13ca455b8 (svn r19382) -Fix (r19381): don't break savegame version 139 15 years ago
yexo 8bc4dbf8ab (svn r19381) -Fix [FS#3670] (r19198): airport size wasn't properly stored in the savegame 15 years ago
yexo 38c4e21fdf (svn r19380) -Fix [FS#3678] (r19322): updating the id of the oilrig airport should be done earlier as it can be used by newgrf code 15 years ago
terkhen f78a386b87 (svn r19346) -Feature: Configurable slope steepness for road vehicles from 0% to 10%, default is 7%. 15 years ago
terkhen e6878d7ba1 (svn r19345) -Feature: Realistic acceleration for road vehicles. 15 years ago
terkhen 2e18705d4e (svn r19343) -Codechange: Make RoadVehicle a child class of GroundVehicle.
-Add: Required acceleration functions at RoadVehicle.
15 years ago
terkhen 963f304f67 (svn r19341) -Codechange: Move GOINGUP/GOINGDOWN flags to GroundVehicle.
-Codechange: Move GetSlopeResistance to GroundVehicle.
15 years ago
yexo 4768c3f87c (svn r19322) -Codechange: change the id of the oilrig airport from 15 to 9 15 years ago
yexo daf89297fe (svn r19256) -Codechange: use a constructor/destructor for GRFConfig to make sure all members are properly initialized 15 years ago
yexo b21278659c (svn r19255) -Codechange: encapsulate GRFIdentifier in GRFConfig instead of subclassing it 15 years ago
smatz 5504b1105e (svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit 15 years ago
yexo 80982cc91b (svn r19198) -Codechange: store the size of stations in savegames 15 years ago
rubidium a7a2568985 (svn r19090) -Codechange: some comment coding style fixes 15 years ago