mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 06:13:45 -07:00
removed extraneous dev tools section
This commit is contained in:
parent
a89d72fe09
commit
387b57a422
1 changed files with 0 additions and 22 deletions
|
@ -740,28 +740,6 @@ namespace SohImGui {
|
||||||
ImGui::EndMenu();
|
ImGui::EndMenu();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (ImGui::BeginMenu("Developer Tools")) {
|
|
||||||
HOOK(ImGui::MenuItem("Stats", nullptr, &Game::Settings.debug.soh));
|
|
||||||
HOOK(ImGui::MenuItem("Console", nullptr, &console->opened));
|
|
||||||
if (ImGui::Checkbox("Easy ISG", &Game::Settings.cheats.ez_isg)) {
|
|
||||||
CVar_SetS32("gEzISG", Game::Settings.cheats.ez_isg);
|
|
||||||
needs_save = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (ImGui::Checkbox("Unrestricted Items", &Game::Settings.cheats.no_restrict_item)) {
|
|
||||||
CVar_SetS32("gNoRestrictItems", Game::Settings.cheats.no_restrict_item);
|
|
||||||
needs_save = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (ImGui::Checkbox("Freeze Time", &Game::Settings.cheats.freeze_time)) {
|
|
||||||
CVar_SetS32("gFreezeTime", Game::Settings.cheats.freeze_time);
|
|
||||||
needs_save = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
ImGui::EndMenu();
|
|
||||||
}
|
|
||||||
|
|
||||||
for (const auto& category : windowCategories) {
|
for (const auto& category : windowCategories) {
|
||||||
if (ImGui::BeginMenu(category.first.c_str())) {
|
if (ImGui::BeginMenu(category.first.c_str())) {
|
||||||
for (const std::string& name : category.second) {
|
for (const std::string& name : category.second) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue