NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches

#include <game/bases/d_a_en_noko.hpp>

Inheritance diagram for daEnNoko_c:
[legend]

Description

Koopa Troopa.

States

Parameter Fields

Definition at line 10 of file d_a_en_noko.hpp.

Classes

class  nodeCallback_c

Public Types

enum  NokoType_e {
  NOKO_GREEN ,
  NOKO_RED
}
enum  SPAWN_MODE_e {
  SPAWN_MODE_WALK ,
  SPAWN_MODE_SLEEP
}
enum  DANCE_MOVE_e {
  BGM_anim_walkA_1 ,
  BGM_anim_walkA_2 ,
  BGM_anim_walkA_3 ,
  DANCE_MOVE_COUNT
}
Public Types inherited from daEnShell_c
enum  ShellMode_e {
  SHELL_MODE_BASE = 0 ,
  SHELL_MODE_NOKO_WALK = 1 ,
  SHELL_MODE_TOGEZO = 1 ,
  SHELL_MODE_PAIPO
}
Public Types inherited from dEn_c
enum  FLAGS_e {
  EN_IS_SHELL = BIT_FLAG(0) ,
  EN_IS_HARD = BIT_FLAG(1) ,
  EN_FLAG_16 = BIT_FLAG(16) ,
  EN_FLAG_24 = BIT_FLAG(24)
}
Public Types inherited from dActor_c
enum  EAT_POINTS_e {
  EAT_POINTS_200 ,
  EAT_POINTS_1000 ,
  EAT_POINTS_NONE
}
 The score awarded when the actor is eaten by Yoshi. More...
enum  EAT_STATE_e {
  EAT_STATE_NONE ,
  EAT_STATE_EATING ,
  EAT_STATE_EATEN ,
  EAT_STATE_SPIT ,
  EAT_STATE_SPAT
}
 The possible actor eat states. More...
enum  EAT_BEHAVIOR_e {
  EAT_TYPE_NONE ,
  EAT_TYPE_EAT ,
  EAT_TYPE_DRINK ,
  EAT_TYPE_DRINK_BIG ,
  EAT_TYPE_FIREBALL ,
  EAT_TYPE_ICEBALL
}
 The possible actor behaviors when eaten by Yoshi. More...
enum  STAGE_ACTOR_KIND_e {
  STAGE_ACTOR_GENERIC ,
  STAGE_ACTOR_PLAYER ,
  STAGE_ACTOR_YOSHI ,
  STAGE_ACTOR_ENEMY
}
 The possible stage actor kinds. More...
enum  CARRY_ACTION_e {
  CARRY_RELEASE = BIT_FLAG(0) ,
  CARRY_THROW = BIT_FLAG(1)
}
 The possible carry actions. More...
enum  BG_COLL_FLAG_e {
  COLL_NONE = BIT_FLAG(-1) ,
  COLL_WALL_L = BIT_FLAG(0) ,
  COLL_WALL_R = BIT_FLAG(1) ,
  COLL_FOOT = BIT_FLAG(2) ,
  COLL_HEAD = BIT_FLAG(3)
}
 The directions the actor can collide with. More...
enum  ACTOR_SPAWN_FLAG_e {
  ACTOR_SPAWNED = BIT_FLAG(0) ,
  ACTOR_NO_RESPAWN = BIT_FLAG(3)
}
 Information related to actor spawning. More...
enum  SCREEN_OUT_e {
  SKIP_NONE = BIT_FLAG(-1) ,
  SKIP_ACTOR_DELETE = BIT_FLAG(1) ,
  SKIP_SCREEN_CHECK = BIT_FLAG(2) ,
  SKIP_RIDE_CHECK = BIT_FLAG(3)
}
 Flags used to control out of screen checks. More...
typedef dAcPy_c *(* searchNearPlayerFunc) (mVec2_c &delta, const mVec2_c &pos)
 Gets the closest player to the given position and its distance.
typedef bool(* getTrgToSrcDirFunc) (float trgX, float srcX)
 Gets the direction the target position is in, from the source position's viewpoint.
Public Types inherited from dBaseActor_c
enum  ACTOR_KIND_e {
  ACTOR_MAP_GENERIC ,
  ACTOR_MAP_DEMO ,
  ACTOR_MAP_OBJECT ,
  ACTOR_MAP_ENEMY ,
  ACTOR_MAP_PLAYER ,
  ACTOR_MAP_STOP ,
  ACTOR_UNK_6 ,
  ACTOR_MENU_PLAYER ,
  ACTOR_GENERIC
}
 An identifier that represents the actor's kind. More...
Public Types inherited from fBase_c
enum  LIFECYCLE_e {
  CREATING ,
  ACTIVE ,
  DELETING
}
 The possible lifecycle states. More...
enum  GROUP_TYPE_e {
  OTHER ,
  SCENE ,
  ACTOR ,
  ENEMY
}
 The possible group types. More...
enum  MAIN_STATE_e {
  CANCELED ,
  ERROR ,
  SUCCESS ,
  WAITING
}
 The possible operation results. More...
enum  PACK_RESULT_e {
  NOT_READY ,
  SUCCEEDED ,
  FAILED
}
 The possible operation step results. More...
enum  PROC_DISABLE_e {
  ROOT_DISABLE_EXECUTE = BIT_FLAG(0) ,
  DISABLE_EXECUTE = BIT_FLAG(1) ,
  ROOT_DISABLE_DRAW = BIT_FLAG(2) ,
  DISABLE_DRAW = BIT_FLAG(3)
}
 Controls if the execute and draw operations should be skipped. More...

Public Member Functions

int create () override
 do method for the create operation.
int doDelete () override
 do method for the delete operation.
int execute () override
 do method for the execute operation.
int preExecute () override
 pre method for the execute operation.
int draw () override
 do method for the draw operation.
void finalUpdate () override
 Code to be executed after all actors' execute operation has run.
bool createIceActor () override
void beginFunsui () override
void endFunsui () override
bool setPlayerDamage (dActor_c *actor) override
bool checkSleep () override
bool turnProc () override
void calcShellEffectPos () override
void setEnemyTurn () override
virtual void checkWaterEntry ()
void setAfterSleepState () override
void slideEffect () override
virtual void doTurn (int *dir, s16 *turnSpeed)
virtual bool isWalking ()
virtual void turnAround ()
virtual void calcMdl ()
virtual bool canDance ()
virtual void danceWithMove (int move)
virtual void walkTurn ()
virtual void setInitialState ()
 Initializes the state of the Koopa after creation.
virtual void createModelExtra ()
 Subclasses can override this function to create additional models.
virtual void vf328 ()
virtual void deleteResExtra ()
 Subclasses can override this function to delete additional resources.
virtual mVec3_c getPos ()
BOOL isFunsui () const override
void createModel ()
void updateAmiLine ()
void setZPos ()
bool checkRyusa ()
 Checks if the actor is inside quicksand.
void ryusaEffect ()
 Creates the quicksand effect.
bool playerDamageTurn (dActor_c *)
 Returns whether the Koopa should turn around after damaging the player.
void setNokoBc ()
 Reverts the collision to a regular Koopa.
float getWindStrength ()
void setMoveAnimation (const char *name, m3d::playMode_e mode, float frame)
void setBaseAnimation (const char *name, m3d::playMode_e mode, float frame)
bool checkLedge ()
 Checks if there is a ledge in front of the Koopa.
void landEffect ()
 ACTOR_PARAM_CONFIG (NokoType, 0, 1)
 See NOKO_TYPE_e.
 ACTOR_PARAM_CONFIG (SpawnMode, 4, 1)
 See SPAWN_MODE_e.
 ACTOR_PARAM_CONFIG (SubLayer, 16, 1)
 The sublayer to spawn on.
 ACTOR_PARAM_CONFIG (BlockHitPlayer, 24, 2)
 The player number that hit the block from which this Koopa spawned.
 ACTOR_PARAM_CONFIG (BlockAppear, 28, 1)
 Whether the Koopa should spawn from a block.
 ACTOR_PARAM_CONFIG (SpitOut, 29, 1)
 Whether this Koopa was spat out by Yoshi.
Public Member Functions inherited from daEnShell_c
virtual void postExecute (fBase_c::MAIN_STATE_e status)
 post method for the execute operation.
virtual bool ActorDrawCullCheck ()
 Checks if the actor is out of view.
virtual void block_hit_init ()
 Callback for when a block directly beneath the actor is hit.
virtual void boyonBegin ()
virtual bool isSpinLiftUpEnable ()
 Returns whether the actor can be carried.
virtual void setSpinLiftUpActor (dActor_c *carryingActor)
 Callback for when the actor is picked up by another actor.
virtual void setCarryFall (dActor_c *carryingActor, int collisionDelay)
 Callback for when the actor is dropped by the carrying actor.
virtual void setEatTongue (dActor_c *actor)
 Callback for when the actor is targeted by Yoshi's tongue.
virtual bool setEatSpitOut (dActor_c *actor)
 Callback for when the actor is about to be spat out.
virtual bool EtcDamageCheck (dCc_c *self, dCc_c *other)
virtual void Normal_VsEnHitCheck (dCc_c *self, dCc_c *other)
virtual void Normal_VsPlHitCheck (dCc_c *self, dCc_c *other)
virtual void Normal_VsYoshiHitCheck (dCc_c *self, dCc_c *other)
virtual bool hitCallback_Spin (dCc_c *self, dCc_c *other)
virtual bool hitCallback_HipAttk (dCc_c *self, dCc_c *other)
virtual bool hitCallback_YoshiHipAttk (dCc_c *self, dCc_c *other)
virtual bool hitCallback_Shell (dCc_c *self, dCc_c *other)
virtual bool hitCallback_Ice (dCc_c *self, dCc_c *other)
virtual bool setDamage (dActor_c *actor)
virtual void returnState_Ice ()
virtual bool checkComboClap (int max)
virtual void FumiJumpSet (dActor_c *actor)
virtual void FumiScoreSet (dActor_c *actor)
virtual void YoshiFumiScoreSet (dActor_c *actor)
virtual bool specialFumiProc (dActor_c *actor)
virtual bool specialFumiProc_Yoshi (dActor_c *actor)
virtual bool isFumiInvalid () const
virtual void kickSE (int plrNo)
virtual void kickEffect (mVec3_c pos)
virtual bool isDieShell ()
virtual bool isBlockHitDeath () const
void createShell (const char *arcName, const char *resPath, const char *modelName, const char *anmTexName, float animFrame)
 Loads the resources for the shell model and animation.
void calcShellMdl ()
bool drawShell ()
void setKickSlide (dCc_c *self, dActor_c *other)
bool isSlideTowards (dActor_c *actor)
bool checkMugenCombo (dActor_c *player)
 Checks if the player is performing the staircase infinite jump trick.
bool cullCheck ()
bool cullCheck_Shell ()
void setSlideThrowSpeed (dActor_c *actor)
void setSlideKickSpeed (dActor_c *actor)
void slideSpin ()
void setDeathInfo_CarryBgIn (dActor_c *)
void adjustCarryCc ()
bool hasamiCheck ()
void setDeathInfo_Hasami ()
 ACTOR_PARAM_CONFIG (MugenComboAllowed, 20, 1)
Public Member Functions inherited from daEnCarry_c
int acmShellPlayerNo (dActor_c *actor) const
void shellDamageEffect (dCc_c *cc1, dActor_c *actor)
Public Member Functions inherited from dEn_c
 dEn_c ()
 Constructs a new enemy actor.
virtual ~dEn_c ()
 Destroys the actor.
virtual void postCreate (fBase_c::MAIN_STATE_e status)
 post method for the create operation.
virtual int preDraw ()
 pre method for the draw operation.
virtual void setEatTongueOff (dActor_c *)
 Callback for when the eating action is canceled.
virtual void calcEatInScale (dActor_c *)
 Adjusts the actor's scale while being eaten.
virtual void yoganSplashEffect (const mVec3_c &, float)
 Generates a lava splash effect.
virtual void poisonSplashEffect (const mVec3_c &, float)
 Generates a poison water splash effect.
virtual void changeState (const sStateIDIf_c &newState)
 Changes the actor's state to the given state.
virtual bool EnDamageCheck (dCc_c *self, dCc_c *other)
virtual bool PlDamageCheck (dCc_c *self, dCc_c *other)
virtual bool YoshiDamageCheck (dCc_c *self, dCc_c *other)
virtual bool hitCallback_Star (dCc_c *self, dCc_c *other)
virtual bool hitCallback_Slip (dCc_c *self, dCc_c *other)
virtual bool hitCallback_Large (dCc_c *self, dCc_c *other)
virtual bool hitCallback_Rolling (dCc_c *self, dCc_c *other)
virtual bool hitCallback_WireNet (dCc_c *self, dCc_c *other)
virtual bool hitCallback_Screw (dCc_c *self, dCc_c *other)
virtual bool hitCallback_PenguinSlide (dCc_c *self, dCc_c *other)
virtual bool hitCallback_Cannon (dCc_c *self, dCc_c *other)
virtual bool hitCallback_Fire (dCc_c *self, dCc_c *other)
virtual bool hitCallback_YoshiBullet (dCc_c *self, dCc_c *other)
virtual bool hitCallback_YoshiFire (dCc_c *self, dCc_c *other)
virtual void setDeathInfo_Other (dActor_c *killedBy)
virtual void setDeathInfo_Quake (int)
virtual void setDeathInfo_IceBreak ()
virtual void setDeathInfo_IceVanish ()
void setDeathInfo_Smoke (dActor_c *killedBy)
void setDeathInfo_Fumi (dActor_c *killedBy, mVec2_c, const sStateIDIf_c &, int)
void setDeathInfo_YoshiFumi (dActor_c *killedBy)
void setDeathInfo_SpinFumi (dActor_c *killedBy, int)
virtual bool isQuakeDamage ()
virtual void hitYoshiEat (dCc_c *self, dCc_c *other)
virtual void setDeathSound_HipAttk ()
virtual void setDeathSound_Fire ()
virtual void setDeathSound_Slip (dActor_c *actor)
virtual void setDeathSound_Spin ()
virtual void setDeathSound_Rolling ()
virtual void fumidamageEffect (const mVec3_c &pos)
virtual void hipatkEffect (const mVec3_c &pos)
virtual void fumidamageSE (const mVec3_c &pos, int)
virtual void quakeAction ()
virtual bool checkDispIn ()
virtual void setWaterSpeed ()
void boyonInit ()
virtual void calcBoyonScale ()
virtual void setIceAnm ()
virtual void returnAnm_Ice ()
virtual void MameFumiJumpSet (dActor_c *actor)
virtual void YoshiFumiJumpSet (dActor_c *actor)
void SpinFumiJumpSet (dActor_c *actor)
void SpinFumiScoreSet (dActor_c *actor)
virtual void fumiSE (dActor_c *actor)
virtual void fumiEffect (dActor_c *actor)
virtual void spinfumiSE (dActor_c *actor)
virtual void spinfumiEffect (dActor_c *actor)
virtual void mamefumiSE (dActor_c *actor)
virtual void mamefumiEffect (dActor_c *actor)
virtual void yoshifumiSE (dActor_c *actor)
virtual void yoshifumiEffect (dActor_c *actor)
void fumistepSE (dActor_c *actor)
void yoshifumistepSE (dActor_c *actor)
void PlayerFumiJump (dActor_c *actor, float jumpSpeed)
void setFumiComboScore (dActor_c *actor)
void hitdamageEffect (const mVec3_c &pos)
u32 checkWallAndBg ()
int Enfumi_check (dCc_c *self, dCc_c *other, int step)
u32 EnBgCheck ()
u32 EnBgCheckFoot ()
u32 EnBgCheckWall ()
bool LineBoundaryCheck (dActor_c *actor)
void WaterCheck (mVec3_c &pos, float h)
dBc_c::WATER_TYPE_e WaterLineProc (const mVec3_c &pos, float h)
bool EnLavaCheck (const mVec3_c &pos)
bool EnWaterCheck (const mVec3_c &pos)
bool EnWaterFlagCheck (const mVec3_c &pos)
bool getPl_LRflag (const mVec3_c &pos)
 Checks whether the nearest player is to the left of pos.
