2020-03-15 11:27:45 +01:00
|
|
|
/*****************************************************************************
|
|
|
|
* Copyright (c) 2014-2020 OpenRCT2 developers
|
|
|
|
*
|
|
|
|
* For a complete list of all authors, please refer to contributors.md
|
|
|
|
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
|
|
|
|
*
|
|
|
|
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
|
|
|
*****************************************************************************/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2021-02-20 22:53:40 +01:00
|
|
|
#include "../world/Location.hpp"
|
|
|
|
#include "Track.h"
|
2020-03-15 11:27:45 +01:00
|
|
|
#include "Vehicle.h"
|
|
|
|
|
|
|
|
#include <cstdint>
|
|
|
|
|
2021-02-20 22:53:40 +01:00
|
|
|
constexpr const size_t VehicleTrackSubpositionSizeDefault = TrackElemType::Count * NumOrthogonalDirections;
|
|
|
|
|
2020-03-15 11:27:45 +01:00
|
|
|
struct rct_vehicle_info_list
|
|
|
|
{
|
|
|
|
uint16_t size;
|
|
|
|
const rct_vehicle_info* info;
|
|
|
|
};
|
|
|
|
|
2021-02-20 22:53:40 +01:00
|
|
|
extern const rct_vehicle_info_list* const* const gTrackVehicleInfo[EnumValue(VehicleTrackSubposition::Count)];
|