Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
Npc Struct Reference

Detailed Description

Definition at line 213 of file common_structs.h.

#include "common_structs.h"

Data Fields

s32 flags
 
void(* onUpdate )(struct Npc *)
 Run before anything else for this NPC in update_npcs()
 
void(* onRender )(struct Npc *)
 Run after the display list for this NPC is built.
 
f32 yaw
 
f32 planarFlyDist
 
f32 jumpScale
 
f32 moveSpeed
 
f32 jumpVel
 
union { 
 
void * any
 
NpcMotionBlurmotion
 Null unless flag NPC_FLAG_MOTION_BLUR is set.
 
NpcChompBlurchomp
 
NpcQuizmoBlurquizmo
 
NpcFollowDatafollowData
 
struct NpckeepAwayNpc
 
s32 * keepAwayStarted
 
blur 
 
s32 spriteInstanceID
 
AnimID curAnim
 
s32 animNotifyValue
 
f32 animationSpeed
 
f32 renderYaw
 
Vec3f pos
 
Vec3f rot
 
f32 rotPivotOffsetY
 
Vec3f scale
 
Vec3f moveToPos
 
Vec3f colliderPos
 
s32 shadowIndex
 
f32 shadowScale
 
s32 collisionChannel
 
s16 curFloor
 
s16 curWall
 
b16 isFacingAway
 
s16 yawCamOffset
 
s16 turnAroundYawAdjustment
 
s16 duration
 
Vec3s homePos
 
s16 unk_96
 
s16 imgfxType
 
s16 imgfxArg1
 
s16 imgfxArg2
 
s16 imgfxArg3
 
s16 imgfxArg4
 
u16 imgfxFlags
 
s8 npcID
 
char unk_A5
 
s16 collisionDiameter
 
s16 collisionHeight
 
s8 renderMode
 
s8 verticalRenderOffset
 
u8 alpha
 
u8 hideAlpha
 Used when hiding NPCs; Multiplied with Npc::alpha.
 
char unk_AE [2]
 
AnimIDextraAnimList
 
s8 palSwapType
 
s8 palSwapPrevType
 
s8 resetPalAdjust
 
s8 palAnimState
 
char unk_B8 [4]
 
s16 nextPalTime
 
s16 palBlendAlpha
 
s8 spriteColorVariations
 
s8 originalPalettesCount
 
char unk_C2 [2]
 
u16 ** originalPalettesList
 
u16 copiedPalettes [16][16]
 
u16 * adjustedPalettes [16]
 
s16 blendPalA
 
s16 blendPalB
 
u16 palswapTimeHoldA
 
s16 palswapTimeAtoB
 
s16 palswapTimeHoldB
 
s16 palswapTimeBtoA
 
s16 blendPalC
 
s16 blendPalD
 
f32 screenSpaceOffset2D [2]
 
f32 verticalStretch
 
struct EffectInstancedecorations [2]
 
s8 decorationType [2]
 
s8 changedDecoration [2]
 
s8 decorationInitialized [2]
 
s16 decorationGlowPhase [2]
 
char unk_336 [10]
 

Field Documentation

◆ flags

s32 Npc::flags

Definition at line 214 of file common_structs.h.

Referenced by _npc_jump_to(), action_update_parasol(), appendGfx_npc(), appendGfx_npc_blur(), basic_ai_found_player_jump(), basic_ai_found_player_jump_init(), can_open_menus(), check_conversation_trigger(), check_for_interactables(), create_encounters(), create_npc_impl(), disable_npc_blur(), disable_npc_shadow(), enable_npc_blur(), enable_npc_shadow(), end_outta_sight_cleanup(), entity_HiddenPanel_flip_over(), entity_HiddenPanel_idle(), entity_Tweester_idle(), FlyingAI_Loiter(), FlyingAI_LosePlayer(), FlyingAI_Wander(), FlyingNoAttackAI_13(), free_npc(), free_npc_by_index(), func_800E06D8(), func_800EA5B8(), get_npc_pos(), get_npc_safe(), get_npc_unsafe(), GuardAI_Alert(), GuardAI_AlertInit(), has_valid_conversation_npc(), HoppingAI_Chase(), HoppingAI_ChaseInit(), HoppingAI_Hop(), HoppingAI_HopInit(), MagikoopaAI_00(), MagikoopaAI_01(), MagikoopaAI_10(), npc_do_other_npc_collision(), npc_do_player_collision(), npc_do_world_collision(), npc_find_closest(), npc_find_closest_simple(), npc_find_standing_on_entity(), npc_follow_init(), npc_follow_npc(), npc_get_collider_below(), npc_get_render_yaw(), npc_reload_all(), npc_render_with_double_pal_blending(), npc_render_with_single_pal_blending(), npc_render_with_watt_idle_palettes(), npc_render_without_adjusted_palettes(), npc_surface_spawn_fx(), npc_try_apply_gravity(), npc_try_snap_to_ground(), partner_flying_enable(), partner_flying_follow_player(), partner_flying_update_motion(), partner_get_out(), partner_init_get_out(), partner_init_put_away(), partner_move_to_goal(), partner_put_away(), partner_walking_enable(), partner_walking_follow_player(), partner_walking_update_motion(), PatrolAI_Jump(), PatrolAI_JumpInit(), peach_check_for_parasol_input(), peach_sync_disguise_npc(), PiranhaPlantAI_10(), pre_battle(), pre_battle(), Quizmo_NPC_OnRender(), render_npcs(), SentinelAI_Chase(), SentinelAI_ChaseInit(), SentinelAI_Descend(), SentinelAI_ReturnHomeInit(), set_npc_sprite(), should_continue_inspect(), try_cancel_tweester(), try_cancel_tweester(), try_cancel_tweester(), try_cancel_tweester(), try_cancel_tweester(), try_cancel_tweester(), try_cancel_tweester(), try_cancel_tweester(), update_encounters_neutral(), update_encounters_post_battle(), and update_npcs().

◆ onUpdate

void(* Npc::onUpdate) (struct Npc *)

Run before anything else for this NPC in update_npcs()

Definition at line 215 of file common_structs.h.

Referenced by create_npc_impl(), and update_npcs().

◆ onRender

void(* Npc::onRender) (struct Npc *)

Run after the display list for this NPC is built.

Definition at line 216 of file common_structs.h.

Referenced by appendGfx_npc(), and create_npc_impl().

◆ yaw

f32 Npc::yaw

Definition at line 217 of file common_structs.h.

Referenced by _npc_jump_to(), _show_message(), action_update_parasol(), ai_check_fwd_collisions(), AvoidPlayerAI_Chase(), AvoidPlayerAI_ChaseInit(), basic_ai_chase(), basic_ai_chase_init(), basic_ai_check_player_dist(), basic_ai_loiter(), basic_ai_loiter_init(), basic_ai_lose_player(), basic_ai_wander(), basic_ai_wander_init(), BooPatrolAI_Loiter(), BooPatrolAI_Move(), CleftAI_Ambush(), CleftAI_CanSeePlayer(), CleftAI_FindPlayer(), CleftAI_FindPlayerInit(), CleftAI_PreAmbush(), CleftAI_ReturnHome(), CleftAI_RevUp(), CleftAI_Tackle(), ClubbaNappingAI_Loiter(), ClubbaNappingAI_LoiterInit(), ClubbaNappingAI_ReturnHome(), ClubbaNappingAI_Sleep(), create_npc_impl(), FlyingAI_ChaseInit(), FlyingAI_JumpInit(), FlyingAI_Loiter(), FlyingAI_LoiterInit(), FlyingAI_LosePlayer(), FlyingAI_Wander(), FlyingAI_WanderInit(), FlyingMagikoopaAI_15(), FlyingMagikoopaAI_17(), FlyingNoAttackAI_12(), FlyingNoAttackAI_13(), GuardAI_Chase(), GuardAI_ChaseInit(), GuardAI_Idle(), GuardAI_IdleInit(), GuardAI_ReturnHome(), HoppingAI_Chase(), HoppingAI_ChaseInit(), HoppingAI_Hop(), HoppingAI_HopInit(), HoppingAI_Loiter(), HoppingAI_LoiterInit(), LakituAI_Loiter(), LakituAI_Wander(), MagikoopaAI_05(), MagikoopaAI_06(), MagikoopaAI_10(), MagikoopaAI_CanShootSpell(), MeleeHitbox_CanSeePlayer(), npc_do_world_collision(), npc_follow_npc(), npc_get_render_yaw(), npc_surface_spawn_basic_fx(), npc_surface_spawn_cloud_fx(), npc_surface_spawn_flower_fx(), npc_surface_spawn_hedges_fx(), npc_surface_spawn_snow_fx(), npc_surface_spawn_water_fx(), npc_try_apply_gravity(), npc_try_snap_to_ground(), ParatroopaAI_Dive(), ParatroopaAI_Overshoot(), ParatroopaAI_Windup(), partner_flying_follow_player(), partner_flying_update_motion(), partner_get_out(), partner_move_to_goal(), partner_put_away(), partner_walking_follow_player(), PatrolAI_Chase(), PatrolAI_ChaseInit(), PatrolAI_Loiter(), PatrolAI_LoiterInit(), PatrolAI_Move(), peach_sync_disguise_npc(), PiranhaPlantAI_10(), player_jump(), ProjectileHitbox_32(), ProjectileHitbox_GetUsableProjectileID(), SentinelAI_Chase(), SentinelAI_ChaseInit(), SentinelAI_LosePlayer(), SentinelAI_ReturnHome(), set_npc_yaw(), set_script_owner_npc_anim(), ShyGuyPatrolAI_15(), ShyGuyPatrolAI_16(), ShyGuyWanderAI_15(), ShyGuyWanderAI_16(), SpearGuyAI_Loiter(), sync_held_position(), sync_player_position(), UnkNpcAIFunc12(), and update_encounters_neutral().

◆ planarFlyDist

◆ jumpScale

◆ moveSpeed

◆ jumpVel

◆ [union]

◆ spriteInstanceID

◆ curAnim

AnimID Npc::curAnim

Definition at line 232 of file common_structs.h.

Referenced by _show_message(), _use_partner_ability(), appendGfx_npc(), AvoidPlayerAI_Chase(), AvoidPlayerAI_ChaseInit(), basic_ai_chase(), basic_ai_chase_init(), basic_ai_found_player_jump_init(), basic_ai_loiter_init(), basic_ai_wander_init(), BooPatrolAI_Loiter(), CleftAI_Disguise(), CleftAI_DisguiseInit(), CleftAI_FindPlayerInit(), CleftAI_Hiding(), CleftAI_HidingInit(), CleftAI_LosePlayer(), CleftAI_PreAmbush(), CleftAI_RevUpInit(), ClubbaNappingAI_Init(), ClubbaNappingAI_LoiterInit(), ClubbaNappingAI_ReturnHome(), ClubbaNappingAI_ReturnHomeInit(), ClubbaNappingAI_Sleep(), create_npc_impl(), FlyingAI_ChaseInit(), FlyingAI_JumpInit(), FlyingAI_LoiterInit(), FlyingAI_LosePlayer(), FlyingAI_WanderInit(), FlyingMagikoopaAI_21(), FlyingMagikoopaAI_22(), FlyingMagikoopaAI_23(), FlyingMagikoopaAI_24(), FlyingNoAttackAI_12(), FlyingNoAttackAI_13(), GrooveGuyAI_03(), GuardAI_Chase(), GuardAI_ChaseInit(), GuardAI_IdleInit(), GuardAI_ReturnHomeInit(), HoppingAI_LoiterInit(), MagikoopaAI_00(), MagikoopaAI_10(), MagikoopaAI_21(), MagikoopaAI_22(), MagikoopaAI_23(), MagikoopaAI_24(), MeleeHitbox_30(), MeleeHitbox_31(), MeleeHitbox_32(), npc_follow_init(), npc_follow_npc(), npc_reload_all(), npc_render_with_double_pal_blending(), npc_render_with_single_pal_blending(), npc_render_with_watt_idle_palettes(), ParatroopaAI_Dive(), ParatroopaAI_Overshoot(), ParatroopaAI_Windup(), partner_flying_enable(), partner_flying_follow_player(), partner_get_out(), partner_move_to_goal(), partner_put_away(), partner_walking_enable(), partner_walking_follow_player(), PatrolAI_Chase(), PatrolAI_ChaseInit(), PatrolAI_JumpInit(), PatrolAI_LoiterInit(), PatrolAI_MoveInit(), PatrolAI_PostLoiter(), PatrolNoAttackAI_15(), peach_set_disguise_anim(), PiranhaPlantAI_00(), PiranhaPlantAI_01(), PiranhaPlantAI_10(), PiranhaPlantAI_11(), PiranhaPlantAI_12(), ProjectileHitbox_30(), ProjectileHitbox_32(), SentinelAI_ChaseInit(), SentinelAI_LosePlayerInit(), set_npc_animation(), set_npc_sprite(), set_script_owner_npc_anim(), ShyGuyPatrolAI_14(), ShyGuyPatrolAI_15(), ShyGuyPatrolAI_17(), ShyGuyWanderAI_14(), ShyGuyWanderAI_15(), ShyGuyWanderAI_17(), SpearGuyAI_Loiter(), UnkDistFunc(), UnkNpcAIFunc12(), UnkNpcAIFunc48(), unkVtxFunc001(), and update_npcs().

◆ animNotifyValue

s32 Npc::animNotifyValue

Definition at line 233 of file common_structs.h.

Referenced by appendGfx_npc().

◆ animationSpeed

f32 Npc::animationSpeed

Definition at line 234 of file common_structs.h.

Referenced by create_npc_impl(), set_npc_sprite(), and update_npcs().

◆ renderYaw

◆ pos

Vec3f Npc::pos

Definition at line 236 of file common_structs.h.

Referenced by _npc_jump_to(), _show_message(), _use_partner_ability(), action_update_parasol(), ai_check_fwd_collisions(), ai_check_player_dist(), ai_enemy_play_sound(), appendGfx_npc(), AvoidPlayerAI_ChaseInit(), basic_ai_chase(), basic_ai_chase_init(), basic_ai_check_player_dist(), basic_ai_found_player_jump(), basic_ai_found_player_jump_init(), basic_ai_loiter(), basic_ai_lose_player(), basic_ai_wander(), BooPatrolAI_Move(), check_conversation_trigger(), CleftAI_Ambush(), CleftAI_CanSeePlayer(), CleftAI_FindPlayer(), CleftAI_PreAmbush(), CleftAI_ReturnHome(), CleftAI_RevUp(), CleftAI_Tackle(), ClubbaNappingAI_Loiter(), ClubbaNappingAI_ReturnHome(), ClubbaNappingAI_Sleep(), create_encounters(), create_npc_impl(), create_partner_npc(), draw_encounters_pre_battle(), enable_npc_blur(), entity_HiddenPanel_idle(), FlyingAI_ChaseInit(), FlyingAI_Jump(), FlyingAI_JumpInit(), FlyingAI_Loiter(), FlyingAI_LosePlayer(), FlyingAI_Wander(), FlyingAI_WanderInit(), FlyingMagikoopaAI_11(), FlyingMagikoopaAI_15(), FlyingMagikoopaAI_16(), FlyingMagikoopaAI_17(), FlyingMagikoopaAI_21(), FlyingMagikoopaAI_24(), FlyingMagikoopaAI_50(), FlyingNoAttackAI_12(), FlyingNoAttackAI_13(), func_E0020000(), get_npc_pos(), GuardAI_Alert(), GuardAI_AlertInit(), GuardAI_ChaseInit(), GuardAI_Idle(), GuardAI_ReturnHome(), HoppingAI_Chase(), HoppingAI_ChaseInit(), HoppingAI_Hop(), HoppingAI_HopInit(), HoppingAI_Loiter(), interact_speech_setup(), interact_speech_update(), LakituAI_Loiter(), LakituAI_Wander(), MagikoopaAI_10(), MagikoopaAI_21(), MagikoopaAI_CanShootSpell(), MeleeHitbox_CanSeePlayer(), npc_do_other_npc_collision(), npc_do_player_collision(), npc_do_world_collision(), npc_find_closest(), npc_find_closest_simple(), npc_find_standing_on_entity(), npc_follow_npc(), npc_get_collider_below(), npc_move_heading(), npc_surface_spawn_basic_fx(), npc_surface_spawn_cloud_fx(), npc_surface_spawn_flower_fx(), npc_surface_spawn_hedges_fx(), npc_surface_spawn_snow_fx(), npc_surface_spawn_water_fx(), npc_try_apply_gravity(), npc_try_snap_to_ground(), npc_update_decoration_bowser_aura(), npc_update_decoration_glow_behind(), npc_update_decoration_glow_in_front(), npc_update_decoration_seeing_stars(), npc_update_decoration_sweat(), npc_update_npc_tracking(), parasol_get_npc(), ParatroopaAI_Dive(), ParatroopaAI_Overshoot(), ParatroopaAI_Windup(), partner_clear_player_tracking(), partner_do_player_collision(), partner_flying_enable(), partner_flying_follow_player(), partner_flying_update_motion(), partner_get_out(), partner_move_to_goal(), partner_put_away(), partner_walking_enable(), partner_walking_follow_player(), partner_walking_update_motion(), PatrolAI_ChaseInit(), PatrolAI_Jump(), PatrolAI_JumpInit(), PatrolAI_Loiter(), PatrolAI_Move(), PatrolAI_MoveInit(), PatrolNoAttackAI_15(), peach_make_disguise_npc(), peach_sync_disguise_npc(), PiranhaPlantAI_10(), player_jump(), ProjectileHitbox_32(), ProjectileHitbox_GetUsableProjectileID(), render_npcs(), SentinelAI_Chase(), SentinelAI_ChaseInit(), SentinelAI_Descend(), SentinelAI_DescendInit(), SentinelAI_LosePlayer(), SentinelAI_ReturnHome(), SentinelAI_ReturnHomeInit(), set_script_owner_npc_anim(), sfx_play_sound_at_npc(), spawn_drops(), SpearGuyAI_Loiter(), sync_held_position(), sync_player_position(), test_first_strike(), UnkDistFunc(), UnkNpcAIFunc12(), update_encounters_neutral(), update_npc_blur(), update_npcs(), and update_player().

◆ rot

◆ rotPivotOffsetY

f32 Npc::rotPivotOffsetY

Definition at line 238 of file common_structs.h.

Referenced by appendGfx_npc(), and create_npc_impl().

◆ scale

◆ moveToPos

◆ colliderPos

Vec3f Npc::colliderPos

◆ shadowIndex

◆ shadowScale

f32 Npc::shadowScale

Definition at line 243 of file common_structs.h.

Referenced by create_encounters(), create_npc_impl(), and update_npcs().

◆ collisionChannel

◆ curFloor

◆ curWall

s16 Npc::curWall

◆ isFacingAway

b16 Npc::isFacingAway

◆ yawCamOffset

◆ turnAroundYawAdjustment

◆ duration

s16 Npc::duration

Definition at line 250 of file common_structs.h.

Referenced by _npc_jump_to(), ai_suspend_for_time(), ai_try_set_state(), AvoidPlayerAI_Chase(), AvoidPlayerAI_ChaseInit(), AvoidPlayerAI_LosePlayer(), basic_ai_chase(), basic_ai_chase_init(), basic_ai_loiter(), basic_ai_loiter_init(), basic_ai_lose_player(), basic_ai_wander(), basic_ai_wander_init(), BooPatrolAI_Loiter(), CleftAI_Ambush(), CleftAI_Disguise(), CleftAI_DisguiseInit(), CleftAI_FindPlayer(), CleftAI_Hiding(), CleftAI_HidingInit(), CleftAI_LosePlayer(), CleftAI_PostDisguise(), CleftAI_PreAmbush(), CleftAI_ReturnHome(), CleftAI_RevUp(), CleftAI_RevUpInit(), CleftAI_Tackle(), ClubbaNappingAI_FallAsleep(), ClubbaNappingAI_Init(), ClubbaNappingAI_Loiter(), ClubbaNappingAI_ReturnHome(), ClubbaNappingAI_ReturnHomeInit(), ClubbaNappingAI_Sleep(), ClubbaNappingAI_WakeUp(), FlyingAI_Chase(), FlyingAI_ChaseInit(), FlyingAI_Jump(), FlyingAI_JumpInit(), FlyingAI_Loiter(), FlyingAI_LoiterInit(), FlyingAI_LosePlayer(), FlyingAI_Wander(), FlyingAI_WanderInit(), FlyingMagikoopaAI_10(), FlyingMagikoopaAI_11(), FlyingMagikoopaAI_15(), FlyingMagikoopaAI_17(), FlyingMagikoopaAI_20(), FlyingMagikoopaAI_21(), FlyingMagikoopaAI_22(), FlyingMagikoopaAI_23(), FlyingMagikoopaAI_24(), FlyingMagikoopaAI_50(), FlyingNoAttackAI_12(), FlyingNoAttackAI_13(), FlyingNoAttackAI_20(), GrooveGuyAI_02(), GuardAI_Chase(), GuardAI_ChaseInit(), GuardAI_LosePlayer(), HoppingAI_Chase(), HoppingAI_Loiter(), HoppingAI_LoiterInit(), HoppingAI_LosePlayer(), LakituAI_Loiter(), LakituAI_Wander(), MagikoopaAI_00(), MagikoopaAI_01(), MagikoopaAI_05(), MagikoopaAI_06(), MagikoopaAI_10(), MagikoopaAI_11(), MagikoopaAI_20(), MagikoopaAI_21(), MagikoopaAI_22(), MagikoopaAI_23(), MagikoopaAI_24(), MeleeHitbox_30(), MeleeHitbox_31(), MeleeHitbox_32(), MeleeHitbox_33(), npc_follow_npc(), ParatroopaAI_Dive(), ParatroopaAI_Overshoot(), ParatroopaAI_Reset(), ParatroopaAI_Windup(), partner_flying_follow_player(), partner_get_out(), partner_put_away(), partner_walking_follow_player(), PatrolAI_Chase(), PatrolAI_ChaseInit(), PatrolAI_Loiter(), PatrolAI_LoiterInit(), PatrolAI_LosePlayer(), PiranhaPlantAI_00(), PiranhaPlantAI_01(), PiranhaPlantAI_10(), PiranhaPlantAI_11(), PiranhaPlantAI_12(), PiranhaPlantAI_13(), PiranhaPlantAI_LosePlayer(), player_jump(), ProjectileHitbox_30(), ProjectileHitbox_31(), ProjectileHitbox_32(), ProjectileHitbox_33(), SentinelAI_Chase(), SentinelAI_ChaseInit(), SentinelAI_Descend(), SentinelAI_DescendInit(), SentinelAI_GrabPlayer(), SentinelAI_LosePlayer(), SentinelAI_LosePlayerInit(), SentinelAI_PostLosePlayer(), set_script_owner_npc_anim(), set_script_owner_npc_col_height(), ShyGuyPatrolAI_14(), ShyGuyPatrolAI_15(), ShyGuyPatrolAI_16(), ShyGuyPatrolAI_17(), ShyGuyWanderAI_14(), ShyGuyWanderAI_15(), ShyGuyWanderAI_16(), ShyGuyWanderAI_17(), SpearGuyAI_LoiterInit(), UnkDistFunc(), UnkNpcAIFunc12(), and UnkNpcAIFunc48().

◆ homePos

Vec3s Npc::homePos

Definition at line 251 of file common_structs.h.

Referenced by create_encounters(), and create_npc_impl().

◆ unk_96

s16 Npc::unk_96

Definition at line 252 of file common_structs.h.

Referenced by create_encounters(), and create_npc_impl().

◆ imgfxType

s16 Npc::imgfxType

Definition at line 253 of file common_structs.h.

Referenced by create_npc_impl(), npc_imgfx_update(), and npc_set_imgfx_params().

◆ imgfxArg1

s16 Npc::imgfxArg1

Definition at line 254 of file common_structs.h.

Referenced by npc_imgfx_update(), and npc_set_imgfx_params().

◆ imgfxArg2

s16 Npc::imgfxArg2

Definition at line 255 of file common_structs.h.

Referenced by npc_imgfx_update(), and npc_set_imgfx_params().

◆ imgfxArg3

s16 Npc::imgfxArg3

Definition at line 256 of file common_structs.h.

Referenced by npc_imgfx_update(), and npc_set_imgfx_params().

◆ imgfxArg4

s16 Npc::imgfxArg4

Definition at line 257 of file common_structs.h.

Referenced by npc_imgfx_update(), and npc_set_imgfx_params().

◆ imgfxFlags

u16 Npc::imgfxFlags

Definition at line 258 of file common_structs.h.

Referenced by create_npc_impl(), npc_imgfx_update(), and npc_set_imgfx_params().

◆ npcID

◆ unk_A5

char Npc::unk_A5

Definition at line 260 of file common_structs.h.

◆ collisionDiameter

◆ collisionHeight

s16 Npc::collisionHeight

Definition at line 262 of file common_structs.h.

Referenced by _show_message(), ai_check_fwd_collisions(), AvoidPlayerAI_Chase(), AvoidPlayerAI_ChaseInit(), basic_ai_chase(), basic_ai_check_player_dist(), basic_ai_loiter(), basic_ai_wander(), check_conversation_trigger(), CleftAI_Ambush(), CleftAI_FindPlayer(), CleftAI_Hiding(), CleftAI_HidingInit(), CleftAI_Tackle(), ClubbaNappingAI_Sleep(), create_encounters(), create_npc_impl(), create_partner_npc(), FlyingAI_Loiter(), FlyingAI_LosePlayer(), FlyingAI_Wander(), FlyingMagikoopaAI_11(), FlyingMagikoopaAI_15(), FlyingMagikoopaAI_21(), FlyingMagikoopaAI_23(), FlyingNoAttackAI_13(), GuardAI_Chase(), GuardAI_Idle(), GuardAI_ReturnHome(), HoppingAI_Chase(), HoppingAI_Hop(), HoppingAI_HopInit(), HoppingAI_Loiter(), init(), interact_speech_setup(), interact_speech_update(), LakituAI_Loiter(), LakituAI_Wander(), MagikoopaAI_21(), MagikoopaAI_23(), MeleeHitbox_32(), MeleeHitbox_CanSeePlayer(), npc_do_other_npc_collision(), npc_do_player_collision(), npc_do_world_collision(), npc_update_decoration_bowser_aura(), npc_update_decoration_glow_behind(), npc_update_decoration_glow_in_front(), npc_update_decoration_seeing_stars(), npc_update_decoration_sweat(), ParatroopaAI_Overshoot(), ParatroopaAI_Windup(), partner_flying_follow_player(), partner_flying_update_motion(), partner_flying_update_player_tracking(), partner_get_out(), partner_move_to_goal(), partner_walking_follow_player(), PatrolAI_Chase(), PatrolAI_Loiter(), PatrolAI_Move(), PiranhaPlantAI_01(), PiranhaPlantAI_10(), PiranhaPlantAI_12(), PiranhaPlantAI_LosePlayer(), ProjectileHitbox_30(), ProjectileHitbox_GetUsableProjectileID(), SentinelAI_LosePlayer(), SentinelAI_ReturnHome(), set_script_owner_npc_col_height(), spawn_drops(), SpearGuyAI_Loiter(), test_first_strike(), UnkDistFunc(), UnkNpcAIFunc12(), UnkNpcAIFunc48(), update_encounters_neutral(), and update_npcs().

◆ renderMode

s8 Npc::renderMode

◆ verticalRenderOffset

s8 Npc::verticalRenderOffset

Definition at line 264 of file common_structs.h.

Referenced by appendGfx_npc(), and create_npc_impl().

◆ alpha

◆ hideAlpha

◆ unk_AE

char Npc::unk_AE[2]

Definition at line 267 of file common_structs.h.

◆ extraAnimList

AnimID* Npc::extraAnimList

Definition at line 268 of file common_structs.h.

Referenced by create_npc_impl(), npc_reload_all(), set_npc_sprite(), and update_npcs().

◆ palSwapType

◆ palSwapPrevType

s8 Npc::palSwapPrevType

◆ resetPalAdjust

◆ palAnimState

◆ unk_B8

char Npc::unk_B8[4]

Definition at line 273 of file common_structs.h.

◆ nextPalTime

◆ palBlendAlpha

◆ spriteColorVariations

s8 Npc::spriteColorVariations

Definition at line 276 of file common_structs.h.

Referenced by npc_reload_all(), and npc_render_with_watt_idle_palettes().

◆ originalPalettesCount

◆ unk_C2

char Npc::unk_C2[2]

Definition at line 278 of file common_structs.h.

◆ originalPalettesList

◆ copiedPalettes

u16 Npc::copiedPalettes[16][16]

◆ adjustedPalettes

u16* Npc::adjustedPalettes[16]

◆ blendPalA

◆ blendPalB

◆ palswapTimeHoldA

u16 Npc::palswapTimeHoldA

◆ palswapTimeAtoB

s16 Npc::palswapTimeAtoB

◆ palswapTimeHoldB

s16 Npc::palswapTimeHoldB

◆ palswapTimeBtoA

s16 Npc::palswapTimeBtoA

◆ blendPalC

s16 Npc::blendPalC

Definition at line 288 of file common_structs.h.

Referenced by npc_render_with_double_pal_blending(), and npc_set_palswap_2().

◆ blendPalD

s16 Npc::blendPalD

Definition at line 289 of file common_structs.h.

Referenced by npc_render_with_double_pal_blending(), and npc_set_palswap_2().

◆ screenSpaceOffset2D

f32 Npc::screenSpaceOffset2D[2]

◆ verticalStretch

f32 Npc::verticalStretch

◆ decorations

◆ decorationType

◆ changedDecoration

s8 Npc::changedDecoration[2]

Definition at line 294 of file common_structs.h.

Referenced by npc_set_decoration().

◆ decorationInitialized

◆ decorationGlowPhase

s16 Npc::decorationGlowPhase[2]

Definition at line 296 of file common_structs.h.

Referenced by npc_update_decoration_charged(), and npc_update_decoration_sweat().

◆ unk_336

char Npc::unk_336[10]

Definition at line 297 of file common_structs.h.


The documentation for this struct was generated from the following file: