Commit Graph

88 Commits (fd55399167115dbb06e77bb03f85681ba318f5f2)

Author SHA1 Message Date
alberth 92801ac718 (svn r20681) -Codechange: Make BinaryHeap_Push() a method, introduce temporary THISBIN_HEAP_ARR macro. 14 years ago
alberth 68e2a07479 (svn r20680) -Codechange: Remove the now useless union and struct wrappers around the binary heap data. 14 years ago
alberth ded2acf02e (svn r20679) -Codechange: Remove unused insertion sorter. 14 years ago
rubidium 30f2afac9b (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
yexo 241d705406 (svn r20474) -Cleanup: remove some unused code 14 years ago
frosch 4bd32799f1 (svn r20286) -Codechange: Unify end of doxygen comments. 14 years ago
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
rubidium e356cb9405 (svn r20281) -Codechange: unify case scope closure + break coding style 14 years ago
alberth a825b4fa5f (svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements. 14 years ago
alberth be6c058424 (svn r20211) -Codechange: Indented code should have curly braces around it. 14 years ago
smatz 28d25cadfc (svn r19815) -Cleanup: remove two unused variables 15 years ago
rubidium 062dd0e24c (svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int 15 years ago
rubidium 398418b8fa (svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int 15 years ago
rubidium 99ecfe4061 (svn r19792) -Change: use the typed FOR_EACH_SET_BIT for Tracks (adf88) 15 years ago
rubidium be504a6ef0 (svn r19788) -Codechange: make FOR_EACH_SET_BIT not change the value of the passed bit variable, i.e. allow expressions as parameter 15 years ago
smatz 3f961ca671 (svn r19775) -Fix: improper use of 'then' in few comments (ln) 15 years ago
smatz 0ef33548c2 (svn r19614) -Codechange: "it's" => "its" where appropriate 15 years ago
rubidium df34fdcc26 (svn r19460) -Fix [FS#3703]: [NPF] Crash when finding a waypoint before finding the closest depot 15 years ago
smatz c5b34444af (svn r19084) -Codechange: minor coding-style fixups 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
rubidium b2e9b5d612 (svn r18683) -Fix: it's not an other 15 years ago
rubidium c5159055e3 (svn r18535) -Fix [FS#2722]: don't account for path reservation costs when entering a signal block via a 'block' signal. This way you won't get double penalties, both red signals and reservation costs, for the block signalled tracks 15 years ago
rubidium b3e3f0b0ee (svn r18533) -Fix: don't refer, in the comments, to a long renamed function 15 years ago
rubidium 472e5501fa (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 d6e73ea1ce (svn r18421) -Fix [FS#3244]: pathfinders wouldn't consider the 'other' reachable waypoint tile if the closest one is free but there is no safe waiting point directly after it. Now check for a free safe waiting point beyond the waypoint unless there are junctions before the first safe waiting point. 15 years ago
rubidium fac2f8ce1a (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 865374eeb6 (svn r18386) -Codechange: make the NPF functions static and remove unused functions 15 years ago
rubidium 66da3cbb20 (svn r18383) -Fix (r18375): triggering NOT_REACHED for some waypoints 15 years ago
rubidium 4ec4fdff36 (svn r18382) -Codechange: make road vehicles behave more like trains 'around' stations and use pathfinder penalties to determine to which 'part' to go. Note that the pathfinder penalties for drive through stops are currently only looking at the occupation of the first in a row, but this is to change later on. 15 years ago
rubidium d58e4084de (svn r18378) -Codechange: move the pathfinder 'length' constants to pathfinder_type.h 15 years ago
rubidium a1e28925e3 (svn r18375) -Codechange: use Station::GetTileArea to get the tile area for CalcClosestStationTile 15 years ago
rubidium f67c265c6f (svn r18374) -Cleanup: remove some unused code 15 years ago
rubidium c10e953141 (svn r18373) -Codechange: unify some road pathfinder functions 15 years ago
rubidium 9165c195b9 (svn r18371) -Codechange: unify calling of the train pathfinders 15 years ago
rubidium ef8cc49175 (svn r18370) -Codechange: push some constness/type strictness into the ship pathfinders 15 years ago
rubidium 9d5ff5def0 (svn r18368) -Fix: alignment of comment and 'add' some missing comments 15 years ago
rubidium 76fe20cdcc (svn r18367) -Codechange: unify the ship pathfinder 'calls' 15 years ago
rubidium f52e27c688 (svn r18364) -Codechange: move the pathfinders and their related files into a separate directory 15 years ago