Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
pause_common.h File Reference

Go to the source code of this file.

Enumerations

enum  PauseMenuLabels {
  PAUSE_LBL_HP = 0 , PAUSE_LBL_FP = 1 , PAUSE_LBL_BP = 2 , PAUSE_LBL_BOOTS = 3 ,
  PAUSE_LBL_HAMMER = 4 , PAUSE_LBL_ENERGY = 5 , PAUSE_LBL_STATS = 6 , PAUSE_LBL_AVAILABLE = 7 ,
  PAUSE_LBL_ABILITIES = 8
}
 
enum  PauseMenuMessages {
  PAUSE_MSG_NONE , PAUSE_MSG_TUT_NAME_BADGES , PAUSE_MSG_TUT_UNUSED_1 , PAUSE_MSG_TUT_UNUSED_2 ,
  PAUSE_MSG_TUT_UNUSED_3 , PAUSE_MSG_TUT_UNUSED_4 , PAUSE_MSG_TUT_UNUSED_5 , PAUSE_MSG_TUT_UNUSED_6 ,
  PAUSE_MSG_TUT_UNUSED_7 , PAUSE_MSG_TUT_DESC_1 , PAUSE_MSG_TUT_DESC_2 , PAUSE_MSG_TUT_DESC_3 ,
  PAUSE_MSG_TUT_DESC_4 , PAUSE_MSG_TUT_DESC_5 , PAUSE_MSG_TUT_DESC_6 , PAUSE_MSG_TUT_DESC_7 ,
  PAUSE_MSG_TUT_CMD_1 , PAUSE_MSG_TUT_CMD_2 , PAUSE_MSG_TUT_CMD_3 , PAUSE_MSG_TUT_CMD_4 ,
  PAUSE_MSG_TUT_CMD_5 , PAUSE_MSG_TUT_CMD_6 , PAUSE_MSG_TUT_CMD_7 , PAUSE_MSG_17 ,
  PAUSE_MSG_18 , PAUSE_MSG_19 , PAUSE_MSG_1A , PAUSE_MSG_TAB_STATS ,
  PAUSE_MSG_TAB_BADGES , PAUSE_MSG_TAB_ITEMS , PAUSE_MSG_TAB_PARTY , PAUSE_MSG_TAB_SPIRITS ,
  PAUSE_MSG_TAB_MAP , PAUSE_MSG_TIP_CONTROLS , PAUSE_MSG_TIP_HP , PAUSE_MSG_TIP_FP ,
  PAUSE_MSG_TIP_BP , PAUSE_MSG_TIP_BOOTS_1 , PAUSE_MSG_TIP_BOOTS_2 , PAUSE_MSG_TIP_BOOTS_3 ,
  PAUSE_MSG_TIP_HAMMER_0 , PAUSE_MSG_TIP_HAMMER_1 , PAUSE_MSG_TIP_HAMMER_2 , PAUSE_MSG_TIP_HAMMER_3 ,
  PAUSE_MSG_TIP_STAR_POWER , PAUSE_MSG_TIP_STAR_POINTS , PAUSE_MSG_TIP_COINS , PAUSE_MSG_TIP_SECRETS ,
  PAUSE_MSG_TIP_STAR_PIECES , PAUSE_MSG_TIP_TIME , PAUSE_MSG_LBL_COINS , PAUSE_MSG_LBL_STAR_POINTS ,
  PAUSE_MSG_LBL_STAR_PIECES , PAUSE_MSG_LBL_TIME , PAUSE_MSG_LBL_HP , PAUSE_MSG_LBL_FP ,
  PAUSE_MSG_LBL_BP , PAUSE_MSG_SLASH , PAUSE_MSG_DOT , PAUSE_MSG_3B ,
  PAUSE_MSG_3C , PAUSE_MSG_3D , PAUSE_MSG_3E , PAUSE_MSG_3F ,
  PAUSE_MSG_40 , PAUSE_MSG_41 , PAUSE_MSG_42 , PAUSE_MSG_MARIO ,
  PAUSE_MSG_LEVEL , PAUSE_MSG_NO_BADGE , PAUSE_MSG_BADGE_BP , PAUSE_MSG_ALL_BADGES ,
  PAUSE_MSG_ACTIVE , PAUSE_MSG_BADGES , PAUSE_MSG_NOT_ENOUGH_BP , PAUSE_MSG_DONT_WEAR_MORE ,
  PAUSE_MSG_BAGDE_DESC_ALL , PAUSE_MSG_BAGDE_DESC_ACTIVE , PAUSE_MSG_BAGDE_DESC_NONE , PAUSE_MSG_KEY_ITEMS ,
  PAUSE_MSG_CONSUMABLES , PAUSE_MSG_DESC_CONSUMABLES , PAUSE_MSG_DESC_KEY_ITEMS , PAUSE_MSG_PARTNER_HP ,
  PAUSE_MSG_PARTNER_FP , PAUSE_MSG_PARTNER_ABILITIES , PAUSE_MSG_UNKNOWN_SPIRIT
}
 

Functions

void pause_update_tab_default (s32 windowIndex, s32 *flags, s32 *posX, s32 *posY, s32 *posZ, f32 *scaleX, f32 *scaleY, f32 *rotX, f32 *rotY, f32 *rotZ, s32 *darkening, s32 *opacity)
 
void pause_update_tab_active (s32 windowIndex, s32 *flags, s32 *posX, s32 *posY, s32 *posZ, f32 *scaleX, f32 *scaleY, f32 *rotX, f32 *rotY, f32 *rotZ, s32 *darkening, s32 *opacity)
 
void pause_update_tab_inactive (s32 windowIndex, s32 *flags, s32 *posX, s32 *posY, s32 *posZ, f32 *scaleX, f32 *scaleY, f32 *rotX, f32 *rotY, f32 *rotZ, s32 *darkening, s32 *opacity)
 
void pause_update_page_active_1 (s32 windowIndex, s32 *flags, s32 *posX, s32 *posY, s32 *posZ, f32 *scaleX, f32 *scaleY, f32 *rotX, f32 *rotY, f32 *rotZ, s32 *darkening, s32 *opacity)
 
void pause_update_page_inactive_1 (s32 windowIndex, s32 *flags, s32 *posX, s32 *posY, s32 *posZ, f32 *scaleX, f32 *scaleY, f32 *rotX, f32 *rotY, f32 *rotZ, s32 *darkening, s32 *opacity)
 
void pause_update_page_active_2 (s32 windowIndex, s32 *flags, s32 *posX, s32 *posY, s32 *posZ, f32 *scaleX, f32 *scaleY, f32 *rotX, f32 *rotY, f32 *rotZ, s32 *darkening, s32 *opacity)
 
void pause_update_page_inactive_2 (s32 windowIndex, s32 *flags, s32 *posX, s32 *posY, s32 *posZ, f32 *scaleX, f32 *scaleY, f32 *rotX, f32 *rotY, f32 *rotZ, s32 *darkening, s32 *opacity)
 
void pause_set_cursor_pos (s32 windowID, s32 posX, s32 posY)
 
void pause_set_cursor_pos_immediate (s32 windowID, s32 posX, s32 posY)
 
void pause_set_cursor_opacity (s32 val)
 
void pause_draw_menu_label (s32 index, s32 x, s32 y)
 
s32 pause_get_total_equipped_bp_cost (void)
 
void pause_draw_rect (s32 ulx, s32 uly, s32 lrx, s32 lry, s32 tileIdx, s32 uls, s32 ult, s32 dsdx, s32 dtdy)
 
s32 pause_get_menu_msg (s32 index)
 
s32 pause_interp_vertical_scroll (s32 deltaBefore)
 
void pause_sort_item_list (s16 *arr, s32 len, s32(*compare)(s16 *, s16 *))
 

Variables

HudScript HES_PressAButton
 
HudScript HES_PressStartButton
 
HudScript HES_StartButtonText
 
HudScript HES_StickTapRight
 
HudScript HES_UnusedBadge
 
HudScript HES_AnimatedCursorHand
 
HudScript HES_DescMsgPrev
 
HudScript HES_DescMsgNext
 
HudScript HES_HeaderStats
 
HudScript HES_HeaderBadges
 
HudScript HES_HeaderItems
 
HudScript HES_HeaderParty
 
HudScript HES_HeaderSpirits
 
HudScript HES_HeaderMap
 
HudScript HES_MarioHeadSmall
 
HudScript HES_StatBoots0
 
HudScript HES_StatBoots1
 
HudScript HES_StatBoots2
 
HudScript HES_StatBoots3
 
HudScript HES_StatHammer0
 
HudScript HES_StatHammer1
 
HudScript HES_StatHammer2
 
HudScript HES_StatHammer3
 
HudScript HES_StatusStarPoint
 
HudScript HES_StatStarPiece_1
 
HudScript HES_Clock
 
HudScript HES_StatusHeart
 
HudScript HES_StatFp_1
 
HudScript HES_StatBp
 
HudScript HES_StatusStar1
 
HudScript HES_StatusStar2
 
HudScript HES_StatusStar3
 
HudScript HES_StatusStar4
 
HudScript HES_StatusStar5
 
HudScript HES_StatusStar6
 
HudScript HES_StatusStar7
 
HudScript HES_StatusStarEmpty
 
HudScript HES_StatTimes
 
HudScript HES_ListPrevPage
 
HudScript HES_ListNextPage
 
HudScript HES_Dash
 
HudScript HES_LabelBpNeeded
 
HudScript HES_FPCost
 
HudScript HES_PartnerRank
 
HudScript HES_MoveDiamond
 
HudScript HES_MoveBlueOrb
 
HudScript HES_MoveGreenOrb
 
HudScript HES_MoveRedOrb
 
HudScript HES_MapWalk0
 
HudScript HES_StatusSPIncrement1
 
HudScript HES_StatusSPIncrement2
 
HudScript HES_StatusSPIncrement3
 
HudScript HES_StatusSPIncrement4
 
HudScript HES_StatusSPIncrement5
 
HudScript HES_StatusSPIncrement6
 
HudScript HES_StatusSPIncrement7
 
HudScript HES_StatusSPEmptyIncrement
 
IconHudScriptPair gItemHudScripts []
 
WindowStyleCustom gPauseWS_0
 
WindowStyleCustom gPauseWS_1
 
WindowStyleCustom gPauseWS_2
 
WindowStyleCustom gPauseWS_3
 
WindowStyleCustom gPauseWS_4
 
WindowStyleCustom gPauseWS_5
 
WindowStyleCustom gPauseWS_6
 
WindowStyleCustom gPauseWS_7
 
WindowStyleCustom gPauseWS_8
 
WindowStyleCustom gPauseWS_9
 
WindowStyleCustom gPauseWS_10
 
WindowStyleCustom gPauseWS_11
 
WindowStyleCustom gPauseWS_12
 
WindowStyleCustom gPauseWS_13
 
WindowStyleCustom gPauseWS_14
 
WindowStyleCustom gPauseWS_15
 
WindowStyleCustom gPauseWS_16
 
WindowStyleCustom gPauseWS_17
 
WindowStyleCustom gPauseWS_18
 
WindowStyleCustom gPauseWS_19
 
WindowStyleCustom gPauseWS_20
 
WindowStyleCustom gPauseWS_21
 
WindowStyleCustom gPauseWS_22
 
WindowStyleCustom gPauseWS_23
 
WindowStyleCustom gPauseWS_24
 
WindowStyleCustom gPauseWS_25
 
WindowStyleCustom gPauseWS_26
 
WindowStyleCustom gPauseWS_27
 
WindowStyleCustom gPauseWS_28
 
s32 gPauseHeldButtons
 
s32 gPausePressedButtons
 
s32 gPauseCurrentDescMsg
 
HudScriptgPauseCurrentDescIconScript
 
s32 gPauseCursorIconID
 
s8 gPauseMenuCurrentTab
 

Enumeration Type Documentation

◆ PauseMenuLabels

Enumerator
PAUSE_LBL_HP 
PAUSE_LBL_FP 
PAUSE_LBL_BP 
PAUSE_LBL_BOOTS 
PAUSE_LBL_HAMMER 
PAUSE_LBL_ENERGY 
PAUSE_LBL_STATS 
PAUSE_LBL_AVAILABLE 
PAUSE_LBL_ABILITIES 

Definition at line 134 of file pause_common.h.

134 {
135 PAUSE_LBL_HP = 0,
136 PAUSE_LBL_FP = 1,
137 PAUSE_LBL_BP = 2,
138 PAUSE_LBL_BOOTS = 3,
141 PAUSE_LBL_STATS = 6,
144};
@ PAUSE_LBL_ENERGY
@ PAUSE_LBL_BOOTS
@ PAUSE_LBL_ABILITIES
@ PAUSE_LBL_HAMMER
@ PAUSE_LBL_HP
@ PAUSE_LBL_AVAILABLE
@ PAUSE_LBL_STATS
@ PAUSE_LBL_BP
@ PAUSE_LBL_FP

◆ PauseMenuMessages

Enumerator
PAUSE_MSG_NONE 
PAUSE_MSG_TUT_NAME_BADGES 
PAUSE_MSG_TUT_UNUSED_1 
PAUSE_MSG_TUT_UNUSED_2 
PAUSE_MSG_TUT_UNUSED_3 
PAUSE_MSG_TUT_UNUSED_4 
PAUSE_MSG_TUT_UNUSED_5 
PAUSE_MSG_TUT_UNUSED_6 
PAUSE_MSG_TUT_UNUSED_7 
PAUSE_MSG_TUT_DESC_1 
PAUSE_MSG_TUT_DESC_2 
PAUSE_MSG_TUT_DESC_3 
PAUSE_MSG_TUT_DESC_4 
PAUSE_MSG_TUT_DESC_5 
PAUSE_MSG_TUT_DESC_6 
PAUSE_MSG_TUT_DESC_7 
PAUSE_MSG_TUT_CMD_1 
PAUSE_MSG_TUT_CMD_2 
PAUSE_MSG_TUT_CMD_3 
PAUSE_MSG_TUT_CMD_4 
PAUSE_MSG_TUT_CMD_5 
PAUSE_MSG_TUT_CMD_6 
PAUSE_MSG_TUT_CMD_7 
PAUSE_MSG_17 
PAUSE_MSG_18 
PAUSE_MSG_19 
PAUSE_MSG_1A 
PAUSE_MSG_TAB_STATS 
PAUSE_MSG_TAB_BADGES 
PAUSE_MSG_TAB_ITEMS 
PAUSE_MSG_TAB_PARTY 
PAUSE_MSG_TAB_SPIRITS 
PAUSE_MSG_TAB_MAP 
PAUSE_MSG_TIP_CONTROLS 
PAUSE_MSG_TIP_HP 
PAUSE_MSG_TIP_FP 
PAUSE_MSG_TIP_BP 
PAUSE_MSG_TIP_BOOTS_1 
PAUSE_MSG_TIP_BOOTS_2 
PAUSE_MSG_TIP_BOOTS_3 
PAUSE_MSG_TIP_HAMMER_0 
PAUSE_MSG_TIP_HAMMER_1 
PAUSE_MSG_TIP_HAMMER_2 
PAUSE_MSG_TIP_HAMMER_3 
PAUSE_MSG_TIP_STAR_POWER 
PAUSE_MSG_TIP_STAR_POINTS 
PAUSE_MSG_TIP_COINS 
PAUSE_MSG_TIP_SECRETS 
PAUSE_MSG_TIP_STAR_PIECES 
PAUSE_MSG_TIP_TIME 
PAUSE_MSG_LBL_COINS 
PAUSE_MSG_LBL_STAR_POINTS 
PAUSE_MSG_LBL_STAR_PIECES 
PAUSE_MSG_LBL_TIME 
PAUSE_MSG_LBL_HP 
PAUSE_MSG_LBL_FP 
PAUSE_MSG_LBL_BP 
PAUSE_MSG_SLASH 
PAUSE_MSG_DOT 
PAUSE_MSG_3B 
PAUSE_MSG_3C 
PAUSE_MSG_3D 
PAUSE_MSG_3E 
PAUSE_MSG_3F 
PAUSE_MSG_40 
PAUSE_MSG_41 
PAUSE_MSG_42 
PAUSE_MSG_MARIO 
PAUSE_MSG_LEVEL 
PAUSE_MSG_NO_BADGE 
PAUSE_MSG_BADGE_BP 
PAUSE_MSG_ALL_BADGES 
PAUSE_MSG_ACTIVE 
PAUSE_MSG_BADGES 
PAUSE_MSG_NOT_ENOUGH_BP 
PAUSE_MSG_DONT_WEAR_MORE 
PAUSE_MSG_BAGDE_DESC_ALL 
PAUSE_MSG_BAGDE_DESC_ACTIVE 
PAUSE_MSG_BAGDE_DESC_NONE 
PAUSE_MSG_KEY_ITEMS 
PAUSE_MSG_CONSUMABLES 
PAUSE_MSG_DESC_CONSUMABLES 
PAUSE_MSG_DESC_KEY_ITEMS 
PAUSE_MSG_PARTNER_HP 
PAUSE_MSG_PARTNER_FP 
PAUSE_MSG_PARTNER_ABILITIES 
PAUSE_MSG_UNKNOWN_SPIRIT 

Definition at line 146 of file pause_common.h.

146 {
147 /* 0x00 */ PAUSE_MSG_NONE,
148 /* 0x01 */ PAUSE_MSG_TUT_NAME_BADGES,
149 /* 0x02 */ PAUSE_MSG_TUT_UNUSED_1,
150 /* 0x03 */ PAUSE_MSG_TUT_UNUSED_2,
151 /* 0x04 */ PAUSE_MSG_TUT_UNUSED_3,
152 /* 0x05 */ PAUSE_MSG_TUT_UNUSED_4,
153 /* 0x06 */ PAUSE_MSG_TUT_UNUSED_5,
154 /* 0x07 */ PAUSE_MSG_TUT_UNUSED_6,
155 /* 0x08 */ PAUSE_MSG_TUT_UNUSED_7,
156 /* 0x09 */ PAUSE_MSG_TUT_DESC_1,
157 /* 0x0A */ PAUSE_MSG_TUT_DESC_2,
158 /* 0x0B */ PAUSE_MSG_TUT_DESC_3,
159 /* 0x0C */ PAUSE_MSG_TUT_DESC_4,
160 /* 0x0D */ PAUSE_MSG_TUT_DESC_5,
161 /* 0x0E */ PAUSE_MSG_TUT_DESC_6,
162 /* 0x0F */ PAUSE_MSG_TUT_DESC_7,
163 /* 0x10 */ PAUSE_MSG_TUT_CMD_1,
164 /* 0x11 */ PAUSE_MSG_TUT_CMD_2,
165 /* 0x12 */ PAUSE_MSG_TUT_CMD_3,
166 /* 0x13 */ PAUSE_MSG_TUT_CMD_4,
167 /* 0x14 */ PAUSE_MSG_TUT_CMD_5,
168 /* 0x15 */ PAUSE_MSG_TUT_CMD_6,
169 /* 0x16 */ PAUSE_MSG_TUT_CMD_7,
170#if !VERSION_PAL
171 /* 0x17 */ PAUSE_MSG_17,
172 /* 0x18 */ PAUSE_MSG_18,
173 /* 0x19 */ PAUSE_MSG_19,
174 /* 0x1A */ PAUSE_MSG_1A,
175#endif
176 /* 0x1B */ PAUSE_MSG_TAB_STATS,
177 /* 0x1C */ PAUSE_MSG_TAB_BADGES,
178 /* 0x1D */ PAUSE_MSG_TAB_ITEMS,
179 /* 0x1E */ PAUSE_MSG_TAB_PARTY,
180 /* 0x1F */ PAUSE_MSG_TAB_SPIRITS,
181 /* 0x20 */ PAUSE_MSG_TAB_MAP,
182 /* 0x21 */ PAUSE_MSG_TIP_CONTROLS,
183 /* 0x22 */ PAUSE_MSG_TIP_HP,
184 /* 0x23 */ PAUSE_MSG_TIP_FP,
185 /* 0x24 */ PAUSE_MSG_TIP_BP,
186 /* 0x25 */ PAUSE_MSG_TIP_BOOTS_1,
187 /* 0x26 */ PAUSE_MSG_TIP_BOOTS_2,
188 /* 0x27 */ PAUSE_MSG_TIP_BOOTS_3,
189 /* 0x28 */ PAUSE_MSG_TIP_HAMMER_0,
190 /* 0x29 */ PAUSE_MSG_TIP_HAMMER_1,
191 /* 0x2A */ PAUSE_MSG_TIP_HAMMER_2,
192 /* 0x2B */ PAUSE_MSG_TIP_HAMMER_3,
193 /* 0x2C */ PAUSE_MSG_TIP_STAR_POWER,
194 /* 0x2D */ PAUSE_MSG_TIP_STAR_POINTS,
195 /* 0x2E */ PAUSE_MSG_TIP_COINS,
196 /* 0x2F */ PAUSE_MSG_TIP_SECRETS,
197 /* 0x30 */ PAUSE_MSG_TIP_STAR_PIECES,
198 /* 0x31 */ PAUSE_MSG_TIP_TIME,
199 /* 0x32 */ PAUSE_MSG_LBL_COINS,
200 /* 0x33 */ PAUSE_MSG_LBL_STAR_POINTS,
201 /* 0x34 */ PAUSE_MSG_LBL_STAR_PIECES,
202 /* 0x35 */ PAUSE_MSG_LBL_TIME,
203 /* 0x36 */ PAUSE_MSG_LBL_HP,
204 /* 0x37 */ PAUSE_MSG_LBL_FP,
205 /* 0x38 */ PAUSE_MSG_LBL_BP,
206 /* 0x39 */ PAUSE_MSG_SLASH,
207 /* 0x3A */ PAUSE_MSG_DOT,
208#if !VERSION_PAL
209 /* 0x3B */ PAUSE_MSG_3B,
210#endif
211 /* 0x3C */ PAUSE_MSG_3C,
212 /* 0x3D */ PAUSE_MSG_3D,
213 /* 0x3E */ PAUSE_MSG_3E,
214#if !VERSION_PAL
215 /* 0x3F */ PAUSE_MSG_3F,
216#endif
217 /* 0x40 */ PAUSE_MSG_40,
218 /* 0x41 */ PAUSE_MSG_41,
219 /* 0x42 */ PAUSE_MSG_42,
220 /* 0x43 */ PAUSE_MSG_MARIO,
221 /* 0x44 */ PAUSE_MSG_LEVEL,
222 /* 0x45 */ PAUSE_MSG_NO_BADGE,
223 /* 0x46 */ PAUSE_MSG_BADGE_BP,
224 /* 0x47 */ PAUSE_MSG_ALL_BADGES,
225#if VERSION_PAL
226 /* */ PAUSE_MSG_PAL_42,
227#endif
228 /* 0x48 */ PAUSE_MSG_ACTIVE,
229 /* 0x49 */ PAUSE_MSG_BADGES,
230 /* 0x4A */ PAUSE_MSG_NOT_ENOUGH_BP,
231 /* 0x4B */ PAUSE_MSG_DONT_WEAR_MORE,
232 /* 0x4C */ PAUSE_MSG_BAGDE_DESC_ALL,
234 /* 0x4E */ PAUSE_MSG_BAGDE_DESC_NONE,
235 /* 0x4F */ PAUSE_MSG_KEY_ITEMS,
236#if VERSION_PAL
237 /* */ PAUSE_MSG_PAL_4B,
238#endif
239 /* 0x50 */ PAUSE_MSG_CONSUMABLES,
241 /* 0x52 */ PAUSE_MSG_DESC_KEY_ITEMS,
242 /* 0x53 */ PAUSE_MSG_PARTNER_HP,
243 /* 0x54 */ PAUSE_MSG_PARTNER_FP,
245 /* 0x56 */ PAUSE_MSG_UNKNOWN_SPIRIT,
246};
@ PAUSE_MSG_TIP_BP
@ PAUSE_MSG_DONT_WEAR_MORE
@ PAUSE_MSG_TIP_FP
@ PAUSE_MSG_TAB_BADGES
@ PAUSE_MSG_TUT_DESC_3
@ PAUSE_MSG_18
@ PAUSE_MSG_TUT_DESC_5
@ PAUSE_MSG_NO_BADGE
@ PAUSE_MSG_TUT_CMD_4
@ PAUSE_MSG_PARTNER_HP
@ PAUSE_MSG_TUT_DESC_4
@ PAUSE_MSG_TAB_MAP
@ PAUSE_MSG_LBL_TIME
@ PAUSE_MSG_TUT_DESC_1
@ PAUSE_MSG_TAB_STATS
@ PAUSE_MSG_LBL_STAR_PIECES
@ PAUSE_MSG_TIP_BOOTS_1
@ PAUSE_MSG_1A
@ PAUSE_MSG_TIP_STAR_PIECES
@ PAUSE_MSG_TUT_UNUSED_6
@ PAUSE_MSG_LBL_FP
@ PAUSE_MSG_PARTNER_FP
@ PAUSE_MSG_TIP_STAR_POINTS
@ PAUSE_MSG_BADGES
@ PAUSE_MSG_3F
@ PAUSE_MSG_40
@ PAUSE_MSG_3E
@ PAUSE_MSG_TAB_ITEMS
@ PAUSE_MSG_TIP_TIME
@ PAUSE_MSG_TUT_CMD_3
@ PAUSE_MSG_TIP_HAMMER_0
@ PAUSE_MSG_LBL_HP
@ PAUSE_MSG_ACTIVE
@ PAUSE_MSG_LBL_COINS
@ PAUSE_MSG_TUT_UNUSED_2
@ PAUSE_MSG_TUT_CMD_1
@ PAUSE_MSG_TIP_SECRETS
@ PAUSE_MSG_KEY_ITEMS
@ PAUSE_MSG_41
@ PAUSE_MSG_17
@ PAUSE_MSG_LEVEL
@ PAUSE_MSG_TUT_CMD_5
@ PAUSE_MSG_TIP_BOOTS_2
@ PAUSE_MSG_TUT_UNUSED_5
@ PAUSE_MSG_TIP_BOOTS_3
@ PAUSE_MSG_TUT_DESC_2
@ PAUSE_MSG_19
@ PAUSE_MSG_TIP_HP
@ PAUSE_MSG_DESC_KEY_ITEMS
@ PAUSE_MSG_TUT_DESC_6
@ PAUSE_MSG_TUT_UNUSED_7
@ PAUSE_MSG_LBL_BP
@ PAUSE_MSG_SLASH
@ PAUSE_MSG_42
@ PAUSE_MSG_LBL_STAR_POINTS
@ PAUSE_MSG_CONSUMABLES
@ PAUSE_MSG_NONE
@ PAUSE_MSG_ALL_BADGES
@ PAUSE_MSG_TUT_CMD_6
@ PAUSE_MSG_BAGDE_DESC_ALL
@ PAUSE_MSG_TUT_UNUSED_3
@ PAUSE_MSG_3D
@ PAUSE_MSG_TAB_SPIRITS
@ PAUSE_MSG_TIP_CONTROLS
@ PAUSE_MSG_TUT_UNUSED_4
@ PAUSE_MSG_TUT_DESC_7
@ PAUSE_MSG_UNKNOWN_SPIRIT
@ PAUSE_MSG_TIP_HAMMER_3
@ PAUSE_MSG_TUT_CMD_2
@ PAUSE_MSG_TIP_HAMMER_2
@ PAUSE_MSG_MARIO
@ PAUSE_MSG_BADGE_BP
@ PAUSE_MSG_TAB_PARTY
@ PAUSE_MSG_3C
@ PAUSE_MSG_DESC_CONSUMABLES
@ PAUSE_MSG_TIP_STAR_POWER
@ PAUSE_MSG_NOT_ENOUGH_BP
@ PAUSE_MSG_BAGDE_DESC_NONE
@ PAUSE_MSG_TUT_NAME_BADGES
@ PAUSE_MSG_TIP_HAMMER_1
@ PAUSE_MSG_DOT
@ PAUSE_MSG_TUT_CMD_7
@ PAUSE_MSG_PARTNER_ABILITIES
@ PAUSE_MSG_TUT_UNUSED_1
@ PAUSE_MSG_BAGDE_DESC_ACTIVE
@ PAUSE_MSG_TIP_COINS
@ PAUSE_MSG_3B

