|
NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
|
#include <game/bases/d_coin.hpp>
Controls the rotating animation for coins.
Also contains unused logic for controlling brick block and question block animations.
Definition at line 8 of file d_coin.hpp.
Static Public Member Functions | |
| static int | execute () |
| Executes coin rotation. | |
| static mAng3_c | getShapeAngle () |
Static Private Attributes | |
| static const int | COIN_FRAME_COUNT = 64 |
| The coin rotation animation frame count. | |
| static mAng3_c | m_shapeAngle |
| The rotation to be applied to every coin. | |
| static mAng3_c | m_h_shapeAngle |
| static u8 | m_frame |
| The coin rotation animation frame. | |
| static u8 | m_ptn_no |
| The current animated tile frame for coins. | |
| static u8 | m_h_ptn_no |
| The current animated tile frame for question blocks. | |
| static u8 | m_h_ptn_time |
| The remaining time for the current question block tile frame. | |
| static u8 | m_b_ptn_no |
| The current animated tile frame for brick blocks. | |
| static u8 | m_b_ptn_time |
| The remaining time for the current brick block tile frame. | |
|
static |
Executes coin rotation.
Definition at line 12 of file d_coin.cpp.
|
inlinestatic |
Definition at line 12 of file d_coin.hpp.
|
staticprivate |
The coin rotation animation frame count.
Definition at line 14 of file d_coin.hpp.
|
staticprivate |
The rotation to be applied to every coin.
Definition at line 15 of file d_coin.hpp.
|
staticprivate |
Definition at line 16 of file d_coin.hpp.
|
staticprivate |
The coin rotation animation frame.
Definition at line 17 of file d_coin.hpp.
|
staticprivate |
The current animated tile frame for coins.
Definition at line 18 of file d_coin.hpp.
|
staticprivate |
The current animated tile frame for question blocks.
Definition at line 19 of file d_coin.hpp.
|
staticprivate |
The remaining time for the current question block tile frame.
Definition at line 20 of file d_coin.hpp.
|
staticprivate |
The current animated tile frame for brick blocks.
Definition at line 21 of file d_coin.hpp.
|
staticprivate |
The remaining time for the current brick block tile frame.
Definition at line 22 of file d_coin.hpp.