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 |
Evt * | boundScript |
EvtScript * | boundScriptBytecode |
s32 * | savedReadPos [3] |
EntityBlueprint * | blueprint |
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 |
s32 Entity::flags |
Definition at line 551 of file common_structs.h.
Referenced by check_input_jump(), create_entity(), delete_entity(), delete_entity_and_unload_data(), entity_base_block_idle(), entity_base_block_init(), entity_base_block_update_slow_sinking(), entity_BlueSwitch_init(), entity_Chest_check_opened(), entity_Chest_close(), entity_Chest_idle(), entity_get_collision_flags(), entity_HeartBlockContent__anim_heal(), entity_HeartBlockContent__reset(), entity_HiddenPanel_flip_over(), entity_HiddenPanel_hide(), entity_HiddenPanel_idle(), entity_HitItemBlock_hide(), entity_HitItemBlock_show_inactive(), entity_init_HammerBlock_small(), entity_ItemBlock_replace_with_inactive(), entity_ItemBlock_spawn_item(), entity_MulticoinBlock_check_if_inactive(), entity_MulticoinBlock_idle(), entity_MulticoinBlock_spawn_coin(), entity_Padlock_idle(), entity_Padlock_push_player(), entity_PinkFlower_idle(), entity_reset_collision(), entity_set_render_script(), entity_Signpost_idle(), entity_start_script(), entity_TriggerBlock_start_bound_script(), entity_try_partner_interaction_trigger(), func_802BC99C_E312EC(), interact_inspect_update(), load_split_entity_data(), player_raycast_down(), player_raycast_general(), render_entities(), step_entity_commandlist(), test_ray_entities(), try_cancel_tweester(), update_entities(), and update_entity_shadow_position().
u8 Entity::listIndex |
Definition at line 552 of file common_structs.h.
Referenced by create_entity(), entity_block_handle_collision(), entity_block_hit_animate_scale(), entity_block_hit_init_scale(), entity_breakable_block_create_shattering_entity(), entity_get_collision_flags(), entity_HeartBlock_create_child_entity(), entity_HiddenPanel_idle(), entity_HitItemBlock_play_anim(), entity_ItemBlock_check_if_inactive(), entity_ItemBlock_replace_with_inactive(), entity_PinkFlower_init(), entity_shattering_block_init(), entity_StarBoxLauncher_check_launch(), entity_upgrade_block_check_if_inactive(), load_simple_entity_data(), load_split_entity_data(), render_entities(), and update_entities().
s8 Entity::unk_05 |
Definition at line 553 of file common_structs.h.
Referenced by create_entity().
u8 Entity::collisionFlags |
Definition at line 554 of file common_structs.h.
Referenced by action_update_spin_jump(), action_update_tornado_jump(), create_entity(), entity_ArrowSign_handle_collision(), entity_base_block_update_slow_sinking(), entity_BellbellPlant_idle(), entity_block_handle_collision(), entity_BlueWarpPipe_idle(), Entity_BoardedFloor_idle(), entity_BombableRock_idle(), entity_can_collide_with_jumping_player(), entity_Chest_idle(), entity_CymbalPlant_idle(), entity_GreenStompSwitch_idle(), entity_HiddenPanel_idle(), entity_HugeBlueSwitch_idle(), entity_MulticoinBlock_idle(), entity_Padlock_push_player(), entity_PinkFlower_idle(), entity_RedSwitch_wait_and_reset(), entity_ScriptSpring_idle(), entity_Signpost_idle(), entity_SimpleSpring_idle(), entity_small_switch_idle(), entity_StarBoxLauncher_check_launch(), entity_TrumpetPlant_idle(), entity_WoodenCrate_idle(), func_802BB000_E2D930(), func_802BB0A0_E2D9D0(), func_802BC050_E2E980(), phys_player_land(), and update_entities().
s8 Entity::collisionTimer |
Definition at line 555 of file common_structs.h.
Referenced by action_hammer_end_swing(), create_entity(), entity_reset_collision(), player_raycast_down(), player_raycast_general(), and update_entities().
u8 Entity::unk_08 |
Definition at line 556 of file common_structs.h.
Referenced by create_entity().
u8 Entity::scriptDelay |
Definition at line 557 of file common_structs.h.
Referenced by create_entity(), set_entity_commandlist(), step_entity_commandlist(), and update_entities().
u8 Entity::type |
Definition at line 558 of file common_structs.h.
Referenced by check_input_jump(), create_entity(), and entity_MulticoinBlock_update_timer().
u8 Entity::alpha |
Definition at line 559 of file common_structs.h.
Referenced by create_entity(), entity_base_block_setupGfx(), entity_base_block_update_slow_sinking(), entity_block_handle_collision(), Entity_BoardedFloor_init_fragments(), entity_BombableRock_init_fragments(), entity_HeartBlockContent__anim_heal(), entity_HeartBlockContent__reset(), entity_HeartBlockContent__setupGfx(), entity_HiddenItemBlock_idle(), entity_HiddenItemBlock_init(), entity_HitItemBlock_appear(), entity_ItemBlock_replace_with_inactive(), entity_ItemBlock_setupGfx(), entity_PinkFlowerLight_idle(), entity_PinkFlowerLight_setupGfx(), entity_shattering_init_pieces(), entity_SuperBlockContent_setupGfx(), entity_WoodenCrate_init_fragments(), player_raycast_down(), player_raycast_general(), and update_entity_shadow_position().
Vec3s Entity::aabb |
Definition at line 560 of file common_structs.h.
Referenced by create_entity(), test_player_entity_aabb(), test_ray_entities(), update_entity_inverse_rotation_matrix(), and update_entity_shadow_position().
s16 Entity::vertexSegment |
Definition at line 561 of file common_structs.h.
Referenced by load_simple_entity_data(), load_split_entity_data(), and render_entities().
s16 Entity::virtualModelIndex |
Definition at line 562 of file common_structs.h.
Referenced by create_entity(), delete_entity(), delete_entity_and_unload_data(), entity_BellbellPlant_idle(), entity_CymbalPlant_idle(), entity_HitItemBlock_play_anim(), entity_ItemlessBlock_init(), entity_PinkFlower_idle(), entity_PinkFlower_init(), entity_ScriptSpring_idle(), entity_set_render_script(), entity_SimpleSpring_idle(), entity_TrumpetPlant_idle(), func_802BC0B8_E2E9E8(), load_split_entity_data(), render_entities(), and update_entities().
s16 Entity::shadowIndex |
Definition at line 563 of file common_structs.h.
Referenced by create_entity(), create_entity_shadow(), delete_entity(), delete_entity_and_unload_data(), entity_base_block_update_slow_sinking(), entity_HitItemBlock_hide(), entity_HitItemBlock_show_inactive(), entity_ItemBlock_replace_with_inactive(), update_entities(), and update_entity_shadow_position().
s32* Entity::scriptReadPos |
Definition at line 564 of file common_structs.h.
Referenced by create_entity(), set_entity_commandlist(), step_entity_commandlist(), and update_entities().
EntityCallback Entity::updateScriptCallback |
Definition at line 565 of file common_structs.h.
Referenced by create_entity(), step_entity_commandlist(), and update_entities().
EntityCallback Entity::updateMatrixOverride |
Definition at line 566 of file common_structs.h.
Referenced by create_entity(), and update_entity_transform_matrix().
Evt* Entity::boundScript |
Definition at line 567 of file common_structs.h.
Referenced by create_entity(), and update_entities().
EvtScript* Entity::boundScriptBytecode |
Definition at line 568 of file common_structs.h.
Referenced by check_input_jump(), entity_BlueWarpPipe_start_bound_script(), entity_start_script(), entity_TriggerBlock_start_bound_script(), step_entity_commandlist(), and update_entities().
s32* Entity::savedReadPos[3] |
Definition at line 569 of file common_structs.h.
Referenced by create_entity(), set_entity_commandlist(), and step_entity_commandlist().
EntityBlueprint* Entity::blueprint |
Definition at line 570 of file common_structs.h.
Referenced by create_entity(), create_entity_shadow(), delete_entity_and_unload_data(), func_80111790(), get_entity_type(), and update_entities().
void(* Entity::renderSetupFunc) (s32) |
Definition at line 571 of file common_structs.h.
Referenced by create_entity(), entity_ArrowSign_init(), Entity_BoardedFloor_init_fragments(), entity_BombableRock_init_fragments(), entity_Chest_init(), entity_GiantChest_init(), entity_HeartBlockContent__anim_heal(), entity_HeartBlockContent__reset(), entity_HiddenPanel_init(), entity_init_BlueWarpPipe(), entity_init_Hammer1Block_normal(), entity_init_SuperBlockContent(), entity_init_UltraBlockContent(), entity_ItemBlock_init(), entity_ItemlessBlock_init(), entity_Padlock_init(), entity_PadlockBlueFace_init(), entity_PadlockRedFace_init(), entity_PadlockRedFrame_init(), entity_PinkFlowerLight_init(), entity_SaveBlock_init(), entity_shattering_init_pieces(), entity_SpinningFlower_init(), entity_StarBoxLauncher_init(), entity_SuperBlockContent_idle(), entity_Tweester_init(), entity_WoodenCrate_init_fragments(), and render_entities().
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().
void* Entity::gfxBaseAddr |
Definition at line 573 of file common_structs.h.
Referenced by create_entity(), entity_HiddenPanel_init(), entity_HiddenPanel_setupGfx(), load_simple_entity_data(), load_split_entity_data(), and render_entities().
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().
Vec3f Entity::scale |
Definition at line 575 of file common_structs.h.
Referenced by create_entity(), entity_base_switch_animate_scale(), entity_block_hit_animate_scale(), entity_block_hit_init_scale(), entity_BlueWarpPipe_setupGfx(), entity_Chest_init(), entity_HeartBlockContent__reset(), entity_HeartBlockContent_anim_beating(), entity_HeartBlockContent_anim_idle(), entity_HeartBlockContent_reset_data(), entity_HiddenPanel_init(), entity_HugeBlueSwitch_init(), entity_init_HammerBlock_small(), entity_Padlock_setupGfx(), entity_PinkFlowerLight_idle(), entity_PinkFlowerLight_init(), entity_PinkFlowerLight_setupGfx(), entity_RedSwitch_animate_scale(), entity_shattering_block_init(), entity_Tweester_anim_scale(), entity_Tweester_init(), entity_WoodenCrate_init(), update_entity_shadow_position(), and update_entity_transform_matrix().
Vec3f Entity::rot |
Definition at line 576 of file common_structs.h.
Referenced by create_entity(), entity_Chest_idle(), entity_GiantChest_give_equipment(), entity_HeartBlockContent__anim_heal(), entity_HeartBlockContent__reset(), entity_HeartBlockContent_reset_data(), entity_HiddenPanel_flip_over(), entity_HiddenPanel_init(), entity_ItemBlock_check_if_inactive(), entity_ItemBlock_replace_with_inactive(), entity_MulticoinBlock_check_if_inactive(), entity_MulticoinBlock_idle(), entity_MulticoinBlock_spawn_coin(), entity_Munchlesia_create_child(), entity_Padlock_idle(), entity_Padlock_push_player(), entity_Padlock_setupGfx(), entity_PinkFlower_init(), entity_PinkFlowerLight_idle(), entity_PinkFlowerLight_setupGfx(), entity_Signpost_idle(), entity_StarBoxLauncher_launch(), entity_SuperBlockContent_idle(), entity_TrumpetPlant_create_effect(), entity_TrumpetPlant_spawn_coin(), entity_Tweester_idle(), entity_upgrade_block_init(), test_ray_entities(), update_entities(), update_entity_inverse_rotation_matrix(), update_entity_shadow_position(), and update_entity_transform_matrix().
f32 Entity::shadowPosY |
Definition at line 577 of file common_structs.h.
Referenced by entity_Padlock_idle(), and update_entity_shadow_position().
Matrix4f Entity::inverseTransformMatrix |
Definition at line 578 of file common_structs.h.
Referenced by test_ray_entities(), and update_entity_inverse_rotation_matrix().
f32 Entity::effectiveSize |
Definition at line 579 of file common_structs.h.
Referenced by test_ray_entities(), and update_entity_inverse_rotation_matrix().
char Entity::unk_B4[4] |
Definition at line 580 of file common_structs.h.
Mtx Entity::transformMatrix |
Definition at line 581 of file common_structs.h.
Referenced by render_entities(), and update_entity_transform_matrix().