#include <ActorBgCollisionCheck.h>
Inherited by ActorBgCollisionEnemyCheck, ActorBgCollisionObjCheck, and ActorBgCollisionPlayerCheck.
|
| enum | SakaType {
cSakaType_None = 0
, cSakaType_Gentle
, cSakaType_Moderate
, cSakaType_Steep
,
cSakaType_VerySteep
, cSakaType_Num
} |
| enum | SakaDir { cSakaDir_Right = 0
, cSakaDir_Left
} |
| enum | HitDirBit {
cHitDirBit_Right = 0
, cHitDirBit_Left
, cHitDirBit_Up
, cHitDirBit_Down
,
cHitDirBit_BoostBlock_Right
, cHitDirBit_BoostBlock_Left
, cHitDirBit_BoostBlock_Up
, cHitDirBit_BoostBlock_Down
} |
| typedef sead::UnsafeArray< Sensor, cDirType_Num > | SensorArray |
| typedef sead::UnsafeArray< bool, cDirType_Num > | SensorBoolArray |
| typedef sead::UnsafeArray< Sensor, cDirType_NumX > | WallSensorArray |
| typedef sead::UnsafeArray< bool, cDirType_NumX > | WallSensorBoolArray |
| typedef sead::UnsafeArray< SensorFlag, cDirType_Num > | SensorFlagArray |
| typedef sead::UnsafeArray< BgCollisionCat, cDirType_Num > | SensorBgCollisionCatArray |
| typedef sead::UnsafeArray< ActorBgCollisionCheckResult, cBgCollisionCat_Num > | BgCheckResultArray |
| typedef sead::UnsafeArray< BgCheckResultArray, cDirType_Num > | SensorBgCheckResultArray |
| typedef sead::UnsafeArray< u64, cDirType_Num > | SensorHitBgCheckDataArray |
◆ SensorArray
◆ SensorBoolArray
◆ WallSensorArray
◆ WallSensorBoolArray
◆ SensorFlagArray
◆ SensorBgCollisionCatArray
◆ BgCheckResultArray
◆ SensorBgCheckResultArray
◆ SensorHitBgCheckDataArray
◆ List
◆ SakaType
| Enumerator |
|---|
| cSakaType_None | |
| cSakaType_Gentle | |
| cSakaType_Moderate | |
| cSakaType_Steep | |
| cSakaType_VerySteep | |
| cSakaType_Num | |
◆ SakaDir
| Enumerator |
|---|
| cSakaDir_Right | |
| cSakaDir_Left | |
◆ HitDirBit
| Enumerator |
|---|
| cHitDirBit_Right | |
| cHitDirBit_Left | |
| cHitDirBit_Up | |
| cHitDirBit_Down | |
| cHitDirBit_BoostBlock_Right | |
| cHitDirBit_BoostBlock_Left | |
| cHitDirBit_BoostBlock_Up | |
| cHitDirBit_BoostBlock_Down | |
◆ ActorBgCollisionCheck()
| ActorBgCollisionCheck::ActorBgCollisionCheck |
( |
| ) |
|
◆ ~ActorBgCollisionCheck()
| virtual ActorBgCollisionCheck::~ActorBgCollisionCheck |
( |
| ) |
|
|
virtual |
◆ checkBg()
| virtual void ActorBgCollisionCheck::checkBg |
( |
| ) |
|
|
virtual |
◆ clearBg()
| virtual void ActorBgCollisionCheck::clearBg |
( |
| ) |
|
|
virtual |
◆ atFrameStart()
| virtual void ActorBgCollisionCheck::atFrameStart |
( |
| ) |
|
|
virtual |
◆ getOwnerAtRevCheck()
| virtual Actor * ActorBgCollisionCheck::getOwnerAtRevCheck |
( |
f32 | bg_collision_pos_y | ) |
const |
|
pure virtual |
◆ getOwnerAtHit()
| virtual Actor * ActorBgCollisionCheck::getOwnerAtHit |
( |
const BgCollision & | bg_collision, |
|
|
u8 | direction ) const |
|
pure virtual |
◆ vf4C()
| virtual s8 * ActorBgCollisionCheck::vf4C |
( |
f32 | | ) |
const |
|
pure virtual |
◆ vf54()
| virtual void ActorBgCollisionCheck::vf54 |
( |
| ) |
|
|
virtual |
◆ checkFoot_()
| virtual void ActorBgCollisionCheck::checkFoot_ |
( |
| ) |
|
|
protectedvirtual |
◆ checkHead_()
| virtual void ActorBgCollisionCheck::checkHead_ |
( |
| ) |
|
|
protectedvirtual |
◆ checkWall_()
| virtual void ActorBgCollisionCheck::checkWall_ |
( |
u8 | direction | ) |
|
|
protectedvirtual |
◆ set()
Initialize the checker with the owner and sensors.
- Parameters
-
| owner | The actor which the sensors belong to and will follow. |
| foot | The sensor to go below and check for floor collision, or nullptr if skipping this sensor. |
| head | The sensor to go above and check for ceiling collision, or nullptr if skipping this sensor. |
| wall | The sensor to go on either side and check for wall collision, or nullptr if skipping this sensor. |
- Address: 0x0218AF6C
◆ getOwner() [1/2]
| Actor * ActorBgCollisionCheck::getOwner |
( |
| ) |
const |
|
inline |
◆ getOwner() [2/2]
template<typename T>
| T * ActorBgCollisionCheck::getOwner |
( |
| ) |
const |
|
inline |
◆ setSensor()
| void ActorBgCollisionCheck::setSensor |
( |
const Sensor * | sensor, |
|
|
u8 | direction ) |
◆ getSensor()
| const Sensor * ActorBgCollisionCheck::getSensor |
( |
u8 | direction | ) |
const |
◆ setSensorFoot()
| void ActorBgCollisionCheck::setSensorFoot |
( |
const Sensor * | foot | ) |
|
|
inline |
◆ setSensorHead()
| void ActorBgCollisionCheck::setSensorHead |
( |
const Sensor * | head | ) |
|
|
inline |
◆ setSensorWall()
| void ActorBgCollisionCheck::setSensorWall |
( |
const Sensor * | wall_r | ) |
|
|
inline |
◆ isSensor1Set()
| bool ActorBgCollisionCheck::isSensor1Set |
( |
DirType | direction | ) |
const |
|
inline |
◆ isSensor1Null()
| bool ActorBgCollisionCheck::isSensor1Null |
( |
DirType | direction | ) |
const |
|
inline |
◆ isSensor2Set()
| bool ActorBgCollisionCheck::isSensor2Set |
( |
DirType | direction | ) |
const |
|
inline |
◆ getSensorArray1()
| const SensorArray & ActorBgCollisionCheck::getSensorArray1 |
( |
| ) |
const |
|
inline |
◆ getSensorArray2()
| const SensorArray & ActorBgCollisionCheck::getSensorArray2 |
( |
| ) |
const |
|
inline |
◆ getSensor1() [1/2]
◆ getSensor1() [2/2]
| const Sensor * ActorBgCollisionCheck::getSensor1 |
( |
DirType | direction | ) |
const |
|
inline |
◆ getSensor2() [1/2]
◆ getSensor2() [2/2]
| const Sensor * ActorBgCollisionCheck::getSensor2 |
( |
DirType | direction | ) |
const |
|
inline |
◆ getSensorEffective()
| const Sensor * ActorBgCollisionCheck::getSensorEffective |
( |
DirType | direction | ) |
const |
|
inline |
◆ getSensorFlag() [1/2]
◆ getSensorFlag() [2/2]
◆ getIgnoreActor()
| Actor * ActorBgCollisionCheck::getIgnoreActor |
( |
| ) |
const |
|
inline |
◆ setIgnoreActor()
| void ActorBgCollisionCheck::setIgnoreActor |
( |
Actor * | actor | ) |
|
|
inline |
◆ getFollowArg()
| const FollowArg & ActorBgCollisionCheck::getFollowArg |
( |
| ) |
const |
|
inline |
◆ getOutput() [1/2]
| Output & ActorBgCollisionCheck::getOutput |
( |
| ) |
|
|
inline |
◆ getOutput() [2/2]
| const Output & ActorBgCollisionCheck::getOutput |
( |
| ) |
const |
|
inline |
◆ checkFoot()
| bool ActorBgCollisionCheck::checkFoot |
( |
| ) |
const |
|
inline |
◆ checkHead()
| bool ActorBgCollisionCheck::checkHead |
( |
| ) |
const |
|
inline |
◆ checkWall()
| bool ActorBgCollisionCheck::checkWall |
( |
DirType | direction | ) |
const |
|
inline |
◆ checkRide()
| bool ActorBgCollisionCheck::checkRide |
( |
| ) |
const |
|
inline |
◆ isQuicksand()
| bool ActorBgCollisionCheck::isQuicksand |
( |
| ) |
const |
|
inline |
◆ isOnTrampoline()
| bool ActorBgCollisionCheck::isOnTrampoline |
( |
| ) |
const |
|
inline |
◆ getBgSpeed()
◆ isHit()
| bool ActorBgCollisionCheck::isHit |
( |
u8 | hit_dir_flag | ) |
const |
|
inline |
◆ getHitBgCollisionFoot()
| BgCollision * ActorBgCollisionCheck::getHitBgCollisionFoot |
( |
| ) |
const |
◆ getHitBgCollisionHead()
| BgCollision * ActorBgCollisionCheck::getHitBgCollisionHead |
( |
| ) |
const |
◆ getHitBgCollisionWall()
◆ getBgCheckData()
| const u64 & ActorBgCollisionCheck::getBgCheckData |
( |
DirType | direction | ) |
const |
|
inline |
◆ getBgCheckDataPrev()
| const u64 & ActorBgCollisionCheck::getBgCheckDataPrev |
( |
DirType | direction | ) |
const |
|
inline |
◆ getSakaBaseAngle()
| Angle ActorBgCollisionCheck::getSakaBaseAngle |
( |
| ) |
|
◆ getHeadSakaBaseAngle()
| Angle ActorBgCollisionCheck::getHeadSakaBaseAngle |
( |
| ) |
|
◆ getSakaType()
| SakaType ActorBgCollisionCheck::getSakaType |
( |
Angle | saka_base_angle | ) |
|
◆ isSaka()
| bool ActorBgCollisionCheck::isSaka |
( |
| ) |
|
|
inline |
◆ getSakaDir()
| SakaDir ActorBgCollisionCheck::getSakaDir |
( |
| ) |
|
◆ getSakaAngle()
◆ getHeadSakaAngle()
| Angle ActorBgCollisionCheck::getHeadSakaAngle |
( |
DirType | dir | ) |
|
◆ getWallAngle()
◆ getBgCheck() [1/2]
◆ getBgCheck() [2/2]
◆ initBgCheck()
| void ActorBgCollisionCheck::initBgCheck |
( |
| ) |
|
◆ checkWater() [1/3]
◆ checkWater() [2/3]
◆ checkWater() [3/3]
◆ checkWaterDepth()
| u32 ActorBgCollisionCheck::checkWaterDepth |
( |
f32 | x, |
|
|
f32 | y, |
|
|
u8 | layer ) |
|
static |
◆ mBgCheck
◆ mBgHitCheckCallback
◆ _54
◆ mListNodeFoot
| List::Node ActorBgCollisionCheck::mListNodeFoot |
|
protected |
◆ mListNodeHead
| List::Node ActorBgCollisionCheck::mListNodeHead |
|
protected |
◆ mListNodeWallR
| List::Node ActorBgCollisionCheck::mListNodeWallR |
|
protected |
◆ mListNodeWallL
| List::Node ActorBgCollisionCheck::mListNodeWallL |
|
protected |
◆ mOwner
| Actor* ActorBgCollisionCheck::mOwner |
|
protected |
◆ mIgnoreActor
| Actor* ActorBgCollisionCheck::mIgnoreActor |
|
protected |
◆ mFollowArg
◆ mOutput
| Output ActorBgCollisionCheck::mOutput |
|
protected |
◆ mOutputPrev
| Output ActorBgCollisionCheck::mOutputPrev |
|
protected |
◆ _8b4
◆ _8c4
◆ _8d4
◆ _8e4
◆ _8f4
◆ mBgSpeed
◆ _90c
| f32 ActorBgCollisionCheck::_90c |
|
protected |
◆ _910
| u32 ActorBgCollisionCheck::_910 |
|
protected |
◆ mHitDirectionFlag
| u8 ActorBgCollisionCheck::mHitDirectionFlag |
|
protected |
◆ mIsInitialized
| bool ActorBgCollisionCheck::mIsInitialized |
|
protected |
◆ _916
| bool ActorBgCollisionCheck::_916 |
|
protected |
◆ _917
| bool ActorBgCollisionCheck::_917 |
|
protected |
◆ _918
| bool ActorBgCollisionCheck::_918 |
|
protected |
◆ mIsSensor1Set
◆ mIsSensor1Null
◆ mIsSensor2Set
◆ mSensor1
◆ mSensor2
◆ mSensor3
◆ mSensor4
◆ mIsSensor4Set
◆ mIsSensor4SetPrev
◆ mSensorFlag
◆ mBgCheckResultIdx
◆ mBgCheckResultIdxPrev
◆ mBgCheckResult
◆ mBgCheckResultPrev
◆ mBgCheckData
◆ mBgCheckDataPrev
◆ _14d8
| u32 ActorBgCollisionCheck::_14d8 |
|
protected |