Skip to content

Commit

Permalink
Help
Browse files Browse the repository at this point in the history
  • Loading branch information
lcm7341 committed Dec 1, 2023
1 parent 0dabdda commit 22482a0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
12 changes: 7 additions & 5 deletions src/GUI/gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1977,8 +1977,9 @@ void GUI::tools() {
}
CHECK_KEYBIND("noEsc");

GUI::get().ToggleButton("", &logic.hacks.layoutMode, "layout_toggle");
CHECK_KEYBIND("layout");
ImGui::Checkbox("###layout_toggle", &logic.hacks.layoutMode);
//GUI::get().ToggleButton("", &logic.hacks.layoutMode, "layout_toggle");
//CHECK_KEYBIND("layout");

ImGui::SameLine();

Expand All @@ -1998,8 +1999,9 @@ void GUI::tools() {

ImGui::SameLine();

GUI::get().ToggleButton("", &logic.hacks.showHitboxes, "hitbox_toggle");
CHECK_KEYBIND("hitbox");
ImGui::Checkbox("###hitbox_toggle", &logic.hacks.showHitboxes);
//GUI::get().ToggleButton("", &logic.hacks.showHitboxes, "hitbox_toggle");
//CHECK_KEYBIND("hitbox");

ImGui::SameLine();
bool open_hitbox_modal = true;
Expand Down Expand Up @@ -2279,7 +2281,7 @@ void GUI::clickbot() {

}

GUI::get().ToggleButton("Enabled###enable_clickbot", &logic.clickbot_enabled);
GUI::get().ToggleButton("Enabled", &logic.clickbot_enabled, "enable_clickbot");

const char* player_options[] = { "Settings For Player 1", "Settings For Player 2" };

Expand Down
4 changes: 2 additions & 2 deletions src/Hooks/hooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,11 @@ bool __fastcall Hooks::PlayLayer::death_h(void* self, void*, void* go, void* thi
}
}

if (Logic::get().hacks.trajectory && TrajectorySimulation::getInstance()->shouldInterrumpHooksWithPlayer((gd::PlayerObject*)go))
/*if (Logic::get().hacks.trajectory && TrajectorySimulation::getInstance()->shouldInterrumpHooksWithPlayer((gd::PlayerObject*)go))
{
TrajectorySimulation::getInstance()->m_pDieInSimulation = true;
return 0;
}
}*/

return Hooks::PlayLayer::death(self, go, thingy);

Expand Down
8 changes: 4 additions & 4 deletions src/Logic/logic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -822,10 +822,10 @@ void Logic::handle_checkpoint_data() {
Checkpoint& data = checkpoints.back();


PLAYLAYER->stopAllActions();
for (auto& action : data.actions) {
//PLAYLAYER->runAction(action);
}
//PLAYLAYER->stopAllActions();
//for (auto& action : data.actions) {
// //PLAYLAYER->runAction(action);
//}

// PLAYLAYER->m_cameraPos = data.camera;

Expand Down

0 comments on commit 22482a0

Please sign in to comment.