mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
020721565a
- Trailing whitespace - Trailing empty lines - Missing newline at EOF - Missing svn:eol-style native
42 lines
1.1 KiB
C++
42 lines
1.1 KiB
C++
/* $Id$ */
|
|
|
|
#include "../stdafx.h"
|
|
#include "yapf.hpp"
|
|
#include "follow_track.hpp"
|
|
|
|
bool FollowTrackWater(FollowTrack_t *This, TileIndex old_tile, Trackdir old_td)
|
|
{
|
|
CFollowTrackWater& F = *(CFollowTrackWater*) This;
|
|
return F.Follow(old_tile, old_td);
|
|
}
|
|
|
|
bool FollowTrackRoad(FollowTrack_t *This, TileIndex old_tile, Trackdir old_td)
|
|
{
|
|
CFollowTrackRoad& F = *(CFollowTrackRoad*) This;
|
|
return F.Follow(old_tile, old_td);
|
|
}
|
|
|
|
bool FollowTrackRail(FollowTrack_t *This, TileIndex old_tile, Trackdir old_td)
|
|
{
|
|
CFollowTrackRail& F = *(CFollowTrackRail*) This;
|
|
return F.Follow(old_tile, old_td);
|
|
}
|
|
|
|
bool FollowTrackWaterNo90(FollowTrack_t *This, TileIndex old_tile, Trackdir old_td)
|
|
{
|
|
CFollowTrackWaterNo90& F = *(CFollowTrackWaterNo90*) This;
|
|
return F.Follow(old_tile, old_td);
|
|
}
|
|
|
|
bool FollowTrackRoadNo90(FollowTrack_t *This, TileIndex old_tile, Trackdir old_td)
|
|
{
|
|
CFollowTrackRoadNo90& F = *(CFollowTrackRoadNo90*) This;
|
|
return F.Follow(old_tile, old_td);
|
|
}
|
|
|
|
bool FollowTrackRailNo90(FollowTrack_t *This, TileIndex old_tile, Trackdir old_td)
|
|
{
|
|
CFollowTrackRailNo90& F = *(CFollowTrackRailNo90*) This;
|
|
return F.Follow(old_tile, old_td);
|
|
}
|