|
@@ -36,12 +36,14 @@
|
|
|
#include "zoom_func.h"
|
|
|
#include "newgrf_debug.h"
|
|
|
|
|
|
#include "table/strings.h"
|
|
|
#include "table/train_cmd.h"
|
|
|
|
|
|
#include "safeguards.h"
|
|
|
|
|
|
static Track ChooseTrainTrack(Train *v, TileIndex tile, DiagDirection enterdir, TrackBits tracks, bool force_res, bool *got_reservation, bool mark_stuck);
|
|
|
static bool TrainCheckIfLineEnds(Train *v, bool reverse = true);
|
|
|
bool TrainController(Train *v, Vehicle *nomove, bool reverse = true); // Also used in vehicle_sl.cpp.
|
|
|
static TileIndex TrainApproachingCrossingTile(const Train *v);
|
|
|
static void CheckIfTrainNeedsService(Train *v);
|
|
|
static void CheckNextTrainTile(Train *v);
|