Added needed assets to avoid using soh.otr
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 355 B |
|
After Width: | Height: | Size: 379 B |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 6.9 KiB |
|
After Width: | Height: | Size: 194 B |
@@ -1194,7 +1194,7 @@ s32 init_level(void) {
|
||||
if (gMarioState->action != ACT_UNINITIALIZED) {
|
||||
if (save_file_exists(gCurrSaveFileNum - 1)) {
|
||||
set_mario_action(gMarioState, ACT_IDLE, 0);
|
||||
} else {
|
||||
} else if (CVarGetInteger("gDisablePeachCutscene", 0) == 0){
|
||||
set_mario_action(gMarioState, ACT_INTRO_CUTSCENE, 0);
|
||||
val4 = TRUE;
|
||||
}
|
||||
@@ -1263,7 +1263,7 @@ s32 lvl_init_from_save_file(UNUSED s16 arg0, s32 levelNum) {
|
||||
#endif
|
||||
sWarpDest.type = WARP_TYPE_NOT_WARPING;
|
||||
sDelayedWarpOp = WARP_OP_NONE;
|
||||
gNeverEnteredCastle = !save_file_exists(gCurrSaveFileNum - 1);
|
||||
gNeverEnteredCastle = !save_file_exists(gCurrSaveFileNum - 1) || CVarGetInteger("gDisablePeachCutscene", 0) == 0;
|
||||
|
||||
gCurrLevelNum = levelNum;
|
||||
gCurrCourseNum = COURSE_NONE;
|
||||
|
||||
@@ -30,9 +30,9 @@ GameEngine::GameEngine(){
|
||||
if (std::filesystem::exists(cubePath)) {
|
||||
OTRFiles.push_back(cubePath);
|
||||
}
|
||||
std::string sohOtrPath = LUS::Context::GetPathRelativeToAppBundle("soh.otr");
|
||||
if (std::filesystem::exists(sohOtrPath)) {
|
||||
OTRFiles.push_back(sohOtrPath);
|
||||
std::string sm64OtrPath = LUS::Context::GetPathRelativeToAppBundle("sm64.otr");
|
||||
if (std::filesystem::exists(sm64OtrPath)) {
|
||||
OTRFiles.push_back(sm64OtrPath);
|
||||
}
|
||||
std::string patchesPath = LUS::Context::GetPathRelativeToAppDirectory("mods");
|
||||
if (patchesPath.length() > 0 && std::filesystem::exists(patchesPath)) {
|
||||
@@ -63,7 +63,6 @@ void GameEngine::Create(){
|
||||
|
||||
void GameEngine::Destroy(){
|
||||
GameEngine::AudioExit();
|
||||
this->context = nullptr;
|
||||
}
|
||||
|
||||
bool ShouldClearTextureCacheAtEndOfFrame = false;
|
||||
|
||||
@@ -269,7 +269,7 @@ void DrawGameMenu() {
|
||||
if (ImGui::BeginMenu("Ghostship")) {
|
||||
if (ImGui::MenuItem("Reset",
|
||||
#ifdef __APPLE__
|
||||
"Command-R"
|
||||
"Command-R"
|
||||
#else
|
||||
"Ctrl+R"
|
||||
#endif
|
||||
@@ -296,6 +296,8 @@ void DrawEnhancementsMenu() {
|
||||
if (ImGui::BeginMenu("Gameplay")) {
|
||||
UIWidgets::PaddedEnhancementCheckbox("No Level of Detail (LOD)", "gDisableLOD", true, false);
|
||||
UIWidgets::Tooltip("Disable Level of Detail (LOD) to avoid models using lower poly versions at a distance");
|
||||
UIWidgets::PaddedEnhancementCheckbox("Avoid playing peach cutscene", "gDisablePeachCutscene", true, false);
|
||||
UIWidgets::Tooltip("Avoid playing the peach cutscene when starting a new game");
|
||||
ImGui::EndMenu();
|
||||
}
|
||||
|
||||
|
||||