Commit Graph

727 Commits (424e4691ce2122ccfe42d19aad4edb6b71b5c689)

Author SHA1 Message Date
fonsinchen 97e1013863 (svn r25901) -Fix [FS#5675]: Check if any vehicles are still serving a link before deleting it. 11 years ago
fonsinchen 7025a145e3 (svn r25899) -Change: Restrict flows if links are restricted and don't normally pick them anymore. 11 years ago
fonsinchen d0c610f0ec (svn r25898) -Codechange: Add second timestamp for 'restricted links' to all edges. 11 years ago
fonsinchen 8d53e23b6c (svn r25892) -Fix: off-by-one error in GetVia prevented certain flows from getting picked 11 years ago
fonsinchen fff00b6460 (svn r25891) -Feature: Use smallstack to allow for multiple next hops when loading and unloading. 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
rubidium 3e03733fa6 (svn r25495) -Fix [FS#5553]: when addings bits to a (train) station, the train trying to stop there could overshoot the (new) stop location and not stop at all 11 years ago
rubidium 7134b7c8a1 (svn r25461) -Fix: MSVC compiler warning 11 years ago
fonsinchen 5733569153 (svn r25435) -Fix: reroute cargo in vehicles if station is deleted 11 years ago
fonsinchen 6ce6fd05d8 (svn r25434) -Fix: reroute cargo staged for unloading if a link breaks 11 years ago
fonsinchen e3807ed606 (svn r25424) -Fix: keep old flows around in an invalidated state to continue routing cargo if necessary 11 years ago
fonsinchen ed42250361 (svn r25391) -Fix: make ChangeShare really aware of INT_MIN 11 years ago
fonsinchen 07ce972211 (svn r25379) -Fix: avoid warning in FlowStatMap::FinalizeLocalConsumption 11 years ago
fonsinchen 7b2f8a885e (svn r25365) -Feature: show cargo by next hops and final destinations in the station GUI 11 years ago
fonsinchen 1de46050f6 (svn r25362) -Feature: consider cargo waiting at other stations for rating at the origin station 11 years ago
fonsinchen f022550df9 (svn r25361) -Feature: distribute cargo according to plan given by linkgraph 11 years ago
fonsinchen 9f49617eed (svn r25359) -Codechange: schedule jobs when tracking capacities of links 11 years ago
fonsinchen c45cfa22a6 (svn r25346) -Codechange: Glue between stations and flow stats 11 years ago
fonsinchen 9f54020588 (svn r25345) -Add: implementation of SharesMap and FlowStatMap 11 years ago
rubidium 0d9a8b07ec (svn r25260) -Codechange: occasionally clear dead links and compress link graphs (fonsinchen) 11 years ago
rubidium 6b746167e4 (svn r25259) -Codechange: track capacities and usage of links 11 years ago
rubidium 7283ec9ef5 (svn r25251) -Fix [FS#5540]: when overbuilding a reserved track with a non-track station tile, that tile would remain reserved and eventually trigger a crash upon removal 11 years ago
rubidium 026de5c3a9 (svn r25243) -Fix [FS#5546]: "No station" error was given, even when there was a station that way occupied or not yours 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) 11 years ago
rubidium e0d3265546 (svn r25149) -Codechange: replace 'magic' 'has rating' bitcheck by descriptive function 11 years ago
rubidium ea035f4804 (svn r25132) -Fix [FS#5510, FS#5516]: station rebuilding could leave reserved tiles which caused crashes later on 11 years ago
rubidium 43bc429a0d (svn r25016) -Fix [FS#5476]: integer overflow in UpdateStationRating (fonsinchen) 12 years ago
rubidium 84ca041564 (svn r25008) -Codechange: Make CargoList::Truncate behave similarly to CargoList::MoveTo, i.e. pass the amount to truncate (fonsinchen) 12 years ago
rubidium 3e7d2f852e (svn r24961) -Fix [FS#5362] (r23564): making occupied platforms larger would make train reserve onto the newly unreserved bit and cause crashes. Now if a platform is enlarged and there is a reservation, reserve the whole platform 12 years ago
frosch 52aaa492e7 (svn r24951) -Fix: [NewGRF] Var 10 of CB 24 missed the T part. 12 years ago
peter1138 1e10e91fde (svn r24905) -Feature(ish): Implement station randomisation triggers. 12 years ago
planetmaker f00d9976f9 (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
peter1138 9eadd83372 (svn r24840) -Fix: Draw NewGRF railtypes in NewGRF station previews. 12 years ago
frosch 41ecc712ec (svn r24721) -Fix (r24715): Reallow building road stations. 12 years ago
frosch 620bc7b52d (svn r24720) -Fix (r24715): Comparison of different height units. 12 years ago
frosch 193ee85c6f (svn r24718) -Codechange: Rename GoodsEntry::days_since_pickup to GoodsEntry::time_since_pickup. 12 years ago
frosch 80350a9063 (svn r24715) -Fix [FS#5335]: [NewGRF] Allow stations to draw snow/desert aware ground sprites with railtype overlays. 12 years ago
frosch 88b8349ec3 (svn r24714) -Fix [FS#5337]: [NewGRF] Draw default foundations if resolving of custom station foundation sprites fails. 12 years ago
frosch 39a8ed82f5 (svn r24708) -Codechange: Check magic values of GoodsEntry::last_speed only via wrapper function. 12 years ago
frosch 0819370c69 (svn r24704) -Cleanup: No need to initialise stuff twice. 12 years ago
frosch acaa0f3502 (svn r24703) -Fix: Disallow closing oilrig airports in SE. 12 years ago
alberth 6c6abd87db (svn r24535) -Doc: Two additions, lots of small spelling fixes, and some Doxygen improvements. 12 years ago
frosch 8b76e46045 (svn r24402) -Fix [FS#5243]: Station properties 11 and 14 were combined incorrectly. 12 years ago
frosch ab55498c1e (svn r24355) -Codechange [FS#5217]: Deduplicate code when building stations. (Hirundo) 12 years ago
frosch 4e6f015971 (svn r24354) -Fix: When airport construction was denied due to noise, the error message named the wrong town. 12 years ago
frosch 2aa43d6c8b (svn r24284) -Codechange: Remove NewsSubtypes and directly use NewsTypes and NewsFlag instead. 12 years ago
frosch 97608f0814 (svn r24167) -Codechange: Rename NewGRFClass::GetCount() to NewGRFClass::GetClassCount() 12 years ago
frosch 3d7ac6af1a (svn r24166) -Codechange: Turn NewGRFClass::Get(Tid, uint) and GetCount(Tid) into non-static members GetSpec(uint) and GetSpecCount(). 12 years ago
frosch d42bd940b2 (svn r24162) -Codechange: Remove NewGRFClass::GetName() and SetName() in favour of using Get() and direct member access (which is needed anyway for GRF string resolving). 12 years ago
michi_cc 90fa700cc7 (svn r24127) -Feature [FS#1497]: Allow closing airports for incoming aircraft. (Based on patch by cirdan) 12 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 34a5d030b8 (svn r23851) -Fix: infrastructure cache could get out of sync when overbuilding a drive through road stop 13 years ago
michi_cc f2fc765290 (svn r23844) -Fix (r23414): Infrastructure count for stations wasn't updated properly on company takeover. And don't count buoys while loading a game either. 13 years ago
rubidium 09dacda186 (svn r23838) -Fix [FS#5000]: assertion got hit when destroing a dock when a ship was loading 13 years ago
rubidium d5eeab43b7 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
rubidium 0cfe86cead (svn r23735) -Codechange: remove ~50 includes from headers that weren't needed 13 years ago
rubidium b9c4114f30 (svn r23717) -Fix [FS#4927]: ships going to wrong dock location when moving the dock while the game is paused 13 years ago
smatz f6d9fbe35c (svn r23716) -Revert (r23705)[FS#4937]: unforeseen consequences 13 years ago
smatz 441a22977a (svn r23705) -Codechange: cache the last processed station in FindStationsAroundTiles() in order to make the code a bit faster 13 years ago
truebrain b4464e8076 (svn r23702) -Codechange: avoid using TileAddWrap() in FindStationsAroundTiles() by finding out where the border is in advance, speeding up the function with a factor 3 (you got to love random statistics which has no real meaning in the grand scheme of it all :D) 13 years ago
rubidium 4e780d6dea (svn r23676) -Fix [FS#4913] (r23412): when removing road stops the wrong tile was checked for updating the infrastructure cache 13 years ago
truebrain feddd40bcc (svn r23546) -Codechange: document and rename widgets to be consistent and understandable 13 years ago
rubidium 24263638bf (svn r23526) -Codechange: unify cargos vs cargoes 13 years ago
yexo 15899c37ce (svn r23463) -Fix (r23461): unused variable 13 years ago
yexo f883f46684 (svn r23462) -Codechange: use AirportTileTableIterator in a few more places to make the code easier to read 13 years ago
yexo a8f0dfd5be (svn r23461) -Fix: handle a missing airport newgrf as graceful as possible by not crashing when loading such savegame or when an airport is removed 13 years ago
yexo e24dc59bc5 (svn r23459) -Fix: don't crash trying to draw airport tiles when the airport grf is missing 13 years ago
yexo 4e9e15a3f3 (svn r23456) -Fix (r23441): oilrigs don't have any layouts nor do they provide airport noise 13 years ago
rubidium bff33e348c (svn r23441) -Fix [FS#4764]: some airport functions didn't take the layout into account resulting in wrong noise levels or nearests towns (patch by Zuu) 13 years ago
michi_cc bf5ef7537e (svn r23414) -Add: Company infrastructure counts for stations/airports. 13 years ago
michi_cc 796fe54a2f (svn r23413) -Add: Company infrastructure counts for canals. 13 years ago
michi_cc 7a6b45c133 (svn r23412) -Add: Company infrastructure counts for road. 13 years ago
michi_cc 85ec2f07af (svn r23411) -Add: Company infrastructure counts for rail. 13 years ago
peter1138 0043123c33 (svn r23319) -Fix (r23316): Offsets of viewport signs were not scaled up. 13 years ago
rubidium b2830546b8 (svn r23312) -Fix [FS#4849]: assertion could be triggered in case a station was removed just after a vehicle delivered cargo to it 13 years ago
yexo 36e61e08b3 (svn r23160) -Fix: wrong comments in a lot of TileTypeProcs definitions 13 years ago
frosch a608cbab5d (svn r23148) -Change: [NewGRF] Check the results of various callbacks for validness. 13 years ago
frosch ebf19d6219 (svn r23147) -Change: [NewGRF v8] Unify the return values of boolean callbacks, and check the results for validity. 13 years ago
rubidium 0e2d2b2317 (svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z related variables 13 years ago
rubidium fb9fb416a1 (svn r23107) -Codechange: let GetSlopePixelZ and TerraformTile tile type functions use int z as well 13 years ago
rubidium 70faeeaba9 (svn r23106) -Codechange: pass int* to GetTileSlope and friends 13 years ago
rubidium 25b3869c3b (svn r23101) -Codechange: remove pointless multiplications by TILE_HEIGHT from the station/object building code 13 years ago
rubidium 5d7acba5d3 (svn r23100) -Codechange: remove pointless multiplications by TILE_HEIGHT for the terraform code 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
michi_cc f0ffa534de (svn r23072) -Feature: [NewGRF] House callback 0x148. 13 years ago
frosch 856db2751a (svn r23049) -Fix [FS#4810]: Use the same forest-check for the vegetation-map colour as for nearby station names. 13 years ago
rubidium b4bd469347 (svn r22973) -Add: support for replacing the buoy via action123 13 years ago
frosch 1df095f114 (svn r22960) -Feature: Allow depots, standard roadstops and airports on steep slopes. 13 years ago
frosch bf664cd68d (svn r22924) -Codechange: Enhance NewGRFSpriteLayout for drawing construction stages in spritelayouts with inconsistent number of sprites per spriteset. 13 years ago
michi_cc 5a85a32413 (svn r22659) -Add: [NewGRF] Support for the land slope check callback for stations. 13 years ago
terkhen 7e0daae1ec (svn r22567) -Codechange: Store persistent storages inside a pool. 13 years ago
terkhen e392f26215 (svn r22557) -Codechange: Remove constness from AnimationBase callbacks. 13 years ago
frosch a0eb879310 (svn r22552) -Fix: Clear airport persistent storage on construction/removal of airports. 13 years ago
terkhen 43de2fa2e8 (svn r22542) -Add: Store cargo acceptance stats for stations. 13 years ago
terkhen 55695277c8 (svn r22540) -Codechange: Rename AcceptancePickup to GoodsEntryStatus. 13 years ago
frosch becf6c823f (svn r22518) -Feature: [NewGRF] Advanced sprite layouts with register modifiers. 13 years ago
frosch 62b6d0eb0e (svn r22482) -Codechange: Add some contants for the number of ticks between certain cyclical tasks. 13 years ago
alberth 3ae756f85f (svn r22460) -Doc: Semantic documentation fixes, and doxygen additions (partly by planetmaker). 13 years ago
frosch b5c0304e0b (svn r22454) -Codechange: Deduplicate GetCustomStationGroundRelocation() into GetCustomStationRelocation() and only call it if actually needed. 13 years ago