diff --git a/configure.py b/configure.py index e6f4dcbc..38bcc7ba 100755 --- a/configure.py +++ b/configure.py @@ -1230,7 +1230,7 @@ def MatchingFor(*versions): [], [ Object(Matching, "Osako/clock.cpp"), - Object(NonMatching, "Osako/animator.cpp"), + Object(Matching, "Osako/animator.cpp"), Object(Matching, "Osako/testApp.cpp"), Object(Matching, "Osako/shadowModel.cpp"), Object(Matching, "Osako/GameApp.cpp"), diff --git a/src/Osako/animator.cpp b/src/Osako/animator.cpp index 05af8bff..4327850a 100644 --- a/src/Osako/animator.cpp +++ b/src/Osako/animator.cpp @@ -1,5 +1,10 @@ #include "Osako/animator.h" +static void unused_force_data_ordering(double *a) +{ + *a = 4503601774854144.0; +} + void AnimatorWind::start() { mAnimationState = 1; } @@ -10,7 +15,13 @@ void AnimatorWind::stop() { void AnimatorWind::reset() { mAnimationState = 0; - mFrameCounter = 0; + mFrameCounter = 0.0f; +} + +static void unused_force_data_ordering2(float *a) +{ + *a = 0.0f; + *a = 60.0f; } void LoopAnimatorWind::update() {