mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-10-31 15:45:06 -04:00
Adds toggle for build info on N64 logo screen
This commit is contained in:
parent
e646f80f41
commit
2108f9fa6c
@ -579,6 +579,7 @@ namespace SohImGui {
|
||||
ImGui::Separator();
|
||||
|
||||
EnhancementCheckbox("Debug Mode", "gDebugEnabled");
|
||||
EnhancementCheckbox("Show Build Info on Title Screen", "gShowTitleInfo");
|
||||
|
||||
ImGui::EndMenu();
|
||||
}
|
||||
|
@ -29,6 +29,7 @@ void BootCommands_Init()
|
||||
CVar_RegisterS32("gUniformLR", 1);
|
||||
CVar_RegisterS32("gNewDrops", 0);
|
||||
CVar_RegisterS32("gVisualAgony", 0);
|
||||
CVar_RegisterS32("gShowExtraTitleInfo", 0);
|
||||
}
|
||||
|
||||
//void BootCommands_ParseBootArgs(char* str)
|
||||
|
@ -11,12 +11,14 @@
|
||||
#include "textures/nintendo_rogo_static/nintendo_rogo_static.h"
|
||||
#include <soh/Enhancements/bootcommands.h>
|
||||
#include "GameVersions.h"
|
||||
#include "Cvar.h"
|
||||
|
||||
const char* GetGameVersionString();
|
||||
|
||||
char* quote;
|
||||
|
||||
void Title_PrintBuildInfo(Gfx** gfxp) {
|
||||
if (CVar_GetS32("gShowTitleInfo",0)!=0) {
|
||||
Gfx* g;
|
||||
//GfxPrint* printer;
|
||||
GfxPrint printer;
|
||||
@ -53,6 +55,7 @@ void Title_PrintBuildInfo(Gfx** gfxp) {
|
||||
GfxPrint_Destroy(&printer);
|
||||
*gfxp = g;
|
||||
}
|
||||
}
|
||||
|
||||
const char* quotes[11] = {
|
||||
"My boy! This peace is what all true warriors strive for!",
|
||||
|
Loading…
Reference in New Issue
Block a user