mirror of
https://github.com/zeldaret/oot.git
synced 2024-12-26 06:36:19 +00:00
More data fixes (#1929)
This commit is contained in:
parent
bd0941405d
commit
872940d664
7 changed files with 18 additions and 2 deletions
|
@ -100,7 +100,11 @@ f32 D_801305E4[4] = { 1.0f, 1.12246f, 1.33484f, 1.33484f }; // 2**({0, 2, 5, 5}/
|
|||
f32 D_801305F4 = 1.0f;
|
||||
u8 sGanonsTowerLevelsVol[8] = { 127, 80, 75, 73, 70, 68, 65, 60 };
|
||||
u8 sEnterGanonsTowerTimer = 0;
|
||||
#if OOT_DEBUG
|
||||
s8 sSoundMode = SOUNDMODE_SURROUND;
|
||||
#else
|
||||
s8 sSoundMode = SOUNDMODE_STEREO;
|
||||
#endif
|
||||
s8 D_80130608 = 0;
|
||||
s8 sAudioCutsceneFlag = 0;
|
||||
s8 sSpecReverb = 0;
|
||||
|
|
|
@ -13,7 +13,11 @@ typedef struct InitFunc {
|
|||
// .data
|
||||
void* sInitFuncs = NULL;
|
||||
|
||||
#if OOT_DEBUG
|
||||
char sNew[] = "new";
|
||||
#else
|
||||
char sNew[] = "";
|
||||
#endif
|
||||
|
||||
char D_80134488[0x18] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7F, 0x80, 0x00, 0x00,
|
||||
|
|
|
@ -58,7 +58,9 @@ static void* sEyeTextures[] = {
|
|||
gImpaEyeClosedTex,
|
||||
};
|
||||
|
||||
#if OOT_DEBUG
|
||||
static u32 D_8098783C = 0;
|
||||
#endif
|
||||
|
||||
static ColliderCylinderInitType1 sCylinderInit = {
|
||||
{
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue