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

Detailed Description

Definition at line 550 of file common_structs.h.

#include "common_structs.h"

Data Fields

s32 flags
 
u8 listIndex
 
s8 unk_05
 
u8 collisionFlags
 
s8 collisionTimer
 
u8 unk_08
 
u8 scriptDelay
 
u8 type
 
u8 alpha
 
Vec3s aabb
 
s16 vertexSegment
 
s16 virtualModelIndex
 
s16 shadowIndex
 
s32 * scriptReadPos
 
EntityCallback updateScriptCallback
 
EntityCallback updateMatrixOverride
 
EvtboundScript
 
EvtScriptboundScriptBytecode
 
s32 * savedReadPos [3]
 
EntityBlueprintblueprint
 
void(* renderSetupFunc )(s32)
 
EntityData dataBuf
 
void * gfxBaseAddr
 
Vec3f pos
 
Vec3f scale
 
Vec3f rot
 
f32 shadowPosY
 
Matrix4f inverseTransformMatrix
 
f32 effectiveSize
 
char unk_B4 [4]
 
Mtx transformMatrix
 

Field Documentation

◆ flags

◆ listIndex

◆ unk_05

s8 Entity::unk_05

Definition at line 553 of file common_structs.h.

Referenced by create_entity().

◆ collisionFlags

◆ collisionTimer

◆ unk_08

u8 Entity::unk_08

Definition at line 556 of file common_structs.h.

Referenced by create_entity().

◆ scriptDelay

u8 Entity::scriptDelay

◆ type

u8 Entity::type

◆ alpha

◆ aabb

◆ vertexSegment

s16 Entity::vertexSegment

◆ virtualModelIndex

◆ shadowIndex

◆ scriptReadPos

s32* Entity::scriptReadPos

◆ updateScriptCallback

EntityCallback Entity::updateScriptCallback

Definition at line 565 of file common_structs.h.

Referenced by create_entity(), step_entity_commandlist(), and update_entities().

◆ updateMatrixOverride

EntityCallback Entity::updateMatrixOverride

Definition at line 566 of file common_structs.h.

Referenced by create_entity(), and update_entity_transform_matrix().

◆ boundScript

Evt* Entity::boundScript

Definition at line 567 of file common_structs.h.

Referenced by create_entity(), and update_entities().

◆ boundScriptBytecode

◆ savedReadPos

s32* Entity::savedReadPos[3]

◆ blueprint

◆ renderSetupFunc

◆ dataBuf

EntityData Entity::dataBuf

Definition at line 572 of file common_structs.h.

Referenced by create_entity(), delete_entity(), delete_entity_and_unload_data(), entity_ArrowSign_init(), entity_ArrowSign_setupGfx(), entity_base_block_idle(), entity_base_block_init(), entity_base_block_update_slow_sinking(), entity_base_switch_anim_init(), entity_base_switch_animate_scale(), entity_base_switch_init(), entity_base_switch_start_bound_script(), entity_BlueSwitch_init(), entity_BlueWarpPipe_check_if_active(), entity_BlueWarpPipe_enter_pipe_init(), entity_BlueWarpPipe_enter_pipe_update(), entity_BlueWarpPipe_rise_up(), entity_BlueWarpPipe_set_player_move_to_center(), entity_BlueWarpPipe_setupGfx(), entity_BlueWarpPipe_start_bound_script(), entity_BlueWarpPipe_wait_for_player_to_get_off(), entity_BlueWarpPipe_wait_player_move_to_center(), Entity_BoardedFloor_init(), Entity_BoardedFloor_init_fragments(), Entity_BoardedFloor_setupGfx(), Entity_BoardedFloor_shatter(), Entity_BoardedFloor_update_fragments(), entity_BombableRock_init(), entity_BombableRock_init_fragments(), entity_BombableRock_setupGfx(), entity_BombableRock_update_fragments(), entity_Chest_begin_opening(), entity_Chest_check_opened(), entity_Chest_clear_item_id(), entity_Chest_close(), entity_Chest_enable_player_input(), entity_Chest_idle(), entity_Chest_init(), entity_Chest_open(), entity_Chest_readargs(), entity_Chest_setupGfx(), entity_CymbalPlant_idle(), entity_GiantChest_await_got_item(), entity_GiantChest_give_equipment(), entity_GiantChest_hide_effect(), entity_GiantChest_open(), entity_GreenStompSwitch_extend(), entity_GreenStompSwitch_idle(), entity_GreenStompSwitch_retract(), entity_HeartBlock_create_child_entity(), entity_HeartBlockContent__anim_heal(), entity_HeartBlockContent__reset(), entity_HeartBlockContent__setupGfx(), entity_HeartBlockContent_anim_beating(), entity_HeartBlockContent_anim_idle(), entity_HeartBlockContent_reset_data(), entity_HeartBlockContent_set_initial_pos(), entity_HiddenPanel_flip_over(), entity_HiddenPanel_idle(), entity_HiddenPanel_init(), entity_HiddenPanel_is_item_on_top(), entity_HiddenPanel_set_ispy_notification(), entity_HiddenPanel_setupGfx(), entity_HitItemBlock_show_inactive(), entity_HugeBlueSwitch_init(), entity_inactive_block_hit_anim(), entity_inactive_block_hit_init(), entity_inactive_block_recoil_anim(), entity_init_BlueWarpPipe(), entity_init_HammerBlock_small(), entity_init_SuperBlockContent(), entity_init_UltraBlockContent(), entity_ItemBlock_check_if_inactive(), entity_ItemBlock_init(), entity_ItemBlock_replace_with_inactive(), entity_ItemBlock_spawn_item(), entity_MulticoinBlock_check_if_inactive(), entity_MulticoinBlock_idle(), entity_MulticoinBlock_init(), entity_MulticoinBlock_spawn_coin(), entity_MulticoinBlock_update_timer(), entity_MunchlesiaChewing_init(), entity_Padlock_idle(), entity_Padlock_init(), entity_Padlock_push_player(), entity_Padlock_setupGfx(), entity_PadlockBlueFace_init(), entity_PadlockRedFace_init(), entity_PadlockRedFrame_init(), entity_PinkFlower_idle(), entity_PinkFlower_init(), entity_PinkFlowerLight_idle(), entity_PinkFlowerLight_setupGfx(), entity_RedSwitch_animate_scale(), entity_SaveBlock_idle(), entity_SaveBlock_init(), entity_SaveBlock_setupGfx(), entity_shattering_block_init(), entity_shattering_idle(), entity_shattering_init_pieces(), entity_shattering_setupGfx(), entity_SimpleSpring_idle(), entity_SimpleSpring_init(), entity_SimpleSpring_set_jump_params(), entity_small_switch_idle(), entity_SpinningFlower_init(), entity_SpinningFlower_setupGfx(), entity_StarBoxLauncher_check_launch(), entity_StarBoxLauncher_init(), entity_StarBoxLauncher_launch(), entity_StarBoxLauncher_restore_pos(), entity_StarBoxLauncher_setupGfx(), entity_StarBoxLauncher_shake_box(), entity_StarBoxLauncher_start_script(), entity_StarBoxLauncher_update_face_anim(), entity_SuperBlockContent_attach_to_parent(), entity_SuperBlockContent_idle(), entity_SuperBlockContent_setupGfx(), entity_switch_fall_down(), entity_TrumpetPlant_spawn_coin(), entity_Tweester_has_reached_target(), entity_Tweester_idle(), entity_Tweester_init(), entity_Tweester_move(), entity_Tweester_render_face(), entity_Tweester_render_inner_whirl(), entity_Tweester_render_outer_whirl(), entity_Tweester_select_target_point(), entity_Tweester_setupGfx(), entity_Tweester_update_face_anim(), entity_upgrade_block_check_if_inactive(), entity_upgrade_block_hide_content(), entity_upgrade_block_init(), entity_WoodenCrate_init(), entity_WoodenCrate_init_fragments(), entity_WoodenCrate_reset_fragments(), entity_WoodenCrate_setupGfx(), entity_WoodenCrate_shatter(), entity_WoodenCrate_update_fragments(), func_802BB000_E2D930(), func_802BB0A0_E2D9D0(), func_802BB228_E2DB58(), func_802BB8D4_E2E204(), func_802BB98C_E2E2BC(), func_802BC050_E2E980(), func_802BC0F0_E2EA20(), func_802BC17C_E2EAAC(), func_802BC220_E2EB50(), and func_802BC3E4_E2ED14().

◆ gfxBaseAddr

◆ pos

Vec3f Entity::pos

Definition at line 574 of file common_structs.h.