Function Documentation

◆ pause_update_tab_default()

void pause_update_tab_default ( s32 windowIndex,
s32 * flags,
s32 * posX,
s32 * posY,
s32 * posZ,
f32 * scaleX,
f32 * scaleY,
f32 * rotX,
f32 * rotY,
f32 * rotZ,
s32 * darkening,
s32 * opacity )

Definition at line 289 of file pause_main.c.

290 {
291 Window* window = &gWindows[windowIndex];
292
293 *darkening = 160;
295}
@ WINDOW_FLAG_INITIAL_ANIMATION
Definition enums.h:4996
@ WINDOW_FLAG_HIDDEN
Updated but not rendered.
Definition enums.h:4995
Window gWindows[64]
Definition windows.c:23

◆ pause_update_tab_active()

void pause_update_tab_active ( s32 windowIndex,
s32 * flags,
s32 * posX,
s32 * posY,
s32 * posZ,
f32 * scaleX,
f32 * scaleY,
f32 * rotX,
f32 * rotY,
f32 * rotZ,
s32 * darkening,
s32 * opacity )

Definition at line 327 of file pause_main.c.

328 {
329 Window* window = &gWindows[windowIndex];
330
331 if (window->updateCounter == 0) {
332 update_window_hierarchy(windowIndex, window->originalPriority);
333 *darkening = 0;
334 window->flags &= ~WINDOW_FLAG_INITIAL_ANIMATION;
335 }
336}
void update_window_hierarchy(s32 windowIndex, u8 arg1)
Definition windows.c:393
u8 originalPriority

Referenced by pause_tabs_handle_input().

◆ pause_update_tab_inactive()

void pause_update_tab_inactive ( s32 windowIndex,
s32 * flags,
s32 * posX,
s32 * posY,
s32 * posZ,
f32 * scaleX,
f32 * scaleY,
f32 * rotX,
f32 * rotY,
f32 * rotZ,
s32 * darkening,
s32 * opacity )

Definition at line 306 of file pause_main.c.

307 {
308 Window* window = &gWindows[windowIndex];
309 s32 updateCounter = window->updateCounter;
310
311 if (updateCounter == 0) {
312 window->flags &= ~WINDOW_FLAG_HIDDEN;
313 }
314
315 if (updateCounter == 5) {
316 update_window_hierarchy(windowIndex, window->originalPriority);
317 }
318
319 if (updateCounter < 10) {
320 *darkening = (updateCounter + 1) * 16;
321 } else {
322 *darkening = 160;
323 window->flags &= ~WINDOW_FLAG_INITIAL_ANIMATION;
324 }
325}

Referenced by pause_tabs_handle_input().

◆ pause_update_page_active_1()

void pause_update_page_active_1 ( s32 windowIndex,
s32 * flags,
s32 * posX,
s32 * posY,
s32 * posZ,
f32 * scaleX,
f32 * scaleY,
f32 * rotX,
f32 * rotY,
f32 * rotZ,
s32 * darkening,
s32 * opacity )

Definition at line 387 of file pause_main.c.

388 {
389 Window* window = &gWindows[windowIndex];
390 s32 updateCounter = window->updateCounter;
391
392 if (updateCounter == 0) {
393 window->flags &= ~WINDOW_FLAG_HIDDEN;
394 }
395 if (updateCounter < 7) {
396 *flags = gPauseWindowFlipUpFlags[updateCounter];
397 *rotX += gPauseWindowFlipUpAngles_2[updateCounter];
398 } else {
400 *rotX += gPauseWindowFlipUpAngles_2[6];
401 window->flags &= ~WINDOW_FLAG_INITIAL_ANIMATION;
402 }
403}
s8 flags
Definition demo_api.c:15
u8 gPauseWindowFlipUpFlags[]
Definition pause_main.c:59
s16 gPauseWindowFlipUpAngles_2[]
Definition pause_main.c:61

Referenced by pause_tabs_update().

◆ pause_update_page_inactive_1()

void pause_update_page_inactive_1 ( s32 windowIndex,
s32 * flags,
s32 * posX,
s32 * posY,
s32 * posZ,
f32 * scaleX,
f32 * scaleY,
f32 * rotX,
f32 * rotY,
f32 * rotZ,
s32 * darkening,
s32 * opacity )

Definition at line 405 of file pause_main.c.

406 {
407 Window* window = &gWindows[windowIndex];
408 s32 updateCounter = window->updateCounter;
409
410 if (updateCounter < 5) {
411 *flags = gPauseWindowFlipDownFlags[updateCounter];
412 *rotX += gPauseWindowFlipDownAngles[updateCounter];
413 } else {
415 *rotX += gPauseWindowFlipDownAngles[4];
416 window->flags &= ~WINDOW_FLAG_INITIAL_ANIMATION;
417 window->flags |= WINDOW_FLAG_HIDDEN;
418 }
419}
s16 gPauseWindowFlipDownAngles[]
Definition pause_main.c:65
u8 gPauseWindowFlipDownFlags[]
Definition pause_main.c:62

Referenced by pause_tabs_update().

◆ pause_update_page_active_2()

void pause_update_page_active_2 ( s32 windowIndex,
s32 * flags,
s32 * posX,
s32 * posY,
s32 * posZ,
f32 * scaleX,
f32 * scaleY,
f32 * rotX,
f32 * rotY,
f32 * rotZ,
s32 * darkening,
s32 * opacity )

Definition at line 369 of file pause_main.c.

370 {
371 Window* window = &gWindows[windowIndex];
372 s32 updateCounter = window->updateCounter;
373
374 if (updateCounter == 0) {
375 window->flags &= ~WINDOW_FLAG_HIDDEN;
376 }
377 if (updateCounter < 7) {
378 *flags = gPauseWindowFlipUpFlags[updateCounter];
379 *rotX += gPauseWindowFlipUpAngles[updateCounter];
380 } else {
382 *rotX += gPauseWindowFlipUpAngles[6];
383 window->flags &= ~WINDOW_FLAG_INITIAL_ANIMATION;
384 }
385}
s16 gPauseWindowFlipUpAngles[]
Definition pause_main.c:60

Referenced by pause_tabs_update().

◆ pause_update_page_inactive_2()

void pause_update_page_inactive_2 ( s32 windowIndex,
s32 * flags,
s32 * posX,
s32 * posY,
s32 * posZ,
f32 * scaleX,
f32 * scaleY,
f32 * rotX,
f32 * rotY,
f32 * rotZ,
s32 * darkening,
s32 * opacity )

Definition at line 421 of file pause_main.c.

422 {
423 Window* window = &gWindows[windowIndex];
424 s32 updateCounter = window->updateCounter;
425
426 if (updateCounter < 5) {
427 *flags = gPauseWindowFlipDownFlags[updateCounter];
428 *rotX = gPauseWindowFlipDownAngles_2[updateCounter];
429 } else {
432 window->flags &= ~WINDOW_FLAG_INITIAL_ANIMATION;
433 window->flags |= WINDOW_FLAG_HIDDEN;
434 }
435}
s16 gPauseWindowFlipDownAngles_2[]
Definition pause_main.c:66

Referenced by pause_tabs_update().

◆ pause_set_cursor_pos()

void pause_set_cursor_pos ( s32 windowID,
s32 posX,
s32 posY )

Definition at line 228 of file pause_main.c.

228 {
229 Window* window = &gWindows[windowID];
230
232 if (D_8024EFB4 != 0) {
233 s32 i;
234
235 for (i = WIN_PAUSE_MAIN; i < WIN_PAUSE_CURSOR; i++) {
236 Window* window = &gWindows[i];
237 s8 parent = window->parent;
238
239 if ((parent == WIN_NONE || parent == WIN_PAUSE_MAIN) && (window->flags & WINDOW_FLAG_INITIAL_ANIMATION)) {
240 break;
241 }
242 }
243 if (i >= 44) {
244 D_8024EFB4 = 0;
245 }
246 }
248 gPauseCursorPosX = posX;
250 gPauseCursorPosY = posY;
251 } else if ((window->flags & WINDOW_FLAG_INITIAL_ANIMATION) == 0 && (window->parent == WIN_NONE || !(gWindows[window->parent].flags & WINDOW_FLAG_INITIAL_ANIMATION))) {
254 }
255}
@ WIN_PAUSE_CURSOR
Definition enums.h:5287
@ WIN_PAUSE_MAIN
Definition enums.h:5263
@ WIN_NONE
Definition enums.h:5240
s32 get_game_mode(void)
Definition game_modes.c:123
@ GAME_MODE_END_FILE_SELECT
Definition game_modes.h:20
s32 gPauseCursorTargetPosX
Definition pause_main.c:54
s32 gPauseCursorPosX
Definition pause_main.c:51
s32 gPauseCursorTargetPosY
Definition pause_main.c:55
s32 gPauseCursorPosY
Definition pause_main.c:52
u32 D_8024EFB4
Definition pause_main.c:57

Referenced by pause_badges_draw_contents(), pause_items_draw_contents(), pause_map_draw_contents(), pause_partners_draw_contents(), pause_partners_draw_movelist(), pause_spirits_draw_contents(), pause_stats_draw_contents(), pause_tabs_draw_badges(), pause_tabs_draw_items(), pause_tabs_draw_map(), pause_tabs_draw_party(), pause_tabs_draw_spirits(), and pause_tabs_draw_stats().

◆ pause_set_cursor_pos_immediate()

void pause_set_cursor_pos_immediate ( s32 windowID,
s32 posX,
s32 posY )

Definition at line 196 of file pause_main.c.

196 {
197 Window* window = &gWindows[windowID];
198
200 if (D_8024EFB4 != 0) {
201 s32 i;
202
203 for (i = WIN_PAUSE_MAIN; i < WIN_PAUSE_CURSOR; i++) {
204 Window* window = &gWindows[i];
205 s8 parent = window->parent;
206
207 if ((parent == WIN_NONE || parent == WIN_PAUSE_MAIN) && (window->flags & WINDOW_FLAG_INITIAL_ANIMATION)) {
208 break;
209 }
210 }
211 if (i >= WIN_PAUSE_CURSOR) {
212 D_8024EFB4 = 0;
213 }
214 }
216 gPauseCursorPosX = posX;
218 gPauseCursorPosY = posY;
219
220 } else if ((window->flags & WINDOW_FLAG_INITIAL_ANIMATION) == 0 && (window->parent == WIN_NONE || !(gWindows[window->parent].flags & WINDOW_FLAG_INITIAL_ANIMATION))) {
222 gPauseCursorPosX = posX;
224 gPauseCursorPosY = posY;
225 }
226}

Referenced by pause_badges_draw_contents(), and pause_items_draw_contents().

◆ pause_set_cursor_opacity()

void pause_set_cursor_opacity ( s32 val)

Definition at line 192 of file pause_main.c.

192 {
194}
s32 gPauseCursorTargetOpacity
Definition pause_main.c:56

Referenced by pause_badges_draw_contents().

◆ pause_draw_menu_label()

void pause_draw_menu_label ( s32 index,
s32 x,
s32 y )

Definition at line 587 of file pause_gfx.c.

587 {
588 s32 xOffset = 64;
589
590 if (index == 8) {
591 xOffset = 128;
592 }
593 if (index == 3) {
594 xOffset = 48;
595 }
596 if (index == 4) {
597 xOffset = 48;
598 }
599 if (index == 5) {
600 xOffset = 48;
601 }
602 if (index == 6) {
603 xOffset = 160;
604 }
605
606 gSPDisplayList(gMainGfxPos++, PauseGfxLabels[index]);
607 pause_draw_rect(x * 4, y * 4, (x + xOffset) * 4, (y + 16) * 4, 0, 0, 0, 0x400, 0x400);
608
609#if VERSION_PAL
610 if (gCurrentLanguage == LANGUAGE_DE && index == 5) {
611 s16 xOffset2 = xOffset;
612
613 pause_draw_rect((x + 30) * 4, (y * 4), (xOffset2 + x + 10) * 4, (y + 16) * 4, 0, 0x280, 0, 0x400, 0x400);
614 }
615#endif
616}
@ LANGUAGE_DE
Definition enums.h:6401
void pause_draw_rect(s32 ulx, s32 uly, s32 lrx, s32 lry, s32 tileIdx, s32 uls, s32 ult, s32 dsdx, s32 dtdy)
Definition pause_main.c:841
Gfx * PauseGfxLabels[]
Definition pause_gfx.c:571
#define gCurrentLanguage
Definition variables.h:115
Gfx * gMainGfxPos
Definition cam_main.c:15

Referenced by pause_badges_draw_contents(), pause_partners_draw_contents(), and pause_stats_draw_contents().

◆ pause_get_total_equipped_bp_cost()

s32 pause_get_total_equipped_bp_cost ( void )

Definition at line 825 of file pause_main.c.

825 {
826 s32 totalCost = 0;
827 s32 i;
828
829 for (i = 0; i < ARRAY_COUNT(gPlayerData.equippedBadges); i++) {
830 s16 itemID = gPlayerData.equippedBadges[i];
831
832 if (itemID != ITEM_NONE) {
833 s32 moveID = gItemTable[itemID].moveID;
834
835 totalCost += gMoveTable[moveID].costBP;
836 }
837 }
838 return totalCost;
839}
s16 equippedBadges[64]
#define ARRAY_COUNT(arr)
Definition macros.h:40
ItemData gItemTable[]
PlayerData gPlayerData
Definition 77480.c:40
MoveData gMoveTable[]

Referenced by pause_badges_draw_contents(), pause_badges_try_equip(), and pause_badges_try_remove().

◆ pause_draw_rect()

void pause_draw_rect ( s32 ulx,
s32 uly,
s32 lrx,
s32 lry,
s32 tileIdx,
s32 uls,
s32 ult,
s32 dsdx,
s32 dtdy )

Definition at line 841 of file pause_main.c.

841 {
842 if (ulx <= -2688 || uly <= -2688 || lrx <= 0 || lry <= 0) {
843 return;
844 }
845 if (ulx >= 1280 || uly >= 960 || lrx >= 2688 || lry >= 2688) {
846 return;
847 }
848 gSPScisTextureRectangle(gMainGfxPos++, ulx, uly, lrx, lry, tileIdx, uls, ult, dsdx, dtdy);
849}

Referenced by pause_badges_draw_bp_orbs(), pause_draw_menu_label(), pause_map_draw_border_arrows(), pause_map_draw_contents(), pause_partners_draw_contents(), pause_spirits_draw_contents(), and pause_tutorial_draw_contents().

◆ pause_get_menu_msg()

◆ pause_interp_vertical_scroll()

s32 pause_interp_vertical_scroll ( s32 deltaBefore)

Definition at line 451 of file pause_main.c.

451 {
452 s32 val;
453 s32 db = abs(deltaBefore);
454 s32 s = sign(deltaBefore);
455
456 if (db >= 16) {
457 val = db / 2;
458 if (val > 20) {
459 val = 20;
460 }
461 } else {
463 }
464
465 return val * s;
466}
s32 sign(s32 value)
Definition 43F0.c:376
u8 gPauseMenuPageScrollInterpEasingLUT[]
Definition pause_main.c:104

Referenced by pause_badges_update(), and pause_items_update().

◆ pause_sort_item_list()

void pause_sort_item_list ( s16 * arr,
s32 len,
s32(*)(s16 *, s16 *) compare )

Definition at line 851 of file pause_main.c.

851 {
852 if (len < 2) {
853 // Trivially sorted
854 return;
855 } else if (len == 2) {
856 // Trivial 2-element sort
857 if (compare(&arr[0], &arr[1]) > 0) {
858 s16 temp = arr[0];
859 arr[0] = arr[1];
860 arr[1] = temp;
861 }
862 } else {
863 // Nontrivial sort required, use shell sort
864 u32 gap = 1;
865 s16* end;
866
867 while (gap < len) {
868 gap = gap * 2 + 1;
869 }
870
871 end = &arr[len];
872 while ((gap /= 2) != 0) {
873 s16* window_end;
874
875 for (window_end = &arr[gap]; window_end < end; window_end++) {
876 s16* cur_elem = window_end - gap;
877
878 // This could be written simpler as a while loop, but the compiler figures out that it only needs to do
879 // the "cur_elem < end" check on the first iteration in that case
880 if (cur_elem >= arr && cur_elem < end) {
881 do {
882 s16* elem_a = cur_elem;
883 s16* elem_b = cur_elem + gap;
884
885 if (compare(elem_a, elem_b) > 0) {
886 s16 temp = *elem_a;
887 *elem_a = *elem_b;
888 *elem_b = temp;
889 cur_elem -= gap;
890 } else {
891 break;
892 }
893 } while (cur_elem >= arr && cur_elem < end);
894 }
895 }
896 }
897 }
898}

Referenced by pause_badges_count_all(), pause_badges_count_equipped(), and pause_items_load_items().

Variable Documentation

◆ HES_PressAButton

HudScript HES_PressAButton
extern

Definition at line 2361 of file global_hud_scripts.c.

2361 {
2363 hs_SetCustomSize(48, 40)
2364 hs_Loop
2365 hs_SetCI(10, ui_input_a_button_unpressed)
2366 hs_SetCI(10, ui_input_a_button_pressed)
2368 hs_End
2369};
#define hs_SetCustomSize(arg0, arg1)
#define hs_SetVisible
#define hs_End
#define hs_Restart
#define hs_Loop
#define hs_SetCI(time, name)

◆ HES_PressStartButton

HudScript HES_PressStartButton
extern

Definition at line 2405 of file global_hud_scripts.c.

2405 {
2407 hs_SetCustomSize(48, 40)
2408 hs_Loop
2409 hs_SetCI(10, ui_input_start_button)
2410 hs_SetCI(10, ui_input_start_button2)
2412 hs_End
2413};

◆ HES_StartButtonText

HudScript HES_StartButtonText
extern

Definition at line 2415 of file global_hud_scripts.c.

◆ HES_StickTapRight

HudScript HES_StickTapRight
extern

Definition at line 2559 of file global_hud_scripts.c.

2559 {
2561 hs_Loop
2562 hs_SetCustomSize(32, 32)
2563 hs_SetTexelOffset(0, 0)
2564 hs_SetCI(6, ui_input_analog_stick)
2565 hs_SetCustomSize(40, 32)
2566 hs_SetTexelOffset(5, 0)
2567 hs_SetCI(2, ui_input_analog_stick_right)
2569 hs_End
2570};
#define hs_SetTexelOffset(x, y)

◆ HES_UnusedBadge

HudScript HES_UnusedBadge
extern

Definition at line 5 of file menu_hud_scripts.c.

◆ HES_AnimatedCursorHand

HudScript HES_AnimatedCursorHand
extern

Definition at line 29 of file menu_hud_scripts.c.

29 {
31 hs_SetCustomSize(16, 16)
34 hs_SetCI(4, ui_pause_cursor_hand)
36 hs_SetCI(8, ui_pause_cursor_hand)
38 hs_End
39};
#define hs_AddTexelOffsetX(x)

◆ HES_DescMsgPrev

HudScript HES_DescMsgPrev
extern

Definition at line 211 of file menu_hud_scripts.c.

211 {
213 hs_SetCustomSize(16, 16)
214 hs_Loop
216 hs_SetCI(9, ui_pause_desc_msg_prev)
218 hs_SetCI(6, ui_pause_desc_msg_prev)
220 hs_End
221};
@ HUD_ELEMENT_FLAG_200000
Definition hud_element.h:94
#define hs_ClearFlags(arg0)
#define hs_SetFlags(arg0)

◆ HES_DescMsgNext

HudScript HES_DescMsgNext
extern

Definition at line 223 of file menu_hud_scripts.c.

223 {
225 hs_SetCustomSize(16, 16)
226 hs_Loop
228 hs_SetCI(9, ui_pause_desc_msg_next)
230 hs_SetCI(6, ui_pause_desc_msg_next)
232 hs_End
233};

◆ HES_HeaderStats

HudScript HES_HeaderStats
extern

Definition at line 64 of file menu_hud_scripts.c.

◆ HES_HeaderBadges

HudScript HES_HeaderBadges
extern

Definition at line 66 of file menu_hud_scripts.c.

◆ HES_HeaderItems

HudScript HES_HeaderItems
extern

Definition at line 68 of file menu_hud_scripts.c.

◆ HES_HeaderParty

HudScript HES_HeaderParty
extern

Definition at line 70 of file menu_hud_scripts.c.

◆ HES_HeaderSpirits

HudScript HES_HeaderSpirits
extern

Definition at line 72 of file menu_hud_scripts.c.

◆ HES_HeaderMap

HudScript HES_HeaderMap
extern

Definition at line 74 of file menu_hud_scripts.c.

◆ HES_MarioHeadSmall

HudScript HES_MarioHeadSmall
extern

Definition at line 253 of file menu_hud_scripts.c.

◆ HES_StatBoots0

HudScript HES_StatBoots0
extern

Definition at line 235 of file menu_hud_scripts.c.

◆ HES_StatBoots1

HudScript HES_StatBoots1
extern

Definition at line 237 of file menu_hud_scripts.c.

◆ HES_StatBoots2

HudScript HES_StatBoots2
extern

Definition at line 239 of file menu_hud_scripts.c.

◆ HES_StatBoots3

HudScript HES_StatBoots3
extern

Definition at line 241 of file menu_hud_scripts.c.

◆ HES_StatHammer0

HudScript HES_StatHammer0
extern

Definition at line 243 of file menu_hud_scripts.c.

◆ HES_StatHammer1

HudScript HES_StatHammer1
extern

Definition at line 245 of file menu_hud_scripts.c.

◆ HES_StatHammer2

HudScript HES_StatHammer2
extern

Definition at line 247 of file menu_hud_scripts.c.

◆ HES_StatHammer3

HudScript HES_StatHammer3
extern

Definition at line 249 of file menu_hud_scripts.c.

◆ HES_StatusStarPoint

HudScript HES_StatusStarPoint
extern

Definition at line 2124 of file global_hud_scripts.c.

2124 {
2127 hs_Loop
2128 hs_SetCI(2, ui_status_star_point_0)
2129 hs_SetCI(2, ui_status_star_point_1)
2130 hs_SetCI(2, ui_status_star_point_2)
2131 hs_SetCI(2, ui_status_star_point_3)
2132 hs_SetCI(2, ui_status_star_point_4)
2133 hs_SetCI(2, ui_status_star_point_5)
2134 hs_SetCI(2, ui_status_star_point_6)
2135 hs_SetCI(2, ui_status_star_point_7)
2137 hs_End
2138};
#define hs_SetTileSize(size)
@ HUD_ELEMENT_SIZE_16x16
Definition hud_element.h:46

◆ HES_StatStarPiece_1

HudScript HES_StatStarPiece_1
extern

Definition at line 257 of file menu_hud_scripts.c.

257 {
260 hs_Loop
261 hs_SetCI(12, ui_pause_stat_star_piece0)
262 hs_SetCI(4, ui_pause_stat_star_piece1)
263 hs_SetCI(12, ui_pause_stat_star_piece2)
264 hs_SetCI(4, ui_pause_stat_star_piece1)
266 hs_End
267};

◆ HES_Clock

HudScript HES_Clock
extern

Definition at line 255 of file menu_hud_scripts.c.

◆ HES_StatusHeart

HudScript HES_StatusHeart
extern

Definition at line 2061 of file global_hud_scripts.c.

2061 {
2063 hs_Loop
2064 hs_SetRGBA(60, ui_stat_heart_png)
2066 hs_End
2067};
#define hs_SetRGBA(time, image)

◆ HES_StatFp_1

HudScript HES_StatFp_1
extern

Definition at line 281 of file menu_hud_scripts.c.

◆ HES_StatBp

HudScript HES_StatBp
extern

Definition at line 251 of file menu_hud_scripts.c.

◆ HES_StatusStar1

HudScript HES_StatusStar1
extern

Definition at line 2045 of file global_hud_scripts.c.

◆ HES_StatusStar2

HudScript HES_StatusStar2
extern

Definition at line 2047 of file global_hud_scripts.c.

◆ HES_StatusStar3

HudScript HES_StatusStar3
extern

Definition at line 2049 of file global_hud_scripts.c.

◆ HES_StatusStar4

HudScript HES_StatusStar4
extern

Definition at line 2051 of file global_hud_scripts.c.

◆ HES_StatusStar5

HudScript HES_StatusStar5
extern

Definition at line 2053 of file global_hud_scripts.c.

◆ HES_StatusStar6

HudScript HES_StatusStar6
extern

Definition at line 2055 of file global_hud_scripts.c.

◆ HES_StatusStar7

HudScript HES_StatusStar7
extern

Definition at line 2057 of file global_hud_scripts.c.

◆ HES_StatusStarEmpty

HudScript HES_StatusStarEmpty
extern

Definition at line 2059 of file global_hud_scripts.c.

Referenced by pause_stats_draw_contents().

◆ HES_StatTimes

HudScript HES_StatTimes
extern

Definition at line 285 of file menu_hud_scripts.c.

◆ HES_ListPrevPage

HudScript HES_ListPrevPage
extern

Definition at line 191 of file menu_hud_scripts.c.

◆ HES_ListNextPage

HudScript HES_ListNextPage
extern

Definition at line 193 of file menu_hud_scripts.c.

◆ HES_Dash

HudScript HES_Dash
extern

Definition at line 209 of file menu_hud_scripts.c.

◆ HES_LabelBpNeeded

HudScript HES_LabelBpNeeded
extern

Definition at line 199 of file menu_hud_scripts.c.

◆ HES_FPCost

HudScript HES_FPCost
extern

Definition at line 1821 of file global_hud_scripts.c.

◆ HES_PartnerRank

HudScript HES_PartnerRank
extern

Definition at line 287 of file menu_hud_scripts.c.

◆ HES_MoveDiamond

HudScript HES_MoveDiamond
extern

Definition at line 2591 of file global_hud_scripts.c.

◆ HES_MoveBlueOrb

HudScript HES_MoveBlueOrb
extern

Definition at line 2593 of file global_hud_scripts.c.

◆ HES_MoveGreenOrb

HudScript HES_MoveGreenOrb
extern

Definition at line 2595 of file global_hud_scripts.c.

◆ HES_MoveRedOrb

HudScript HES_MoveRedOrb
extern

Definition at line 2597 of file global_hud_scripts.c.

◆ HES_MapWalk0

HudScript HES_MapWalk0
extern

Definition at line 179 of file menu_hud_scripts.c.

179 {
181 hs_SetCustomSize(24, 24)
182 hs_Loop
183 hs_SetCI(16, ui_pause_map_walk0)
184 hs_SetCI(5, ui_pause_map_walk1)
185 hs_SetCI(16, ui_pause_map_walk2)
186 hs_SetCI(4, ui_pause_map_walk1)
188 hs_End
189};

◆ HES_StatusSPIncrement1

HudScript HES_StatusSPIncrement1
extern

Definition at line 2029 of file global_hud_scripts.c.

◆ HES_StatusSPIncrement2

HudScript HES_StatusSPIncrement2
extern

Definition at line 2031 of file global_hud_scripts.c.

◆ HES_StatusSPIncrement3

HudScript HES_StatusSPIncrement3
extern

Definition at line 2033 of file global_hud_scripts.c.

◆ HES_StatusSPIncrement4

HudScript HES_StatusSPIncrement4
extern

Definition at line 2035 of file global_hud_scripts.c.

◆ HES_StatusSPIncrement5

HudScript HES_StatusSPIncrement5
extern

Definition at line 2037 of file global_hud_scripts.c.

◆ HES_StatusSPIncrement6

HudScript HES_StatusSPIncrement6
extern

Definition at line 2039 of file global_hud_scripts.c.

◆ HES_StatusSPIncrement7

HudScript HES_StatusSPIncrement7
extern

Definition at line 2041 of file global_hud_scripts.c.

◆ HES_StatusSPEmptyIncrement

HudScript HES_StatusSPEmptyIncrement
extern

Definition at line 2043 of file global_hud_scripts.c.

Referenced by pause_stats_draw_contents().

◆ gItemHudScripts

IconHudScriptPair gItemHudScripts[]
extern

◆ gPauseWS_0

WindowStyleCustom gPauseWS_0
extern

Definition at line 10 of file pause_styles.c.

10 {
11 .background = {
12 .imgData = NULL,
13 .fmt = G_IM_FMT_I,
14 .bitDepth = G_IM_SIZ_8b,
15 .width = 0,
16 .height = 0,
17 .unk_07 = { 0, 0, 0, 0},
18 .size = 0
19 },
20 .corners = {
21 .imgData = NULL,
22 .fmt = G_IM_FMT_RGBA,
23 .bitDepth = G_IM_SIZ_4b,
24 .size1 = { .x = 0, .y = 0},
25 .size2 = { .x = 0, .y = 0},
26 .size3 = { .x = 0, .y = 0},
27 .size4 = { .x = 0, .y = 0},
28 .unk_0D = { 0, 0, 0}
29 },
30 .unk_1C = { 0, 0, 0, 0},
31 .opaqueCombineMode = gsDPSetCombineMode(PM_CC_CONST_0, PM_CC_CONST_0),
32 .transparentCombineMode = gsDPSetCombineMode(PM_CC_WINDOW_4, G_CC_PASS2),
33 .color1 = { 64, 92, 246, 255 },
34 .color2 = { 0, 0, 0, 0 },
35};
#define PM_CC_WINDOW_4
Definition macros.h:440
#define PM_CC_CONST_0
Definition macros.h:510

◆ gPauseWS_1

WindowStyleCustom gPauseWS_1
extern

Definition at line 36 of file pause_styles.c.

36 {
37 .background = {
38 .imgData = ui_box_bg_tile_png,
39 .fmt = G_IM_FMT_I,
40 .bitDepth = G_IM_SIZ_4b,
41 .width = 16,
42 .height = 16,
43 .unk_07 = { 0, 0, 0, 0},
44 .size = 128
45 },
46 .corners = {
47 .imgData = ui_box_corners4_png,
48 .fmt = G_IM_FMT_IA,
49 .bitDepth = G_IM_SIZ_8b,
50 .size1 = { .x = 8, .y = 8},
51 .size2 = { .x = 8, .y = 8},
52 .size3 = { .x = 8, .y = 8},
53 .size4 = { .x = 8, .y = 8},
54 .unk_0D = { 0, 0, 0}
55 },
56 .unk_1C = { 0, 0, 0, 0},
57 .opaqueCombineMode = gsDPSetCombineMode(PM_CC_WINDOW_2, PM_CC_WINDOW_1),
58 .transparentCombineMode = gsDPSetCombineMode(PM_CC_WINDOW_3, PM_CC_WINDOW_1),
59 .color1 = { 226, 225, 216, 255 },
60 .color2 = { 217, 208, 201, 0 },
61};
s8 ui_box_corners4_png[]
s8 ui_box_bg_tile_png[]
#define PM_CC_WINDOW_2
Definition macros.h:438
#define PM_CC_WINDOW_1
Definition macros.h:445
#define PM_CC_WINDOW_3
Definition macros.h:439

◆ gPauseWS_2

WindowStyleCustom gPauseWS_2
extern

Definition at line 62 of file pause_styles.c.

62 {
63 .background = {
64 .imgData = NULL,
65 .fmt = G_IM_FMT_I,
66 .bitDepth = G_IM_SIZ_4b,
67 .width = 16,
68 .height = 16,
69 .unk_07 = { 0, 0, 0, 0 },
70 .size = 128
71 },
72 .corners = {
73 .imgData = NULL,
74 .fmt = G_IM_FMT_IA,
75 .bitDepth = G_IM_SIZ_8b,
76 .size1 = { .x = 8, .y = 8 },
77 .size2 = { .x = 8, .y = 8 },
78 .size3 = { .x = 8, .y = 8 },
79 .size4 = { .x = 8, .y = 8 },
80 .unk_0D = { 0, 0, 0 },
81 },
82 .unk_1C = { 0, 0, 0, 0 },
83 .opaqueCombineMode = gsDPSetCombineMode(PM_CC_WINDOW_2, PM_CC_WINDOW_1),
84 .transparentCombineMode = gsDPSetCombineMode(PM_CC_WINDOW_3, PM_CC_WINDOW_1),
85 .color1 = { 226, 225, 216, 255 },
86 .color2 = { 217, 208, 201, 0 },
87};

◆ gPauseWS_3

WindowStyleCustom gPauseWS_3
extern

Definition at line 88 of file pause_styles.c.

88 {
89 .background = {
90 .imgData = NULL,
91 .fmt = G_IM_FMT_RGBA,
92 .bitDepth = G_IM_SIZ_4b,
93 .width = 0,
94 .height = 0,
95 .unk_07 = { 0, 0, 0, 0 },
96 .size = 0
97 },
98 .corners = {
99 .imgData = pause_image_1439F0_png,
100 .fmt = G_IM_FMT_IA,
101 .bitDepth = G_IM_SIZ_8b,
102 .size1 = { .x = 16, .y = 8 },
103 .size2 = { .x = 16, .y = 8 },
104 .size3 = { .x = 16, .y = 8 },
105 .size4 = { .x = 16, .y = 8 },
106 .unk_0D = { 0, 0, 0 },
107 },
108 .unk_1C = { 0, 0, 0, 0 },
109 .opaqueCombineMode = gsDPSetCombineMode(PM_CC_15, G_CC_PASS2),
110 .transparentCombineMode = gsDPSetCombineMode(PM_CC_14, G_CC_PASS2),
111 .color1 = { 240, 199, 78, 255 },
112 .color2 = { 127, 86, 23, 0 },
113};
s8 pause_image_1439F0_png[]
#define PM_CC_14
Definition macros.h:301
#define PM_CC_15
Definition macros.h:302

◆ gPauseWS_4

WindowStyleCustom gPauseWS_4
extern

Definition at line 114 of file pause_styles.c.

114 {
115 .background = {
116 .imgData = NULL,
117 .fmt = G_IM_FMT_RGBA,
118 .bitDepth = G_IM_SIZ_4b,
119 .width = 0,
120 .height = 0,
121 .unk_07 = { 0, 0, 0, 0 },
122 .size = 0
123 },
124 .corners = {
125 .imgData = pause_image_1439F0_png,
126 .fmt = G_IM_FMT_IA,
127 .bitDepth = G_IM_SIZ_8b,
128 .size1 = { .x = 16, .y = 8 },
129 .size2 = { .x = 16, .y = 8 },
130 .size3 = { .x = 16, .y = 8 },
131 .size4 = { .x = 16, .y = 8 },
132 .unk_0D = { 0, 0, 0 },
133 },
134 .unk_1C = { 0, 0, 0, 0 },
135 .opaqueCombineMode = gsDPSetCombineMode(PM_CC_15, G_CC_PASS2),
136 .transparentCombineMode = gsDPSetCombineMode(PM_CC_14, G_CC_PASS2),
137 .color1 = { 0xFD, 0x74, 0x4A, 0xFF },
138 .color2 = { 0x74, 0x30, 0x1B, 0x00 },
139};

◆ gPauseWS_5

WindowStyleCustom gPauseWS_5
extern

Definition at line 140 of file pause_styles.c.

140 {
141 .background = {
142 .imgData = NULL,
143 .fmt = G_IM_FMT_RGBA,
144 .bitDepth = G_IM_SIZ_4b,
145 .width = 0,
146 .height = 0,
147 .unk_07 = { 0, 0, 0, 0 },
148 .size = 0
149 },
150 .corners = {
151 .imgData = pause_image_1439F0_png,
152 .fmt = G_IM_FMT_IA,
153 .bitDepth = G_IM_SIZ_8b,
154 .size1 = { .x = 16, .y = 8 },
155 .size2 = { .x = 16, .y = 8 },
156 .size3 = { .x = 16, .y = 8 },
157 .size4 = { .x = 16, .y = 8 },
158 .unk_0D = { 0, 0, 0 },
159 },
160 .unk_1C = { 0, 0, 0, 0 },
161 .opaqueCombineMode = gsDPSetCombineMode(PM_CC_15, G_CC_PASS2),
162 .transparentCombineMode = gsDPSetCombineMode(PM_CC_14, G_CC_PASS2),
163 .color1 = { 39, 72, 225, 255 },
164 .color2 = { 9, 26, 102, 0 },
165};

◆ gPauseWS_6

WindowStyleCustom gPauseWS_6
extern

Definition at line 166 of file pause_styles.c.

166 {
167 .background = {
168 .imgData = NULL,
169 .fmt = G_IM_FMT_RGBA,
170 .bitDepth = G_IM_SIZ_4b,
171 .width = 0,
172 .height = 0,
173 .unk_07 = { 0, 0, 0, 0 },
174 .size = 0
175 },
176 .corners = {
177 .imgData = pause_image_1439F0_png,
178 .fmt = G_IM_FMT_IA,
179 .bitDepth = G_IM_SIZ_8b,
180 .size1 = { .x = 16, .y = 8 },
181 .size2 = { .x = 16, .y = 8 },
182 .size3 = { .x = 16, .y = 8 },
183 .size4 = { .x = 16, .y = 8 },
184 .unk_0D = { 0, 0, 0 },
185 },
186 .unk_1C = { 0, 0, 0, 0 },
187 .opaqueCombineMode = gsDPSetCombineMode(PM_CC_15, G_CC_PASS2),
188 .transparentCombineMode = gsDPSetCombineMode(PM_CC_14, G_CC_PASS2),
189 .color1 = { 34, 238, 201, 255 },
190 .color2 = { 7, 109, 90, 0 },
191};

◆ gPauseWS_7

WindowStyleCustom gPauseWS_7
extern

Definition at line 192 of file pause_styles.c.

192 {
193 .background = {
194 .imgData = NULL,
195 .fmt = G_IM_FMT_RGBA,
196 .bitDepth = G_IM_SIZ_4b,
197 .width = 0,
198 .height = 0,
199 .unk_07 = { 0, 0, 0, 0 },
200 .size = 0
201 },
202 .corners = {
203 .imgData = pause_image_1439F0_png,
204 .fmt = G_IM_FMT_IA,
205 .bitDepth = G_IM_SIZ_8b,
206 .size1 = { .x = 16, .y = 8 },
207 .size2 = { .x = 16, .y = 8 },
208 .size3 = { .x = 16, .y = 8 },
209 .size4 = { .x = 16, .y = 8 },
210 .unk_0D = { 0, 0, 0 },
211 },
212 .unk_1C = { 0, 0, 0, 0 },
213 .opaqueCombineMode = gsDPSetCombineMode(PM_CC_15, G_CC_PASS2),
214 .transparentCombineMode = gsDPSetCombineMode(PM_CC_14, G_CC_PASS2),
215 .color1 = { 104, 255, 81, 255 },
216 .color2 = { 42, 121, 30, 0 },
217};

◆ gPauseWS_8

WindowStyleCustom gPauseWS_8
extern

Definition at line 218 of file pause_styles.c.

218 {
219 .background = {
220 .imgData = NULL,
221 .fmt = G_IM_FMT_RGBA,
222 .bitDepth = G_IM_SIZ_4b,
223 .width = 0,
224 .height = 0,
225 .unk_07 = { 0, 0, 0, 0 },
226 .size = 0
227 },
228 .corners = {
229 .imgData = pause_image_1439F0_png,
230 .fmt = G_IM_FMT_IA,
231 .bitDepth = G_IM_SIZ_8b,
232 .size1 = { .x = 16, .y = 8 },
233 .size2 = { .x = 16, .y = 8 },
234 .size3 = { .x = 16, .y = 8 },
235 .size4 = { .x = 16, .y = 8 },
236 .unk_0D = { 0, 0, 0 },
237 },
238 .unk_1C = { 0, 0, 0, 0 },
239 .opaqueCombineMode = gsDPSetCombineMode(PM_CC_15, G_CC_PASS2),
240 .transparentCombineMode = gsDPSetCombineMode(PM_CC_14, G_CC_PASS2),
241 .color1 = { 173, 114, 194, 255 },
242 .color2 = { 76, 47, 87, 0 },
243};

◆ gPauseWS_9

WindowStyleCustom gPauseWS_9
extern

Definition at line 244 of file pause_styles.c.

244 {
245 .background = {
246 .imgData = NULL,
247 .fmt = G_IM_FMT_RGBA,
248 .bitDepth = G_IM_SIZ_4b,
249 .width = 0,
250 .height = 0,
251 .unk_07 = { 0, 0, 0, 0 },
252 .size = 0
253 },
254 .corners = {
255 .imgData = NULL,
256 .fmt = G_IM_FMT_RGBA,
257 .bitDepth = G_IM_SIZ_4b,
258 .size1 = { .x = 0, .y = 0 },
259 .size2 = { .x = 0, .y = 0 },
260 .size3 = { .x = 0, .y = 0 },
261 .size4 = { .x = 0, .y = 0 },
262 .unk_0D = { 0, 0, 0 },
263 },
264 .unk_1C = { 0, 0, 0, 0 },
265 .opaqueCombineMode = gsDPNoOp(),
266 .transparentCombineMode = gsDPNoOp(),
267 .color1 = { 0, 0, 0, 0 },
268 .color2 = { 0, 0, 0, 0 },
269};

◆ gPauseWS_10

WindowStyleCustom gPauseWS_10
extern

Definition at line 270 of file pause_styles.c.

270 {
271 .background = {
272 .imgData = NULL,
273 .fmt = G_IM_FMT_RGBA,
274 .bitDepth = G_IM_SIZ_4b,
275 .width = 0,
276 .height = 0,
277 .unk_07 = { 0, 0, 0, 0 },
278 .size = 0
279 },
280 .corners = {
281 .imgData = pause_image_1439F0_png,
282 .fmt = G_IM_FMT_IA,
283 .bitDepth = G_IM_SIZ_8b,
284 .size1 = { .x = 16, .y = 8 },
285 .size2 = { .x = 16, .y = 8 },
286 .size3 = { .x = 16, .y = 8 },
287 .size4 = { .x = 16, .y = 8 },
288 .unk_0D = { 0, 0, 0 },
289 },
290 .unk_1C = { 0, 0, 0, 0 },
291 .opaqueCombineMode = gsDPSetCombineMode(PM_CC_15, G_CC_PASS2),
292 .transparentCombineMode = gsDPSetCombineMode(PM_CC_14, G_CC_PASS2),
293 .color1 = { 240, 199, 78, 255 },
294 .color2 = { 127, 86, 23, 0 },
295};

Referenced by pause_stats_draw_contents().

◆ gPauseWS_11

WindowStyleCustom gPauseWS_11
extern

Definition at line 296 of file pause_styles.c.

296 {
297 .background = {
298 .imgData = NULL,
299 .fmt = G_IM_FMT_RGBA,
300 .bitDepth = G_IM_SIZ_4b,
301 .width = 0,
302 .height = 0,
303 .unk_07 = { 0, 0, 0, 0 },
304 .size = 0
305 },
306 .corners = {
307 .imgData = pause_image_1439F0_png,
308 .fmt = G_IM_FMT_IA,
309 .bitDepth = G_IM_SIZ_8b,
310 .size1 = { .x = 16, .y = 8 },
311 .size2 = { .x = 16, .y = 8 },
312 .size3 = { .x = 16, .y = 8 },
313 .size4 = { .x = 16, .y = 8 },
314 .unk_0D = { 0, 0, 0 },
315 },
316 .unk_1C = { 0, 0, 0, 0 },
317 .opaqueCombineMode = gsDPSetCombineMode(PM_CC_15, G_CC_PASS2),
318 .transparentCombineMode = gsDPSetCombineMode(PM_CC_14, G_CC_PASS2),
319 .color1 = { 213, 165, 116, 255 },
320 .color2 = { 96, 72, 48, 96 },
321};

◆ gPauseWS_12

WindowStyleCustom gPauseWS_12
extern

Definition at line 322 of file pause_styles.c.

322 {
323 .background = {
324 .imgData = ui_box_bg_tile_png,
325 .fmt = G_IM_FMT_I,
326 .bitDepth = G_IM_SIZ_4b,
327 .width = 16,
328 .height = 16,
329 .unk_07 = { 0, 0, 0, 0 },
330 .size = 128
331 },
332 .corners = {
333 .imgData = ui_box_corners4_png,
334 .fmt = G_IM_FMT_IA,
335 .bitDepth = G_IM_SIZ_8b,
336 .size1 = { .x = 8, .y = 8 },
337 .size2 = { .x = 8, .y = 8 },
338 .size3 = { .x = 8, .y = 8 },
339 .size4 = { .x = 8, .y = 8 },
340 .unk_0D = { 0, 0, 0 },
341 },
342 .unk_1C = { 0, 0, 0, 0 },
343 .opaqueCombineMode = gsDPSetCombineMode(PM_CC_WINDOW_2, PM_CC_WINDOW_1),
344 .transparentCombineMode = gsDPSetCombineMode(PM_CC_WINDOW_3, PM_CC_WINDOW_1),
345 .color1 = { 226, 216, 179, 255 },
346 .color2 = { 210, 192, 144, 0 },
347};

◆ gPauseWS_13

WindowStyleCustom gPauseWS_13
extern

Definition at line 348 of file pause_styles.c.

348 {
349 .background = {
350 .imgData = NULL,
351 .fmt = G_IM_FMT_RGBA,
352 .bitDepth = G_IM_SIZ_4b,
353 .width = 0,
354 .height = 0,
355 .unk_07 = { 0, 0, 0, 0 },
356 .size = 0
357 },
358 .corners = {
359 .imgData = pause_image_143BF0_png,
360 .fmt = G_IM_FMT_IA,
361 .bitDepth = G_IM_SIZ_8b,
362 .size1 = { .x = 16, .y = 16 },
363 .size2 = { .x = 16, .y = 16 },
364 .size3 = { .x = 16, .y = 16 },
365 .size4 = { .x = 16, .y = 16 },
366 .unk_0D = { 0, 0, 0 },
367 },
368 .unk_1C = { 0, 0, 0, 0 },
369 .opaqueCombineMode = gsDPSetCombineMode(PM_CC_15, G_CC_PASS2),
370 .transparentCombineMode = gsDPSetCombineMode(PM_CC_14, G_CC_PASS2),
371 .color1 = { 253, 116, 74, 255 },
372 .color2 = { 116, 48, 27, 0 },
373};
s8 pause_image_143BF0_png[]

Referenced by pause_badges_draw_contents().

◆ gPauseWS_14

WindowStyleCustom gPauseWS_14
extern

Definition at line 374 of file pause_styles.c.

374 {
375 .background = {
376 .imgData = NULL,
377 .fmt = G_IM_FMT_RGBA,
378 .bitDepth = G_IM_SIZ_4b,
379 .width = 0,
380 .height = 0,
381 .unk_07 = { 0, 0, 0, 0 },
382 .size = 0
383 },
384 .corners = {
385 .imgData = pause_image_1439F0_png,
386 .fmt = G_IM_FMT_IA,
387 .bitDepth = G_IM_SIZ_8b,
388 .size1 = { .x = 16, .y = 8 },
389 .size2 = { .x = 16, .y = 8 },
390 .size3 = { .x = 16, .y = 8 },
391 .size4 = { .x = 16, .y = 8 },
392 .unk_0D = { 0, 0, 0 },
393 },
394 .unk_1C = { 0, 0, 0, 0 },
395 .opaqueCombineMode = gsDPSetCombineMode(PM_CC_15, G_CC_PASS2),
396 .transparentCombineMode = gsDPSetCombineMode(PM_CC_14, G_CC_PASS2),
397 .color1 = { 245, 185, 160, 255 },
398 .color2 = { 203, 153, 128, 255 },
399};

Referenced by pause_badges_draw_contents().

◆ gPauseWS_15

WindowStyleCustom gPauseWS_15
extern

Definition at line 400 of file pause_styles.c.

400 {
401 .background = {
402 .imgData = ui_box_bg_tile_png,
403 .fmt = G_IM_FMT_I,
404 .bitDepth = G_IM_SIZ_4b,
405 .width = 16,
406 .height = 16,
407 .unk_07 = { 0, 0, 0, 0 },
408 .size = 128
409 },
410 .corners = {
411 .imgData = ui_box_corners4_png,
412 .fmt = G_IM_FMT_IA,
413 .bitDepth = G_IM_SIZ_8b,
414 .size1 = { .x = 8, .y = 8 },
415 .size2 = { .x = 8, .y = 8 },
416 .size3 = { .x = 8, .y = 8 },
417 .size4 = { .x = 8, .y = 8 },
418 .unk_0D = { 0, 0, 0 },
419 },
420 .unk_1C = { 0, 0, 0, 0 },
421 .opaqueCombineMode = gsDPSetCombineMode(PM_CC_WINDOW_2, PM_CC_WINDOW_1),
422 .transparentCombineMode = gsDPSetCombineMode(PM_CC_WINDOW_3, PM_CC_WINDOW_1),
423 .color1 = { 216, 191, 182, 255 },
424 .color2 = { 225, 209, 209, 0 },
425};

Referenced by pause_badges_draw_contents().

◆ gPauseWS_16

WindowStyleCustom gPauseWS_16
extern

Definition at line 426 of file pause_styles.c.

426 {
427 .background = {
428 .imgData = ui_box_bg_tile_png,
429 .fmt = G_IM_FMT_I,
430 .bitDepth = G_IM_SIZ_4b,
431 .width = 16,
432 .height = 16,
433 .unk_07 = { 0, 0, 0, 0 },
434 .size = 128
435 },
436 .corners = {
437 .imgData = ui_box_corners4_png,
438 .fmt = G_IM_FMT_IA,
439 .bitDepth = G_IM_SIZ_8b,
440 .size1 = { .x = 8, .y = 8 },
441 .size2 = { .x = 8, .y = 8 },
442 .size3 = { .x = 8, .y = 8 },
443 .size4 = { .x = 8, .y = 8 },
444 .unk_0D = { 0, 0, 0 },
445 },
446 .unk_1C = { 0, 0, 0, 0 },
447 .opaqueCombineMode = gsDPSetCombineMode(PM_CC_WINDOW_2, PM_CC_WINDOW_1),
448 .transparentCombineMode = gsDPSetCombineMode(PM_CC_WINDOW_3, PM_CC_WINDOW_1),
449 .color1 = { 202, 170, 165, 255 },
450 .color2 = { 226, 200, 200, 0 },
451};

◆ gPauseWS_17

WindowStyleCustom gPauseWS_17
extern

Definition at line 452 of file pause_styles.c.

452 {
453 .background = {
454 .imgData = NULL,
455 .fmt = G_IM_FMT_RGBA,
456 .bitDepth = G_IM_SIZ_4b,
457 .width = 0,
458 .height = 0,
459 .unk_07 = { 0, 0, 0, 0 },
460 .size = 0
461 },
462 .corners = {
463 .imgData = pause_image_143BF0_png,
464 .fmt = G_IM_FMT_IA,
465 .bitDepth = G_IM_SIZ_8b,
466 .size1 = { .x = 16, .y = 16 },
467 .size2 = { .x = 16, .y = 16 },
468 .size3 = { .x = 16, .y = 16 },
469 .size4 = { .x = 16, .y = 16 },
470 .unk_0D = { 0, 0, 0 },
471 },
472 .unk_1C = { 0, 0, 0, 0 },
473 .opaqueCombineMode = gsDPSetCombineMode(PM_CC_15, G_CC_PASS2),
474 .transparentCombineMode = gsDPSetCombineMode(PM_CC_14, G_CC_PASS2),
475 .color1 = { 39, 72, 225, 255 },
476 .color2 = { 9, 26, 102, 0 },
477};

Referenced by pause_items_draw_contents().

◆ gPauseWS_18

WindowStyleCustom gPauseWS_18
extern

Definition at line 478 of file pause_styles.c.

478 {
479 .background = {
480 .imgData = ui_box_bg_tile_png,
481 .fmt = G_IM_FMT_I,
482 .bitDepth = G_IM_SIZ_4b,
483 .width = 16,
484 .height = 16,
485 .unk_07 = { 0, 0, 0, 0 },
486 .size = 128
487 },
488 .corners = {
489 .imgData = ui_box_corners4_png,
490 .fmt = G_IM_FMT_IA,
491 .bitDepth = G_IM_SIZ_8b,
492 .size1 = { .x = 8, .y = 8 },
493 .size2 = { .x = 8, .y = 8 },
494 .size3 = { .x = 8, .y = 8 },
495 .size4 = { .x = 8, .y = 8 },
496 .unk_0D = { 0, 0, 0 },
497 },
498 .unk_1C = { 0, 0, 0, 0 },
499 .opaqueCombineMode = gsDPSetCombineMode(PM_CC_WINDOW_2, PM_CC_WINDOW_1),
500 .transparentCombineMode = gsDPSetCombineMode(PM_CC_WINDOW_3, PM_CC_WINDOW_1),
501 .color1 = { 198, 207, 222, 255 },
502 .color2 = { 214, 223, 236, 0 },
503};

Referenced by pause_items_draw_contents().

◆ gPauseWS_19

WindowStyleCustom gPauseWS_19
extern

Definition at line 504 of file pause_styles.c.

504 {
505 .background = {
506 .imgData = ui_box_bg_tile_png,
507 .fmt = G_IM_FMT_I,
508 .bitDepth = G_IM_SIZ_4b,
509 .width = 16,
510 .height = 16,
511 .unk_07 = { 0, 0, 0, 0 },
512 .size = 128
513 },
514 .corners = {
515 .imgData = ui_box_corners4_png,
516 .fmt = G_IM_FMT_IA,
517 .bitDepth = G_IM_SIZ_8b,
518 .size1 = { .x = 8, .y = 8 },
519 .size2 = { .x = 8, .y = 8 },
520 .size3 = { .x = 8, .y = 8 },
521 .size4 = { .x = 8, .y = 8 },
522 .unk_0D = { 0, 0, 0 },
523 },
524 .unk_1C = { 0, 0, 0, 0 },
525 .opaqueCombineMode = gsDPSetCombineMode(PM_CC_WINDOW_2, PM_CC_WINDOW_1),
526 .transparentCombineMode = gsDPSetCombineMode(PM_CC_WINDOW_3, PM_CC_WINDOW_1),
527 .color1 = { 207, 210, 242, 255 },
528 .color2 = { 184, 190, 217, 0 },
529};

◆ gPauseWS_20

WindowStyleCustom gPauseWS_20
extern

Definition at line 530 of file pause_styles.c.

530 {
531 .background = {
532 .imgData = ui_box_bg_tile_png,
533 .fmt = G_IM_FMT_I,
534 .bitDepth = G_IM_SIZ_4b,
535 .width = 16,
536 .height = 16,
537 .unk_07 = { 0, 0, 0, 0 },
538 .size = 128
539 },
540 .corners = {
541 .imgData = ui_box_corners4_png,
542 .fmt = G_IM_FMT_IA,
543 .bitDepth = G_IM_SIZ_8b,
544 .size1 = { .x = 8, .y = 8 },
545 .size2 = { .x = 8, .y = 8 },
546 .size3 = { .x = 8, .y = 8 },
547 .size4 = { .x = 8, .y = 8 },
548 .unk_0D = { 0, 0, 0 },
549 },
550 .unk_1C = { 0, 0, 0, 0 },
551 .opaqueCombineMode = gsDPSetCombineMode(PM_CC_WINDOW_2, PM_CC_WINDOW_1),
552 .transparentCombineMode = gsDPSetCombineMode(PM_CC_WINDOW_3, PM_CC_WINDOW_1),
553 .color1 = { 202, 217, 214, 255 },
554 .color2 = { 176, 206, 206, 0 },
555};

◆ gPauseWS_21

WindowStyleCustom gPauseWS_21
extern

Definition at line 556 of file pause_styles.c.

556 {
557 .background = {
558 .imgData = ui_box_bg_tile_png,
559 .fmt = G_IM_FMT_I,
560 .bitDepth = G_IM_SIZ_4b,
561 .width = 16,
562 .height = 16,
563 .unk_07 = { 0, 0, 0, 0 },
564 .size = 128
565 },
566 .corners = {
567 .imgData = pause_image_143FF0_png,
568 .fmt = G_IM_FMT_IA,
569 .bitDepth = G_IM_SIZ_8b,
570 .size1 = { .x = 16, .y = 16 },
571 .size2 = { .x = 16, .y = 16 },
572 .size3 = { .x = 16, .y = 16 },
573 .size4 = { .x = 16, .y = 16 },
574 .unk_0D = { 0, 0, 0 },
575 },
576 .unk_1C = { 0, 0, 0, 0 },
577 .opaqueCombineMode = gsDPSetCombineMode(PM_CC_WINDOW_2, PM_CC_WINDOW_1),
578 .transparentCombineMode = gsDPSetCombineMode(PM_CC_WINDOW_3, PM_CC_WINDOW_1),
579 .color1 = { 222, 237, 234, 255 },
580 .color2 = { 196, 226, 226, 0 },
581};
s8 pause_image_143FF0_png[]

Referenced by pause_partners_draw_contents().

◆ gPauseWS_22

WindowStyleCustom gPauseWS_22
extern

Definition at line 582 of file pause_styles.c.

582 {
583 .background = {
584 .imgData = NULL,
585 .fmt = G_IM_FMT_RGBA,
586 .bitDepth = G_IM_SIZ_4b,
587 .width = 0,
588 .height = 0,
589 .unk_07 = { 0, 0, 0, 0 },
590 .size = 0
591 },
592 .corners = {
593 .imgData = pause_image_1439F0_png,
594 .fmt = G_IM_FMT_IA,
595 .bitDepth = G_IM_SIZ_8b,
596 .size1 = { .x = 16, .y = 8 },
597 .size2 = { .x = 16, .y = 8 },
598 .size3 = { .x = 16, .y = 8 },
599 .size4 = { .x = 16, .y = 8 },
600 .unk_0D = { 0, 0, 0 },
601 },
602 .unk_1C = { 0, 0, 0, 0 },
603 .opaqueCombineMode = gsDPSetCombineMode(PM_CC_15, G_CC_PASS2),
604 .transparentCombineMode = gsDPSetCombineMode(PM_CC_14, G_CC_PASS2),
605 .color1 = { 14, 218, 181, 255 },
606 .color2 = { 127, 127, 127, 0 },
607};

◆ gPauseWS_23

WindowStyleCustom gPauseWS_23
extern

Definition at line 608 of file pause_styles.c.

608 {
609 .background = {
610 .imgData = ui_box_bg_tile_png,
611 .fmt = G_IM_FMT_I,
612 .bitDepth = G_IM_SIZ_4b,
613 .width = 16,
614 .height = 16,
615 .unk_07 = { 0, 0, 0, 0 },
616 .size = 128
617 },
618 .corners = {
619 .imgData = ui_box_corners4_png,
620 .fmt = G_IM_FMT_IA,
621 .bitDepth = G_IM_SIZ_8b,
622 .size1 = { .x = 8, .y = 8 },
623 .size2 = { .x = 8, .y = 8 },
624 .size3 = { .x = 8, .y = 8 },
625 .size4 = { .x = 8, .y = 8 },
626 .unk_0D = { 0, 0, 0 },
627 },
628 .unk_1C = { 0, 0, 0, 0 },
629 .opaqueCombineMode = gsDPSetCombineMode(PM_CC_WINDOW_2, PM_CC_WINDOW_1),
630 .transparentCombineMode = gsDPSetCombineMode(PM_CC_WINDOW_3, PM_CC_WINDOW_1),
631 .color1 = { 193, 225, 193, 255 },
632 .color2 = { 169, 215, 169, 0 },
633};

◆ gPauseWS_24

WindowStyleCustom gPauseWS_24
extern

Definition at line 634 of file pause_styles.c.

634 {
635 .background = {
636 .imgData = 0x00000000,
637 .fmt = G_IM_FMT_RGBA,
638 .bitDepth = G_IM_SIZ_4b,
639 .width = 0,
640 .height = 0,
641 .unk_07 = { 0, 0, 0, 0 },
642 .size = 0
643 },
644 .corners = {
645 .imgData = pause_image_1439F0_png,
646 .fmt = G_IM_FMT_IA,
647 .bitDepth = G_IM_SIZ_8b,
648 .size1 = { .x = 16, .y = 8 },
649 .size2 = { .x = 16, .y = 8 },
650 .size3 = { .x = 16, .y = 8 },
651 .size4 = { .x = 16, .y = 8 },
652 .unk_0D = { 0, 0, 0 },
653 },
654 .unk_1C = { 0, 0, 0, 0 },
655 .opaqueCombineMode = gsDPSetCombineMode(PM_CC_15, G_CC_PASS2),
656 .transparentCombineMode = gsDPSetCombineMode(PM_CC_14, G_CC_PASS2),
657 .color1 = { 104, 255, 81, 255 },
658 .color2 = { 42, 121, 30, 0 },
659};

◆ gPauseWS_25

WindowStyleCustom gPauseWS_25
extern

Definition at line 660 of file pause_styles.c.

660 {
661 .background = {
662 .imgData = ui_box_bg_tile_png,
663 .fmt = G_IM_FMT_I,
664 .bitDepth = G_IM_SIZ_4b,
665 .width = 16,
666 .height = 16,
667 .unk_07 = { 0, 0, 0, 0 },
668 .size = 128
669 },
670 .corners = {
671 .imgData = pause_image_143FF0_png,
672 .fmt = G_IM_FMT_IA,
673 .bitDepth = G_IM_SIZ_8b,
674 .size1 = { .x = 16, .y = 16 },
675 .size2 = { .x = 16, .y = 16 },
676 .size3 = { .x = 16, .y = 16 },
677 .size4 = { .x = 16, .y = 16 },
678 .unk_0D = { 0, 0, 0 },
679 },
680 .unk_1C = { 0, 0, 0, 0 },
681 .opaqueCombineMode = gsDPSetCombineMode(PM_CC_WINDOW_2, PM_CC_WINDOW_1),
682 .transparentCombineMode = gsDPSetCombineMode(PM_CC_WINDOW_3, PM_CC_WINDOW_1),
683 .color1 = { 207, 250, 200, 255 },
684 .color2 = { 206, 239, 192, 0 },
685};

Referenced by pause_spirits_draw_contents().

◆ gPauseWS_26

WindowStyleCustom gPauseWS_26
extern

Definition at line 686 of file pause_styles.c.

686 {
687 .background = {
688 .imgData = ui_box_bg_tile_png,
689 .fmt = G_IM_FMT_I,
690 .bitDepth = G_IM_SIZ_4b,
691 .width = 16,
692 .height = 16,
693 .unk_07 = { 0, 0, 0, 0 },
694 .size = 128
695 },
696 .corners = {
697 .imgData = ui_box_corners4_png,
698 .fmt = G_IM_FMT_IA,
699 .bitDepth = G_IM_SIZ_8b,
700 .size1 = { .x = 8, .y = 8 },
701 .size2 = { .x = 8, .y = 8 },
702 .size3 = { .x = 8, .y = 8 },
703 .size4 = { .x = 8, .y = 8 },
704 .unk_0D = { 0, 0, 0 },
705 },
706 .unk_1C = { 0, 0, 0, 0 },
707 .opaqueCombineMode = gsDPSetCombineMode(PM_CC_WINDOW_2, PM_CC_WINDOW_1),
708 .transparentCombineMode = gsDPSetCombineMode(PM_CC_WINDOW_3, PM_CC_WINDOW_1),
709 .color1 = { 216, 202, 219, 255 },
710 .color2 = { 205, 180, 209, 0 },
711};

◆ gPauseWS_27

WindowStyleCustom gPauseWS_27
extern

Definition at line 712 of file pause_styles.c.

712 {
713 .background = {
714 .imgData = ui_box_bg_tile_png,
715 .fmt = G_IM_FMT_I,
716 .bitDepth = G_IM_SIZ_4b,
717 .width = 16,
718 .height = 16,
719 .unk_07 = { 0, 0, 0, 0 },
720 .size = 128
721 },
722 .corners = {
723 .imgData = pause_image_143FF0_png,
724 .fmt = G_IM_FMT_IA,
725 .bitDepth = G_IM_SIZ_8b,
726 .size1 = { .x = 16, .y = 16 },
727 .size2 = { .x = 16, .y = 16 },
728 .size3 = { .x = 16, .y = 16 },
729 .size4 = { .x = 16, .y = 16 },
730 .unk_0D = { 0, 0, 0 },
731 },
732 .unk_1C = { 0, 0, 0, 0 },
733 .opaqueCombineMode = gsDPSetCombineMode(PM_CC_WINDOW_2, PM_CC_WINDOW_1),
734 .transparentCombineMode = gsDPSetCombineMode(PM_CC_WINDOW_3, PM_CC_WINDOW_1),
735 .color1 = { 236, 222, 239, 255 },
736 .color2 = { 225, 200, 229, 0 },
737};

Referenced by pause_map_draw_contents().

◆ gPauseWS_28

WindowStyleCustom gPauseWS_28
extern

Definition at line 738 of file pause_styles.c.

738 {
739 .background = {
740 .imgData = NULL,
741 .fmt = G_IM_FMT_RGBA,
742 .bitDepth = G_IM_SIZ_4b,
743 .width = 0,
744 .height = 0,
745 .unk_07 = { 0, 0, 0, 0 },
746 .size = 0
747 },
748 .corners = {
749 .imgData = pause_image_1439F0_png,
750 .fmt = G_IM_FMT_IA,
751 .bitDepth = G_IM_SIZ_8b,
752 .size1 = { .x = 16, .y = 8 },
753 .size2 = { .x = 16, .y = 8 },
754 .size3 = { .x = 16, .y = 8 },
755 .size4 = { .x = 16, .y = 8 },
756 .unk_0D = { 0, 0, 0 },
757 },
758 .unk_1C = { 0, 0, 0, 0 },
759 .opaqueCombineMode = gsDPSetCombineMode(PM_CC_15, G_CC_PASS2),
760 .transparentCombineMode = gsDPSetCombineMode(PM_CC_14, G_CC_PASS2),
761 .color1 = { 173, 114, 194, 255 },
762 .color2 = { 76, 47, 87, 0 },
763};

◆ gPauseHeldButtons

◆ gPausePressedButtons

◆ gPauseCurrentDescMsg

◆ gPauseCurrentDescIconScript

◆ gPauseCursorIconID

s32 gPauseCursorIconID
extern

Definition at line 27 of file pause_main.c.

Referenced by pause_init().

◆ gPauseMenuCurrentTab