#include <TarzanIvy.h>
Inherits Actor.
Inherited by TarzanIvy.
Classes | |
| struct | Unk1 |
| struct | Unk2 |
| struct | Unk3 |
Public Member Functions | |
| noinline | TarzanIvyBase (const ActorCreateParam ¶m) |
| Public Member Functions inherited from Actor | |
| virtual void | setPlayerNo (s8 id) |
| s8 | getPlayerNo () const |
| virtual void | removeCollisionCheck () |
| virtual void | reviveCollisionCheck () |
| virtual ActorBgCollisionCheck * | getBgCheck () |
| virtual void | setCarryFall (Actor *, s32) |
| virtual bool | isSpinLiftUpEnable () |
| virtual void | setSpinLiftUpActor (Actor *player) |
| virtual void | vfC4 () |
| virtual void | vfCC () |
| bool | checkCarried (s32 *player_no) |
| s32 | getComboCnt () const |
| void | clrComboCnt () |
| void | incComboCnt () |
| void | slideComboSE (s32 combo_cnt, bool combo_type_2) |
| s32 | searchNearPlayer (sead::Vector2f &out) |
| DirType | getPlayerDirLR (const sead::Vector3f &position) |
| DirType | getPlayerDirUD (const sead::Vector3f &position) |
| DirType | getPlayerDirLR () |
| DirType | getPlayerDirUD () |
| bool | screenOutCheck (u16 flag) |
| Checks if the actor is out of gameplay and optionally deletes it. | |
| virtual void | allEnemyDeathEffSet () |
| virtual void | waterSplashEffect (const sead::Vector3f &pos) |
| virtual void | yoganSplashEffect (const sead::Vector3f &pos) |
| virtual void | yoganWaveSplashEffect (const sead::Vector3f &pos) |
| virtual void | poisonSplashEffect (const sead::Vector3f &pos) |
| f32 | getEffectZPos () const |
| bool | checkEat () const |
| void | deleteActor (bool manual_deleted) |
| Schedule this actor for deletion on the next frame. | |
| ActorCollisionCheck & | getCollisionCheck () |
| const ActorCollisionCheck & | getCollisionCheck () const |
| bool | isExecEnable () const |
| bool | isDrawEnable () const |
| DirType | getDirection () const |
| void | setDirection (DirType dir) |
| u8 | getLayer () const |
| f32 | getSpeedF () const |
| void | setSpeedF (f32 speedF) |
| f32 | getMaxSpeedF () const |
| void | setMaxSpeedF (f32 maxSpeedF) |
| f32 | getMaxFallSpeed () const |
| void | setMaxFallSpeed (f32 maxFallSpeed) |
| f32 | getAccelY () const |
| void | setAccelY (f32 accelY) |
| f32 | getAccelF () const |
| void | setAccelF (f32 accelF) |
| sead::Vector3f & | getPos () |
| const sead::Vector3f & | getPos () const |
| sead::Vector2f & | getPos2D () |
| const sead::Vector2f & | getPos2D () const |
| sead::Vector3f | getCenterPos () const |
| sead::Vector2f | getCenterPos2D () const |
| f32 | getCenterX () const |
| f32 | getCenterY () const |
| f32 | getCenterZ () const |
| sead::Vector3f & | getSpeedVec () |
| const sead::Vector3f & | getSpeedVec () const |
| sead::Vector3f & | getSpeedMaxVec () |
| const sead::Vector3f & | getSpeedMaxVec () const |
| sead::Vector3f & | getScale () |
| const sead::Vector3f & | getScale () const |
| Angle3 & | getAngle () |
| const Angle3 & | getAngle () const |
| ActorType | getActorType () const |
| void | setKind (ActorType type) |
| bool | getManualDeletedFlag () const |
| CarryFlag | getCarryFlag () const |
| u8 | getSwitchFlag0 () const |
| u8 | getSwitchFlag1 () const |
| u32 | getProfFlag () const |
| Public Member Functions inherited from ActorBase | |
| bool | isActive () const |
| Whether this actor has been successfully created and is now active. | |
| void | deleteRequest () |
| Schedule this actor for deletion on the next frame. | |
| bool | isRequestedDelete () const |
| Whether this actor has been scheduled for deletion on the next frame. | |
| ActorUniqueID | getActorUniqueID () const |
| The unique identifier handle for this actor. | |
| s32 | getProfileID () const |
| The specific profile ID which this actor was instantiated from. | |
| Profile * | getProfile () const |
| The specific profile which this actor was instantiated from. | |
| bool | isCreatedImmediately () const |
Whether the actor was created with ActorMgr::createImmediately(), rather than deferred with ActorMgr::createLater(). | |
| bool | isMapActor () const |
Whether the actor was spawned from the level with ActorCreateMgr, rather than dynamically spawned by another actor. | |
| u32 | getParam0 () const |
| Level designer configuration. Also known as "nybbles" or "spritedata". | |
| u32 | getParam1 () const |
| Level designer configuration. Also known as "nybbles" or "spritedata". | |
| ActorParamEx1 | getParamEx () const |
| Extra level designer configuration. Also known as "nybbles" or "spritedata". | |
| const List & | getChildList () const |
sead::OffsetList used for holding child actors spawned by this actor. Managed automatically if param.parent_id is set when spawning. | |
| sead::Heap * | getActorHeap () const |
| The personal heap for this actor. | |
| ActorBase * | getParent () const |
| template<typename T> | |
| T * | getParent () const |
The parent actor pointer if this actor is a child, nullptr otherwise. | |
| void | removeChild (ActorBase *child) |
| Disconnects a child from this actor's family tree. | |
Protected Member Functions | |
| virtual bool | isKusari_ () const |
| virtual void | createMdl_ () |
| Result | create () override |
| Main initialization/setup callback for the actor. | |
| bool | execute () override |
| Main execution/logic callback for the actor. Called every frame (the game runs at exactly 60 FPS). | |
| bool | draw () override |
| Main rendering callback for the actor. Called every frame (the game runs at exactly 60 FPS). | |
| Protected Member Functions inherited from Actor | |
| Actor (const ActorCreateParam ¶m) | |
| ~Actor () override | |
| void | postCreate (MainState state) override |
Callback invoked unconditionally after the create phase completes. It executes even if preCreate() bypassed the main create() operation. | |
| bool | preExecute () override |
Callback invoked before the execute operation. | |
| void | postExecute (MainState state) override |
Callback invoked unconditionally after the execute phase completes. It executes even if preExecute() bypassed the main execute() operation. | |
| bool | preDraw () override |
Callback invoked before the draw operation. | |
| virtual bool | drawCullCheck_ () |
| virtual void | blockHitInit_ () |
| void | splashEffect_ (const sead::Vector3f &pos, EffectID effect_id, u8 wave_scale, const char *sound_label) |
| void | setAreaNo_ () |
| void | calcSpeedX_ () |
| void | calcSpeedY_ (f32 accel_y, f32 speed_max_y) |
| void | calcSpeedY_ () |
| void | calcSpeedF_ (f32 accelF, f32 max_speedF) |
| void | calcSpeedF_ () |
| void | calcFallSpeed_ (f32 accel_y, f32 max_fall_speed) |
| void | calcFallSpeed_ () |
| void | posMove_ (sead::Vector3f &delta) |
| void | posMove_ (sead::Vector2f &delta_xy, f32 delta_z) |
| void | posMove_ () |
| void | carryFukidashiCheck_ (s32 action) |
| void | carryFukidashiCheck_ (s32 action, const sead::Vector2f &range) |
| void | carryFukidashiCancel_ (s32 action, s32 player_no) |
| bool | isEnablePressLR_ (const ActorBgCollisionCheck &bc) |
| bool | isEnablePressUD_ (const ActorBgCollisionCheck &bc) |
| bool | setPressBreakLR_ (const ActorBgCollisionCheck &bc) |
| bool | setPressBreakUD_ (const ActorBgCollisionCheck &bc) |
| bool | setPressIceHeadBreak_ (const ActorBgCollisionCheck &bc) |
| bool | setPressBreakIce_ (const BgCollision *bg_collision) |
| bool | setPressBreakBlockDRC_ (const BgCollision *bg_collision) |
| Protected Member Functions inherited from ActorBase | |
| ActorBase (const ActorCreateParam ¶m) | |
| Constructs an actor from configuration data. | |
| virtual | ~ActorBase () |
| Destroys the actor and orphans all of its children. | |
| virtual bool | preCreate () |
Callback invoked before the create operation. | |
| virtual void | finalUpdate () |
| Callback which is called after all other actors have finished executing for this frame. | |
| virtual void | postDraw (MainState state) |
Callback invoked unconditionally after the draw phase completes. It executes even if preDraw() bypassed the main draw() operation. | |
| virtual bool | preDelete () |
Callback invoked before the delete operation. | |
| virtual Result | doDelete () |
| Main deletion callback for the actor. | |
| virtual void | postDelete (MainState state) |
Unconditionally called callback for after the delete operation. | |
| void | setActive_ (bool active) |
Protected Attributes | |
| u32 | _27c [(0x2C4 - 0x27C)/sizeof(u32)] |
| u32 | _2c4 |
| u32 | _2c8 [(0x2D8 - 0x2C8)/sizeof(u32)] |
| PoleRopeBgCollision | mRopeBgCollision |
| Unk2 | _490 |
| u32 | _4b4 [(0x4F4 - 0x4B4)/sizeof(u32)] |
| sead::UnsafeArray< Unk3, cNodeMax > | _4f4 |
| sead::UnsafeArray< Unk3 *, cNodeMax > | _7f4 |
| sead::Vector2f | _834 [17] |
| f32 | _8bc |
| sead::UnsafeArray< Angle, cNodeMax > | mNodeAngle |
| sead::UnsafeArray< Angle, 64 > | _900 |
| u32 | _a00 [(0xA08 - 0xA00)/sizeof(u32)] |
| Protected Attributes inherited from Actor | |
| DirType | mDirection |
| s8 | mPlayerNo |
| s8 | mControllerLytPlayerNo |
| u8 | mLayer |
| sead::BitFlag8 | mCollisionMask |
| f32 | mSpeedF |
| f32 | mMaxSpeedF |
| f32 | mMaxFallSpeed |
| f32 | mAccelY |
| f32 | mAccelF |
| sead::Vector3f | mPos |
| sead::Vector3f | mSpeed |
| sead::Vector3f | mSpeedMax |
| sead::Vector3f | mScale |
| Angle3 | mAngle |
| Angle3 | mAnglePrev |
| sead::Vector2f | mPosDelta |
| ActorCollisionCheck | mCollisionCheck |
| sead::Vector2f | mVisibleAreaOffset |
| sead::Vector2f | mVisibleAreaSize |
| sead::Vector2f | mSize |
| ActorCullRange | mCullLimit |
| u8 | mAreaNo |
| u8 | mActorType |
| bool | mIsExecEnable |
| bool | mIsDrawEnable |
| bool | mManualDeletedFlag |
| u8 | _211 |
| u8 | mCarryFlag |
| u8 | mSwitchFlag0 |
| u8 | mSwitchFlag1 |
| u16 | mCreateFlag |
| u32 | mBumpDamageTimer |
| u32 | mBumpDirection |
| u8 | _220 |
| DirType | mCarryDirection |
| u32 | mThrowPlayerNo |
| s32 | mComboCnt |
| u32 | mProfFlag |
| sead::Vector3f | mCenterOffset |
| sead::Vector3f | mPosPrev |
| sead::Vector3f | mPosPrevPostExec |
| sead::Vector3f | mPosPrev2 |
| EatData * | mEatDataPtr |
| ChibiYoshiEatData * | mChibiYoshiEatDataPtr |
| PropelParts * | mPropelParts |
| u8 * | _270 |
| f32 | mAddSpeedF |
| ChibiYoshiAwaData * | mChibiYoshiAwaDataPtr |
| Protected Attributes inherited from ActorBase | |
| sead::Heap * | mActorHeap |
Personal heap for this actor of type sead::FrameHeap. Capacity of 0x20200, but profiles in the player whitelist get 0x1A0200. | |
| ActorUniqueID | mActorUniqueID |
| The unique identifier handle for this actor. | |
| Profile * | mActorProfile |
| The specific profile which this actor was instantiated from. | |
| bool | mCreatedImmediately |
Whether the actor was created with ActorMgr::createImmediately(), rather than deferred with ActorMgr::createLater(). | |
| bool | mIsMapActor |
Whether the actor was spawned from the level with ActorCreateMgr, rather than dynamically spawned by another actor. | |
| bool | mIsActive |
Whether the create operation has completed and the actor is executing. | |
| bool | mDeleteRequestFlag |
| Whether to delete this actor on the next frame. | |
| u32 | mParam0 |
| Level designer configuration. Also known as "nybbles" or "spritedata". | |
| u32 | mParam1 |
| Level designer configuration. Also known as "nybbles" or "spritedata". | |
| ActorParamEx1 | mParamEx |
| Extra level designer configuration. Also known as "nybbles" or "spritedata". | |
| List | mChildList |
sead::OffsetList used for holding child actors spawned by this actor. Managed automatically if param.parent_id is set when spawning. | |
| sead::ListNode | mChildNode |
Implementation detail. Used to track our position in the parent's mChildList. | |
| ActorBase * | mParent |
The parent actor if this actor is a child. Automatically set to nullptr if orphaned. | |
| sead::ListNode | mExecuteNode |
Implementation detail. Used to track our position in ActorMgr lists. | |
| sead::ListNode | mDrawNode |
Implementation detail. Used to track our position in ActorMgr mDrawManage list. | |
| sead::BitFlag32 | mFlag |
Static Private Attributes | |
| static const s32 | cNodeMax = 16 |
Additional Inherited Members | |
| Public Types inherited from Actor | |
| enum | ActorType { cActorType_Generic = 0 , cActorType_Player , cActorType_Yoshi , cActorType_Enemy , cActorType_ChibiYoshi } |
| enum | CarryFlag { cCarryFlag_Release = 1 << 0 , cCarryFlag_Throw = 1 << 1 , cCarryFlag_ThrowHard = 1 << 2 , cCarryFlag_None = 0 , cCarryFlag_All = cCarryFlag_Release | cCarryFlag_Throw | cCarryFlag_ThrowHard } |
| enum | ScreenOutFlag { cScreenOutFlag_SkipNone = 0 , cScreenOutFlag_SkipDeletion = 1 << 1 , cScreenOutFlag_SkipCameraCheck = 1 << 2 , cScreenOutFlag_SkipRideCheck = 1 << 3 , cScreenOutFlag_SkipTottenCheck = 1 << 4 } |
| Flags to pass to screenOutCheck to skip checks or actions during the evaluation. More... | |
| Public Types inherited from ActorBase | |
| enum | MainState { cState_None = 0 , cState_Failed , cState_Success , cState_Wait } |
| Represents the execution state of a main operation, and whether it was skipped. More... | |
| enum | Result { cResult_Wait = 0 , cResult_Success , cResult_Failed } |
| Defines signals to pass to ActorMgr when performing create and delete operations on the actor. More... | |
| typedef sead::OffsetList< ActorBase > | List |
| Static Protected Attributes inherited from Actor | |
| static const f32 | cCullXLimit |
| static const f32 | cCullYLimit |
|
inline |
|
inlineprotectedvirtual |
|
protectedvirtual |
|
overrideprotectedvirtual |
Main initialization/setup callback for the actor.
Returns cResult_Success by default.
Reimplemented from ActorBase.
|
overrideprotectedvirtual |
Main execution/logic callback for the actor. Called every frame (the game runs at exactly 60 FPS).
true / false imply cState_Success / cState_Failed.Returns true by default.
Reimplemented from ActorBase.
|
overrideprotectedvirtual |
Main rendering callback for the actor. Called every frame (the game runs at exactly 60 FPS).
true / false imply cState_Success / cState_Failed. However, signaling failure does not delete the actor.Returns true by default.
Reimplemented from ActorBase.
|
staticprivate |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |