mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-11 18:41:14 +00:00
* Implement `LegoRaceCar::HandleSkeletonKicks` and dependents * Fix typo * Spike to fix array comparisons (needs refactor) * Refactor: Dedicated method for array element matching * Address review comments * Reformat with new version of black * Apply more review comments * Address more review comments --------- Co-authored-by: jonschz <jonschz@users.noreply.github.com>
22 lines
428 B
C++
22 lines
428 B
C++
#include "raceskel.h"
|
|
|
|
#include <cassert>
|
|
|
|
DECOMP_SIZE_ASSERT(RaceSkel, 0x178)
|
|
|
|
// STUB: LEGO1 0x100719b0
|
|
RaceSkel::RaceSkel()
|
|
{
|
|
// TODO
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x10071cb0
|
|
// FUNCTION: BETA10 0x100f158b
|
|
void RaceSkel::GetCurrentAnimData(float* p_outCurAnimPosition, float* p_outCurAnimDuration)
|
|
{
|
|
*p_outCurAnimPosition = m_animPosition;
|
|
|
|
assert(m_curAnim >= 0);
|
|
*p_outCurAnimDuration = m_animMaps[m_curAnim]->GetDuration();
|
|
}
|