diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-01-04 00:37:52 -0500 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-01-04 00:37:52 -0500 |
| commit | a0ea5116506c5c3a93747bacefe6f0937c861fd5 (patch) | |
| tree | af97c11f610809d6c2b4411481375f62aaf3c633 /src/d/d_kankyo_rain.cpp | |
| parent | eb3db3883cb70320f1a668a271f4ba653834fe16 (diff) | |
Add save stage table, stage type, and event bit enums
Diffstat (limited to 'src/d/d_kankyo_rain.cpp')
| -rw-r--r-- | src/d/d_kankyo_rain.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/d/d_kankyo_rain.cpp b/src/d/d_kankyo_rain.cpp index d85cb80d..394eafc1 100644 --- a/src/d/d_kankyo_rain.cpp +++ b/src/d/d_kankyo_rain.cpp @@ -193,7 +193,7 @@ void dKyr_sun_move() { u8 numPointsVisible = 0, numCenterPointsVisible = 0; u32 stType = dStage_stagInfo_GetSTType(dComIfGp_getStageStagInfo()); cXyz lightDir; - if (g_env_light.mBaseLightInfluence.mColor.r == 0 && stType != 2) { + if (g_env_light.mBaseLightInfluence.mColor.r == 0 && stType != dStageType_MISC_e) { dKyr_get_vectle_calc(&pCamera->mLookat.mEye, &g_env_light.mBaseLightInfluence.mPos, &lightDir); } else { dKyr_get_vectle_calc(&pCamera->mLookat.mEye, &g_env_light.mSunPos2, &lightDir); @@ -302,7 +302,7 @@ void dKyr_sun_move() { numPointsVisible = 0; } - if (stType == 2) { + if (stType == dStageType_MISC_e) { numCenterPointsVisible = 0; numPointsVisible = 0; } @@ -556,7 +556,7 @@ void wave_move() { windPow = dKyw_get_wind_pow(); windPowVec2 = *windVecP; - if (dStage_stagInfo_GetSTType(dComIfGp_getStageStagInfo()) == 2) { + if (dStage_stagInfo_GetSTType(dComIfGp_getStageStagInfo()) == dStageType_MISC_e) { stageWindY = 0; if (strcmp(dComIfGp_getStartStageName(), "LinkRM") == 0) @@ -894,7 +894,7 @@ void dKyr_drawSun(Mtx drawMtx, cXyz* pPos, GXColor& reg0, u8** pImg) { sunPos = *pPos; u32 stType = dStage_stagInfo_GetSTType(dComIfGp_getStageStagInfo()); - if (dKy_getEnvlight().mBaseLightInfluence.mColor.r == 0 && stType != 2) { + if (dKy_getEnvlight().mBaseLightInfluence.mColor.r == 0 && stType != dStageType_MISC_e) { if (dKy_getEnvlight().mCurTime > 285.0f || dKy_getEnvlight().mCurTime < 105.0f) bDrawMoon = false; |
