mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 11:33:03 +01:00
add VehicleGeometry files
This commit is contained in:
@@ -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>
|
||||
@@ -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
src/openrct2/ride/VehicleGeometry.cpp
Normal file
17
src/openrct2/ride/VehicleGeometry.cpp
Normal 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
src/openrct2/ride/VehicleGeometry.h
Normal file
20
src/openrct2/ride/VehicleGeometry.h
Normal 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
|
||||
Reference in New Issue
Block a user