mirror of
https://github.com/zeldaret/ss
synced 2026-07-26 14:31:49 -04:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user