Skip to content

RPSysQueuedScene and RPUtlShadowDrawer OK, RPSportsCommon partially split, tons of other WIP files - #167

Merged
kiwi515 merged 10 commits into
doldecomp:masterfrom
Tanline666:master
Sep 12, 2026
Merged

kiwi515 merged 10 commits into
doldecomp:masterfrom
Tanline666:master

Conversation

@Tanline666

Copy link
Copy Markdown
Contributor

No description provided.

@decomp-dev

decomp-dev Bot commented Sep 9, 2026 •

Copy link
Copy Markdown

Report for RSPE01_01 (1b679c1 - 915a933)

📈 Matched code: 35.02% (+0.02%, +676 bytes)
📈 Linked code: 28.93% (+0.01%, +464 bytes)
📈 Linked data: 54.18% (+0.01%, +76 bytes)

✅ 8 new matches
Unit Item Bytes Before After
main/Pack/RPUtility/RPUtlShadowDrawer RPUtlShadowDrawer::initMtx() const +136 0.00% 100.00%
main/Pack/RPUtility/RPUtlShadowDrawer RPUtlShadowDrawer::drawShadow() +136 0.00% 100.00%
main/Pack/RPSystem/RPSysQueuedScene RPSysQueuedScene::CreateInstance(EGG::Heap*) +112 0.00% 100.00%
main/Pack/RPSports/RPGolScene/RPGolResourceManager RPGolResourceManager::CreateInstance() +84 0.00% 100.00%
main/Pack/RPSports/RPGolScene/RPGolResourceManager RPGolResourceManager::DestroyInstance() +68 0.00% 100.00%
main/Pack/RPSystem/RPSysQueuedScene RPSysQueuedScene::~RPSysQueuedScene() +64 0.00% 100.00%
main/Pack/RPSports/RPGolScene/RPGolResourceManager RPGolResourceManager::~RPGolResourceManager() +64 0.00% 100.00%
main/Pack/RPSystem/RPSysQueuedScene RPSysQueuedScene::reset() +12 0.00% 100.00%
📈 9 improvements in unmatched items
Unit Item Bytes Before After
main/Pack/RPUtility/RPUtlLytBase RPUtlLytBase::beginDrawLine(_GXColor, unsigned short, unsigned char) +139 0.00% 66.98%
main/Pack/RPSports/RPGolScene/RPGolResourceManager RPGolResourceManager::createModel(const char*, RPGolResourceManager::EArchive) +83 0.00% 94.55%
main/Pack/RPSports/RPGolScene/RPGolResourceManager RPGolResourceManager::checkFile(const char*, RPGolResourceManager::EArchive) +59 0.00% 87.94%
main/Pack/RPSports/RPGolScene/RPGolResourceManager RPGolResourceManager::hasFile(const char*, RPGolResourceManager::EArchive) +19 0.00% 70.71%
main/Pack/RPUtility/RPUtlLytBase .sdata2 +14 0.00% 25.00%
main/Pack/RPSystem/RPSysQueuedScene .data +13 0.00% 85.71%
main/Pack/RPSports/RPGolScene/RPGolResourceManager .data +13 0.00% 85.71%
main/Pack/RPSystem/RPSysQueuedScene .sbss +5 0.00% 66.67%
main/Pack/RPSports/RPGolScene/RPGolResourceManager .sbss +5 0.00% 66.67%

Comment thread include/Pack/RPSystem/RPSysQueuedScene.h Outdated
Comment thread include/Pack/RPSystem/RPSysQueuedScene.h Outdated
Comment thread src/Pack/RPUtility/RPUtlShadowDrawer.cpp

class RPGolCamera {
public:
RP_SINGLETON_DECL(RPGolCamera);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

is this header for a different class in the binary? RPGolCamera in ghidra is a base class, not a singleton

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I just went by the splits, so I figured it was a singleton

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

ah okay, could u remove the macro then pls :p

Comment thread include/Pack/RPSports/RPGolScene.h
Comment thread src/Pack/RPSports/RPGolScene/RPGolResourceManager.cpp Outdated
Comment thread src/Pack/RPSports/RPGolScene/RPGolResourceManager.cpp Outdated
Comment thread src/Pack/RPSports/RPGolScene/RPGolResourceManager.cpp Outdated
Comment thread src/Pack/RPSports/RPGolScene/RPGolResourceManager.cpp Outdated
Comment thread src/Pack/RPSports/RPGolScene/RPGolResourceManager.cpp Outdated

class RPGolCamera {
public:
RP_SINGLETON_DECL(RPGolCamera);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

ah okay, could u remove the macro then pls :p

Comment thread include/Pack/RPSports/RPGolScene/RPGolResourceManager.h
* @brief Resource manager for Golf
*/
class RPGolResourceManager {
public:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

could you move the public: down to the enum EArchive? the RP_SINGLETON_DECL macro itself contains access modifiers

@kiwi515
kiwi515 merged commit 93ffffd into doldecomp:master Sep 12, 2026
1 check 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