~ubuntu-branches/debian/squeeze/openttd/squeeze

« back to all changes in this revision

Viewing changes to src/station_map.h

  • Committer: Bazaar Package Importer
  • Author(s): Jordi Mallach, Matthijs Kooijman
  • Date: 2009-06-09 21:46:28 UTC
  • mfrom: (1.1.7 upstream) (2.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090609214628-6z5uodi6178z050l
[ Matthijs Kooijman ]
* New upstream release.
* Link against libicu to enable right-to-left language support. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: station_map.h 15643 2009-03-08 16:10:39Z smatz $ */
 
1
/* $Id: station_map.h 16481 2009-05-31 12:18:03Z rubidium $ */
2
2
 
3
3
/** @file station_map.h Maps accessors for stations. */
4
4
 
202
202
        return AxisToTrack(GetRailStationAxis(t));
203
203
}
204
204
 
 
205
static inline TrackBits GetRailStationTrackBits(TileIndex t)
 
206
{
 
207
        return AxisToTrackBits(GetRailStationAxis(t));
 
208
}
 
209
 
205
210
static inline bool IsCompatibleTrainStationTile(TileIndex t1, TileIndex t2)
206
211
{
207
212
        assert(IsRailwayStationTile(t2));
245
250
 */
246
251
static inline TrackBits GetRailStationReservation(TileIndex t)
247
252
{
248
 
        return GetRailwayStationReservation(t) ? AxisToTrackBits(GetRailStationAxis(t)) : TRACK_BIT_NONE;
 
253
        return GetRailwayStationReservation(t) ? GetRailStationTrackBits(t) : TRACK_BIT_NONE;
249
254
}
250
255
 
251
256