feat(Handling/transmission): Added steering lock

This commit is contained in:
Yimura 2021-01-22 12:37:56 +01:00
parent 7585536f8c
commit 5314ab3077
No known key found for this signature in database
GPG Key ID: 3D8FF4397E768682

View File

@ -1,4 +1,5 @@
#include "gui/tab_bar.hpp"
#include "features/functions.hpp"
namespace big
{
@ -14,6 +15,9 @@ namespace big
if (ImGui::SliderFloat("##drive_bias_front", &fDriveBiasFront, 0.f, 1.0f))
g_vehicle->m_handling->m_drive_bias_front = fDriveBiasFront * 2;
ImGui::Text("Steering Lock (degrees)");
ImGui::SliderAngle("##steering lock", &g_vehicle->m_handling->m_steering_lock, 0.f, 90.f);
ImGui::Text("Gears");
int nInitialDriveGears = g_vehicle->m_handling->m_initial_drive_gears;
if (ImGui::SliderInt("##initial_gears", &nInitialDriveGears, 1, 12))