Skip to content

Project/Anim: Implement AnimPLayerSimple#1178

Draft
german77 wants to merge 3 commits into
MonsterDruide1:masterfrom
german77:AnimPlayerSimple
Draft

Project/Anim: Implement AnimPLayerSimple#1178
german77 wants to merge 3 commits into
MonsterDruide1:masterfrom
german77:AnimPlayerSimple

Conversation

@german77
Copy link
Copy Markdown
Contributor

@german77 german77 commented May 5, 2026

This class is not simple in the slightest. I had to scratch quite a few other objects to get enough info of the members of this object. I believe this is correct but it might not be a BoneVisibilityAnimObj I can't fully confirm this member until I implement the children of this class.

Besides that is fully matching but not ready for review. It depends on #1127 and nn changes. I just oppened this early so others can somewhat verify the PR on nn.


This change is Reviewable


Report for 1.0 (5dfa7a6 - 1b7c4f4)

📈 Matched code: 15.14% (+0.02%, +1952 bytes)

✅ 25 new matches
Unit Item Bytes Before After
Project/Anim/AnimInfo al::AnimInfoTable::sort() +564 0.00% 100.00%
Project/Anim/AnimInfo al::AnimInfoTable::findAnimInfo(char const*) const +224 0.00% 100.00%
Project/Anim/AnimPlayerSimple al::AnimPlayerSimple::calcNeedUpdateAnimNext() +156 0.00% 100.00%
Project/Anim/AnimInfo al::AnimInfoTable::AnimInfoTable(int) +116 0.00% 100.00%
Project/Anim/AnimInfo al::AnimInfoTable::add(char const*, void*, float, bool) +116 0.00% 100.00%
Project/Anim/AnimPlayerSimple al::AnimPlayerSimple::startAnim(char const*) +88 0.00% 100.00%
Project/Anim/AnimPlayerSimple al::AnimPlayerSimple::setAnimFrame(float) +80 0.00% 100.00%
Project/Anim/AnimPlayerSimple al::AnimPlayerSimple::update() +76 0.00% 100.00%
Project/Anim/AnimPlayerSimple al::AnimPlayerSimple::AnimPlayerSimple() +68 0.00% 100.00%
Project/Anim/AnimPlayerSimple al::AnimPlayerSimple::setAnimFrameRate(float) +64 0.00% 100.00%
Project/Anim/AnimPlayerSimple al::AnimPlayerSimple::applyTo() +64 0.00% 100.00%
Project/Anim/AnimPlayerSimple al::AnimPlayerSimple::isAnimEnd() const +48 0.00% 100.00%
Project/Anim/AnimPlayerSimple al::AnimPlayerSimple::isAnimOneTime() const +36 0.00% 100.00%
Project/Anim/AnimPlayerSimple al::AnimPlayerSimple::isAnimOneTime(char const*) const +36 0.00% 100.00%
Project/Anim/AnimPlayerSimple al::AnimPlayerSimple::isAnimExist(char const*) const +32 0.00% 100.00%
Project/Anim/AnimPlayerSimple al::AnimPlayerSimple::getAnimFrameMax(char const*) const +28 0.00% 100.00%
Project/Anim/AnimPlayerSimple al::AnimPlayerSimple::getPlayingAnimName() const +28 0.00% 100.00%
Project/Anim/AnimPlayerSimple al::AnimPlayerSimple::clearAnim() +20 0.00% 100.00%
Project/Anim/AnimPlayerSimple al::AnimPlayerSimple::getAnimFrame() const +20 0.00% 100.00%
Project/Anim/AnimPlayerSimple al::AnimPlayerSimple::getAnimFrameMax() const +20 0.00% 100.00%
Project/Anim/AnimPlayerSimple al::AnimPlayerSimple::getAnimFrameRate() const +20 0.00% 100.00%
Project/Anim/AnimPlayerSimple al::AnimPlayerSimple::isAnimPlaying() const +16 0.00% 100.00%
Project/Anim/AnimInfo al::AnimResInfo::AnimResInfo() +12 0.00% 100.00%
Project/Anim/AnimInfo al::AnimResInfo::getFrameMax() const +12 0.00% 100.00%
Project/Anim/AnimInfo al::AnimResInfo::isLoop() const +8 0.00% 100.00%
📈 1 improvement in an unmatched item
Unit Item Bytes Before After
Project/Anim/AnimInfo al::AnimInfoTable::tryFindAnimInfo(char const*) const +56 0.00% 25.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 May 5, 2026
@german77 german77 force-pushed the AnimPlayerSimple branch from e002727 to 2a952a8 Compare May 5, 2026 04:10
@german77 german77 changed the title Anim player simple Project/Anim: Implement AnimPLayerSimple May 5, 2026
@german77 german77 force-pushed the AnimPlayerSimple branch from 2a952a8 to 769b4c2 Compare May 5, 2026 04:33
@MonsterDruide1 MonsterDruide1 added status:blocked This PR cannot be merged or reviewed at the moment - usually a PR in a library needs to be handled. and removed status:waiting for review This PR is ready to take the first or another look at it! labels May 10, 2026
@german77 german77 force-pushed the AnimPlayerSimple branch from 878ca73 to 1b7c4f4 Compare May 20, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status:blocked This PR cannot be merged or reviewed at the moment - usually a PR in a library needs to be handled.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants