mirror of
https://github.com/zeldaret/st
synced 2026-08-24 23:36:03 -04:00
Decompiling BOMB (#140)
* feat: begin decompiling * feat: some progress * fix: forgot to change symbol * feat: increase matching * fix: function params not updated * feat: more matching * fix: noo more errors oon local help * fix: match back UnkStruct_PlayerGet_74.data * feat: little progress * fix: SWBM.data regression * feat: up jp version * feat: update matching * refactor: rename UnkBOMB to Bomb * feat: decompiling part of MapObjectUnkBMFL * feat: destroy MapObjectPot's vfunc_24 for the good of all * fix: revert wrong symbol * feat: updating jp symbols * feat: eur advancements * feat: weird stuff * feat: fix build issue * feat: rename BMFL to BombFlower * feat: catchup jp .data * feat: improve BombFlower * feat: improve bomb matching * style: cleanup * style: cleanup v2 * fix: mapobjectpot_base .data * feat: better match for mapobjectpot_base * style: use deg_to_rad macro * style: cleaner variable definition * doc: better comment * fix: build
This commit is contained in:
@@ -165,12 +165,12 @@ void MapObjectUnkSKDI::func_ov031_0210643c(unk32 param1) {
|
||||
VecFx32 vec;
|
||||
VecFx32_Init(this->mPos.x, this->mPos.y + FLOAT_TO_FX32(1.25f), this->mPos.z, &vec);
|
||||
UnkStruct_027e0cec *data = data_027e0cec;
|
||||
for (ActorUnkBOMB_unk *ptr = this->mUnk_04C; ptr != this->mUnk_04C + ARRAY_LEN(this->mUnk_04C); ++ptr) {
|
||||
for (ActorBomb_unk *ptr = this->mUnk_04C; ptr != this->mUnk_04C + ARRAY_LEN(this->mUnk_04C); ++ptr) {
|
||||
data->func_ov000_020a0140(ptr, &vec);
|
||||
}
|
||||
} else {
|
||||
UnkStruct_027e0cec *data = data_027e0cec;
|
||||
for (ActorUnkBOMB_unk *ptr = this->mUnk_04C; ptr != this->mUnk_04C + ARRAY_LEN(this->mUnk_04C); ++ptr) {
|
||||
for (ActorBomb_unk *ptr = this->mUnk_04C; ptr != this->mUnk_04C + ARRAY_LEN(this->mUnk_04C); ++ptr) {
|
||||
data->func_ov000_020a0110(ptr);
|
||||
}
|
||||
}
|
||||
@@ -265,7 +265,7 @@ void MapObjectUnkSKDI::func_ov031_02106678(MapObjState state, unk32 param2) {
|
||||
this->func_ov000_0209d2c4(0x0, true);
|
||||
}
|
||||
UnkStruct_027e0cec *data = data_027e0cec;
|
||||
for (ActorUnkBOMB_unk *ptr = this->mUnk_04C; ptr != this->mUnk_04C + ARRAY_LEN(this->mUnk_04C); ++ptr) {
|
||||
for (ActorBomb_unk *ptr = this->mUnk_04C; ptr != this->mUnk_04C + ARRAY_LEN(this->mUnk_04C); ++ptr) {
|
||||
data->func_ov000_020a0140(ptr, &sp48);
|
||||
}
|
||||
unk32 dc = this->mUnk_0D4.mUnk_08;
|
||||
@@ -287,7 +287,7 @@ void MapObjectUnkSKDI::func_ov031_02106678(MapObjState state, unk32 param2) {
|
||||
if (param2 == 0) {
|
||||
this->func_ov000_0209d2c4(0x0, false);
|
||||
UnkStruct_027e0cec *data = data_027e0cec;
|
||||
for (ActorUnkBOMB_unk *ptr = this->mUnk_04C; ptr != this->mUnk_04C + ARRAY_LEN(this->mUnk_04C); ++ptr) {
|
||||
for (ActorBomb_unk *ptr = this->mUnk_04C; ptr != this->mUnk_04C + ARRAY_LEN(this->mUnk_04C); ++ptr) {
|
||||
data->func_ov000_020a0110(ptr);
|
||||
}
|
||||
if (this->mUnk_0FC == 0) {
|
||||
|
||||
Reference in New Issue
Block a user