1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 11:33:03 +01:00

add VehicleGeometry files

This commit is contained in:
Spacek531
2025-10-07 10:46:53 -07:00
committed by Gymnasiast
parent e4958e7314
commit 126c7b7e73
4 changed files with 42 additions and 1 deletions

View File

@@ -543,6 +543,7 @@
<ClInclude Include="ride\Vehicle.h" />
<ClInclude Include="ride\VehicleColour.h" />
<ClInclude Include="ride\VehicleData.h" />
<ClInclude Include="ride\VehicleGeometry.h" />
<ClInclude Include="ride\VehicleRiderControl.h" />
<ClInclude Include="ride\VehicleSubpositionData.h" />
<ClInclude Include="sawyer_coding\SawyerCoding.h" />
@@ -1092,6 +1093,7 @@
<ClCompile Include="ride\TrainManager.cpp" />
<ClCompile Include="ride\Vehicle.cpp" />
<ClCompile Include="ride\VehicleData.cpp" />
<ClCompile Include="ride\VehicleGeometry.cpp" />
<ClCompile Include="ride\VehicleRiderControl.cpp" />
<ClCompile Include="ride\VehicleSubpositionData.cpp" />
<ClCompile Include="sawyer_coding\SawyerCoding.cpp" />
@@ -1196,4 +1198,4 @@
</ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
</Project>
</Project>

View File

@@ -62,6 +62,7 @@
#include "TrackData.h"
#include "TrainManager.h"
#include "VehicleData.h"
#include "VehicleGeometry.h"
#include "VehicleSubpositionData.h"
#include <cassert>
@@ -71,6 +72,7 @@ using namespace OpenRCT2;
using namespace OpenRCT2::Audio;
using namespace OpenRCT2::TrackMetaData;
using namespace OpenRCT2::Math::Trigonometry;
using namespace OpenRCT2::RideVehicle;
static bool vehicle_boat_is_location_accessible(const CoordsXYZ& location);
constexpr int16_t kVehicleMaxSpinSpeed = 1536;

View File

@@ -0,0 +1,17 @@
/*****************************************************************************
* Copyright (c) 2014-2025 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.
*****************************************************************************/
#include "VehicleGeometry.h"
#include <cstddef>
namespace OpenRCT2::RideVehicle::Geometry
{
} // namespace OpenRCT2::RideVehicle::Geometry

View File

@@ -0,0 +1,20 @@
/*****************************************************************************
* Copyright (c) 2014-2025 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
#include "../world/Location.hpp"
#include "Angles.h"
#include <array>
namespace OpenRCT2::RideVehicle::Geometry
{
} // namespace OpenRCT2::RideVehicle::Geometry