bool getPl_UDflag (const mVec3_c &pos)
 Checks whether the nearest player is below pos.
bool Area_X_check (float x)
bool Area_XY_check (float x, float y)
bool carry_check (dActor_c *other)
bool PlayerCarryCheck (dActor_c *actor)
mVec3_c calcCarryPos (const mVec3_c &pos)
void Bound (float epsY, float scaleX, float scaleY)
void slipBound (dActor_c *actor)
void posMove ()
bool turnangle_calc (const short *target, const short *delta)
void fireballInvalid (dCc_c *self, dCc_c *other)
void iceballInvalid (dCc_c *self, dCc_c *other)
void setNicePoint_Death ()
void setDeadMode (dActor_c *actor, int)
void killIce ()
int getIceMode () const
u8 getDeathFallDirection () const
Public Member Functions inherited from dActorMultiState_c
 dActorMultiState_c ()
 Constructs a new actor.
 ~dActorMultiState_c ()
 Destroys the actor.
bool isState (const sStateIDIf_c &other) const
 Checks if the actor is currently in the given state.
Public Member Functions inherited from dActor_c
 dActor_c ()
 Constructs a new actor.
 ~dActor_c ()
 Destroys the actor.
virtual int preCreate ()
 pre method for the create operation.
virtual int preDelete ()
 pre method for the delete operation.
virtual void postDelete (fBase_c::MAIN_STATE_e status)
 post method for the delete operation.
virtual void postDraw (fBase_c::MAIN_STATE_e status)
 post method for the draw operation.
virtual const char * getKindString () const
 Gets the base's kind string.
virtual bool vf68 (dBg_ctr_c *collider)
 Unknown, related to collision.
virtual s8 & getPlrNo ()
 Gets the player number associated with the actor. See mPlayerNo.
virtual mVec2_c getLookatPos () const
 Gets the position players look to when focused on the actor.
virtual void setEatMouth (dActor_c *eatingActor)
 Callback for when the actor is being eaten.
virtual bool setEatGlupDown (dActor_c *eatingActor)
 Callback for when the actor is about to be fully swallowed.
virtual void eatMove (dActor_c *eatingActor)
 Updates the actor's position during eating actions.
virtual void removeCc ()
 Disables the actor's collision.
virtual void reviveCc ()
 Enables the actor's collision.
virtual void setAfterEatScale ()
 Restores the actor's scale once spat out.
virtual void calcSpitOutPos (dActor_c *eatingActor)
 Calculates the position where the actor will be spat out.
virtual float calcEatScaleRate (dActor_c *eatingActor)
 Computes the scaling rate during eating.
virtual void allEnemyDeathEffSet ()
 Spawns the visual effects for when all players reach the flagpole and all enemies are cleared.
virtual void vfb4 ()
virtual void funsuiMoveX ()
virtual void cancelFunsuiActUpper ()
virtual void cancelFunsuiActSide (int)
virtual void cancelFunsuiActVanish ()
virtual void waterSplashEffect (const mVec3_c &pos, float size)
 Generates a water splash effect.
bool checkAreaNo ()
 Checks if at least one player is in the same zone as the actor.
void deleteActor (u8 deleteForever)
 Deletes the actor and optionally disables respawn.
bool areaCullCheck (const mVec3_c &pos, const sRangeDataF &bound, u8 areaID) const
 Checks if the actor should be culled due to zone limits.
bool ActorScrOutCheck (u16 flags)
 Checks if the actor is out of gameplay and optionally deletes it.
bool HasamareBgCheck ()
 Returns whether the actor is colliding with any enabled collision sides.
bool carryFukidashiCheck (int fukidashiAction, mVec2_c fukidashiTriggerSize)
 Checks if the prompt for the given action should be displayed for each player.
dAcPy_csearchCarryFukidashiPlayer (int fukidashiAction)
 Searches the closest player who has not yet performed the given action.
void carryFukidashiCancel (int fukidashiAction, int playerId)
 Hides the given action prompt for all players.
void killActor (s8 playerId, int noScore)
 Kills the actor and optionally awards points to one or all players.
void slideComboSE (int multiplier, bool shortCombo)
 Plays the combo kill sound effect.
void clrComboCnt ()
 Clears the actor's combo counter.
bool checkCarried (int *playerNum)
 Returns whether the actor is being carried by a player.
dAcPy_csearchNearPlayer (mVec2_c &delta)
 Gets the closest player to the actor and its distance.
void setKind (u8 kind)
 Sets the actor's kind. See STAGE_ACTOR_KIND_e.
sRangeDataF getDestroyBound ()
void setDefaultMaxBound ()
void setVisibleArea (const mVec2_POD_c &offset, const mVec2_POD_c &size)
float getVisOffsetX ()
float getVisOffsetY ()
float getVisSizeX ()
float getVisSizeY ()
float getVisTop ()
float getVisBottom ()
u8 getKindMask ()
Public Member Functions inherited from dBaseActor_c
 dBaseActor_c ()
 Constructs a new actor.
virtual int GetActorType ()
 Gets the actor kind. See ACTOR_KIND_e.
void calcSpeed ()
 Updates the actor's speed (3D actors). See here for details.
void calcSpeedXY ()
 Updates the actor's speed (2D actors). See here for details.
void calcSpeedX ()
 Updates the actor's X speed. See here for details.
void calcFallSpeed ()
 Updates the actor's falling speed. See here for details.
void calcSpeedY ()
 Updates the actor's Y speed. See here for details.
void calcSpeedF ()
 Updates the actor's forward speed. See here for details.
void makeMtx ()
 Generates a partial transformation matrix for the actor and stores it in mMatrix.
mVec3_c getCenterPos () const
 Gets the actor's centered position.
void posMove (mVec3_c &delta)
 Moves the actor by the given delta.
void posMove ()
 Moves the actor by its speed.
int GetProfNameActorNum (ProfileName profile)
 Counts the instances of the given actor profile.
