use same Cvar than 3D drops item

This commit is contained in:
Baoulettes 2022-05-25 20:20:44 +02:00
parent 5fd0100ad0
commit fb270dbab9
3 changed files with 5 additions and 6 deletions

View File

@ -734,9 +734,8 @@ namespace SohImGui {
EnhancementCheckbox("N64 Mode", "gN64Mode");
Tooltip("Sets aspect ratio to 4:3 and lowers resolution to 240p, the N64's native resolution");
EnhancementCheckbox("Animated Link in Pause Menu", "gPauseLiveLink");
EnhancementCheckbox("Enable 3D Dropped items", "gNewDrops");
EnhancementCheckbox("Enable 3D projectiles", "gNewProjectiles");
Tooltip("Change some of monsters projectiles to their a 3D version");
EnhancementCheckbox("Enable 3D Dropped items/projectiles", "gNewDrops");
Tooltip("Change most 2D items & projectiles to their a 3D version");
EnhancementCheckbox("Dynamic Wallet Icon", "gDynamicWalletIcon");
Tooltip("Changes the rupee in the wallet icon to match the wallet size you currently have");
EnhancementCheckbox("Always show dungeon entrances", "gAlwaysShowDungeonMinimapIcon");

View File

@ -127,7 +127,7 @@ void func_80ABBBA8(EnNutsball* this, GlobalContext* globalCtx) {
this->collider.info.toucher.dmgFlags = 2;
Matrix_MtxFToYXZRotS(&player->shieldMf, &sp4C, 0);
if (CVar_GetS32("gNewProjectiles", 0) != 0) {
if (CVar_GetS32("gNewDrops", 0) != 0) {
this->actor.world.rot.z = sp4C.y + 0x8000;
} else {
this->actor.world.rot.y = sp4C.y + 0x8000;
@ -176,7 +176,7 @@ void EnNutsball_Draw(Actor* thisx, GlobalContext* globalCtx) {
OPEN_DISPS(globalCtx->state.gfxCtx, "../z_en_nutsball.c", 327);
if (CVar_GetS32("gNewProjectiles", 0) != 0) {
if (CVar_GetS32("gNewDrops", 0) != 0) {
func_80093D18(globalCtx->state.gfxCtx);
gSPSegment(POLY_OPA_DISP++, 0x08,
Gfx_TwoTexScroll(globalCtx->state.gfxCtx, 0, 1 * (globalCtx->state.frames * 6),

View File

@ -714,7 +714,7 @@ void EnOkuta_Draw(Actor* thisx, GlobalContext* globalCtx) {
} else {
OPEN_DISPS(globalCtx->state.gfxCtx, "../z_en_okuta.c", 1653);
if (CVar_GetS32("gNewProjectiles", 0) != 0) {
if (CVar_GetS32("gNewDrops", 0) != 0) {
func_80093D18(globalCtx->state.gfxCtx);
gSPSegment(POLY_OPA_DISP++, 0x08,
Gfx_TwoTexScroll(globalCtx->state.gfxCtx, 0, 1 * (globalCtx->state.frames * 6),