Commit Graph

97 Commits (cce3d4fec805ae3c55d24a9d05cbc6c1a3aeba99)

Author SHA1 Message Date
fonsinchen ec492bfb77 (svn r26166) -Fix: Scale flows only after mapping to avoid rounding errors. 11 years ago
frosch db894b0b3f (svn r26085) -Codechange: Pass ResolverObjects as reference instead of pointer since they are never NULL. 11 years ago
rubidium b3e93d6520 (svn r26057) -Fix: a number of possibly uninitialised variables 11 years ago
fonsinchen 962d6d7e48 (svn r25963) -Fix [FS#5758]: Mixtures of old and new flows could create cycles. 11 years ago
fonsinchen 6524849386 (svn r25899) -Change: Restrict flows if links are restricted and don't normally pick them anymore. 11 years ago
fonsinchen e99965aa15 (svn r25896) -Fix: Remove unused and unimplemented declaration of RunAverages. 11 years ago
fonsinchen 9337c561b0 (svn r25892) -Fix: off-by-one error in GetVia prevented certain flows from getting picked 11 years ago
fonsinchen f0119308f6 (svn r25424) -Fix: keep old flows around in an invalidated state to continue routing cargo if necessary 11 years ago
fonsinchen 741c431caa (svn r25362) -Feature: consider cargo waiting at other stations for rating at the origin station 11 years ago
fonsinchen db671ffb86 (svn r25346) -Codechange: Glue between stations and flow stats 11 years ago
fonsinchen c8f068d979 (svn r25345) -Add: implementation of SharesMap and FlowStatMap 11 years ago
rubidium 3947453277 (svn r25259) -Codechange: track capacities and usage of links 11 years ago
rubidium 06313e4981 (svn r25257) -Add: basic link graph (fonsinchen) 11 years ago
rubidium b2292122b6 (svn r25149) -Codechange: replace 'magic' 'has rating' bitcheck by descriptive function 11 years ago
frosch 883f9bec9b (svn r24718) -Codechange: Rename GoodsEntry::days_since_pickup to GoodsEntry::time_since_pickup. 12 years ago
frosch 0566b29ab7 (svn r24708) -Codechange: Check magic values of GoodsEntry::last_speed only via wrapper function. 12 years ago
frosch 03c94ae6a3 (svn r24707) -Doc: Improve description of GoodsEntryStatus flags. 12 years ago
alberth 0849fb8d36 (svn r24535) -Doc: Two additions, lots of small spelling fixes, and some Doxygen improvements. 12 years ago
rubidium e40eb8177a (svn r23735) -Codechange: remove ~50 includes from headers that weren't needed 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
smatz 33d283fdb1 (svn r23588) -Codechange: use the 'final' keyword so compiler can optimise out some indirect calls 13 years ago
yexo c9be5d50da (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
alberth c4118e3f6a (svn r22742) -Add: Add function to query exit direction of hangars at airports. 13 years ago
terkhen 00e5c1df18 (svn r22567) -Codechange: Store persistent storages inside a pool. 13 years ago
terkhen 8e00fa39b2 (svn r22542) -Add: Store cargo acceptance stats for stations. 13 years ago
terkhen 9f68c20d10 (svn r22541) -Document: GoodsEntry struct. 13 years ago
terkhen 5bb79b1f46 (svn r22540) -Codechange: Rename AcceptancePickup to GoodsEntryStatus. 13 years ago
rubidium 9ca4b629cd (svn r21846) -Codechange: move documentation towards the code to make it more likely to be updated [o-s]. 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
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 30f2afac9b (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
yexo 2e6713ce95 (svn r20374) -Codechange: add persistant storage for airports 14 years ago
yexo d2f9b87ccd (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 330c2f979e (svn r20365) -Codechange: allow multiple layouts for one airport statemachine, store the layout number 14 years ago
yexo c7516f230f (svn r20324) -Doc: add doxygen comments to the Airport struct belonging to a station 14 years ago
yexo 1579e9ded2 (svn r19465) -Codechange: support for multi-tile hangars 14 years ago
yexo f2743cd5ed (svn r19464) -Codechange: move GetHangarTile to Airport 14 years ago
yexo 414071d07f (svn r19463) -Codechange: add helper function to determine if an airport has at least one hangar 14 years ago
yexo 81ca0e28c4 (svn r19462) -Codechange: use the AS_GENERIC macro also for the dummy airport 14 years ago
yexo c4a88ce022 (svn r19455) -Codechange: split all airport information in Station to a seperate class 14 years ago
yexo dd7c2b2f9d (svn r19205) -Codechange: move AirportSpec to newgrf_airport.h/cpp 15 years ago
yexo 698737f485 (svn r19198) -Codechange: store the size of stations in savegames 15 years ago
yexo a1f28ec88b (svn r18860) -Codechange: introduce a wrapper to get an hangar tile from a station 15 years ago
yexo ab68f08886 (svn r18857) -Codechange: don't rely on the fact that all airports are rectangular 15 years ago
rubidium 82fc28f77f (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
yexo d669801f1d (svn r18807) -Codechange: introduce AirportSpec and move several non-statemachine-related variables to there 15 years ago
rubidium 81062163a2 (svn r18377) -Codechange: add 'cache' of the tile area of truck and bus stops. 15 years ago
rubidium 2e766884f6 (svn r17795) -Codechange: split cargolist into one for vehicles and one for stations. 15 years ago
rubidium 446363aac4 (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