Skip to content

Conversation

@slock83
Copy link

@slock83 slock83 commented Jul 11, 2025

working on the Kart objects

@decomp-dev
Copy link

decomp-dev bot commented Jul 11, 2025

Report for RMCP01 (6eed2ce - c681e7e)

📈 Matched code: 5.69% (+0.01%, +416 bytes)

✅ 22 new matches:
Unit Function Bytes Before After
StaticR/kart/KartObjectProxy Kart::KartObjectProxy::getWheelPos(unsigned long) +28 0.00% 100.00%
StaticR/ui/Page UI::Page::draw(unsigned long) +28 0.00% 100.00%
StaticR/ui/Page UI::Page::startReplace(long, float) +28 0.00% 100.00%
StaticR/kart/KartObjectProxy Kart::KartObjectProxy::wheelIdxHasFloorCollision(unsigned long) +24 0.00% 100.00%
StaticR/kart/KartObjectProxy Kart::KartObjectProxy::kartSusPhysics(long) +24 0.00% 100.00%
StaticR/kart/KartObjectProxy Kart::KartObjectProxy::kartSusPhysics(long) const +24 0.00% 100.00%
StaticR/kart/KartObjectProxy Kart::KartObjectProxy::kartWheelPhysics(long) +24 0.00% 100.00%
StaticR/kart/KartObjectProxy Kart::KartObjectProxy::kartWheelPhysics(long) const +24 0.00% 100.00%
StaticR/kart/KartObjectProxy Kart::KartObjectProxy::getPose() const +20 0.00% 100.00%
StaticR/kart/KartObjectProxy Kart::KartObjectProxy::isLocal() +20 0.00% 100.00%
StaticR/kart/KartObjectProxy Kart::KartObjectProxy::isGhost() +20 0.00% 100.00%
StaticR/kart/KartObjectProxy Kart::KartObjectProxy::getSuspCount() +16 0.00% 100.00%
StaticR/kart/KartObjectProxy Kart::KartObjectProxy::getWheelCount() +16 0.00% 100.00%
StaticR/kart/KartObjectProxy Kart::KartObjectProxy::getWheelCountRecip() +16 0.00% 100.00%
StaticR/kart/KartObjectProxy Kart::KartObjectProxy::getWheelCountPlusOneRecip() +16 0.00% 100.00%
StaticR/kart/KartObjectProxy Kart::KartObjectProxy::setStartBoostIdx(long) +16 0.00% 100.00%
StaticR/ui/Page UI::Page::setAnimationDirection(long) +16 0.00% 100.00%
StaticR/ui/Page UI::Page::initChildren(long) +16 0.00% 100.00%
StaticR/ui/Page UI::Page::skipInAnimation() +12 0.00% 100.00%
StaticR/ui/Page UI::Page::skipOutAnimation() +12 0.00% 100.00%
StaticR/ui/Page UI::Page::insert(long, UI::UIControl*, unsigned long) +8 0.00% 100.00%
StaticR/ui/Page UI::Page::setInputManager(UI::MenuInputManager*) +8 0.00% 100.00%
📈 1 improvements in unmatched functions:
Unit Function Bytes Before After
StaticR/kart/KartObjectProxy Kart::KartObjectProxy::getBodyRot() const +12 0.00% 75.00%
📉 190 regressions in unmatched functions:
Unit Function Bytes Before After
StaticR/Page Page_construct 0 0.00% 0.00%
StaticR/Page Page_destroy 0 0.00% 0.00%
StaticR/Page Page_init 0 0.00% 0.00%
StaticR/Page Page_onInit 0 0.00% 0.00%
StaticR/Page Page_fini 0 0.00% 0.00%
StaticR/Page Page_activate 0 0.00% 0.00%
StaticR/Page Page_deactivate 0 0.00% 0.00%
StaticR/Page fn_1_F1894 0 0.00% 0.00%
StaticR/Page fn_1_F18B0 0 0.00% 0.00%
StaticR/Page fn_1_F1970 0 0.00% 0.00%
StaticR/Page fn_1_F1B90 0 0.00% 0.00%
StaticR/Page fn_1_F1D90 0 0.00% 0.00%
StaticR/Page Page_calc 0 0.00% 0.00%
StaticR/Page fn_1_F1F84 0 0.00% 0.00%
StaticR/Page fn_1_F1FA4 0 0.00% 0.00%
StaticR/Page UI::Page::draw(unsigned long) 0 0.00% 0.00%
StaticR/Page fn_1_F1FC4 0 0.00% 0.00%
StaticR/Page fn_1_F1FD8 0 0.00% 0.00%
StaticR/Page Page_refocus 0 0.00% 0.00%
StaticR/Page fn_1_F2074 0 0.00% 0.00%
StaticR/Page fn_1_F2094 0 0.00% 0.00%
StaticR/Page UI::Page::setAnimationDirection(long) 0 0.00% 0.00%
StaticR/Page UI::Page::initChildren(long) 0 0.00% 0.00%
StaticR/Page UI::Page::insert(long, UI::UIControl*, unsigned long) 0 0.00% 0.00%
StaticR/Page UI::Page::setInputManager(UI::MenuInputManager*) 0 0.00% 0.00%
StaticR/Page UI::Page::skipInAnimation() 0 0.00% 0.00%
StaticR/Page UI::Page::startReplace(long, float) 0 0.00% 0.00%
StaticR/Page UI::Page::skipOutAnimation() 0 0.00% 0.00%
StaticR/Page Page_changeSection 0 0.00% 0.00%
StaticR/Page fn_1_F217C 0 0.00% 0.00%

...and 160 more regressions in unmatched functions

Copy link
Contributor

@em-eight em-eight left a comment

Choose a reason for hiding this comment

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

Welcome : )

dynamics = kartDynamics();
dynamics->pos.x = x;
dynamics->pos.y = y;
dynamics->pos.z = z;
Copy link
Contributor

Choose a reason for hiding this comment

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

Move definitions to declarations if you can maintain matching

dynamics->mainRot.x = x;
dynamics->mainRot.y = y;
dynamics->mainRot.z = z;
dynamics->mainRot.w = w;
Copy link
Contributor

Choose a reason for hiding this comment

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

Move definitions to declarations if you can maintain matching


namespace Kart {
class KartSus {
class KartSusPhysics;
Copy link
Contributor

Choose a reason for hiding this comment

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

indentation. Also would be good to leave an empty line between declarations

dynamics->mainRot.z = z;
dynamics->mainRot.w = w;
void KartObjectProxy::setRot(const EGG::Quatf &rot) {
KartDynamics* dynamics =kartDynamics();
Copy link
Contributor

Choose a reason for hiding this comment

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

one more indentation hiccup

Copy link
Author

@slock83 slock83 Jul 15, 2025

Choose a reason for hiding this comment

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

should be fixed now

@em-eight em-eight merged commit 8c0651e into snailspeed3:master Jul 15, 2025
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