Commit Graph

353 Commits (66b3d60b60551d52b76dc4b1ce4ba5c267ecdc3a)

Author SHA1 Message Date
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 15 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 15 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
rubidium 1c494c6f71 (svn r19081) -Codechange: make it possible to disable compilation of the AI+Squirrel 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
smatz 93d93b3121 (svn r18954) -Fix (r18952): missing 'inline' 15 years ago
yexo d9bd9bb945 (svn r18952) -Fix (r18950): loading recent (=newer then title game) savegames failed 15 years ago
yexo f5212de089 (svn r18944) -Change [FS#3232]: use the highest version of an AI that can load the AI data from a savegame instead of the exact same version 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 fd060c7276 (svn r18831) -Change [FS#3537]: do not go into the crashlog handler in case loading a savegame misses with missing NewGRFs. This way the load game crash handler gets better visibility and the user is instructed to find the missing NewGRFs before filing a bug report 15 years ago
rubidium ea240269dc (svn r18812) -Codechange: make some functions in train.h functions of Train. 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
rubidium 6595434845 (svn r18763) -Feature [FS#3095]: rerandomise AIs on reloading (via the debug window) when they were randomly chosen 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 6cac8be361 (svn r18717) -Codechange: use TileArea in industry instead of three separate variables. Also make use of TileArea functions for determining the 'width' and 'height' of an industry. 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
rubidium 3de085a143 (svn r18683) -Fix: it's not an other 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 e62a56e0f4 (svn r18515) -Change: make it visible when you're to pass the next signal on danger and possible to cancel it
-Fix [FS#2891]: when you pass a signal at danger, in a PBS controlled area, don't try to do the 'safe' thing and stop, but continue going; the user wanted the train to pass the signal at danger so (s)he has to suffer the consequences. Ofcourse one can always stop the train manually.
15 years ago
rubidium 25d04c0777 (svn r18506) -Fix [FS#3368]: no error message was created for the first fatal NewGRF error. 15 years ago
rubidium 5d6df7a8fd (svn r18486) -Fix: when switching language and you're getting a different font, recalculate the coordinates/sizes of the viewport signs. Otherwise it gets glitchy or abbreviated (in the smallmap) 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 e4dd60d428 (svn r18388) -Codechange: move entering/leaving of road stops to functions of RoadStop 15 years ago
rubidium 6278f0b8a9 (svn r18385) -Cleanup: remove the now unneeded multistop slot management code 15 years ago
rubidium c0def29c99 (svn r18384) -Fix (r18351): attempt to 'work around' MSVC's IMO stupid warning 15 years ago
rubidium 4ddbe1793e (svn r18379) -Codechange: move the cache updating function to its own header to reduce the include 'pathfinder' dependencies 15 years ago
rubidium 0f7cee89d8 (svn r18377) -Codechange: add 'cache' of the tile area of truck and bus stops. 15 years ago
rubidium 2f3053508d (svn r18364) -Codechange: move the pathfinders and their related files into a separate directory 15 years ago
rubidium cbb87c41d5 (svn r18362) -Cleanup: remove OPF for RVs and NTP to clean up lots of code and simplify some things for the future 15 years ago
rubidium a32968e17e (svn r18351) -Fix [FS#3333]: endianness issue with saving the zoom level 15 years ago
rubidium da30e736ca (svn r18330) -Cleanup: remove some unneeded includes 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 7ddb16d90e (svn r18141) -Fix (r18051): one couldn't (easily) continue a game in single player that was 'not enough players'/'waiting on join'-paused 15 years ago
rubidium 224f4e0197 (svn r18028) -Codechange: unglobalise some functions 15 years ago
rubidium b2d7edddfa (svn r18027) -Codechange: make some unneededly global variables static and remove some unused variables 15 years ago
frosch d6e65fc173 (svn r18008) -Codechange: Rename NUM_PRICES to PR_END, and use the Price enum some more. 15 years ago
rubidium 318c2fad7c (svn r17963) -Codechange: some documentation style 15 years ago
alberth a66c2b8978 (svn r17929) -Fix (r2391): STR_NULL does not seem very useful as file save error summary. 15 years ago
alberth 5a97b64d73 (svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
Gentlemen, swap your string parameters.
15 years ago
rubidium d956d05024 (svn r17908) -Fix [FS#3288]: uninitialised values in some paths of loading TTO savegames 15 years ago
rubidium f656dd4cf3 (svn r17893) -Feature [FS#2633]: make it possible to disable background saving, only via the config file/in game console though 15 years ago
smatz 618f0cdae3 (svn r17879) -Codechange: convert awarded pax subsidies from old savegames using simple heuristic (instead of deleting them) 15 years ago
rubidium c0efafc52d (svn r17817) -Codechange: MakeWater actually made sea tiles, so rename it to MakeSea and unduplicate the code to make sea, rivers and canals. 15 years ago
rubidium 079b7fa034 (svn r17816) -Codechange: move the CargoList invalidation-after-saveload to the function that handles the CargoPackets instead of spreading it around over the saveload files. Also add some code to validate whether the caches are valid; to be removed later when no problems turn up 15 years ago
rubidium fe575367f9 (svn r17813) -Codechange: unify the CargoPacket related coding style 15 years ago
rubidium ef38feefda (svn r17807) -Codechange: move all 'updates' just after the 'load' constructor of CargoPackets to the constructor call itself 15 years ago
rubidium 93cc3e6106 (svn r17806) -Codechange: split CargoPacket's 'afterload' to a separate function 15 years ago
rubidium e553983e39 (svn r17800) -Codechange: first steps into making CargoList a template 15 years ago
rubidium 96d098e120 (svn r17734) -Fix (r17732): broke the assumption that 'this->packets == this', which broke loading old savegames. Now remove the (need for the) hack that needed that assumption. 15 years ago
rubidium 10428de7a3 (svn r17727) -Codechange: some coding style and documentation fixes 15 years ago
rubidium ec3a0dc064 (svn r17720) -Codechange: guard the CargoPacket variables that are cached in CargoLists so they cannot be written from outside the CargoList class (based on patch by fonsinchen) 15 years ago
rubidium 982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
rubidium dd01e6196a (svn r17685) -Fix: autounpausing kept trying to unpause a loaded game that was paused due to an error. Just reject such savegames in dedicated servers. 15 years ago
smatz a9d0dde464 (svn r17597) -Codechange: rename namegen* to townname* 15 years ago
smatz f85b8c4e09 (svn r17596) -Codechange: constify some tables 15 years ago
smatz c3a80f1518 (svn r17589) -Codechange: rename town_acc to always_accepted 15 years ago
rubidium 2e5596025c (svn r17579) -Fix: remove doxygen docs for removed parameters, or change @param to @tparam if necessary 15 years ago
rubidium 310465da07 (svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos 15 years ago
rubidium 4db98357ea (svn r17552) -Codechange: rename load_unload_time_rem to something more generic as it's used for more than just load/unload. Also add some documentation about where it is used. 15 years ago
rubidium 989f53b9dd (svn r17535) -Fix: compiling without networking failed; also unhackify the crash logger a bit. 15 years ago
rubidium 10c3af4642 (svn r17493) -Codechange: store the depot index on the map 15 years ago
rubidium 4fef835e52 (svn r17492) -Codechange: don't store the town index for road depots. 15 years ago
yexo 39286cd325 (svn r17483) -Fix (r17405): when an aircraft starts flying in circles make it turn in the correct direction first before continuing 15 years ago
smatz 5d622fd840 (svn r17439) -Fix (r17436): you weren't paid for cargo delivered to houses and headquarters anymore 15 years ago
frosch 64f5f1d02c (svn r17433) -Codechange: Store cumulated inflation in savegame and compute all prices from that instead of storing all prices separately.
Note: Savegame conversion computes the inflation from max loan. Prices from modified savegames will get lost. TTO savegames will also behave slightly different.
-Change: NewGRF price modifiers now take effect everytime when loading NewGRFs instead of once on gamestart.
15 years ago
smatz 7dd7f622cd (svn r17431) -Fix (r16735): oldloader wasn't updated 15 years ago
smatz d0beb1721e (svn r17429) -Fix (r16378): conversion of TTO/TTD savegames failed when vehicle 0 was a wagon 15 years ago