Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
e_ai_class Class Reference

Armos. More...

#include <d_a_e_ai.h>

+ Inheritance diagram for e_ai_class:
+ Collaboration diagram for e_ai_class:

Public Types

enum  action_e {
  ACTION_WAIT , ACTION_MOVE , ACTION_ATTACK , ACTION_DAMAGE ,
  ACTION_RETURN
}
 
- Public Types inherited from fopEn_enemy_c
enum  fopEn_flag {
  fopEn_flag_Down = 0x1 , fopEn_flag_CutDownHit = 0x2 , fopEn_flag_WolfDownStart = 0x4 , fopEn_flag_Dead = 0x8 ,
  fopEn_flag_WolfDownPull = 0x10 , fopEn_flag_WolfDownPullEnd = 0x20 , fopEn_flag_WolfBiteDamage = 0x40 , fopEn_flag_HeadLock = 0x80 ,
  fopEn_flag_WolfNoLock = 0x200
}
 
enum  fopEn_throwMode { fopEn_throwMode_Catch = 0x2 , fopEn_throwMode_Dash = 0x4 , fopEn_throwMode_ThrowLeft = 0x8 , fopEn_throwMode_ThrowRight = 0x10 }
 

Public Member Functions

void initCcCylinder ()
 
void setCcCylinder ()
 
void anm_init (int, f32, u8, f32)
 
int Draw ()
 
BOOL player_way_check ()
 
BOOL other_bg_check (fopAc_ac_c *)
 
BOOL pl_check (f32, s16)
 
void damage_check ()
 
void e_ai_damage ()
 
void e_ai_attack ()
 
void e_ai_move ()
 
void e_ai_wait ()
 
void e_ai_return ()
 
void action ()
 
void PlayerWaySet ()
 
void AttentionSet ()
 
int Execute ()
 
void setBaseMtx ()
 
int Delete ()
 
int CreateHeap ()
 
int Create ()
 
- Public Member Functions inherited from fopEn_enemy_c
BOOL initBallModel ()
 
bool checkBallModelDraw ()
 
void setBallModelEffect (dKy_tevstr_c *)
 
void drawBallModel (dKy_tevstr_c *)
 
BOOL checkWolfNoLock () const
 
BOOL checkHeadLockFlg () const
 
BOOL checkWolfBiteDamage () const
 
BOOL checkWolfDownPullFlg () const
 
BOOL checkDownFlg ()
 
BOOL checkCutDownHitFlg () const
 
BOOL checkWolfDownStartFlg () const
 
BOOL checkDeadFlg () const
 
BOOL checkThrowMode (u8 param_1) const
 
u32getMidnaBindID (int i_idx)
 
u8 getMidnaBindMode ()
 
cXyzgetDownPos ()
 
cXyzgetHeadLockPos ()
 
void onCutDownHitFlg ()
 
void onWolfBiteDamage ()
 
void onWolfDownStartFlg ()
 
void onWolfDownPullEndFlg ()
 
void onWolfNoLock ()
 
void onDownFlg ()
 
void onHeadLockFlg ()
 
void offWolfBiteDamage ()
 
void offCutDownHitFlg ()
 
void offWolfDownPullFlg ()
 
void offDownFlg ()
 
void offWolfNoLock ()
 
void offHeadLockFlg ()
 
void offThrowMode (u8 throwMode)
 
void offWolfBiteDamage ()
 
void offCutDownHitFlg ()
 
void offWolfDownPullFlg ()
 
void offDownFlg ()
 
void offWolfNoLock ()
 
void offHeadLockFlg ()
 
void offThrowMode (u8 throwMode)
 
void setMidnaBindMode (u8 i_bindMode)
 
void setMidnaBindID (u8 i_idx, u32 i_bindID)
 
void setThrowModeCatch ()
 
void setThrowModeDash ()
 
void setThrowModeThrowRight ()
 
void setThrowModeThrowLeft ()
 
void setDownPos (const cXyz *i_pos)
 
void setHeadLockPos (const cXyz *i_pos)
 
- Public Member Functions inherited from fopAc_ac_c
 fopAc_ac_c ()
 
 ~fopAc_ac_c ()
 

Private Attributes

JPABaseEmittermpEmitter
 
request_of_phase_process_class m_phase
 
u8 field_0x5b8
 
u8 field_0x5b9
 
u8 field_0x5ba
 
cXyz unk_0x5bc
 
mDoExt_brkAnmm_brk
 
u8 field_0x5cc
 
mDoExt_McaMorfSOm_modelMorf
 
Z2CreatureEnemy m_sound
 
u8 field_0x678 [0x67C - 0x678]
 
s8 field_0x67c
 
u32 m_shadowKey
 
int m_anm
 
u8 field_0x688 [0x68C - 0x688]
 
s16 m_lifetime
 
s16 m_action
 
s16 m_mode
 
s16 field_0x692
 
s16 field_0x694
 
s16 field_0x696
 
u8 m_swbit
 
cXyz unk_0x69c
 
s16 field_0x6a8
 
s16 m_angleToPlayer
 
f32 m_playerDist
 
s16 m_timers [4]
 
s16 m_invulnerabilityTimer
 
s16 field_0x6ba
 
s16 field_0x6bc
 
f32 field_0x6c0
 
u8 field_0x6C4 [0x6C8 - 0x6C4]
 
dBgS_AcchCir m_acchcir
 
dBgS_ObjAcch m_acch
 
dCcD_Stts m_ccAtStts
 
dCcD_Stts m_ccShieldStts
 
dCcD_Sph m_ccAtSph
 
dCcD_Sph m_ccShieldSph
 
dCcD_Cyl m_ccCyl
 
dCcU_AtInfo m_atInfo
 
s8 field_0xd28
 
s8 m_hitCount
 
u32 field_0xd2c
 
u32 field_0xd30
 
u32 field_0xd34
 
u32 field_0xd38
 
u8 field_0xD3C [0xD40 - 0xD3C]
 
u8 m_HIOInit
 

Additional Inherited Members

- Static Public Member Functions inherited from fopAc_ac_c
static void setStopStatus (u32 status)
 
- Public Attributes inherited from fopEn_enemy_c
cXyz mDownPos
 
cXyz mHeadLockPos
 
J3DModelmBallModel
 
J3DAnmTextureSRTKeymBtk
 
J3DAnmTevRegKeymBrk
 
u8 field_0x58c
 
u8 mThrowMode
 
u16 mFlags
 
f32 mAnmFrame
 
u32 mEffectID1
 
u32 mEffectID2
 
u32 mMidnaBindID [3]
 
u8 mMidnaBindMode
 
- Public Attributes inherited from fopAc_ac_c
leafdraw_class base
 
int actor_type
 
create_tag_class actor_tag
 
create_tag_class draw_tag
 
profile_method_classsub_method
 
JKRSolidHeapheap
 
dEvt_info_c eventInfo
 
dKy_tevstr_c tevStr
 
u16 setID
 
u8 group
 
u8 cullType
 
u8 demoActorID
 
s8 argument
 
u8 carryType
 
u32 actor_status
 
u32 actor_condition
 
fpc_ProcID parentActorID
 
actor_place home
 
actor_place old
 
actor_place current
 
csXyz shape_angle
 
cXyz scale
 
cXyz speed
 
MtxP cullMtx
 
union { 
 
   cull_box   box 
 
   cull_sphere   sphere 
 
cull 
 
f32 cullSizeFar
 
J3DModelmodel
 
dJntCol_cjntCol
 
f32 speedF
 
f32 gravity
 
f32 maxFallSpeed
 
cXyz eyePos
 
actor_attention_types attention_info
 
s16 field_0x560
 
s16 health
 
u8 field_0x564
 
u8 field_0x565
 
s8 field_0x566
 
s8 field_0x567
 
- Static Public Attributes inherited from fopAc_ac_c
static u32 stopStatus
 

Detailed Description

Armos.

Member Enumeration Documentation

◆ action_e

Enumerator
ACTION_WAIT 
ACTION_MOVE 
ACTION_ATTACK 
ACTION_DAMAGE 
ACTION_RETURN 

Member Function Documentation

◆ action()

void e_ai_class::action ( )

◆ anm_init()

void e_ai_class::anm_init ( int i_anm,
f32 i_morf,
u8 i_mode,
f32 i_speed )

◆ AttentionSet()

void e_ai_class::AttentionSet ( )

◆ Create()

int e_ai_class::Create ( )

◆ CreateHeap()

int e_ai_class::CreateHeap ( )

◆ damage_check()

void e_ai_class::damage_check ( )

◆ Delete()

int e_ai_class::Delete ( )

◆ Draw()

int e_ai_class::Draw ( )

◆ e_ai_attack()

void e_ai_class::e_ai_attack ( )

◆ e_ai_damage()

void e_ai_class::e_ai_damage ( )

◆ e_ai_move()

void e_ai_class::e_ai_move ( )

◆ e_ai_return()

void e_ai_class::e_ai_return ( )

◆ e_ai_wait()

void e_ai_class::e_ai_wait ( )

◆ Execute()

int e_ai_class::Execute ( )

◆ initCcCylinder()

void e_ai_class::initCcCylinder ( )

◆ other_bg_check()

BOOL e_ai_class::other_bg_check ( fopAc_ac_c * i_other)

◆ pl_check()

BOOL e_ai_class::pl_check ( f32 i_range,
s16 i_angle )

◆ player_way_check()

BOOL e_ai_class::player_way_check ( )

◆ PlayerWaySet()

void e_ai_class::PlayerWaySet ( )

◆ setBaseMtx()

void e_ai_class::setBaseMtx ( )

◆ setCcCylinder()

void e_ai_class::setCcCylinder ( )

Member Data Documentation

◆ field_0x5b8

u8 e_ai_class::field_0x5b8
private

◆ field_0x5b9

u8 e_ai_class::field_0x5b9
private

◆ field_0x5ba

u8 e_ai_class::field_0x5ba
private

◆ field_0x5cc

u8 e_ai_class::field_0x5cc
private

◆ field_0x678

u8 e_ai_class::field_0x678[0x67C - 0x678]
private

◆ field_0x67c

s8 e_ai_class::field_0x67c
private

◆ field_0x688

u8 e_ai_class::field_0x688[0x68C - 0x688]
private

◆ field_0x692

s16 e_ai_class::field_0x692
private

◆ field_0x694

s16 e_ai_class::field_0x694
private

◆ field_0x696

s16 e_ai_class::field_0x696
private

◆ field_0x6a8

s16 e_ai_class::field_0x6a8
private

◆ field_0x6ba

s16 e_ai_class::field_0x6ba
private

◆ field_0x6bc

s16 e_ai_class::field_0x6bc
private

◆ field_0x6c0

f32 e_ai_class::field_0x6c0
private

◆ field_0x6C4

u8 e_ai_class::field_0x6C4[0x6C8 - 0x6C4]
private

◆ field_0xd28

s8 e_ai_class::field_0xd28
private

◆ field_0xd2c

u32 e_ai_class::field_0xd2c
private

◆ field_0xd30

u32 e_ai_class::field_0xd30
private

◆ field_0xd34

u32 e_ai_class::field_0xd34
private

◆ field_0xd38

u32 e_ai_class::field_0xd38
private

◆ field_0xD3C

u8 e_ai_class::field_0xD3C[0xD40 - 0xD3C]
private

◆ m_acch

dBgS_ObjAcch e_ai_class::m_acch
private

◆ m_acchcir

dBgS_AcchCir e_ai_class::m_acchcir
private

◆ m_action

s16 e_ai_class::m_action
private

◆ m_angleToPlayer

s16 e_ai_class::m_angleToPlayer
private

◆ m_anm

int e_ai_class::m_anm
private

◆ m_atInfo

dCcU_AtInfo e_ai_class::m_atInfo
private

◆ m_brk

mDoExt_brkAnm* e_ai_class::m_brk
private

◆ m_ccAtSph

dCcD_Sph e_ai_class::m_ccAtSph
private

◆ m_ccAtStts

dCcD_Stts e_ai_class::m_ccAtStts
private

◆ m_ccCyl

dCcD_Cyl e_ai_class::m_ccCyl
private

◆ m_ccShieldSph

dCcD_Sph e_ai_class::m_ccShieldSph
private

◆ m_ccShieldStts

dCcD_Stts e_ai_class::m_ccShieldStts
private

◆ m_HIOInit

u8 e_ai_class::m_HIOInit
private

◆ m_hitCount

s8 e_ai_class::m_hitCount
private

◆ m_invulnerabilityTimer

s16 e_ai_class::m_invulnerabilityTimer
private

◆ m_lifetime

s16 e_ai_class::m_lifetime
private

◆ m_mode

s16 e_ai_class::m_mode
private

◆ m_modelMorf

mDoExt_McaMorfSO* e_ai_class::m_modelMorf
private

◆ m_phase

request_of_phase_process_class e_ai_class::m_phase
private

◆ m_playerDist

f32 e_ai_class::m_playerDist
private

◆ m_shadowKey

u32 e_ai_class::m_shadowKey
private

◆ m_sound

Z2CreatureEnemy e_ai_class::m_sound
private

◆ m_swbit

u8 e_ai_class::m_swbit
private

◆ m_timers

s16 e_ai_class::m_timers[4]
private

◆ mpEmitter

JPABaseEmitter* e_ai_class::mpEmitter
private

◆ unk_0x5bc

cXyz e_ai_class::unk_0x5bc
private

◆ unk_0x69c

cXyz e_ai_class::unk_0x69c
private

The documentation for this class was generated from the following files: