Skip to content

setup all ::create functions in zNPCTypeDutchman#535

Merged
JoshSanch merged 3 commits intobfbbdecomp:mainfrom
LivewireCB:dev
May 10, 2025
Merged

setup all ::create functions in zNPCTypeDutchman#535
JoshSanch merged 3 commits intobfbbdecomp:mainfrom
LivewireCB:dev

Conversation

@LivewireCB
Copy link
Contributor

Will work on more actual functions tmr. Wanted to finish these.

@github-actions
Copy link

🆗 ✅

+2069 bytes
🆗 Bot Rating: Amazing contribution, you are the decomp GOAT 🐐

No Regressions 🎉

Progress: 26

📈 main/SB/Game/zNPCTypeDutchman - .text +1212 bytes -> 14.54%
📈 main/SB/Game/zNPCTypeDutchman - .text +760 bytes -> 55.20%
📈 main/SB/Game/zNPCTypeDutchman - .data +97 bytes -> 74.28%
📈 main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanCaught::Enter(float, void*) +16 bytes -> 11.43%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanInitiate::create(int, RyzMemGrow*, void*) +112 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanIdle::create(int, RyzMemGrow*, void*) +112 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanTeleport::create(int, RyzMemGrow*, void*) +112 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanReappear::create(int, RyzMemGrow*, void*) +112 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanBeam::create(int, RyzMemGrow*, void*) +112 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanFlame::create(int, RyzMemGrow*, void*) +112 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanPostFlame::create(int, RyzMemGrow*, void*) +112 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanCaught::create(int, RyzMemGrow*, void*) +112 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanDamage::create(int, RyzMemGrow*, void*) +112 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanDeath::create(int, RyzMemGrow*, void*) +112 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanInitiate::zNPCGoalDutchmanInitiate(int, zNPCDutchman&) +76 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanIdle::zNPCGoalDutchmanIdle(int, zNPCDutchman&) +76 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanTeleport::zNPCGoalDutchmanTeleport(int, zNPCDutchman&) +76 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanReappear::zNPCGoalDutchmanReappear(int, zNPCDutchman&) +76 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanBeam::zNPCGoalDutchmanBeam(int, zNPCDutchman&) +76 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanFlame::zNPCGoalDutchmanFlame(int, zNPCDutchman&) +76 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanPostFlame::zNPCGoalDutchmanPostFlame(int, zNPCDutchman&) +76 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanCaught::zNPCGoalDutchmanCaught(int, zNPCDutchman&) +76 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanDamage::zNPCGoalDutchmanDamage(int, zNPCDutchman&) +76 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanDeath::zNPCGoalDutchmanDeath(int, zNPCDutchman&) +76 bytes -> 100.00%
📈 main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanInitiate::Exit(float, void*) +32 bytes -> 61.54%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanPostFlame::Exit(float, void*) +44 bytes -> 100.00%

Comment on lines +360 to +363
S32 zNPCGoalDutchmanInitiate::Exit(F32 dt, void* updCtxt)
{
return xGoal::Exit(dt, updCtxt);
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: This formatting is off if you could fix it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gotcha

Comment on lines +494 to +498
S32 zNPCGoalDutchmanCaught::Enter(float dt, void* updCtxt)
{
// To-Do
return zNPCGoalCommon::Enter(dt, updCtxt);
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: Use the standard // TODO notation that most IDEs scan for

@github-actions
Copy link

🆗 ✅

+2069 bytes
🆗 Bot Rating: Amazing contribution, you are the decomp GOAT 🐐

No Regressions 🎉

Progress: 26

📈 main/SB/Game/zNPCTypeDutchman - .text +1212 bytes -> 14.54%
📈 main/SB/Game/zNPCTypeDutchman - .text +760 bytes -> 55.20%
📈 main/SB/Game/zNPCTypeDutchman - .data +97 bytes -> 74.28%
📈 main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanCaught::Enter(float, void*) +16 bytes -> 11.43%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanInitiate::create(int, RyzMemGrow*, void*) +112 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanIdle::create(int, RyzMemGrow*, void*) +112 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanTeleport::create(int, RyzMemGrow*, void*) +112 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanReappear::create(int, RyzMemGrow*, void*) +112 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanBeam::create(int, RyzMemGrow*, void*) +112 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanFlame::create(int, RyzMemGrow*, void*) +112 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanPostFlame::create(int, RyzMemGrow*, void*) +112 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanCaught::create(int, RyzMemGrow*, void*) +112 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanDamage::create(int, RyzMemGrow*, void*) +112 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanDeath::create(int, RyzMemGrow*, void*) +112 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanInitiate::zNPCGoalDutchmanInitiate(int, zNPCDutchman&) +76 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanIdle::zNPCGoalDutchmanIdle(int, zNPCDutchman&) +76 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanTeleport::zNPCGoalDutchmanTeleport(int, zNPCDutchman&) +76 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanReappear::zNPCGoalDutchmanReappear(int, zNPCDutchman&) +76 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanBeam::zNPCGoalDutchmanBeam(int, zNPCDutchman&) +76 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanFlame::zNPCGoalDutchmanFlame(int, zNPCDutchman&) +76 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanPostFlame::zNPCGoalDutchmanPostFlame(int, zNPCDutchman&) +76 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanCaught::zNPCGoalDutchmanCaught(int, zNPCDutchman&) +76 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanDamage::zNPCGoalDutchmanDamage(int, zNPCDutchman&) +76 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanDeath::zNPCGoalDutchmanDeath(int, zNPCDutchman&) +76 bytes -> 100.00%
📈 main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanInitiate::Exit(float, void*) +32 bytes -> 61.54%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanPostFlame::Exit(float, void*) +44 bytes -> 100.00%

@github-actions
Copy link

🆗 ✅

+2069 bytes
🆗 Bot Rating: Amazing contribution, you are the decomp GOAT 🐐

No Regressions 🎉

Progress: 26

📈 main/SB/Game/zNPCTypeDutchman - .text +1212 bytes -> 14.54%
📈 main/SB/Game/zNPCTypeDutchman - .text +760 bytes -> 55.20%
📈 main/SB/Game/zNPCTypeDutchman - .data +97 bytes -> 74.28%
📈 main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanCaught::Enter(float, void*) +16 bytes -> 11.43%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanInitiate::create(int, RyzMemGrow*, void*) +112 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanIdle::create(int, RyzMemGrow*, void*) +112 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanTeleport::create(int, RyzMemGrow*, void*) +112 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanReappear::create(int, RyzMemGrow*, void*) +112 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanBeam::create(int, RyzMemGrow*, void*) +112 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanFlame::create(int, RyzMemGrow*, void*) +112 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanPostFlame::create(int, RyzMemGrow*, void*) +112 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanCaught::create(int, RyzMemGrow*, void*) +112 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanDamage::create(int, RyzMemGrow*, void*) +112 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanDeath::create(int, RyzMemGrow*, void*) +112 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanInitiate::zNPCGoalDutchmanInitiate(int, zNPCDutchman&) +76 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanIdle::zNPCGoalDutchmanIdle(int, zNPCDutchman&) +76 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanTeleport::zNPCGoalDutchmanTeleport(int, zNPCDutchman&) +76 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanReappear::zNPCGoalDutchmanReappear(int, zNPCDutchman&) +76 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanBeam::zNPCGoalDutchmanBeam(int, zNPCDutchman&) +76 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanFlame::zNPCGoalDutchmanFlame(int, zNPCDutchman&) +76 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanPostFlame::zNPCGoalDutchmanPostFlame(int, zNPCDutchman&) +76 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanCaught::zNPCGoalDutchmanCaught(int, zNPCDutchman&) +76 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanDamage::zNPCGoalDutchmanDamage(int, zNPCDutchman&) +76 bytes -> 100.00%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanDeath::zNPCGoalDutchmanDeath(int, zNPCDutchman&) +76 bytes -> 100.00%
📈 main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanInitiate::Exit(float, void*) +32 bytes -> 61.54%
main/SB/Game/zNPCTypeDutchman - zNPCGoalDutchmanPostFlame::Exit(float, void*) +44 bytes -> 100.00%

@JoshSanch JoshSanch merged commit 956129b into bfbbdecomp:main May 10, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants