(svn r18366) -Codechange: move the OPF ship pathfinder 'magic' that was in ship_cmd.cpp to the pathfinder code itself

This commit is contained in:
rubidium
2009-12-01 23:22:41 +00:00
parent 47fb92b986
commit d63429af1e
3 changed files with 117 additions and 123 deletions

View File

@@ -12,10 +12,6 @@
#ifndef OPF_SHIP_H
#define OPF_SHIP_H
#include "../../direction_type.h"
typedef bool TPFEnumProc(TileIndex tile, void *data, Trackdir trackdir, uint length);
void OPFShipFollowTrack(TileIndex tile, DiagDirection direction, TPFEnumProc *enum_proc, void *data);
Track OPFShipChooseTrack(Ship *v, TileIndex tile, DiagDirection enterdir, TrackBits tracks);
#endif /* OPF_SHIP_H */