float getCenterX () const
float getCenterY () const
float getCenterZ () const
float getSpeedF () const
float getAccelF () const
float absSpeedF ()
Public Member Functions inherited from dBase_c
 dBase_c ()
 Constructs a new base.
virtual ~dBase_c ()
 Destroys the base.
Public Member Functions inherited from fBase_c
 fBase_c ()
 Constructs a new base.
fBaseID_e getID () const
void deleteRequest ()
 Requests deletion of the base.
fBase_cgetConnectParent () const
 Gets the base's parent.
fBase_cgetConnectChild () const
 Gets the base's first child.
fBase_cgetConnectBrNext () const
 Gets the base's next sibling.
bool checkChildProcessCreateState () const
 Checks if the base has at least one child in the CREATING state.
Public Member Functions inherited from cOwnerSetMg_c
 cOwnerSetMg_c ()
 Constructs a new set container.
 ~cOwnerSetMg_c ()
 Destroys the set.
void add (cOwnerSetNd_c *nd, void *owner)
 Adds a node to the set.
void remove (cOwnerSetNd_c *nd, void *owner)
 Removes a node from the set.

Public Attributes

u8 mPad0 [4]
dHeapAllocator_c mNokoAllocator
 The allocator used for the resources of this actor.
nw4r::g3d::ResFile mNokoResFile
 The resource file containing the resources of this actor.
m3d::mdl_c mNokoModel
 The model of the Koopa.
m3d::anmChr_c mWalkAnim
 The walk animation of the Koopa.
nw4r::g3d::ResAnmTexPat mNokoResAnmTex
 The animated texture resource of the Koopa.
m3d::anmTexPat_c mNokoAnimTex
 The animated texture of the Koopa.
BOOL mIsFunsui
 Whether the Koopa is being blown upwards by a fountain.
s16 mHeadAngle
u8 mNokoType
 Is a NOKO_TYPE_e.
mVec3_c mCreatePos
 The position where the Koopa was spawned.
float mXSpeedBeforeFunsui
 The horizontal speed of the Koopa before being blown by a fountain.
u8 mPad1 [8]
float mBaseZPos
u32 m_8c8
int mDanceTimer
 Timer for starting and ending the dance.
mAng mBgmDanceRotSpeed
 The rotation speed for turning toward the target rotation for a dance.
u32 mDanceMove
 The dance move to perform.
mEf::levelOneEffect_c mQuicksandEffect
nodeCallback_c mMdlCallback
Public Attributes inherited from daEnShell_c
dHeapAllocator_c mAllocator
nw4r::g3d::ResFile mResFile
m3d::mdl_c mModel
m3d::anmChr_c mAnim
nw4r::g3d::ResAnmTexPat mResAnmTexPat
m3d::anmTexPat_c mAnimTex
sCcDatNewF mCcData
sBcSensorPoint mSensorHead
sBcSensorLine mSensorFootNormal
sBcSensorLine mSensorWall
sBcSensorLine mSensorFootSlide
mEf::levelEffect_c mEffect
int mYoshiKickable
 Whether the shell can be kicked in any state by Yoshi.
ShellMode_e mShellMode
mVec3_c mSlideEffectPos
mVec3_c mCarryPos
int mIsCarryFall
int mSlideAirAfterThrow
mVec2_c mCcOffset
mVec2_c mCcSize
fBaseID_e mJumpPlayerCarryActorID
 The actor which the player who jumped on the shell is currently carrying.
int mJumpPlayerNoCarryHitTimer
 For how long the shell will ignore collisions with the carried item.
mAng mWakeupShakeAngle
mAng3_c mWakeupShakeAngle3D
u16 mSleepTimer
 How many frames longer the shell will remain asleep.
u16 mCarryTimer
 How many more frames the sleep timer will remain paused while being carried.
bool mIsFlipped
 Whether the shell is flipped upside down from a block hit.
int mCarriedBy
int mIsMugenCombo
float mMugenComboSpeed
float mMugenComboPosX
Public Attributes inherited from daEnCarry_c
bool mForceShellDamageEffect
 Whether to force the shell damage effect the next time shellDamageEffect is called.
Public Attributes inherited from dEn_c
dDeathInfo_c mDeathInfo
 The parameters for the death animation.
u32 mCcValue
u16 m_24
u8 mPad1 [6]
mVec3_c mFootPush
mVec3_c mFootPush2
u8 mDeathFallDirection
 The X direction to move towards on death.
u8 mIceDeathDirection
 The X direction to move towards on ice death.
bool mKilled
 Whether the enemy was killed.
u8 mPad2 [1]
bool mFootAttr3
bool mInLiquid
 Whether the enemy is in a liquid.
bool mFootAttr1
u8 mPad3 [5]
dEnBoyoMng_c mBoyoMng
dIceMng_c mIceMng
 The ice manager for this enemy.
float mAirAccelY
 The Y acceleration before entering a liquid.
float mAirSpeedMaxY
 The maximum Y speed before entering a liquid.
float mAirMaxFallSpeed
 The maximum fall speed before entering a liquid.
u32 mFlags
 Flags for this actor. See FLAGS_e.
u16 mTimer1
 [Used in EN_HATENA_BALLON, for example]
u16 mTimer2
 [Used in EN_HATENA_BALLON, for example]
dPlayerDownTimer_c mNoHitPlayer
 Hit cooldown timers for each player. This is used to prevent, for example, a thrown shell from hitting the player that threw it.
u8 mTimer3
dEnCombo_c mCombo
 The enemy combo manager.
dEnFumiProc_c mFumiProc
Public Attributes inherited from dActorMultiState_c
sFStateStateMgr_c< dActorMultiState_c, sStateMethodUsr_FI_c, sStateMethodUsr_FI_cmStateMgr
 The state manager.
Public Attributes inherited from dActor_c
u8 m_00
 Seems to be a player bit flag.
u32 mCarryFukidashiPlayerNo
 The player for whom an action prompt related to the actor is being displayed. -1 if no players meet this criteria.
u32 mCarryingFlags
 The actor's carry actions. See CARRY_ACTION_e.
u8 mThrowDirection
 The actor's direction when thrown or dropped after carrying.
int mComboMultiplier
 The current combo multiplier obtained by the actor by colliding with other actors.
u8 m_13
u32 m_17
float m_1b
u32 m_1f
dCc_c mCc
 The actor-to-actor collision sensor.
dBc_c mBc
 The actor-to-tile collision sensor.
dRc_c mRc
 The actor's ride surface manager.
mVec2_c m_1eb
mVec2_c mVisibleAreaSize
 The size of the area inside which the actor is visible.
mVec2_c mVisibleAreaOffset
 The offset applied to the area size.
sRangeDataF mMaxBound
sRangeDataF mDestroyBound
u8 mDirection
 The actor's facing direction.
u8 mAreaNo
 The actor's zone ID.
u8 mBgCollFlags
 The collision directions that the actor collided with in the previous frame. Value is a BG_COLL_FLAG_e.
u8 * mpSpawnFlags
 The spawn flags for the actor. See ACTOR_SPAWN_FLAG_e.
u16 * mpDeleteVal
u8 mEventNums [2]
 The event IDs the actor is tracking.
u64 mEventMask
 The event mask, generated from mEventNums.
int m_23b
u16 mSpriteSpawnFlags
 The spawn flags from the sprite data entry.
bool mBlockHit
 Whether a block below the actor was hit.
fBaseID_e mEatenByID
 The unique identifier of the eating actor.
u8 mEatState
 The actor's eat state. Value is a EAT_STATE_e.
