feat: Translation Service (#844)
Co-authored-by: mrwoowoo <github@hiqaq.com> Co-authored-by: LiamD-Flop <40887493+LiamD-Flop@users.noreply.github.com>
This commit is contained in:
@ -4,15 +4,15 @@ namespace big
|
||||
{
|
||||
void tab_current_profile::tab_general()
|
||||
{
|
||||
if (ImGui::BeginTabItem("General"))
|
||||
if (ImGui::BeginTabItem("HANDLING_TAB_GENERAL"_T.data()))
|
||||
{
|
||||
ImGui::Text("Gravity");
|
||||
ImGui::Text("HANDLING_GRAVITY"_T.data());
|
||||
ImGui::SliderFloat("##Gravity", &g_local_player->m_vehicle->m_gravity, -50.f, 50.f);
|
||||
|
||||
ImGui::Text("Mass");
|
||||
ImGui::Text("HANDLING_MASS"_T.data());
|
||||
ImGui::SliderFloat("##Mass", &g_local_player->m_vehicle->m_handling_data->m_mass, 0.f, 50000.f);
|
||||
|
||||
ImGui::Text("Centre of mass");
|
||||
ImGui::Text("HANDLING_CENTRE_OF_MASS"_T.data());
|
||||
float fCenterOfMass[3]
|
||||
{
|
||||
g_local_player->m_vehicle->m_handling_data->m_centre_of_mass.x,
|
||||
@ -26,7 +26,7 @@ namespace big
|
||||
g_local_player->m_vehicle->m_handling_data->m_centre_of_mass.z = fCenterOfMass[2];
|
||||
}
|
||||
|
||||
ImGui::Text("Buoyancy");
|
||||
ImGui::Text("HANDLING_BUOYANCY"_T.data());
|
||||
ImGui::SliderFloat("##buoyancy", &g_local_player->m_vehicle->m_handling_data->m_buoyancy, .01f, 99.f);
|
||||
|
||||
ImGui::EndTabItem();
|
||||
|
Reference in New Issue
Block a user