Files @ r4381:c965d1f3016a
Branch filter:

Location: cpp/openttd-patchpack/source/yapf/follow_track.cpp

belugas
(svn r6131) -Codechange : Complete all missing _ttdpatch_flags entries
-Feature : both unifiedmaglevmode are now set.
Maglev and monorail are not allowed to run on each other tracks and will not be.
Setting those flags will allow grfsets as the Norvegian one to be loaded
-Codechange : link the TTDPatch's irregularstations with OTTD's nonuniform_stations
-Codechange : Reformat the whole array (thanks Rubidium, it sure looks better now)
/* $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);
}