OpenRCT2/src/openrct2/ride/Station.h

31 lines
1.3 KiB
C
Raw Normal View History

#pragma region Copyright (c) 2014-2017 OpenRCT2 Developers
2014-11-02 04:37:56 +01:00
/*****************************************************************************
* OpenRCT2, an open source clone of Roller Coaster Tycoon 2.
*
* OpenRCT2 is the work of many authors, a full list can be found in contributors.md
* For more information, visit https://github.com/OpenRCT2/OpenRCT2
2014-11-02 04:37:56 +01:00
*
* OpenRCT2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* A full copy of the GNU General Public License can be found in licence.txt
2014-11-02 04:37:56 +01:00
*****************************************************************************/
#pragma endregion
2014-11-02 04:37:56 +01:00
2017-10-23 14:47:12 +02:00
#pragma once
2014-11-02 04:37:56 +01:00
#include "../common.h"
2018-01-03 14:56:08 +01:00
#include "../world/Map.h"
2017-12-31 13:21:34 +01:00
#include "Ride.h"
2014-11-02 04:37:56 +01:00
2017-10-23 14:47:12 +02:00
void ride_update_station(Ride * ride, sint32 stationIndex);
sint8 ride_get_first_valid_station_exit(Ride * ride);
sint8 ride_get_first_valid_station_start(const Ride * ride);
sint8 ride_get_first_empty_station_start(const Ride * ride);
TileCoordsXYZD ride_get_entrance_location_of_station(const uint8 rideIndex, const uint8 stationIndex);
TileCoordsXYZD ride_get_exit_location_of_station(const uint8 rideIndex, const uint8 stationIndex);