OpenTTD Source 20250428-master-g68ba2735ea
|
Implementation of the roadstop base class. More...
#include "stdafx.h"
#include "roadveh.h"
#include "core/pool_func.hpp"
#include "core/container_func.hpp"
#include "roadstop_base.h"
#include "station_base.h"
#include "vehicle_func.h"
#include "safeguards.h"
Go to the source code of this file.
Functions | |
static DiagDirection | GetEntryDirection (bool east, Axis axis) |
Get the DiagDirection for entering the drive through stop from the given 'side' (east or west) on the given axis. | |
Variables | |
RoadStopPool | _roadstop_pool ("RoadStop") |
The pool of roadstops. | |
Implementation of the roadstop base class.
Definition in file roadstop.cpp.
|
static |
Get the DiagDirection for entering the drive through stop from the given 'side' (east or west) on the given axis.
east | Enter from the east when true or from the west when false. |
axis | The axis of the drive through stop. |
Definition at line 309 of file roadstop.cpp.
References AXIS_X, AXIS_Y, DIAGDIR_NE, DIAGDIR_NW, DIAGDIR_SE, and DIAGDIR_SW.
Referenced by RoadStop::Entry::Rebuild().