| OpenTTD
    | 
Base implementation for cost accounting. More...
#include <yapf_costbase.hpp>
 
  
 | Static Public Member Functions | |
| static bool | stSlopeCost (TileIndex tile, Trackdir td) | 
| Does the given track direction on the given tile yield an uphill penalty? | |
Base implementation for cost accounting.
Definition at line 16 of file yapf_costbase.hpp.
Does the given track direction on the given tile yield an uphill penalty?
| tile | The tile to check. | 
| td | The track direction to check. | 
Definition at line 23 of file yapf_costbase.hpp.
References DiagDirToAxis(), GetTileSlope(), GetTunnelBridgeDirection(), HasBridgeFlatRamp(), IsBridgeTile(), IsDiagonalTrackdir(), IsTunnelTile(), IsUphillTrackdir(), and TrackdirToExitdir().
 1.8.1.2
 1.8.1.2