6#define NAMESPACE inspect_icon
30#include "inspect_icon.png.h"
33#include "inspect_icon.gfx.inc.c"
76 G_MTX_PUSH | G_MTX_LOAD | G_MTX_MODELVIEW);
79 ifxImg.
raster = inspect_icon_img;
80 ifxImg.
palette = inspect_icon_pal;
81 ifxImg.
width = inspect_icon_img_width;
82 ifxImg.
height = inspect_icon_img_height;
100 s32 curInteraction = collisionStatus->
curWall;
107 curInteraction = floor;
130 playerStatus->
flags &= ~PS_FLAG_INTERACTED;
138 playerStatus->
flags &= ~PS_FLAG_INTERACTED;
145 playerStatus->
flags &= ~PS_FLAG_INTERACTED;
155 playerStatus->
flags &= ~PS_FLAG_INTERACTED;
190 delta = (playerHeadY + 8.0f + bounceDeltaY - lastPosY) * 0.25f;
192 delta = (playerHeadY + 2.0f + bounceDeltaY - lastPosY) * 0.25f;
199 s32 brightness = 255;
225 if (angle >= 360.0f) {
234 if (angle >= 360.0f) {
242 if ((angle >= 70.0f && angle <= 110.0f) || (angle >= 250.0f && angle <= 290.0f)) {
s32 N GetIconBrightnessForAngle(f32 angle)
@ PS_FLAG_HAS_CONVERSATION_NPC
@ ENTITY_TYPE_PADLOCK_RED_FACE
@ ENTITY_TYPE_PADLOCK_RED_FRAME
@ ENTITY_TYPE_PADLOCK_BLUE_FACE
@ PA_FLAG_USING_PEACH_PHYSICS
@ PA_FLAG_INTERACT_PROMPT_AVAILABLE
! prompt
@ ENTITY_FLAG_SHOWS_INSPECT_PROMPT
@ NPC_FLAG_USE_INSPECT_ICON
Entity * get_entity_by_index(s32 index)
s32 phys_can_player_interact(void)
s32 imgfx_appendGfx_component(s32, ImgFXTexture *, u32, Matrix4f)
u32 get_entity_type(s32 arg0)
s32 should_collider_allow_interact(s32)
void imgfx_update(u32, ImgFXType, s32, s32, s32, s32, s32)
void partner_reset_tether_distance(void)
#define INCLUDE_PAL(FILENAME, SYMBOLNAME)
#define INCLUDE_IMG(FILENAME, SYMBOLNAME)
s32 should_continue_inspect(void)
BSS InspectIconData InspectIcon
void interact_inspect_update(void)
void interact_inspect_setup(void)
InspectIconData * InspectIconPtr
void update_inspect_icon_pos(void)
void appendGfx_interact_prompt(void)
void interact_inspect_dismiss(void)
#define COLLISION_WITH_ENTITY_BIT
#define COLLISION_WITH_NPC_BIT
PlayerStatus * gPlayerStatusPtr
CollisionStatus gCollisionStatus
PlayerStatus gPlayerStatus
void(* InteractNotificationCallback)(void)
DisplayContext * gDisplayContext