Commit Graph

338 Commits (d486d58d869ad4ef4db1d45397ac356d32ebee74)

Author SHA1 Message Date
frosch 336dc88c19 (svn r25855) -Fix [FS#5788] (r25833): Obiwan messed up savegame conversion. 11 years ago
zuu 27b153d16a (svn r25852) -Codechange: Merge GetFenceXX/SetFenceXX into one common GetFonce/SetFence for all directions that take an extra direction parameter (cirdan, LordAro) 11 years ago
zuu e124838db5 (svn r25849) -Codechange: Introduce IsTileFlat to not compute full slope information for situations when we only want to know if a tile is flat or not (cirdan, LordAro) 11 years ago
frosch f794b9786f (svn r25844) -Change: Increase maximum number of object instances on the map from 64k to about 16M. 11 years ago
frosch d9d978d6d2 (svn r25833) -Codechange: Move ObjectType from map array into pool item. 11 years ago
frosch 478500abbc (svn r25832) -Codechange: Reduce variety of object type test functions. 11 years ago
zuu 4b036690e2 (svn r25620) -Fix (r25342): Save/load of story books were broken 11 years ago
rubidium 1cf6dad8f2 (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 f509032ca0 (svn r25390) -Fix: add missing compatibility settings in afterload. 11 years ago
fonsinchen 111ecddb50 (svn r25358) -Codechange: save and load link graph jobs and the schedule 11 years ago
frosch c5d7445704 (svn r25185) -Fix [FS#5508]: Remove ambivalent functions CargoList::Empty() and Count(), and replace them with VehicleCargoList::StoredCount(), TotalCount(), StationCargoList::AvailableCount() and TotalCount(). (fonsinchen) 12 years ago
rubidium 7aefa8527c (svn r25152) -Fix-ish [FS#5520]: remove stray reservation from savegames affected by FS#5510 et al. upon loading 12 years ago
frosch 789e4a8998 (svn r25115) -Fix (r8973) [FS#5492-ish]: [NewGRF] Acceleration of NewGRF aircraft was too fast, while acceleration of default aircraft was way too slow. I.e. choose wisely who to let write the software for your orbiter. 12 years ago
planetmaker f00d9976f9 (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
frosch 76fef0843c (svn r24790) -Remove: Classic difficulty profiles. 12 years ago
frosch 9ef1c5f4c3 (svn r24789) -Add: Separate setting to control the default settings of newly added scripts and random AIs. 12 years ago
alberth 19adc87262 (svn r24776) -Doc: Typo fixes, additions, and additional dots collected from various sources (including Eagle_rainbow, MinchinWeb) 12 years ago
frosch 6af105dc6b (svn r24717) -Fix [FS#5139]: When starting a scenario apply the local company settings to the new company. 12 years ago
planetmaker f46b2fd4b3 (svn r24619) -Change: Check for bankruptcy on a monthly basis (ZxBioHazardZx) 12 years ago
frosch c3fe49c958 (svn r24565) -Fix: Stop both price and payment inflation if either of them has reached MAX_INFLATION. 12 years ago
frosch aea90e69f6 (svn r24564) -Fix [FS#5312] (r17433): Limiting the inflation did not quite work. 12 years ago
alberth 670c364323 (svn r24540) -Codechange: Remove the not-so-useful HALF_TILE_SIZE constant. 12 years ago
michi_cc 07f32df363 (svn r24134) -Add: Configurable limits for tree planting. 13 years ago
michi_cc 2eae02db59 (svn r24132) -Change [FS#4713]: Improve randomness of tile order in the tile loop. (monoid) 13 years ago
rubidium 61ce522bfa (svn r23942) -Fix: infrastructure cache of standard road stops would get messed up when buying a company with them 13 years ago
rubidium d5eeab43b7 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
truebrain 5f65e056e1 (svn r23712) -Codechange: rename the two vehicle hashes we have to names that make clear where they differ in 13 years ago
rubidium e1757cb9a5 (svn r23694) -Fix (rprev): somehow compilers didn't understand what I meant... 13 years ago
rubidium 9f4b0eedde (svn r23693) -Fix [FS#4859]: hardcode the original defaults for loading old savegames if they could totally mess with the game's behaviour 13 years ago
rubidium 24263638bf (svn r23526) -Codechange: unify cargos vs cargoes 13 years ago
rubidium 56f37d9386 (svn r23476) -Codechange: use the error queue to replace switch mode error strings, again making it possible to return multiple errors 13 years ago
michi_cc 85ec2f07af (svn r23411) -Add: Company infrastructure counts for rail. 13 years ago
michi_cc b68ced52c4 (svn r23410) -Add: A window with a detailed overview over the infrastructure of a company. 13 years ago
terkhen a9cc00bf68 (svn r23405) -Codechange: Keep a matrix of cargos accepted by houses for each town (michi_cc). 13 years ago
peter1138 b84174fd4d (svn r23316) -Feature: Add ability to zoom in to 2x and 4x level. 13 years ago
truebrain 1ad295a4cf (svn r23309) -Fix: loading old games didn't have goals set for towns (tnx to frosch for spotting) 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
yexo 0566a6cfda (svn r23168) -Feature [FS#1824]: always draw fences around field tiles 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 4961cd06a9 (svn r22977) -Codechange: Rename SetCachedEngineCounts() to GroupStatistics::UpdateAfterLoad(). 13 years ago
frosch 78e4abbed0 (svn r22644) -Codechange: Use IsShipDepotTile() instead of single water- and depottests. (adf88) 13 years ago
terkhen fbf8b6c5ed (svn r22573) -Fix (r22567): Fix operator precedence. 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. 14 years ago
planetmaker 7aa57e4acd (svn r22473) -Codechange: Automatic orders are better called implicit orders as no real order influencing path finding is added 14 years ago
smatz c7aebed03e (svn r22129) -Codechange: use simpler check to test if there any towns in the game 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
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 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
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
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
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
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
terkhen fdb720cc1a (svn r21860) -Codechange: Rename road vehicle subtype functions to match the train names. 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 052cabb9f0 (svn r21793) -Fix (r20446): broken usage of GetTileOwner() caused wrong conversion of old savegames 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
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
smatz 3aa6650bf8 (svn r21657) -Cleanup (r17107): remove superfluous semicolon 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 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 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 160b6834e9 (svn r21282) -Codechange: Rename CheckSavegameVersionOldStyle() to IsSavegameVersionBefore(). 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
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
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
yexo a10ce551c9 (svn r20717) -Fix [FS#4103]: water class was not set for stations 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 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
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
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 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
yexo e6025117e2 (svn r20375) -Codechange: make sure the watertype for existing airport tiles is set to invalid 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
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
terkhen c92b2e9d3c (svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH). 14 years ago
alberth 137e2b64c9 (svn r20211) -Codechange: Indented code should have curly braces around it. 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 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 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. 15 years ago
frosch ee53807e51 (svn r19914) -Codechange: Wrap a helper class around temporary assignments of _current_company to ensure proper restoration. 15 years ago
smatz 0449d7d5b9 (svn r19850) -Codechange: move declaration of InitializeRailGUI() to rail_gui.h 15 years ago
rubidium 7f43b93eae (svn r19799) -Change: give depots an unique name in the same manner buoys and waypoints are named 15 years ago
frosch aeb5a099ce (svn r19769) -Fix [FS#3820]: MV_VOID tiles shall have no tropic zone. 15 years ago
terkhen 74a7508777 (svn r19715) -Codechange: Rename all appareances of shiplift to lock. 15 years ago
yexo 22a27d3b62 (svn r19455) -Codechange: split all airport information in Station to a seperate class 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
yexo d13ca455b8 (svn r19382) -Fix (r19381): don't break savegame version 139 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 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 b21278659c (svn r19255) -Codechange: encapsulate GRFIdentifier in GRFConfig instead of subclassing it 15 years ago
yexo 80982cc91b (svn r19198) -Codechange: store the size of stations in savegames 15 years ago
yexo 0f5286a388 (svn r18912) -Codechange: free up a bunch of airporttile ids by using the tile animation frame 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 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 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 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 4ddbe1793e (svn r18379) -Codechange: move the cache updating function to its own header to reduce the include 'pathfinder' dependencies 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 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
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 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 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
rubidium 2e5596025c (svn r17579) -Fix: remove doxygen docs for removed parameters, or change @param to @tparam if necessary 15 years ago
rubidium 10c3af4642 (svn r17493) -Codechange: store the depot index on the map 15 years ago