mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-03 02:53:08 -04:00
big d_a_alink pass (#214)
* d_a_alink pass1 wip * more d_a_alink work * remove asm * more daalink work * 20% dol code decompiled * fixed some nonmatchings for building * a few daalink functions and labeling some HIO data
This commit is contained in:
@@ -533,7 +533,7 @@ SECTION_SDATA2 static u8 lit_4378[4] = {
|
||||
SECTION_SDATA2 static f32 lit_4379 = 1.0f;
|
||||
|
||||
// remove these once float data is fixed
|
||||
inline u32 tmp_dComIfGp_particle_set(u16 param_1, const cXyz* param_2, const dKy_tevstr_c* param_3,
|
||||
inline JPABaseEmitter* tmp_dComIfGp_particle_set(u16 param_1, const cXyz* param_2, const dKy_tevstr_c* param_3,
|
||||
const csXyz* param_4, const cXyz* param_5, u8 param_6,
|
||||
dPa_levelEcallBack* param_7, s8 param_8,
|
||||
const GXColor* param_9, const GXColor* param_10,
|
||||
@@ -543,7 +543,7 @@ inline u32 tmp_dComIfGp_particle_set(u16 param_1, const cXyz* param_2, const dKy
|
||||
param_9, param_10, param_11, lit_4379);
|
||||
}
|
||||
|
||||
inline u32 tmp_dComIfGp_particle_set(u16 param_0, const cXyz* param_1, const csXyz* param_2,
|
||||
inline JPABaseEmitter* tmp_dComIfGp_particle_set(u16 param_0, const cXyz* param_1, const csXyz* param_2,
|
||||
const cXyz* param_3) {
|
||||
return tmp_dComIfGp_particle_set(param_0, param_1, NULL, param_2, param_3, 0xFF, NULL, -1, NULL,
|
||||
NULL, NULL);
|
||||
@@ -920,7 +920,7 @@ static void wether_move_rain() {
|
||||
|
||||
if (g_env_light.mSnowCount == 0 && cam != NULL) {
|
||||
// Stage is not Fishing Pond
|
||||
if (strcmp(dComIfGp_getStartStageName(), "R_SP127") || cam->field_0xd8.y > 0.0f) {
|
||||
if (strcmp(dComIfGp_getStartStageName(), "R_SP127") || cam->mLookat.mEye.y > 0.0f) {
|
||||
if (g_env_light.mRainCount < 125.0f) {
|
||||
mDoAud_rainPlay(FALSE);
|
||||
} else {
|
||||
@@ -1503,14 +1503,14 @@ void dKyw_wether_proc() {
|
||||
if (!strcmp(dComIfGp_getStartStageName(), "F_SP108") ||
|
||||
!strcmp(dComIfGp_getStartStageName(), "F_SP127") ||
|
||||
(!strcmp(dComIfGp_getStartStageName(), "F_SP121") &&
|
||||
FLOAT_LABEL(lit_4378) != g_env_light.field_0x11d8)) {
|
||||
FLOAT_LABEL(lit_4378) != g_env_light.mDiceWeatherTime)) {
|
||||
if (!dKy_darkworld_check()) {
|
||||
// Stage is Hyrule Field
|
||||
if (!strcmp(dComIfGp_getStartStageName(), "F_SP121") || g_env_light.mDaytime >= 75.0f ||
|
||||
g_env_light.mDaytime <= 120.0f) {
|
||||
// Stage is Hyrule Field
|
||||
if (!strcmp(dComIfGp_getStartStageName(), "F_SP121") &&
|
||||
g_env_light.field_0x12c9 >= 1 && g_env_light.field_0x12c9 < 6) {
|
||||
g_env_light.mDiceWeatherMode >= 1 && g_env_light.mDiceWeatherMode < 6) {
|
||||
dKy_get_dayofweek();
|
||||
cLib_addCalc(&g_env_light.field_0xebc, lit_4379, lit_5362, lit_5363, lit_4770);
|
||||
g_env_light.mMoyaMode = 7;
|
||||
|
||||
Reference in New Issue
Block a user