forked from mirror/OpenTTD
(svn r6245) -Add: added comments for all YAPF C interface functions (yapf.h) used by other modules, added FollowTrackInit() into YAPF track followers.
This commit is contained in:
@@ -4,6 +4,12 @@
|
||||
#include "yapf.hpp"
|
||||
#include "follow_track.hpp"
|
||||
|
||||
void FollowTrackInit(FollowTrack_t *This, const Vehicle* v)
|
||||
{
|
||||
CFollowTrackWater& F = *(CFollowTrackWater*) This;
|
||||
F.Init(v, NULL);
|
||||
}
|
||||
|
||||
bool FollowTrackWater(FollowTrack_t *This, TileIndex old_tile, Trackdir old_td)
|
||||
{
|
||||
CFollowTrackWater& F = *(CFollowTrackWater*) This;
|
||||
|
Reference in New Issue
Block a user