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

« back to all changes in this revision

Viewing changes to src/road_map.h

  • Committer: Bazaar Package Importer
  • Author(s): Matthijs Kooijman, Matthijs Kooijman
  • Date: 2009-10-01 22:52:59 UTC
  • mfrom: (1.1.8 upstream) (2.1.6 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091001225259-5kpkp4sthbszpyif
[ Matthijs Kooijman ]
* New upstream release
* Use printf instead of echo -en in openttd-wrapper to make it POSIX
  compatible (Closes: #547758).
* Remove three patches that are now included in upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: road_map.h 15711 2009-03-14 18:16:29Z rubidium $ */
 
1
/* $Id: road_map.h 16804 2009-07-13 10:16:50Z rubidium $ */
2
2
 
3
3
/** @file road_map.h Map accessors for roads. */
4
4
 
362
362
RoadBits GetAnyRoadBits(TileIndex tile, RoadType rt, bool straight_tunnel_bridge_entrance = false);
363
363
 
364
364
/**
365
 
 * Get the accessible track bits for the given tile.
366
 
 * Special behaviour:
367
 
 *  - road depots: no track bits
368
 
 *  - non-drive-through stations: no track bits
369
 
 * @param tile the tile to get the track bits for
370
 
 * @return the track bits for the given tile
371
 
 */
372
 
TrackBits GetAnyRoadTrackBits(TileIndex tile, RoadType rt);
373
 
 
374
 
/**
375
365
 * Return if the tile is a valid tile for a crossing.
376
366
 *
377
367
 * @note function is overloaded