8000 iModel work by LivewireCB · Pull Request #579 · bfbbdecomp/bfbb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

iModel work #579

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 5 commits into from
Closed

iModel work #579

wants to merge 5 commits into from

Conversation

LivewireCB
Copy link
Contributor

Not proud of the work done here so far. It's a lot of guessing even with the dwarf data
TLDR; Skill issue

Copy link

🆗 ✅

+68 bytes
🆗 Bot Rating: A small contribution, every little bit helps!

No Regressions 🎉

Progress: 5

📈 main/SB/Core/gc/iModel - .text +55 bytes -> 3.49%
📈 main/SB/Core/gc/iModel - .sbss +14 bytes -> 30.77%
📈 main/SB/Core/gc/iModel - iModelInit() +39 bytes -> 20.83%
📈 main/SB/Core/gc/iModel - iModelFile_RWMultiAtomic(RpAtomic*) +3 bytes -> 4.17%
📈 main/SB/Core/gc/iModel - NextAtomicCallback(RpAtomic*, void*) +12 bytes -> 30.00%

Copy link

⚠️ 🔥

+68 bytes
🆗 Bot Rating: A small contribution, every little bit helps!

Regressions: 1

⚠️ main/SB/Core/gc/iModel - iModelUnload(RpAtomic*) -3 bytes -> 28.57%

Progress: 5

📈 main/SB/Core/gc/iModel - .text +51 bytes -> 3.44%
📈 main/SB/Core/gc/iModel - .sbss +14 bytes -> 30.77%
📈 main/SB/Core/gc/iModel - iModelInit() +39 bytes -> 20.83%
📈 main/SB/Core/gc/iModel - iModelFile_RWMultiAtomic(RpAtomic*) +3 bytes -> 4.17%
📈 main/SB/Core/gc/iModel - NextAtomicCallback(RpAtomic*, void*) +12 bytes -> 30.00%

Copy link
Collaborator
@JoshSanch JoshSanch left a comment

Choose a reason for hiding this comment

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

Good work! Left some review comments

Comment on lines +6 to +7
RpLight* sEmptyDirectionalLight;
RpLight* sEmptyAmbientLight;
Copy link
Collaborator

Choose a reason for hiding this comment

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

These need to be made static per objdiff.

}
if (clump != 0)
{
RpClumpDestroy(clump);
}
}


RpAtomic* NextAtomicCallback(RpAtomic* atomic, void* data)
Copy link
Collaborator

Choose a reason for hiding this comment

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

This function should be static as per objdiff.

for (S32 i = 0; i < 4; i++)
{
frame = (RwFrame*)RpLightCreate(i);
//black = frame;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please remember to take out commented code - it adds unnecessary noise when trying to debug functions to increase the match.

}
else
{
//modelArray[0] = (S32)model;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please remember to take out commented code - it adds unnecessary noise when trying to debug functions to increase the match.

Comment on lines +99 to +100
// What?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Could you clarify this comment? Is there something here that you felt might be particularly confusing for future contributors?

@LivewireCB LivewireCB marked this pull request as draft May 31, 2025 02:41
@LivewireCB LivewireCB closed this Jun 24, 2025
@LivewireCB LivewireCB deleted the dev6 branch June 24, 2025 03:20
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
0