Referenced by action_update_landing_on_switch(), action_update_spin_jump(), action_update_use_spinning_flower(), action_update_use_tweester(), create_entity(), entity_base_block_idle(), entity_base_block_init(), entity_base_block_play_vanish_effect(), entity_base_block_update_slow_sinking(), entity_base_switch_animate_scale(), entity_block_handle_collision(), entity_block_hit_animate_scale(), entity_block_hit_init_scale(), entity_BlueWarpPipe_rise_up(), entity_BlueWarpPipe_setupGfx(), Entity_BoardedFloor_init(), Entity_BoardedFloor_init_fragments(), Entity_BoardedFloor_setupGfx(), entity_BombableRock_idle(), entity_BombableRock_init(), entity_BombableRock_init_fragments(), entity_BombableRock_setupGfx(), entity_breakable_block_create_shattering_entity(), entity_Chest_idle(), entity_GiantChest_give_equipment(), entity_GiantChest_open(), entity_GreenStompSwitch_extend(), entity_GreenStompSwitch_retract(), entity_HeartBlock_create_child_entity(), entity_HeartBlockContent__anim_heal(), entity_HeartBlockContent_anim_idle(), entity_HeartBlockContent_set_initial_pos(), entity_HiddenPanel_flip_over(), entity_HiddenPanel_idle(), entity_HiddenPanel_init(), entity_HiddenPanel_is_item_on_top(), entity_HiddenPanel_setupGfx(), entity_inactive_block_hit_anim(), entity_inactive_block_recoil_anim(), entity_init_BlueWarpPipe(), entity_init_HammerBlock_small(), entity_ItemBlock_check_if_inactive(), entity_ItemBlock_replace_with_inactive(), entity_ItemBlock_spawn_item(), entity_MulticoinBlock_check_if_inactive(), entity_MulticoinBlock_idle(), entity_MulticoinBlock_spawn_coin(), entity_Munchlesia_create_child(), entity_Munchlesia_init(), entity_Padlock_idle(), entity_Padlock_push_player(), entity_Padlock_setupGfx(), entity_PinkFlower_init(), entity_PinkFlowerLight_setupGfx(), entity_ScriptSpring_idle(), entity_shattering_block_init(), entity_shattering_init_pieces(), entity_shattering_setupGfx(), entity_Signpost_idle(), entity_SimpleSpring_idle(), entity_SimpleSpring_set_jump_params(), entity_SpinningFlower_init(), entity_StarBoxLauncher_check_launch(), entity_StarBoxLauncher_init(), entity_StarBoxLauncher_launch(), entity_StarBoxLauncher_restore_pos(), entity_StarBoxLauncher_setupGfx(), entity_StarBoxLauncher_shake_box(), entity_SuperBlockContent_attach_to_parent(), entity_SuperBlockContent_idle(), entity_switch_fall_down(), entity_TriggerBlock_play_vanish_effect(), entity_TrumpetPlant_create_effect(), entity_TrumpetPlant_spawn_coin(), entity_Tweester_has_reached_target(), entity_Tweester_idle(), entity_Tweester_move(), entity_upgrade_block_check_if_inactive(), entity_WoodenCrate_init_fragments(), entity_WoodenCrate_reset_fragments(), entity_WoodenCrate_setupGfx(), entity_WoodenCrate_shatter(), func_802BB0A0_E2D9D0(), func_802BB314_E2DC44(), func_802BB8D4_E2E204(), func_802BC0F0_E2EA20(), is_block_on_ground(), npc_find_standing_on_entity(), render_entities(), test_player_entity_aabb(), test_ray_entities(), update_entity_shadow_position(), and update_entity_transform_matrix().

◆ scale

◆ rot

◆ shadowPosY

f32 Entity::shadowPosY

Definition at line 577 of file common_structs.h.

Referenced by entity_Padlock_idle(), and update_entity_shadow_position().

◆ inverseTransformMatrix

Matrix4f Entity::inverseTransformMatrix

Definition at line 578 of file common_structs.h.

Referenced by test_ray_entities(), and update_entity_inverse_rotation_matrix().

◆ effectiveSize

f32 Entity::effectiveSize

Definition at line 579 of file common_structs.h.

Referenced by test_ray_entities(), and update_entity_inverse_rotation_matrix().

◆ unk_B4

char Entity::unk_B4[4]

Definition at line 580 of file common_structs.h.

◆ transformMatrix

Mtx Entity::transformMatrix

Definition at line 581 of file common_structs.h.

Referenced by render_entities(), and update_entity_transform_matrix().


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