u8 mEatBehavior
 The actor's eat behaviour. Value is a EAT_BEHAVIOR_e.
mVec3_c mPreEatScale
 The actor's scale before being eaten.
EAT_POINTS_e mEatPoints
 The score awarded when the actor is eaten by Yoshi.
int mAttentionMode
u32 mAttentionFlags
dPropelParts_cmpPropelParts
 The actor's propeller effect manager.
u8 mKind
 The actor's kind. Value is a STAGE_ACTOR_KIND_e.
s8 mPlayerNo
 The player associated with the actor, -1 if not associated to any player.
u8 mExecStopMask
 The mask required to disable the execute operation for the actor.
u8 mLayer
 The actor's layer.
bool mNoRespawn
 Whether the actor should not respawn after being deleted.
u8 mAmiLayer
 The actor's layer for chainlink fences.
Public Attributes inherited from dBaseActor_c
mMtx_c mMatrix
 The actor's partial transformation matrix. See makeMtx() for details.
mVec3_c mPos
 The actor's position.
mVec3_c mLastPos
 The actor's position in the previous frame.
mVec3_c mPosDelta
 The actor's position delta since the previous frame.
mVec3_c mCenterOffs
 The offset from the position to the center of the actor (defaults to 0).
mVec3_c mScale
 The actor's scale (defaults to 1).
mVec3_c mSpeed
 The actor's speed.
mVec3_c mSpeedMax
 The actor's maximum speed.
mAng3_c mAngle
 The actor's rotation (for 2D actors).
mAng3_c mAngle3D
 The actor's rotation (for 3D actors).
float mSpeedF
 The actor's horizontal speed.
float mMaxSpeedF
 The actor's maximum horizontal speed.
float mAccelY
 The actor's vertical acceleration.
float mMaxFallSpeed
 The actor's maximum fall speed.
float mAccelF
 The actor's horizontal acceleration.
u32 mActorProperties
 The actor's properties. See fProfile::fActorProfile_c::mActorProperties.
bool mVisible
 Whether the actor should be visible or not. Defaults to true .
Public Attributes inherited from fBase_c
fBaseID_e mUniqueID
 The base's unique identifier.
u32 mParam
 A bitfield that configures the base's behaviour. Its usage varies from profile to profile.
ProfileName mProfName
 The base's profile name.

Static Public Attributes

static sFStateID_c< daEnNoko_cStateID_BlockAppear
 Spawning from a block.
static sFStateID_c< daEnNoko_cStateID_Walk
 Walking on the ground.
static sFStateID_c< daEnNoko_cStateID_Turn
 Turning around while walking.
static sFStateID_c< daEnNoko_cStateID_WindTurn
 Being turned around by the wind.
static sFStateID_c< daEnNoko_cStateID_SpitOut_Ready
 About to be spit out by Yoshi.
static sFStateID_c< daEnNoko_cStateID_BgmDance
 Doing a dance move to the background music.
static sFStateID_c< daEnNoko_cStateID_BgmDanceEd
 Returning from a dance move to walking.
static sFStateVirtualID_c< daEnNoko_cStateID_Wakeup
static sFStateVirtualID_c< daEnNoko_cStateID_WakeupTurn
Static Public Attributes inherited from daEnShell_c
static sFStateVirtualID_c< daEnShell_cStateID_DieFall
static sFStateVirtualID_c< daEnShell_cStateID_Carry
static sFStateVirtualID_c< daEnShell_cStateID_Sleep
 Remaining stationary after being jumped on.
static sFStateVirtualID_c< daEnShell_cStateID_Slide
 Sliding across the ground after being kicked.
static sFStateVirtualID_c< daEnShell_cStateID_Wakeup
 Waking up from the sleep state.
static sFStateVirtualID_c< daEnShell_cStateID_WakeupReverse
 Waking up after being flipped upside down.
static sFStateVirtualID_c< daEnShell_cStateID_WakeupTurn
 Turning around after waking up.
static const u16 smc_SLEEP_TIMER = 511
static const u16 smc_SLEEP_TIMER_SHAKE = 96
Static Public Attributes inherited from daEnCarry_c
static sFStateVirtualID_c< daEnCarry_cStateID_Carry
 The enemy is being carried.
Static Public Attributes inherited from dEn_c
static sFStateVirtualID_c< dEn_cStateID_DieFumi
 Being squished by a jump.
static sFStateVirtualID_c< dEn_cStateID_DieFall
 Falling out of the screen.
static sFStateVirtualID_c< dEn_cStateID_DieBigFall
static sFStateVirtualID_c< dEn_cStateID_DieSmoke
static sFStateVirtualID_c< dEn_cStateID_DieYoshiFumi
static sFStateVirtualID_c< dEn_cStateID_DieIceVanish
static sFStateVirtualID_c< dEn_cStateID_DieGoal
static sFStateVirtualID_c< dEn_cStateID_DieOther
static sFStateVirtualID_c< dEn_cStateID_EatIn
static sFStateVirtualID_c< dEn_cStateID_EatNow
static sFStateVirtualID_c< dEn_cStateID_EatOut
static sFStateVirtualID_c< dEn_cStateID_HitSpin
static sFStateVirtualID_c< dEn_cStateID_Ice
static const float smc_WATER_GRAVITY = -0.0625f
static const float smc_WATER_YMAXSPD = 1.5f
static const float smc_WATER_FALLMAXSPD = -1.5f
static const float smc_WATER_ROLL_DEC_RATE = 0.5f
static const float smc_DEADFALL_GRAVITY = -0.25f + 0.00625001f
static const float smc_DEADFALL_YSPEED = 3.9f
static const float smc_DEADFALL_YSPEED_MAX = -4.0f
static const s16 smc_DEADFALL_SPINSPEED = 0xc00
static const u16 smc_NO_HIT_PLAYER_TIMER_DEFAULT = 5
static const u16 smc_NO_HIT_PLAYER_TIMER_SPIT_OUT = 16
Static Public Attributes inherited from dActorMultiState_c
static sFStateVirtualID_c< dActorMultiState_cStateID_GegnericMulti
 An example state that does nothing.
Static Public Attributes inherited from dActor_c
static const float smc_CULL_XLIMIT = 80.0f
 The default max bound X offset.
static const float smc_CULL_YLIMIT = 256.0f
 The default max bound Y offset.
static const float smc_CULL_AREA_XLIMIT = 128.0f
 The default max bound X size.
static const float smc_CULL_AREA_YLIMIT = 128.0f
 The default max bound Y size.
static const mVec2_c smc_FUKIDASHI_RANGE = mVec2_c(9.0f, 12.0f)
 The default trigger area size for displaying action prompts.
static u8 mExecStopReq
 The actors for which the execute operation is requested to be disabled.
static u8 mDrawStopReq
 The actor kinds for which the draw operation is requested to be disabled.
static u8 mExecStop
 The actors for which the execute operation is currently disabled.
static u8 mDrawStop
 The actor kinds for which the draw operation is currently disabled.
static searchNearPlayerFunc mSearchNearPlayerFunc
 The player search function.
static getTrgToSrcDirFunc mGetTrgToSrcDirFunc
 The direction detection function.
static u8 m_tmpCtLayerNo
 Temporary storage for the next constructed actor's layer. See mLayer.
static u8 * m_read_p_keep
 Temporary storage for the next created sprite actor's spawn flags. See mpSpawnFlags.
static u8 m_flag_keep [2]
 Temporary storage for the next created sprite actor's tracked event IDs. See mEventNums.
static u64 m_flagbit_keep
 Temporary storage for the next created sprite actor's event mask. See mEventMask.
static u8 m_mbgchoice_keep
 Temporary storage for the next created sprite actor's layer. See mLayer.

Additional Inherited Members

Static Public Member Functions inherited from daEnCarry_c
static bool acmIsCarryEnemy (dActor_c *actor)
 Checks whether the given actor is a carryable enemy.
Static Public Member Functions inherited from dEn_c
static void normal_collcheck (dCc_c *self, dCc_c *other)
static bool CeilCheck (float y, dCc_c *cc)
Static Public Member Functions inherited from dActor_c
static void setSoftLight_Player (m3d::bmdl_c &mdl)
 Sets the soft light effect for players.
static void setSoftLight_Enemy (m3d::bmdl_c &mdl)
 Sets the soft light effect for enemies.
static void setSoftLight_Map (m3d::bmdl_c &mdl)
 Sets the soft light effect for map actors.
static void setSoftLight_MapObj (m3d::bmdl_c &mdl)
 Sets the soft light effect for map objects.
static void setSoftLight_Boss (m3d::bmdl_c &mdl)
 Sets the soft light effect for bosses.
static void setSoftLight_Item (m3d::bmdl_c &mdl)
 Sets the soft light effect for items.
static int screenCullCheck (const mVec3_c &pos, const sRangeDataF &visibleBound, sRangeDataF destroyBound, u8 areaID)
 Checks if the actor should be culled due to being outside the screen.
static dAcPy_csearchNearPlayer_Main (mVec2_c &delta, const mVec2_c &pos)
 See searchNearPlayerFunc.
static dAcPy_csearchNearPlayerNormal (mVec2_c &delta, const mVec2_c &pos)
 See searchNearPlayerFunc.
static dAcPy_csearchNearPlayerLoop (mVec2_c &delta, const mVec2_c &pos)
 See searchNearPlayerFunc.
static bool getTrgToSrcDir_Main (float trgX, float srcX)
 See getTrgToSrcDirFunc.
static bool getTrgToSrcDirNormal (float trgX, float srcX)
 See getTrgToSrcDirFunc.
static bool getTrgToSrcDirLoop (float trgX, float srcX)
 See getTrgToSrcDirFunc.
static void changePosAngle (mVec3_c *pos, mAng3_c *ang, int param3)
 Adjusts the actor's position to account for looping stages.
static void setSearchNearPlayerFunc (int loopType)
 Sets the player search function to be used for the level.
static void setGetTrgToSrcDirFunc (int loopType)
 Sets the direction detection function to be used for the level.
static void setChangePosAngleFunc (int loopType)
 Sets the position update function to be used for the level.
static void setLoopFunc (int loopType)
 Sets the position-related functions for the level.
static void setTmpCtData (u8 layer)
 Sets temporary data to be used for the next actor's construction.
static dActor_cconstruct (ProfileName profName, unsigned long param, const mVec3_c *position, const mAng3_c *rotation, u8 layer)
 Creates a stage actor without a parent.
static dActor_cconstruct (ProfileName profName, dBase_c *parent, unsigned long param, const mVec3_c *position, const mAng3_c *rotation, u8 layer)
 Creates a child stage actor with the given parent.
Static Public Member Functions inherited from dBaseActor_c
static void draw2DActorOnLyt1 ()
 Calls draw2D() on every actor.
static void draw2DActorOnLyt2 ()
 Calls draw2D_lyt2() on every actor.
static dBaseActor_cconstruct (ProfileName profName, unsigned long param, const mVec3_c *position, const mAng3_c *rotation)
 Creates an actor without a parent.
static dBaseActor_cconstruct (ProfileName profName, dBase_c *parent, unsigned long param, const mVec3_c *position, const mAng3_c *rotation)
 Creates a child actor with the given parent.
Static Public Member Functions inherited from dBase_c
static dBase_csearchBaseByProfName (ProfileName profile, const dBase_c *parent)
 Searches for a base with a given profile name, optionally under a given parent.
static void initLoader ()
 Sets the callbacks for the scrapped relocatable profile system.
static dBase_ccreateBase (ProfileName profName, dBase_c *parent, unsigned long param, u8 groupType)
 Creates a child base under the given parent.
static dBase_ccreateRoot (ProfileName profName, unsigned long param, u8 groupType)
 Creates a root base.
Static Public Member Functions inherited from fBase_c
static void * operator new (size_t)
 new operator override for all bases.
static void operator delete (void *)
 delete operator override for all bases.
static fBase_ccreateChild (ProfileName profName, fBase_c *parent, unsigned long param, u8 groupType)
 Creates a child base under the given parent.
static fBase_ccreateRoot (ProfileName profName, unsigned long param, u8 groupType)
 Creates a root base.
Protected Member Functions inherited from dBaseActor_c
virtual ~dBaseActor_c ()
 Destroys the actor.
virtual void draw2D ()
 Alternate drawing function used to draw 3D models in front of 2D graphics (first draw pass).
virtual void draw2D_lyt2 ()
 Alternate drawing function used to draw 3D models in front of 2D graphics (second draw pass).
Protected Member Functions inherited from fBase_c
bool isProcControlFlag (u8 flag) const
 Checks if a flag is set in mProcControl.
void setProcControlFlag (u8 flag)
 Sets a flag in mProcControl.
void clearProcControlFlag (u8 flag)
 Clears a flag in mProcControl.
virtual void deleteReady ()
 Informs the base that it's about to be deleted.
virtual bool entryFrmHeap (unsigned long size, EGG::Heap *parentHeap)
 Creates a heap of the given size for the base.
virtual bool entryFrmHeapNonAdjust (unsigned long size, EGG::Heap *parentHeap)
 Creates a heap of the given size for the base.
virtual bool createHeap ()
 [Does nothing].
virtual ~fBase_c ()
 Destroys the base.
Protected Attributes inherited from dBase_c
const char * mpKindString
 The base's kind string.
const char * mpNameString
 The base's profile name string.
Protected Attributes inherited from fBase_c
u8 mLifecycleState
 The base's lifecycle state. Value is a LIFECYCLE_e.
bool mDeleteRequested
 If deletion of the base was requested, but the delete operation has not been scheduled yet.
bool mDeferExecute
 If the create operation was completed, but scheduling the execute and draw operations isn't possible at this time.
bool mDeferRetryCreate
 If the create operation has not been completed, and rescheduling it isn't possible at this time.
u8 mGroupType
 The base's group type. Value is a GROUP_TYPE_e.
u8 mProcControl
 The operations to be skipped. Value is a PROC_DISABLE_e.
fManager_c mMng
 The base's process manager.
fBaHelper_cmpUnusedHelper
 See Unused Content.
fLiMgBa_c mUnusedList
 See Unused Content.
EGG::FrmHeap * mHeap
 The base's dedicated heap.
Static Protected Attributes inherited from fBase_c
static int(* sLoadAsyncCallback )()
 See Unused Content.
static void(* sUnloadCallback )()
 See Unused Content.

Member Enumeration Documentation

◆ NokoType_e

Enumerator
NOKO_GREEN 

Green Koopas don't turn around on ledges.

NOKO_RED 

Red Koopas turn around on ledges.

Definition at line 20 of file d_a_en_noko.hpp.

◆ SPAWN_MODE_e

enum daEnNoko_c::SPAWN_MODE_e

Definition at line 25 of file d_a_en_noko.hpp.

◆ DANCE_MOVE_e

Enumerator
BGM_anim_walkA_2 

Actually uses the same animation as BGM_anim_walkA_1.

Definition at line 30 of file d_a_en_noko.hpp.

Constructor & Destructor Documentation

◆ daEnNoko_c()

daEnNoko_c::daEnNoko_c ( )
inline

Definition at line 37 of file d_a_en_noko.hpp.

Member Function Documentation

◆ create()

int daEnNoko_c::create ( )
overridevirtual

do method for the create operation.

Returns
A PACK_RESULT_e value.

Reimplemented from fBase_c.

Definition at line 40 of file d_a_en_noko.cpp.

◆ doDelete()

int daEnNoko_c::doDelete ( )
overridevirtual

do method for the delete operation.

This method was renamed due to conflict with the delete C++ keyword.

Returns
A PACK_RESULT_e value.

Reimplemented from fBase_c.

Definition at line 174 of file d_a_en_noko.cpp.

◆ execute()

int daEnNoko_c::execute ( )
overridevirtual

do method for the execute operation.

Returns
A PACK_RESULT_e value.

Reimplemented from fBase_c.

Definition at line 137 of file d_a_en_noko.cpp.

◆ preExecute()

int daEnNoko_c::preExecute ( )
overridevirtual

pre method for the execute operation.

Returns
A PACK_RESULT_e value.

Reimplemented from dEn_c.

Definition at line 119 of file d_a_en_noko.cpp.

◆ draw()

int daEnNoko_c::draw ( )
overridevirtual

do method for the draw operation.

Returns
A PACK_RESULT_e value.

Reimplemented from fBase_c.

Definition at line 161 of file d_a_en_noko.cpp.

◆ finalUpdate()

void daEnNoko_c::finalUpdate ( )
inlineoverridevirtual

Code to be executed after all actors' execute operation has run.

Reimplemented from dBaseActor_c.

Definition at line 44 of file d_a_en_noko.hpp.

◆ createIceActor()

bool daEnNoko_c::createIceActor ( )
overridevirtual

Reimplemented from dEn_c.

Definition at line 354 of file d_a_en_noko.cpp.

◆ beginFunsui()

void daEnNoko_c::beginFunsui ( )
overridevirtual

Reimplemented from dEn_c.

Definition at line 390 of file d_a_en_noko.cpp.

◆ endFunsui()

void daEnNoko_c::endFunsui ( )
overridevirtual

Reimplemented from dEn_c.

Definition at line 406 of file d_a_en_noko.cpp.

◆ setPlayerDamage()

bool daEnNoko_c::setPlayerDamage ( dActor_c * actor)
overridevirtual

Reimplemented from daEnShell_c.

Definition at line 252 of file d_a_en_noko.cpp.

◆ checkSleep()

bool daEnNoko_c::checkSleep ( )
overridevirtual

Reimplemented from daEnShell_c.

Definition at line 382 of file d_a_en_noko.cpp.

◆ turnProc()

bool daEnNoko_c::turnProc ( )
overridevirtual

Reimplemented from daEnShell_c.

Definition at line 294 of file d_a_en_noko.cpp.

◆ calcShellEffectPos()

void daEnNoko_c::calcShellEffectPos ( )
overridevirtual

Reimplemented from daEnShell_c.

Definition at line 239 of file d_a_en_noko.cpp.

◆ setEnemyTurn()

void daEnNoko_c::setEnemyTurn ( )
inlineoverridevirtual

Reimplemented from daEnShell_c.

Definition at line 64 of file d_a_en_noko.hpp.

◆ checkWaterEntry()

virtual void daEnNoko_c::checkWaterEntry ( )
inlinevirtual

Definition at line 70 of file d_a_en_noko.hpp.

◆ setAfterSleepState()

void daEnNoko_c::setAfterSleepState ( )
inlineoverridevirtual

Reimplemented from daEnShell_c.

Definition at line 72 of file d_a_en_noko.hpp.

◆ slideEffect()

void daEnNoko_c::slideEffect ( )
inlineoverridevirtual

Reimplemented from daEnShell_c.

Definition at line 74 of file d_a_en_noko.hpp.

◆ doTurn()

void daEnNoko_c::doTurn ( int * dir,
s16 * turnSpeed )
virtual

Definition at line 309 of file d_a_en_noko.cpp.

◆ isWalking()

virtual bool daEnNoko_c::isWalking ( )
inlinevirtual

Definition at line 83 of file d_a_en_noko.hpp.

◆ turnAround()

void daEnNoko_c::turnAround ( )
virtual

Definition at line 286 of file d_a_en_noko.cpp.

◆ calcMdl()

void daEnNoko_c::calcMdl ( )
virtual

Definition at line 224 of file d_a_en_noko.cpp.

◆ canDance()

bool daEnNoko_c::canDance ( )
virtual

Definition at line 205 of file d_a_en_noko.cpp.

◆ danceWithMove()

void daEnNoko_c::danceWithMove ( int move)
virtual

Definition at line 219 of file d_a_en_noko.cpp.

◆ walkTurn()

void daEnNoko_c::walkTurn ( )
virtual

Definition at line 349 of file d_a_en_noko.cpp.

◆ setInitialState()

void daEnNoko_c::setInitialState ( )
virtual

Initializes the state of the Koopa after creation.

Definition at line 105 of file d_a_en_noko.cpp.

◆ createModelExtra()

virtual void daEnNoko_c::createModelExtra ( )
inlinevirtual

Subclasses can override this function to create additional models.

Definition at line 94 of file d_a_en_noko.hpp.

◆ vf328()

virtual void daEnNoko_c::vf328 ( )
inlinevirtual

Definition at line 95 of file d_a_en_noko.hpp.

◆ deleteResExtra()

virtual void daEnNoko_c::deleteResExtra ( )
inlinevirtual

Subclasses can override this function to delete additional resources.

Definition at line 98 of file d_a_en_noko.hpp.

◆ getPos()

virtual mVec3_c daEnNoko_c::getPos ( )
inlinevirtual

Definition at line 100 of file d_a_en_noko.hpp.

◆ isFunsui()

BOOL daEnNoko_c::isFunsui ( ) const
inlineoverridevirtual

Reimplemented from dEn_c.

Definition at line 102 of file d_a_en_noko.hpp.

◆ createModel()

void daEnNoko_c::createModel ( )

Definition at line 84 of file d_a_en_noko.cpp.

◆ updateAmiLine()

void daEnNoko_c::updateAmiLine ( )

Definition at line 322 of file d_a_en_noko.cpp.

◆ setZPos()

void daEnNoko_c::setZPos ( )

Definition at line 314 of file d_a_en_noko.cpp.

◆ checkRyusa()

bool daEnNoko_c::checkRyusa ( )

Checks if the actor is inside quicksand.

Definition at line 185 of file d_a_en_noko.cpp.

◆ ryusaEffect()

void daEnNoko_c::ryusaEffect ( )

Creates the quicksand effect.

Definition at line 199 of file d_a_en_noko.cpp.

◆ playerDamageTurn()

bool daEnNoko_c::playerDamageTurn ( dActor_c * actor)

Returns whether the Koopa should turn around after damaging the player.

Definition at line 263 of file d_a_en_noko.cpp.

◆ setNokoBc()

void daEnNoko_c::setNokoBc ( )

Reverts the collision to a regular Koopa.

Definition at line 279 of file d_a_en_noko.cpp.

◆ getWindStrength()

float daEnNoko_c::getWindStrength ( )

