feat(d_snd_harp_song_mrg): isPlayingHarpRelated and ancestors (#264)

* feat(d_snd_harp_song_mrg): isPlayingHarpRelated and ancestors

* refactor(harp): change field_0x042 type to bool

Updated field_0x042 from u8 to bool to better reflect its binary nature.
Adjusted related logic accordingly.

* refactor: rename fun_80381150 to fn_80381150

- Rename fn_80381150 to match real name
- Reordered functions

* feat: map symbols

* reorder functions
This commit is contained in:
Asier Núñez
2025-11-16 17:42:37 +01:00
committed by GitHub
parent 67eda440b0
commit da46df490d
3 changed files with 23 additions and 5 deletions
+15
View File
@@ -120,3 +120,18 @@ void dSndHarpSongMgr_c::resetFloatArr2() {
field_0x52C[i] = 0.0f;
}
}
bool dSndHarpSongMgr_c::isContinuousStrumming() {
return field_0x01C;
}
bool dSndHarpSongMgr_c::isPlayingHarpRelated() {
return fn_80381150() == false;
}
bool dSndHarpSongMgr_c::fn_80381150() {
if (isContinuousStrumming()) {
return field_0x042;
}
return true;
}