@@ -217,9 +217,9 @@ inline void SetTrackReservation(Tile t, TrackBits b)
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Try to reserve a specific track on a tile
|
* Try to reserve a specific track on a tile
|
||||||
* @pre IsPlainRailTile(t) && HasTrack(tile, t)
|
* @pre IsPlainRailTile(tile) && HasTrack(tile, t)
|
||||||
* @param tile the tile
|
* @param tile the tile
|
||||||
* @param t the rack to reserve
|
* @param t the track to reserve
|
||||||
* @return true if successful
|
* @return true if successful
|
||||||
*/
|
*/
|
||||||
inline bool TryReserveTrack(Tile tile, Track t)
|
inline bool TryReserveTrack(Tile tile, Track t)
|
||||||
@@ -236,7 +236,7 @@ inline bool TryReserveTrack(Tile tile, Track t)
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Lift the reservation of a specific track on a tile
|
* Lift the reservation of a specific track on a tile
|
||||||
* @pre IsPlainRailTile(t) && HasTrack(tile, t)
|
* @pre IsPlainRailTile(tile) && HasTrack(tile, t)
|
||||||
* @param tile the tile
|
* @param tile the tile
|
||||||
* @param t the track to free
|
* @param t the track to free
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user