yapf/follow_track.cpp
author rubidium
Mon, 28 Aug 2006 18:53:03 +0000
changeset 4434 a08cb4b5c179
parent 3971 77061ae9b534
child 4462 d67a579a5452
permissions -rw-r--r--
(svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc.
/* $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);
}