diff --git a/src/gui.cpp b/src/gui.cpp index c4abe07..340f441 100644 --- a/src/gui.cpp +++ b/src/gui.cpp @@ -279,6 +279,38 @@ void Gui::Render() { } ImGui::EndChild(); } + else if (windowName == "Shortcuts") { + if (ImGui::Button("Options", {ImGui::GetContentRegionAvail().x, NULL})) { + + } + if (ImGui::Button("Reset Level", {ImGui::GetContentRegionAvail().x, NULL})) { + auto* pl = PlayLayer::get(); + if (pl) + pl->resetLevel(); + } + if (ImGui::Button("Practice Mode", {ImGui::GetContentRegionAvail().x, NULL})) { + auto* pl = PlayLayer::get(); + if (pl) + pl->togglePracticeMode(!pl->m_isPracticeMode); + } + if (ImGui::Button("Reset Volume", {ImGui::GetContentRegionAvail().x, NULL})) { + + } + if (ImGui::Button("Uncomplete Level", {ImGui::GetContentRegionAvail().x, NULL})) { + + } + if (ImGui::Button("Inject DLL", {ImGui::GetContentRegionAvail().x, NULL})) { + + } + + if (ImGui::Button("Resources", {ImGui::GetContentRegionAvail().x/2, NULL})) { + + } + ImGui::SameLine(); + if (ImGui::Button("AppData", {ImGui::GetContentRegionAvail().x, NULL})) { + + } + } else { for (auto& hck : win.hacks) { bool enabled = config.get(hck.config, false); diff --git a/src/hacks.cpp b/src/hacks.cpp index 0ee3137..73f685f 100644 --- a/src/hacks.cpp +++ b/src/hacks.cpp @@ -89,7 +89,7 @@ void Hacks::Init() { {"Copy Hack", "Copy any online level without a password", "copy_hack"}, // + {"Custom Object Bypass", "Removes the limit restricted to 1000 objects", "custom_object_bypass"}, {"Default Song Bypass", "Removes restrictions on secret official songs", "default_song_bypass"}, // + - {"Editor Extension", "", "editor_extension"}, + {"Editor Extension", "Increases the editor length by a factor of 128", "editor_extension"}, // + {"Verify Hack", "Publish a level without verification", "verify_hack"}, // + {"Smooth Editor Trail", "Makes the wave smoother in the editor", "smooth_editor_trail"}, // + {"Level Edit", "Edit any online level", "level_edit"}, // + @@ -100,7 +100,8 @@ void Hacks::Init() { {"GDH Settings", 450, 410, 220, 130}, {"Replay Engine", 680, 10, 300, 200}, {"Labels", 680, 230, 300, 320}, - {"Variables", 10, 510, 200, 160} + {"Variables", 10, 510, 200, 160}, + {"Shortcuts", 990, 10, 200, 240} }; auto &config = Config::get(); diff --git a/src/hooks.cpp b/src/hooks.cpp index 1ea7bfa..b637f18 100644 --- a/src/hooks.cpp +++ b/src/hooks.cpp @@ -209,6 +209,20 @@ class $modify(PlayLayer) { void postUpdate(float dt) { PlayLayer::postUpdate(dt); + m_isTestMode; + m_player1->m_position.x; + m_player1->m_position.y; + m_player1->getRotation(); + m_player1->m_yVelocity; + m_player1->m_isUpsideDown; //gravity navernoe + m_player1->m_isDead; + getCurrentPercent(); + m_level->m_levelID; + m_level->m_levelName; + m_level->m_creatorName; + m_level->m_attempts; + m_level->m_jumps; + if (!(m_fields->labels_top_left && m_fields->labels_top_right && m_fields->labels_bottom_left &&