add VehicleGeometry files

This commit is contained in:
Spacek531 authored and Gymnasiast committed 2025-10-21 21:01:24 +02:00
1 parent e4958e7314
commit 126c7b7e73
4 files changed
+42 -1

No files matched your search

+3 -1
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>
+2
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;
+17
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
+20
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