#include <BlockMgr.h>
Classes | |
| struct | DestroyParam |
| struct | HitParam |
Public Types | |
| enum | RengaContent { cRengaContent_Empty = 0 , cRengaContent_Coin = 1 , cRengaContent_MultiCoin = 2 , cRengaContent_FireFlower = 3 , cRengaContent_Star = 4 , cRengaContent_1UP = 5 , cRengaContent_Vine = 6 , cRengaContent_MiniMushroom = 7 , cRengaContent_Propeller = 8 , cRengaContent_Penguin = 9 , cRengaContent_Yoshi = 10 , cRengaContent_IceFlower = 11 , cRengaContent_None = 12 , cRengaContent_SquirrelMushroom = 13 , cRengaContent_Num = 14 } |
| Content enum for cType_BreakBlock units. More... | |
| enum | HatenaContent { cHatenaContent_Coin = 0 , cHatenaContent_FireFlower = 1 , cHatenaContent_Star = 2 , cHatenaContent_ContinuousStar = 3 , cHatenaContent_Vine = 4 , cHatenaContent_Spring = 5 , cHatenaContent_MiniMushroom = 6 , cHatenaContent_Propeller = 7 , cHatenaContent_Penguin = 8 , cHatenaContent_Yoshi = 9 , cHatenaContent_IceFlower = 10 , cHatenaContent_SquirrelMushroom = 11 , cHatenaContent_Num = 12 } |
| Content enum for cType_Q_Block units. More... | |
Public Member Functions | |
| void | destroy (ActorBlockBase::DestroyedParam ¶m, bool no_add_score) |
| void | destroy2 (ActorBlockBase::DestroyedParam2 ¶m, bool no_play_sound, bool no_add_score) |
| void | doDestroyAt (DestroyParam ¶m) |
| void | feverModeBlockReact (sead::Vector2f &at) |
| void | feverModeHitBlockAt (sead::Vector2f &at) |
| bool | hitBlockAt (HitParam &hit_param) |
| ActorBlockBase::ActiveState | getBlockActiveState (sead::Vector3f &pos_for_state, u32 area_no) |
| ActorBlockBase::ActiveState | getMultiCoinStateAt (sead::Vector3f &at) |
| void | setStateForBlockAt (sead::Vector3f &at, ActorBlockBase::ActiveState state, u32 area_no) |
| ActorBlockBase::Type | unitToType (u16 unit) |
| void | update () |
Protected Attributes | |
| u8 | _0 [101][16] |
| BlockState | mBlockState [3001] |
| u32 | _f0d4 |
| u32 | mBlockStateCount |
Private Member Functions | |
| SEAD_SINGLETON_DISPOSER (BlockMgr) | |
Content enum for cType_BreakBlock units.
Bit shift the unit 10 right and mask 0xF to get this.
Content enum for cType_Q_Block units.
Bit shift the unit 10 right and mask 0xF to get this.
|
private |
| void BlockMgr::destroy | ( | ActorBlockBase::DestroyedParam & | param, |
| bool | no_add_score ) |
| void BlockMgr::destroy2 | ( | ActorBlockBase::DestroyedParam2 & | param, |
| bool | no_play_sound, | ||
| bool | no_add_score ) |
| void BlockMgr::doDestroyAt | ( | DestroyParam & | param | ) |
| void BlockMgr::feverModeBlockReact | ( | sead::Vector2f & | at | ) |
| void BlockMgr::feverModeHitBlockAt | ( | sead::Vector2f & | at | ) |
| bool BlockMgr::hitBlockAt | ( | HitParam & | hit_param | ) |
| ActorBlockBase::ActiveState BlockMgr::getBlockActiveState | ( | sead::Vector3f & | pos_for_state, |
| u32 | area_no ) |
| ActorBlockBase::ActiveState BlockMgr::getMultiCoinStateAt | ( | sead::Vector3f & | at | ) |
| void BlockMgr::setStateForBlockAt | ( | sead::Vector3f & | at, |
| ActorBlockBase::ActiveState | state, | ||
| u32 | area_no ) |
| ActorBlockBase::Type BlockMgr::unitToType | ( | u16 | unit | ) |
| void BlockMgr::update | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |