1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-03 06:24:30 +00:00

More data fixes (#1929)

This commit is contained in:
cadmic 2024-03-23 09:30:09 -07:00 committed by GitHub
parent bd0941405d
commit 872940d664
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 18 additions and 2 deletions

View file

@ -58,7 +58,9 @@ static void* sEyeTextures[] = {
gImpaEyeClosedTex,
};
#if OOT_DEBUG
static u32 D_8098783C = 0;
#endif
static ColliderCylinderInitType1 sCylinderInit = {
{

View file

@ -69,7 +69,9 @@ static void* sMouthTextures[] = {
gSariaMouthSmilingOpenTex, gSariaMouthFrowningTex,
};
#if OOT_DEBUG
static u32 D_80990108 = 0;
#endif
#include "z_demo_sa_cutscene_data.inc.c"

View file

@ -83,7 +83,9 @@ static void* sEyeTextures[] = {
gNabooruEyeClosedTex,
};
#if OOT_DEBUG
static s32 D_80AB4318 = 0;
#endif
#include "z_en_nb_cutscene_data.inc.c"

View file

@ -61,7 +61,9 @@ static void* sEyeTextures[] = {
gAdultRutoEyeClosedTex,
};
#if OOT_DEBUG
static UNK_TYPE D_80AF4118 = 0;
#endif
#include "z_en_ru2_cutscene_data.inc.c"

View file

@ -472,7 +472,6 @@ void EnXc_SetColossusWindSFX(PlayState* play) {
if (gSaveContext.sceneLayer == 4) {
static s32 D_80B41D90 = 0;
static Vec3f sPos = { 0.0f, 0.0f, 0.0f };
static f32 sMaxSpeed = 0.0f;
static Vec3f D_80B42DB0;
s32 pad;
s16 sceneId = play->sceneId;
@ -487,8 +486,9 @@ void EnXc_SetColossusWindSFX(PlayState* play) {
if (D_80B41D90 != 0) {
f32 speed = Math3D_Vec3f_DistXYZ(&D_80B42DB0, eye) / 7.058922f;
#if OOT_DEBUG
static f32 sMaxSpeed = 0.0f;
sMaxSpeed = CLAMP_MIN(sMaxSpeed, speed);
PRINTF("MAX speed = %f\n", sMaxSpeed);
#endif