A sprite's rotation and scale: scales in 8.8 fixed point (0x100 is full size), the angle in 1/65536 turns. More...
#include <affine.h>
Data Fields | |
| u16 | scaleX |
| 8.8 fixed point, read signed: negative mirrors the sprite | |
| u16 | scaleY |
| 8.8 fixed point, read signed | |
| u16 | angle |
| 1/65536 turns | |
| u16 | padding |
| never read; keeps the struct 8 bytes | |
A sprite's rotation and scale: scales in 8.8 fixed point (0x100 is full size), the angle in 1/65536 turns.
| u16 AffineTransform::scaleX |
8.8 fixed point, read signed: negative mirrors the sprite
Definition at line 14 of file affine.h.
Referenced by AffineEffect_UpdateFrame(), AffineMatrix_BuildForEffect(), BattleTarget_RunSelection(), Colosso_UpdateLettering(), Menu_RunCommandRow(), Render_ApplyProjectedPlacement(), Render_PlaceProjectedSprite(), RenderOutput_UpdateScaleAnimation(), SelectionScreen_Draw(), Ui_ApplyTableScaleToObject(), and UiWork_AnimateSpriteSlots().
| u16 AffineTransform::scaleY |
8.8 fixed point, read signed
Definition at line 15 of file affine.h.
Referenced by AffineEffect_UpdateFrame(), AffineMatrix_BuildForEffect(), BattleTarget_RunSelection(), Colosso_UpdateLettering(), Menu_RunCommandRow(), Render_ApplyProjectedPlacement(), Render_PlaceProjectedSprite(), RenderOutput_UpdateScaleAnimation(), SelectionScreen_Draw(), Ui_ApplyTableScaleToObject(), and UiWork_AnimateSpriteSlots().
| u16 AffineTransform::angle |
1/65536 turns
Definition at line 16 of file affine.h.
Referenced by AffineEffect_UpdateFrame(), AffineMatrix_BuildForEffect(), BattleTarget_RunSelection(), Colosso_UpdateLettering(), Menu_RunCommandRow(), Render_ApplyProjectedPlacement(), Render_PlaceProjectedSprite(), RenderOutput_UpdateScaleAnimation(), SelectionScreen_Draw(), Ui_ApplyTableScaleToObject(), and UiWork_AnimateSpriteSlots().