mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-17 06:47:22 +08:00
feat(Handling/transmission): Added steering lock
This commit is contained in:
parent
2d60896473
commit
5e26bafe88
@ -1,4 +1,5 @@
|
|||||||
#include "gui/tab_bar.hpp"
|
#include "gui/tab_bar.hpp"
|
||||||
|
#include "features/functions.hpp"
|
||||||
|
|
||||||
namespace big
|
namespace big
|
||||||
{
|
{
|
||||||
@ -14,6 +15,9 @@ namespace big
|
|||||||
if (ImGui::SliderFloat("##drive_bias_front", &fDriveBiasFront, 0.f, 1.0f))
|
if (ImGui::SliderFloat("##drive_bias_front", &fDriveBiasFront, 0.f, 1.0f))
|
||||||
g_vehicle->m_handling->m_drive_bias_front = fDriveBiasFront * 2;
|
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");
|
ImGui::Text("Gears");
|
||||||
int nInitialDriveGears = g_vehicle->m_handling->m_initial_drive_gears;
|
int nInitialDriveGears = g_vehicle->m_handling->m_initial_drive_gears;
|
||||||
if (ImGui::SliderInt("##initial_gears", &nInitialDriveGears, 1, 12))
|
if (ImGui::SliderInt("##initial_gears", &nInitialDriveGears, 1, 12))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user