#include <BAnimation.h>
Inheritance diagram for BAnimation:


Fixed-point arithmetic | |
| typedef s32 | FIXED |
| FIXED | INT2FIX (int _i) |
| int | FIX2INT (FIXED _n) |
| FIXED | FIX_FRAC (FIXED _n) |
| FIXED | FLOAT2FIX (float _f) |
| float | FIX2FLOAT (FIXED _n) |
| FIXED | FIX_ADD (FIXED a, FIXED b) |
| FIXED | FIX_SUB (FIXED a, FIXED b) |
| FIXED | FIX_MUL (FIXED a, FIXED b) |
| FIXED | FIX_DIV (FIXED a, FIXED b) |
| u8 | FIX_SHIFT |
| FIXED | FIX_SCALE |
| float | FIX_SCALEF |
| float | FIX_SCALEF_ |
Public Types | |
| typedef FIXED(* | FixedModifier )(FIXED) |
Public Member Functions | |
| BAnimation () | |
| ~BAnimation () | |
| void | addTarget (volatile uint32 *target, FixedModifier modifier=NULL) |
| void | addTarget (volatile uint16 *target, FixedModifier modifier=NULL) |
| void | clearTargets () |
| void | setStartValue (int value) |
| void | setStartValue (float value) |
| FIXED | startValue () |
| void | setStepValue (int value) |
| void | setStepValue (float value) |
| FIXED | stepValue () |
| void | setEndValue (int value) |
| void | setEndValue (float value) |
| FIXED | endValue () |
| FIXED | value () |
| void | schedule (bool global=false) |
| Schedule the animation in the current run loop. | |
| void | unschedule () |
| Unschedule the animation. Happens automatically if end is reached. | |
| void | run () |
| Schedule the animation in its own run loop. Returns after unschedule(). | |
| void | runloopReachedVBlank (BRunLoop *loop) |
| void | setDelegate (Delegate *deleg) |
| Delegate * | delegate () |
Static Public Member Functions | |
| FIXED | pageflipModifierYDY (FIXED value) |
| FIXED | pageflipModifierCY (FIXED value) |
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Schedule the animation in its own run loop. Returns after unschedule().
|
|
|
Reimplemented from BRunLoop::VBlankReceiver. |
|
|
Schedule the animation in the current run loop.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Unschedule the animation. Happens automatically if end is reached.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3-rc3