Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
menu_hud_scripts.c
Go to the documentation of this file.
1#include"common.h"
2#include "hud_element.h"
3#include "ld_addrs.h"
4
5HudScript HES_UnusedBadge = HES_TEMPLATE_CI_ENUM_SIZE(ui_pause_unused_badge_points, 24, 24);
6
11 hs_SetCI_Explicit(60, ui_pause_unused_badge_points, ui_pause_unused_badge_points_disabled_disabled_)
13 hs_End
14};
15
16HudScript HES_UnusedCompass = HES_TEMPLATE_CI_ENUM_SIZE(ui_pause_unused_compass, 24, 24);
17
22 hs_SetCI_Explicit(60, ui_pause_unused_compass, ui_pause_unused_compass_disabled_disabled_)
24 hs_End
25};
26
28
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};
40
42
44
47 hs_SetCustomSize(16, 16)
50 hs_SetCI(9, ui_files_filename_caret)
52 hs_SetCI(6, ui_files_filename_caret)
54 hs_End
55};
56
58
59#if VERSION_JP
60HudScript HES_HeaderStats = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_pause_label_spirits, 32, 16);
61
62HudScript HES_HeaderBadges = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_pause_label_map, 32, 16);
63#else
65
67
69
71
73
75#endif
76
77#if VERSION_PAL
78HudScript HES_HeaderStats_de = HES_TEMPLATE_CI_CUSTOM_SIZE(de_ui_pause_label_stats, 48, 16);
79HudScript HES_HeaderBadges_de = HES_TEMPLATE_CI_CUSTOM_SIZE(de_ui_pause_label_badges, 48, 16);
80HudScript HES_HeaderItems_de = HES_TEMPLATE_CI_CUSTOM_SIZE(de_ui_pause_label_items, 48, 16);
81HudScript HES_HeaderParty_de = HES_TEMPLATE_CI_CUSTOM_SIZE(de_ui_pause_label_party, 48, 16);
82HudScript HES_HeaderSpirits_de = HES_TEMPLATE_CI_CUSTOM_SIZE(de_ui_pause_label_spirits, 48, 16);
83HudScript HES_HeaderMap_de = HES_TEMPLATE_CI_CUSTOM_SIZE(de_ui_pause_label_map, 48, 16);
84
85HudScript HES_HeaderStats_fr = HES_TEMPLATE_CI_CUSTOM_SIZE(fr_ui_pause_label_stats, 48, 16);
86HudScript HES_HeaderBadges_fr = HES_TEMPLATE_CI_CUSTOM_SIZE(fr_ui_pause_label_badges, 48, 16);
87HudScript HES_HeaderItems_fr = HES_TEMPLATE_CI_CUSTOM_SIZE(fr_ui_pause_label_items, 48, 16);
88HudScript HES_HeaderParty_fr = HES_TEMPLATE_CI_CUSTOM_SIZE(fr_ui_pause_label_party, 48, 16);
89HudScript HES_HeaderSpirits_fr = HES_TEMPLATE_CI_CUSTOM_SIZE(fr_ui_pause_label_spirits, 48, 16);
90HudScript HES_HeaderMap_fr = HES_TEMPLATE_CI_CUSTOM_SIZE(fr_ui_pause_label_map, 48, 16);
91
92HudScript HES_HeaderStats_es = HES_TEMPLATE_CI_CUSTOM_SIZE(es_ui_pause_label_stats, 48, 16);
93HudScript HES_HeaderBadges_es = HES_TEMPLATE_CI_CUSTOM_SIZE(es_ui_pause_label_badges, 48, 16);
94HudScript HES_HeaderItems_es = HES_TEMPLATE_CI_CUSTOM_SIZE(es_ui_pause_label_items, 48, 16);
95HudScript HES_HeaderParty_es = HES_TEMPLATE_CI_CUSTOM_SIZE(es_ui_pause_label_party, 48, 16);
96HudScript HES_HeaderSpirits_es = HES_TEMPLATE_CI_CUSTOM_SIZE(es_ui_pause_label_spirits, 48, 16);
97HudScript HES_HeaderMap_es = HES_TEMPLATE_CI_CUSTOM_SIZE(es_ui_pause_label_map, 48, 16);
98#endif
99
101
103
105
107
109
111
113
115
117
119
121
122HudScript HES_JpFile = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_pause_label_jp_file, 32, 16);
123
124HudScript HES_JpFileDisabled = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_pause_label_jp_file_disabled, 32, 16);
125
126HudScript HES_OptionMonoOn = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_files_option_mono_on, 64, 16);
127
128HudScript HES_OptionMonoOff = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_files_option_mono_off, 64, 16);
129
130HudScript HES_OptionStereoOn = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_files_option_stereo_on, 64, 16);
131
132HudScript HES_OptionStereoOff = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_files_option_stereo_off, 64, 16);
133
134#if VERSION_PAL
135HudScript HES_OptionMonoOn_de = HES_TEMPLATE_CI_CUSTOM_SIZE(de_ui_files_option_mono_on, 64, 16);
136HudScript HES_OptionMonoOff_de = HES_TEMPLATE_CI_CUSTOM_SIZE(de_ui_files_option_mono_off, 64, 16);
137HudScript HES_OptionStereoOn_de = HES_TEMPLATE_CI_CUSTOM_SIZE(de_ui_files_option_stereo_on, 64, 16);
138HudScript HES_OptionStereoOff_de = HES_TEMPLATE_CI_CUSTOM_SIZE(de_ui_files_option_stereo_off, 64, 16);
139
140HudScript HES_OptionMonoOn_fr = HES_TEMPLATE_CI_CUSTOM_SIZE(fr_ui_files_option_mono_on, 64, 16);
141HudScript HES_OptionMonoOff_fr = HES_TEMPLATE_CI_CUSTOM_SIZE(fr_ui_files_option_mono_off, 64, 16);
142HudScript HES_OptionStereoOn_fr = HES_TEMPLATE_CI_CUSTOM_SIZE(fr_ui_files_option_stereo_on, 64, 16);
143HudScript HES_OptionStereoOff_fr = HES_TEMPLATE_CI_CUSTOM_SIZE(fr_ui_files_option_stereo_off, 64, 16);
144
145HudScript HES_OptionMonoOn_es = HES_TEMPLATE_CI_CUSTOM_SIZE(es_ui_files_option_mono_on, 64, 16);
146HudScript HES_OptionMonoOff_es = HES_TEMPLATE_CI_CUSTOM_SIZE(es_ui_files_option_mono_off, 64, 16);
147HudScript HES_OptionStereoOn_es = HES_TEMPLATE_CI_CUSTOM_SIZE(es_ui_files_option_stereo_on, 64, 16);
148HudScript HES_OptionStereoOff_es = HES_TEMPLATE_CI_CUSTOM_SIZE(es_ui_files_option_stereo_off, 64, 16);
149#endif
150
152
153HudScript HES_Spirit1Missing = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_files_eldstar_silhouette, 16, 16);
154
156
157HudScript HES_Spirit2Missing = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_files_mamar_silhouette, 16, 16);
158
160
161HudScript HES_Spirit3Missing = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_files_skolar_silhouette, 16, 16);
162
164
165HudScript HES_Spirit4Missing = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_files_muskular_silhouette, 16, 16);
166
168
169HudScript HES_Spirit5Missing = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_files_misstar_silhouette, 16, 16);
170
172
173HudScript HES_Spirit6Missing = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_files_klevar_silhouette, 16, 16);
174
176
177HudScript HES_Spirit7Missing = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_files_kalmar_silhouette, 16, 16);
178
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};
190
191HudScript HES_ListPrevPage = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_pause_list_prev_page, 16, 16);
192
193HudScript HES_ListNextPage = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_pause_list_next_page, 16, 16);
194
195HudScript HES_133F40_133FC0 = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_pause_unused_z_up_arrow, 16, 16);
196
197HudScript HES_133FE0_134060 = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_pause_unused_r_down_arrow, 16, 16);
198
200
201#if VERSION_PAL
202HudScript HES_LabelBpNeeded_de = HES_TEMPLATE_CI_CUSTOM_SIZE(de_ui_pause_bp_needed, 48, 8);
203HudScript HES_LabelBpNeeded_fr = HES_TEMPLATE_CI_CUSTOM_SIZE(fr_ui_pause_bp_needed, 48, 8);
204HudScript HES_LabelBpNeeded_es = HES_TEMPLATE_CI_CUSTOM_SIZE(es_ui_pause_bp_needed, 48, 8);
205#endif
206
208
210
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};
222
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};
234
235HudScript HES_StatBoots0 = HES_TEMPLATE_CI_ENUM_SIZE(ui_pause_stat_boots0, 16, 16);
236
237HudScript HES_StatBoots1 = HES_TEMPLATE_CI_ENUM_SIZE(ui_pause_stat_boots1, 16, 16);
238
239HudScript HES_StatBoots2 = HES_TEMPLATE_CI_ENUM_SIZE(ui_pause_stat_boots2, 16, 16);
240
241HudScript HES_StatBoots3 = HES_TEMPLATE_CI_ENUM_SIZE(ui_pause_stat_boots3, 16, 16);
242
243HudScript HES_StatHammer0 = HES_TEMPLATE_CI_ENUM_SIZE(ui_pause_stat_hammer0, 16, 16);
244
245HudScript HES_StatHammer1 = HES_TEMPLATE_CI_ENUM_SIZE(ui_pause_stat_hammer1, 16, 16);
246
247HudScript HES_StatHammer2 = HES_TEMPLATE_CI_ENUM_SIZE(ui_pause_stat_hammer2, 16, 16);
248
249HudScript HES_StatHammer3 = HES_TEMPLATE_CI_ENUM_SIZE(ui_pause_stat_hammer3, 16, 16);
250
252
254
255HudScript HES_Clock = HES_TEMPLATE_CI_ENUM_SIZE(ui_pause_stat_time, 16, 16);
256
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};
268
272 hs_Loop
273 hs_SetCI(12, ui_pause_stat_star_piece0)
274 hs_SetCI(4, ui_pause_stat_star_piece1)
275 hs_SetCI(12, ui_pause_stat_star_piece2)
276 hs_SetCI(4, ui_pause_stat_star_piece1)
278 hs_End
279};
280
282
284
286
287HudScript HES_PartnerRank = HES_TEMPLATE_CI_ENUM_SIZE(ui_pause_partner_rank, 16, 16);
288
HudScript HES_OptionMonoOn_es
HudScript HES_OptionStereoOn_fr
HudScript HES_OptionStereoOn_es
HudScript HES_OptionStereoOn_de
HudScript HES_OptionStereoOff_fr
HudScript HES_OptionStereoOff_es
HudScript HES_OptionMonoOff_de
HudScript HES_OptionMonoOff_es
HudScript HES_OptionStereoOff_de
HudScript HES_OptionMonoOn_fr
HudScript HES_OptionMonoOn_de
HudScript HES_OptionMonoOff_fr
#define hs_SetTileSize(size)
#define hs_SetCustomSize(arg0, arg1)
#define hs_SetVisible
#define hs_End
#define hs_AddTexelOffsetX(x)
@ HUD_ELEMENT_FLAG_200000
Definition hud_element.h:94
#define hs_Restart
#define HES_TEMPLATE_CI_CUSTOM_SIZE(name, sizeX, sizeY)
Basic HudScript used for static CI images, setting size with hs_SetCustomSize.
#define hs_Loop
#define hs_SetCI(time, name)
#define HES_TEMPLATE_CI_ENUM_SIZE(name, sizeX, sizeY)
Basic HudScript used for static CI images, setting size with hs_SetTileSize.
#define hs_SetCI_Explicit(time, raster, palette)
#define hs_ClearFlags(arg0)
@ HUD_ELEMENT_SIZE_24x24
Definition hud_element.h:47
@ HUD_ELEMENT_SIZE_16x16
Definition hud_element.h:46
s32 HudScript[]
Definition hud_element.h:9
#define hs_SetFlags(arg0)
HudScript HES_HeaderMap
HudScript HES_133FE0_134060
HudScript HES_PartnerRank
HudScript HES_Spirit6Missing
HudScript HES_SmallText0
HudScript HES_SmallTextBp
HudScript HES_Spirit1Missing
HudScript HES_UnusedCompass_disabled
HudScript HES_Spirit5Missing
HudScript HES_UnusedBadge_disabled
HudScript HES_Spirit4Missing
HudScript HES_OptionMonoOff
HudScript HES_HeaderParty
HudScript HES_MarioHeadSmall
HudScript HES_SmallText3
HudScript HES_Dash
HudScript HES_DescMsgNext
HudScript HES_SmallText4
HudScript HES_Spirit5
HudScript HES_ListPrevPage
HudScript HES_StatBoots3
HudScript HES_Spirit3Missing
HudScript HES_DescMsgPrev
HudScript HES_AnimatedCursorHand
HudScript HES_StatHammer3
HudScript HES_SmallText7
HudScript HES_StatStarPiece_2
HudScript HES_StatHammer1
HudScript HES_SmallText1
HudScript HES_JpFile
HudScript HES_FilenameCaret
HudScript HES_StatFp_2
HudScript HES_UnusedBadge
HudScript HES_HeaderSpirits
HudScript HES_Spirit2
HudScript HES_StatBoots1
HudScript HES_Clock
HudScript HES_Spirit7
HudScript HES_StatBoots0
HudScript HES_MapWalk0
HudScript HES_Spirit3
HudScript HES_Spirit2Missing
HudScript HES_StatFp_1
HudScript HES_Spirit6
HudScript HES_UnusedCompass
HudScript HES_MarioHeadLarge
HudScript HES_Spirit1
HudScript HES_StatBoots2
HudScript HES_HeaderStats
HudScript HES_LabelBpNeeded
HudScript HES_SmallText2
HudScript HES_Spirit4
HudScript HES_HeaderItems
HudScript HES_133F40_133FC0
HudScript HES_StatHammer0
HudScript HES_OptionMonoOn
HudScript HES_134F60_135120
HudScript HES_CursorHand
HudScript HES_SmallText9
HudScript HES_ListNextPage
HudScript HES_OptionStereoOn
HudScript HES_JpFileDisabled
HudScript HES_StatBp
HudScript HES_JpSuper
HudScript HES_SmallText5
HudScript HES_JpUltra
HudScript HES_SmallText8
HudScript HES_StatStarPiece_1
HudScript HES_HeaderBadges
HudScript HES_SmallText6
HudScript HES_Spirit7Missing
HudScript HES_StatHammer2
HudScript HES_FilenameSpace
HudScript HES_OptionStereoOff
HudScript HES_StatTimes