Definition at line 415 of file d_a_en_noko.cpp.

◆ setMoveAnimation()

void daEnNoko_c::setMoveAnimation ( const char * name,
m3d::playMode_e mode,
float frame )

Definition at line 425 of file d_a_en_noko.cpp.

◆ setBaseAnimation()

void daEnNoko_c::setBaseAnimation ( const char * name,
m3d::playMode_e mode,
float frame )

Definition at line 430 of file d_a_en_noko.cpp.

◆ checkLedge()

bool daEnNoko_c::checkLedge ( )

Checks if there is a ledge in front of the Koopa.

Definition at line 435 of file d_a_en_noko.cpp.

◆ landEffect()

void daEnNoko_c::landEffect ( )

Definition at line 453 of file d_a_en_noko.cpp.

◆ ACTOR_PARAM_CONFIG() [1/6]

daEnNoko_c::ACTOR_PARAM_CONFIG ( NokoType ,
0 ,
1  )

See NOKO_TYPE_e.

◆ ACTOR_PARAM_CONFIG() [2/6]

daEnNoko_c::ACTOR_PARAM_CONFIG ( SpawnMode ,
4 ,
1  )

See SPAWN_MODE_e.

◆ ACTOR_PARAM_CONFIG() [3/6]

daEnNoko_c::ACTOR_PARAM_CONFIG ( SubLayer ,
16 ,
1  )

The sublayer to spawn on.

◆ ACTOR_PARAM_CONFIG() [4/6]

daEnNoko_c::ACTOR_PARAM_CONFIG ( BlockHitPlayer ,
24 ,
2  )

The player number that hit the block from which this Koopa spawned.

◆ ACTOR_PARAM_CONFIG() [5/6]

daEnNoko_c::ACTOR_PARAM_CONFIG ( BlockAppear ,
28 ,
1  )

Whether the Koopa should spawn from a block.

◆ ACTOR_PARAM_CONFIG() [6/6]

daEnNoko_c::ACTOR_PARAM_CONFIG ( SpitOut ,
29 ,
1  )

Whether this Koopa was spat out by Yoshi.

Member Data Documentation

◆ StateID_BlockAppear

sFStateID_c< daEnNoko_c > daEnNoko_c::StateID_BlockAppear
static

Spawning from a block.

Definition at line 49 of file d_a_en_noko.hpp.

◆ StateID_Walk

sFStateID_c< daEnNoko_c > daEnNoko_c::StateID_Walk
static

Walking on the ground.

Definition at line 50 of file d_a_en_noko.hpp.

◆ StateID_Turn

sFStateID_c< daEnNoko_c > daEnNoko_c::StateID_Turn
static

Turning around while walking.

Definition at line 51 of file d_a_en_noko.hpp.

◆ StateID_WindTurn

sFStateID_c< daEnNoko_c > daEnNoko_c::StateID_WindTurn
static

Being turned around by the wind.

Definition at line 52 of file d_a_en_noko.hpp.

◆ StateID_SpitOut_Ready

sFStateID_c< daEnNoko_c > daEnNoko_c::StateID_SpitOut_Ready
static

About to be spit out by Yoshi.

Definition at line 53 of file d_a_en_noko.hpp.

◆ StateID_BgmDance

sFStateID_c< daEnNoko_c > daEnNoko_c::StateID_BgmDance
static

Doing a dance move to the background music.

Definition at line 54 of file d_a_en_noko.hpp.

◆ StateID_BgmDanceEd

sFStateID_c< daEnNoko_c > daEnNoko_c::StateID_BgmDanceEd
static

Returning from a dance move to walking.

Definition at line 55 of file d_a_en_noko.hpp.

◆ StateID_Wakeup

sFStateVirtualID_c< daEnNoko_c > daEnNoko_c::StateID_Wakeup
static

Definition at line 56 of file d_a_en_noko.hpp.

◆ StateID_WakeupTurn

sFStateVirtualID_c< daEnNoko_c > daEnNoko_c::StateID_WakeupTurn
static

Definition at line 57 of file d_a_en_noko.hpp.

◆ mPad0

u8 daEnNoko_c::mPad0[4]

Definition at line 117 of file d_a_en_noko.hpp.

◆ mNokoAllocator

dHeapAllocator_c daEnNoko_c::mNokoAllocator

The allocator used for the resources of this actor.

Definition at line 119 of file d_a_en_noko.hpp.

◆ mNokoResFile

nw4r::g3d::ResFile daEnNoko_c::mNokoResFile

The resource file containing the resources of this actor.

Definition at line 120 of file d_a_en_noko.hpp.

◆ mNokoModel

m3d::mdl_c daEnNoko_c::mNokoModel

The model of the Koopa.

Definition at line 121 of file d_a_en_noko.hpp.

◆ mWalkAnim

m3d::anmChr_c daEnNoko_c::mWalkAnim

The walk animation of the Koopa.

Definition at line 122 of file d_a_en_noko.hpp.

◆ mNokoResAnmTex

nw4r::g3d::ResAnmTexPat daEnNoko_c::mNokoResAnmTex

The animated texture resource of the Koopa.

Definition at line 123 of file d_a_en_noko.hpp.

◆ mNokoAnimTex

m3d::anmTexPat_c daEnNoko_c::mNokoAnimTex

The animated texture of the Koopa.

Definition at line 124 of file d_a_en_noko.hpp.

◆ mIsFunsui

BOOL daEnNoko_c::mIsFunsui

Whether the Koopa is being blown upwards by a fountain.

Definition at line 126 of file d_a_en_noko.hpp.

◆ mHeadAngle

s16 daEnNoko_c::mHeadAngle

Definition at line 127 of file d_a_en_noko.hpp.

◆ mNokoType

u8 daEnNoko_c::mNokoType

Is a NOKO_TYPE_e.

Definition at line 128 of file d_a_en_noko.hpp.

◆ mCreatePos

mVec3_c daEnNoko_c::mCreatePos

The position where the Koopa was spawned.

Definition at line 129 of file d_a_en_noko.hpp.

◆ mXSpeedBeforeFunsui

float daEnNoko_c::mXSpeedBeforeFunsui

The horizontal speed of the Koopa before being blown by a fountain.

Definition at line 130 of file d_a_en_noko.hpp.

◆ mPad1

u8 daEnNoko_c::mPad1[8]

Definition at line 131 of file d_a_en_noko.hpp.

◆ mBaseZPos

float daEnNoko_c::mBaseZPos

Definition at line 132 of file d_a_en_noko.hpp.

◆ m_8c8

u32 daEnNoko_c::m_8c8

Definition at line 133 of file d_a_en_noko.hpp.

◆ mDanceTimer

int daEnNoko_c::mDanceTimer

Timer for starting and ending the dance.

Definition at line 134 of file d_a_en_noko.hpp.

◆ mBgmDanceRotSpeed

mAng daEnNoko_c::mBgmDanceRotSpeed

The rotation speed for turning toward the target rotation for a dance.

Definition at line 135 of file d_a_en_noko.hpp.

◆ mDanceMove

u32 daEnNoko_c::mDanceMove

The dance move to perform.

Definition at line 136 of file d_a_en_noko.hpp.

◆ mQuicksandEffect

mEf::levelOneEffect_c daEnNoko_c::mQuicksandEffect

Definition at line 137 of file d_a_en_noko.hpp.

◆ mMdlCallback

nodeCallback_c daEnNoko_c::mMdlCallback

Definition at line 138 of file d_a_en_noko.hpp.