mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 22:33:43 -07:00
commented out, still not building
This commit is contained in:
parent
df2b526975
commit
c3e3fedc85
2 changed files with 10 additions and 1 deletions
|
@ -1272,7 +1272,7 @@ namespace SohImGui {
|
||||||
CVar_SetS32("gRandoGenerating", 1);
|
CVar_SetS32("gRandoGenerating", 1);
|
||||||
Game::SaveSettings();
|
Game::SaveSettings();
|
||||||
|
|
||||||
RandoMain::GenerateRando();
|
// RandoMain::GenerateRando();
|
||||||
|
|
||||||
CVar_SetS32("gRandoGenerating", 0);
|
CVar_SetS32("gRandoGenerating", 0);
|
||||||
Game::SaveSettings();
|
Game::SaveSettings();
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
#include "debugconsole.h"
|
#include "debugconsole.h"
|
||||||
#include "../libultraship/SohImGuiImpl.h"
|
#include "../libultraship/SohImGuiImpl.h"
|
||||||
|
// #include "include/randomizer/rando_main.hpp"
|
||||||
#include "savestates.h"
|
#include "savestates.h"
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
@ -441,6 +442,13 @@ static bool GetCVarHandler(const std::vector<std::string>& args) {
|
||||||
return CMD_SUCCESS;
|
return CMD_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// static bool GenerateRandoHandler(const std::vector<std::string>& args) {
|
||||||
|
// RandoMain::GenerateRando();
|
||||||
|
|
||||||
|
// INFO("[SOH] Randomized?");
|
||||||
|
// return CMD_SUCCESS;
|
||||||
|
// }
|
||||||
|
|
||||||
void DebugConsole_Init(void) {
|
void DebugConsole_Init(void) {
|
||||||
CMD_REGISTER("kill", { KillPlayerHandler, "Commit suicide." });
|
CMD_REGISTER("kill", { KillPlayerHandler, "Commit suicide." });
|
||||||
CMD_REGISTER("map", { LoadSceneHandler, "Load up kak?" });
|
CMD_REGISTER("map", { LoadSceneHandler, "Load up kak?" });
|
||||||
|
@ -490,6 +498,7 @@ void DebugConsole_Init(void) {
|
||||||
CMD_REGISTER("set_slot", { StateSlotSelectHandler, "Selects a SaveState slot", {
|
CMD_REGISTER("set_slot", { StateSlotSelectHandler, "Selects a SaveState slot", {
|
||||||
{ "Slot number", ArgumentType::NUMBER, }
|
{ "Slot number", ArgumentType::NUMBER, }
|
||||||
} });
|
} });
|
||||||
|
// CMD_REGISTER("generate_rando", { GenerateRandoHandler, "Generate Rando." });
|
||||||
DebugConsole_LoadCVars();
|
DebugConsole_LoadCVars();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue