Go to the source code of this file.
◆ ISpyNotification
Data Fields |
Vec3f |
pos |
|
f32 |
scale |
|
char |
unk_10[8] |
|
s32 |
time |
|
char |
unk_1C[4] |
|
s32 |
flashCount |
|
s32 |
state |
|
s32 |
alpha |
|
◆ anonymous enum
Enumerator |
---|
I_SPY_DELAY | |
I_SPY_APPEAR | |
I_SPY_OVERSHOOT | |
I_SPY_ANIMATE | |
Definition at line 15 of file i_spy.c.
◆ INCLUDE_IMG()
INCLUDE_IMG |
( |
"ispy_icon.png" | , |
|
|
ispy_icon_img | ) |
◆ INCLUDE_PAL() [1/3]
INCLUDE_PAL |
( |
"ispy_icon.pal" | , |
|
|
ispy_icon_1_pal | ) |
◆ INCLUDE_PAL() [2/3]
INCLUDE_PAL |
( |
"ispy_icon.2.pal" | , |
|
|
ispy_icon_2_pal | ) |
◆ INCLUDE_PAL() [3/3]
INCLUDE_PAL |
( |
"ispy_icon.3.pal" | , |
|
|
ispy_icon_3_pal | ) |
◆ ispy_notification_update()
void ispy_notification_update |
( |
void | | ) |
|
Definition at line 104 of file i_spy.c.
104 {
107 s32 cond;
108
113
118 ) {
120 } else {
122 }
123
124 if (!cond) {
126 }
127 break;
131 return;
132 }
133
137 }
138 break;
143 break;
151 }
152 }
153
157 playerStatus->
animFlags &= ~PA_FLAG_ISPY_VISIBLE;
158 }
159 break;
160 }
161}
b8 keepUsingPartnerOnMapChange
@ PS_FLAG_NO_STATIC_COLLISION
ISpyNotification * ISpyPtr
void sfx_play_sound_at_player(s32 soundID, s32 arg1)
PartnerStatus gPartnerStatus
GameStatus * gGameStatusPtr
PlayerStatus gPlayerStatus
void(* ISpyNotificationCallback)(void)
HiddenPanelsData gCurrentHiddenPanels
Referenced by ispy_notification_setup().
◆ appendGfx_ispy_icon()
void appendGfx_ispy_icon |
( |
void | | ) |
|
Definition at line 34 of file i_spy.c.
34 {
38 s32 flashPhase;
39
47
50
53 }
54
56 flashPhase = flashPhase % 12;
57 switch (flashPhase) {
58 case 0:
59 case 1:
60 case 2:
61 case 3:
62 ifxImg.
palette = ispy_icon_1_pal;
63 break;
64 case 4:
65 case 5:
66 case 6:
67 case 7:
68 ifxImg.
palette = ispy_icon_2_pal;
69 break;
70 case 8:
71 case 9:
72 case 10:
73 case 11:
74 ifxImg.
palette = ispy_icon_3_pal;
75 break;
76 }
78
79 ifxImg.
raster = ispy_icon_img;
80 ifxImg.
width = ispy_icon_img_width;
81 ifxImg.
height = ispy_icon_img_height;
85
88 }
89}
@ PA_FLAG_ISPY_VISIBLE
The I Spy icon is being shown.
s32 imgfx_appendGfx_component(s32, ImgFXTexture *, u32, Matrix4f)
void imgfx_update(u32, ImgFXType, s32, s32, s32, s32, s32)
DisplayContext * gDisplayContext
Referenced by render_ispy_icon().
◆ ispy_notification_setup()
void ispy_notification_setup |
( |
void | | ) |
|
Definition at line 91 of file i_spy.c.
91 {
93
97
99
102}
void ispy_notification_update(void)
Referenced by check_for_ispy().
◆ ISpyData
◆ ISpyPtr