Go to the source code of this file.
Functions | |
void | spawn_drops (Enemy *enemy) |
s32 | get_coin_drop_amount (Enemy *enemy) |
void | func_80048E34 (Enemy *enemy, s32 arg1, s32 arg2) |
s32 | func_80048F0C (void) |
b32 | is_point_outside_territory (s32 shape, f32 centerX, f32 centerZ, f32 pointX, f32 pointZ, f32 sizeX, f32 sizeZ) |
b32 | basic_ai_check_player_dist (EnemyDetectVolume *territory, Enemy *enemy, f32 radius, f32 fwdPosOffset, b8 useWorldYaw) |
s32 | ai_check_player_dist (Enemy *enemy, s32 chance, f32 radius, f32 moveSpeed) |
void | ai_enemy_play_sound (Npc *npc, s32 soundID, s32 upperSoundFlags) |
void | ai_try_set_state (Evt *script, s32 state) |
void | basic_ai_wander_init (Evt *script, MobileAISettings *npcAISettings, EnemyDetectVolume *territory) |
void | basic_ai_wander (Evt *script, MobileAISettings *aiSettings, EnemyDetectVolume *territory) |
void | basic_ai_loiter_init (Evt *script, MobileAISettings *aiSettings, EnemyDetectVolume *territory) |
void | basic_ai_loiter (Evt *script, MobileAISettings *aiSettings, EnemyDetectVolume *territory) |
void | basic_ai_found_player_jump_init (Evt *script, MobileAISettings *npcAISettings, EnemyDetectVolume *territory) |
void | basic_ai_found_player_jump (Evt *script, MobileAISettings *npcAISettings, EnemyDetectVolume *territory) |
void | basic_ai_chase_init (Evt *script, MobileAISettings *npcAISettings, EnemyDetectVolume *territory) |
void | basic_ai_chase (Evt *script, MobileAISettings *aiSettings, EnemyDetectVolume *territory) |
void | basic_ai_lose_player (Evt *script, MobileAISettings *npcAISettings, EnemyDetectVolume *territory) |
Variables | |
s32 | gLastRenderTaskCount |
void spawn_drops | ( | Enemy * | enemy | ) |
Definition at line 8 of file 23680.c.
s32 get_coin_drop_amount | ( | Enemy * | enemy | ) |
Definition at line 312 of file 23680.c.
Referenced by update_encounters_post_battle().
void func_80048E34 | ( | Enemy * | enemy, |
s32 | arg1, | ||
s32 | arg2 ) |
Definition at line 358 of file 23680.c.
s32 func_80048F0C | ( | void | ) |
b32 is_point_outside_territory | ( | s32 | shape, |
f32 | centerX, | ||
f32 | centerZ, | ||
f32 | pointX, | ||
f32 | pointZ, | ||
f32 | sizeX, | ||
f32 | sizeZ ) |
Definition at line 412 of file 23680.c.
Referenced by basic_ai_check_player_dist(), basic_ai_wander(), CleftAI_Tackle(), FlyingAI_Wander(), FlyingAI_WanderInit(), FlyingMagikoopaAI_15(), HoppingAI_HopInit(), LakituAI_Wander(), and PiranhaPlantAI_10().
b32 basic_ai_check_player_dist | ( | EnemyDetectVolume * | territory, |
Enemy * | enemy, | ||
f32 | radius, | ||
f32 | fwdPosOffset, | ||
b8 | useWorldYaw ) |
Definition at line 429 of file 23680.c.
Referenced by AvoidPlayerAI_Chase(), AvoidPlayerAI_ChaseInit(), basic_ai_chase(), basic_ai_loiter(), basic_ai_wander(), CleftAI_FindPlayer(), CleftAI_Hiding(), CleftAI_ReturnHome(), ClubbaNappingAI_Loiter(), ClubbaNappingAI_ReturnHome(), ClubbaNappingAI_Sleep(), FlyingAI_Loiter(), FlyingAI_Wander(), FlyingNoAttackAI_13(), GuardAI_Chase(), GuardAI_Idle(), GuardAI_ReturnHome(), HoppingAI_Chase(), HoppingAI_Hop(), HoppingAI_Loiter(), LakituAI_Loiter(), LakituAI_Wander(), MagikoopaAI_CanShootSpell(), PatrolAI_Chase(), PatrolAI_Loiter(), PatrolAI_Move(), PiranhaPlantAI_01(), PiranhaPlantAI_LosePlayer(), SentinelAI_Chase(), SentinelAI_Descend(), SentinelAI_ReturnHome(), and UnkNpcAIFunc48().
s32 ai_check_player_dist | ( | Enemy * | enemy, |
s32 | chance, | ||
f32 | radius, | ||
f32 | moveSpeed ) |
Definition at line 515 of file 23680.c.
Referenced by CleftAI_CanSeePlayer(), and ProjectileHitbox_GetUsableProjectileID().
void ai_enemy_play_sound | ( | Npc * | npc, |
s32 | soundID, | ||
s32 | upperSoundFlags ) |
Definition at line 543 of file 23680.c.
Referenced by basic_ai_chase(), basic_ai_found_player_jump_init(), basic_ai_loiter(), basic_ai_wander(), CleftAI_Hiding(), ClubbaNappingAI_Sleep(), FlyingAI_Loiter(), FlyingAI_Wander(), FlyingMagikoopaAI_11(), FlyingMagikoopaAI_21(), FlyingMagikoopaAI_23(), GuardAI_Idle(), GuardAI_ReturnHome(), HoppingAI_ChaseInit(), HoppingAI_Hop(), HoppingAI_HopInit(), HoppingAI_Loiter(), LakituAI_Loiter(), LakituAI_Wander(), MagikoopaAI_21(), MagikoopaAI_23(), ParatroopaAI_Windup(), PatrolAI_Loiter(), PatrolAI_Move(), PiranhaPlantAI_01(), PiranhaPlantAI_10(), and SentinelAI_ReturnHome().
void ai_try_set_state | ( | Evt * | script, |
s32 | state ) |
void basic_ai_wander_init | ( | Evt * | script, |
MobileAISettings * | npcAISettings, | ||
EnemyDetectVolume * | territory ) |
Definition at line 567 of file 23680.c.
Referenced by HoppingAI_HopInit(), and StoneChompAI_HopInit().
void basic_ai_wander | ( | Evt * | script, |
MobileAISettings * | aiSettings, | ||
EnemyDetectVolume * | territory ) |
Definition at line 588 of file 23680.c.
void basic_ai_loiter_init | ( | Evt * | script, |
MobileAISettings * | aiSettings, | ||
EnemyDetectVolume * | territory ) |
void basic_ai_loiter | ( | Evt * | script, |
MobileAISettings * | aiSettings, | ||
EnemyDetectVolume * | territory ) |
Definition at line 691 of file 23680.c.
void basic_ai_found_player_jump_init | ( | Evt * | script, |
MobileAISettings * | npcAISettings, | ||
EnemyDetectVolume * | territory ) |
Definition at line 735 of file 23680.c.
void basic_ai_found_player_jump | ( | Evt * | script, |
MobileAISettings * | npcAISettings, | ||
EnemyDetectVolume * | territory ) |
Definition at line 748 of file 23680.c.
void basic_ai_chase_init | ( | Evt * | script, |
MobileAISettings * | npcAISettings, | ||
EnemyDetectVolume * | territory ) |
Definition at line 769 of file 23680.c.
Referenced by HoppingAI_ChaseInit(), and StoneChompAI_ChaseInit().
void basic_ai_chase | ( | Evt * | script, |
MobileAISettings * | aiSettings, | ||
EnemyDetectVolume * | territory ) |
Definition at line 804 of file 23680.c.
void basic_ai_lose_player | ( | Evt * | script, |
MobileAISettings * | npcAISettings, | ||
EnemyDetectVolume * | territory ) |
|
extern |
Definition at line 636 of file model.c.
Referenced by execute_render_tasks(), and spawn_drops().