General UI tweaks (#1538)

This commit is contained in:
DayibBaba
2023-06-27 14:05:44 +02:00
committed by GitHub
parent f8f63a789a
commit 5fc6ef8fb5
19 changed files with 85 additions and 160 deletions

View File

@ -9,8 +9,7 @@ namespace big
{
ImGui::SetWindowSize({0.f, (float)*g_pointers->m_gta.m_resolution_y}, ImGuiCond_Always);
components::sub_title("MERRYWEATHER"_T);
ImGui::Separator();
ImGui::SeparatorText("MERRYWEATHER"_T.data());
components::button("MW_AMMO_DROP"_T, [] {
mobile::merry_weather::request_ammo_drop();
@ -30,8 +29,8 @@ namespace big
mobile::merry_weather::request_airstrike();
});
components::sub_title("MORS_MUTUAL"_T);
ImGui::Separator();
ImGui::SeparatorText("MORS_MUTUAL"_T.data());
components::button("MORS_FIX_ALL"_T, [] {
int amount_fixed = mobile::mors_mutual::fix_all();
@ -41,8 +40,7 @@ namespace big
amount_fixed == 1 ? "VEHICLE_FIX_HAS"_T.data() : "VEHICLE_FIX_HAVE"_T.data())));
});
components::sub_title("CEO_ABILITIES"_T);
ImGui::Separator();
ImGui::SeparatorText("CEO_ABILITIES"_T.data());
components::button("CEO_BULLSHARK"_T, [] {
mobile::ceo_abilities::request_bullshark_testosterone();

View File

@ -23,9 +23,7 @@ namespace big
ImGui::SameLine();
components::command_button<"fillammo">();
ImGui::Separator();
components::sub_title("GENERAL"_T);
ImGui::SeparatorText("GENERAL"_T.data());
ImGui::BeginGroup();
@ -181,9 +179,7 @@ namespace big
ImGui::EndGroup();
ImGui::Separator();
components::sub_title("PROOFS"_T);
ImGui::SeparatorText("PROOFS"_T.data());
if (ImGui::Button("CHECK_ALL"_T.data()))
{
@ -239,9 +235,7 @@ namespace big
ImGui::EndGroup();
ImGui::Separator();
components::sub_title("HUD"_T);
ImGui::SeparatorText("HUD"_T.data());
ImGui::BeginGroup();

View File

@ -10,7 +10,7 @@ namespace big
{
void view::teleport()
{
components::sub_title("BLIPS"_T.data());
ImGui::SeparatorText("BLIPS"_T.data());
ImGui::Spacing();
components::command_button<"waypointtp">({}, "Waypoint");
@ -18,9 +18,8 @@ namespace big
components::command_button<"objectivetp">({}, "Objective");
components::command_checkbox<"autotptowp">();
ImGui::Separator();
ImGui::SeparatorText("Movement");
components::sub_title("Movement");
ImGui::Spacing();
components::small_text("Current coordinates");
@ -81,9 +80,7 @@ namespace big
});
ImGui::EndGroup();
ImGui::Separator();
components::sub_title("VEHICLES"_T.data());
ImGui::SeparatorText("VEHICLES"_T.data());
ImGui::Spacing();
components::command_button<"lastvehtp">();
@ -92,9 +89,7 @@ namespace big
ImGui::SameLine();
components::command_button<"pvtp">();
ImGui::Separator();
components::sub_title("GUI_TAB_IPL"_T.data());
ImGui::SeparatorText("GUI_TAB_IPL"_T.data());
if (ImGui::BeginCombo("IPL_LOCATION"_T.data(), ipls[g.self.ipls.select].friendly_name))
{

View File

@ -12,7 +12,7 @@ namespace big
{
void view::weapons()
{
components::sub_title("AMMO"_T);
ImGui::SeparatorText("AMMO"_T.data());
ImGui::BeginGroup();
@ -73,9 +73,7 @@ namespace big
ImGui::EndGroup();
ImGui::Separator();
components::sub_title("MISC"_T);
ImGui::SeparatorText("MISC"_T.data());
components::command_checkbox<"norecoil">();
ImGui::SameLine();
@ -103,9 +101,7 @@ namespace big
components::command_checkbox<"incrdamage">();
ImGui::InputFloat("Damage", &g.weapons.increased_damage, .1, 10, "%.1f");
ImGui::Separator();
components::sub_title("CUSTOM_WEAPONS"_T);
ImGui::SeparatorText("CUSTOM_WEAPONS"_T.data());
ImGui::Checkbox("Custom Gun only fires when weapon is out", &g.self.custom_weapon_stop);
CustomWeapon selected = g.weapons.custom_weapon;
@ -151,8 +147,7 @@ namespace big
break;
}
ImGui::Separator();
components::sub_title("Aim Assistance");
ImGui::SeparatorText("Aim Assistance");
components::command_checkbox<"triggerbot">();
ImGui::SameLine();
components::command_checkbox<"aimbot">();