Skip to content

Commit

Permalink
update menu
Browse files Browse the repository at this point in the history
  • Loading branch information
pa1n-dev committed Mar 29, 2024
1 parent 24830d0 commit 217233b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion showcase/imgui.js

Large diffs are not rendered by default.

Binary file modified showcase/imgui.wasm
Binary file not shown.
4 changes: 2 additions & 2 deletions showcase/imgui/imgui_widgets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5175,8 +5175,8 @@ bool ImGui::ColorEdit4(const char* label, float col[4], ImGuiColorEditFlags flag
flags = (flags & (~ImGuiColorEditFlags_DisplayMask_)) | ImGuiColorEditFlags_DisplayRGB | ImGuiColorEditFlags_NoOptions;

// Context menu: display and modify options (before defaults are applied)
if (!(flags & ImGuiColorEditFlags_NoOptions))
ColorEditOptionsPopup(col, flags);
//if (!(flags & ImGuiColorEditFlags_NoOptions))
// ColorEditOptionsPopup(col, flags);

// Read stored options
if (!(flags & ImGuiColorEditFlags_DisplayMask_))
Expand Down
2 changes: 2 additions & 0 deletions showcase/src/menu/menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ void menu::render()
{
Checkbox("Predict spread", &settings::aimbot::accuracy::predict_spread);
Checkbox("Disable recoil", &settings::aimbot::accuracy::disable_recoil);
Checkbox("Disable visual recoil", &settings::aimbot::accuracy::disable_visual_recoil);
SliderFloat("Backtrack", &settings::aimbot::accuracy::backtrack, 0.f, 1.f, "%.3f ms", ImGuiSliderFlags_NoInput);
SliderFloat("Smooth", &settings::aimbot::accuracy::smooth, 0.f, 20.f, "%.1f", ImGuiSliderFlags_NoInput);
}
Expand Down Expand Up @@ -92,6 +93,7 @@ void menu::render()

BeginChild("Visuals", child_size);
{
Checkbox("Fake model", &settings::antiaim::visuals::fake_model);

EndChild();
}
Expand Down
3 changes: 2 additions & 1 deletion showcase/src/settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ namespace settings
{
inline bool predict_spread = false;
inline bool disable_recoil = false;
inline bool disable_visual_recoil = false;
inline float backtrack = 0;
inline float smooth = 0.f;
}
Expand Down Expand Up @@ -90,7 +91,7 @@ namespace settings

namespace visuals
{

inline bool fake_model = false;
}
}

Expand Down

0 comments on commit 217233b

Please sign in to comment.