src/enemy/peahat.c file

Peahat enemy.

Classes

struct PeahatEntity

Enums

enum PeahatActions { PeahatActionInitialize, PeahatActionFly, PeahatActionChargeStart, PeahatActionChargeTarget, PeahatActionChargeEnd, PeahatActionStunned, PeahatActionRepairPropeller, PeahatActionRecover, PeahatActionHop, PeahatActionTakeoff }
enum (anonymous) { PeahatForm_Torso, PeahatForm_Propeller }
enum (anonymous) { PeahatAnimation_Flying, PeahatAnimation_BrokenPropeller, PeahatAnimation_SlicedPropeller, PeahatAnimation_Propeller, PeahatAnimation_NewPropeller, PeahatAnimation_RepairPropeller }

Functions

void Peahat_EndCharge(PeahatEntity* this)
void Peahat_UpdateDirection(PeahatEntity* this)
void Peahat(PeahatEntity* this)
void Peahat_OnTick(PeahatEntity* this)
void Peahat_OnCollision(PeahatEntity* this)
void Peahat_OnGrabbed(PeahatEntity* this)
void Peahat_OnGrabbed_Subaction0(PeahatEntity* this)
void Peahat_OnGrabbed_Subaction1(PeahatEntity* this)
void Peahat_OnGrabbed_Subaction2(PeahatEntity* this)
void Peahat_OnGrabbed_Subaction3(PeahatEntity* this)
void Peahat_OnGrabbed_Subaction4(PeahatEntity* this)
void Peahat_OnGrabbed_Subaction5(PeahatEntity* this)
void Peahat_Initialize(PeahatEntity* this)
void Peahat_Fly(PeahatEntity* this)
void Peahat_ChargeStart(PeahatEntity* this)
void Peahat_ChargeTarget(PeahatEntity* this)
void Peahat_ChargeEnd(PeahatEntity* this)
void Peahat_Stunned(PeahatEntity* this)
void Peahat_RepairPropeller(PeahatEntity* this)
void Peahat_Recover(PeahatEntity* this)
void Peahat_Hop(PeahatEntity* this)
void Peahat_Takeoff(PeahatEntity* this)
void PeahatPropeller_Initialize(PeahatEntity* this)
void PeahatPropeller_Fly(PeahatEntity* this)

Variables

void(*const Peahat_Functions
void(*const gPeahatPropellerFunctions
void(*const gPeahatActions
void(*const gPeahatOnGrabbedSubactions
const s8 gPeahatFlightHeights
const s8 gPeahatChargeDirectionOffsets

Defines

#define DIR_NONE