Skip to content

Library/Layout: Implement LayoutUtil - #833

Merged
MonsterDruide1 merged 2 commits into
MonsterDruide1:masterfrom
MissBismuth:add/LayoutUtil
Dec 24, 2025
Merged

Library/Layout: Implement LayoutUtil#833
MonsterDruide1 merged 2 commits into
MonsterDruide1:masterfrom
MissBismuth:add/LayoutUtil

Conversation

@MissBismuth

@MissBismuth MissBismuth commented Dec 19, 2025

Copy link
Copy Markdown
Contributor

This doesn't add:
setRenderBuffer(al::setRenderBuffer(al::LayoutKit*, agl::RenderBuffer const*)) as it requires nn::ui2d::DrawInfo size
al::executeUpdate(al::LayoutKit*) as it requires eui::ScreenMgr


This change is Reviewable


Report for 1.0 (f0237ea - 91e84c0)

📈 Matched code: 9.97% (+0.00%, +144 bytes)

✅ 5 new matches
Unit Function Bytes Before After
Library/Layout/LayoutUtil al::initLayoutInitInfo(al::LayoutInitInfo*, al::LayoutKit const*, al::SceneObjHolder*, al::AudioDirector const*, al::LayoutSystem const*, al::MessageSystem const*, al::GamePadSystem const*) +108 0.00% 100.00%
Library/Layout/LayoutUtil al::executeDrawEffect(al::LayoutKit const*) +12 0.00% 100.00%
Library/Layout/LayoutUtil al::executeUpdateList(al::LayoutKit*, char const*, char const*) +8 0.00% 100.00%
Library/Layout/LayoutUtil al::executeUpdateEffect(al::LayoutKit*) +8 0.00% 100.00%
Library/Layout/LayoutUtil al::executeDraw(al::LayoutKit const*, char const*) +8 0.00% 100.00%

@github-actions github-actions Bot added the status:waiting for review This PR is ready to take the first or another look at it! label Dec 19, 2025
@german77

Copy link
Copy Markdown
Contributor

You can implement the missing objects in other projects like https://github.com/open-ead/eui and https://github.com/open-ead/nnheaders. There's also a good chance that someone already RE those objects for another game like botw and they just need to be added to the repo but unless is from a trusted source please double check the info.

@MissBismuth

Copy link
Copy Markdown
Contributor Author

There is a draft PR for nn::ui2d::DrawInfo on nnheaders open-ead/nnheaders/pull/25, but I don't think I understand assembly/reverse engineering c++ enough to figure out what members structs/classes are made of

@MonsterDruide1 MonsterDruide1 changed the title Add Library/Layout/LayoutUtil Library/Layout: Implement LayoutUtil Dec 23, 2025

@MonsterDruide1 MonsterDruide1 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

@MonsterDruide1 reviewed 3 files and all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @MissBismuth).

@github-actions github-actions Bot added status:approved This PR is fully reviewed, it will now soak for a while (at most 24h) before being merged. status:ready to merge This PR is fully reviewed and the usual slack time has expired, so it can now be merged at any time. and removed status:waiting for review This PR is ready to take the first or another look at it! status:approved This PR is fully reviewed, it will now soak for a while (at most 24h) before being merged. labels Dec 23, 2025
@MonsterDruide1
MonsterDruide1 merged commit 3d057a9 into MonsterDruide1:master Dec 24, 2025
10 checks passed
codeman4033 pushed a commit to CodemanSMODecomp/OdysseyDecomp that referenced this pull request Jan 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status:ready to merge This PR is fully reviewed and the usual slack time has expired, so it can now be merged at any time.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants