Add auto-bunnyhop to CreateMove hook.

* TODO: Store NetVar offsets statically.

Signed-off-by: aixxe <me@aixxe.net>
This commit is contained in:
aixxe
2016-12-21 15:23:43 +00:00
parent d53dbcabfd
commit 8287f60778
6 changed files with 37 additions and 6 deletions

View File

@@ -8,7 +8,12 @@ void GUI::DrawFramerateCounter() {
}
void GUI::DrawConfigurationWindow() {
ImGui::Begin("cstrike-basehook-linux", nullptr);
ImGui::Text("Hello, world!");
ImGui::Begin("Settings", nullptr);
ImGui::PushItemWidth(-1);
ImGui::Checkbox("Auto-bunnyhop", &GUI::BunnyHop::Enabled);
ImGui::Spacing();
ImGui::PopItemWidth();
ImGui::End();
}