Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
MashCommandDraw.inc.c
Go to the documentation of this file.
1#include "common.h"
2
3void N(draw)(void) {
5 s32 hudX, hudY;
7
8 hud_element_draw_clipped(acs->hudElemIDs[0]);
9
10 hid = acs->hudElemIDs[1];
13
14 if (!acs->isMeterFilled) {
16 } else {
17 draw_mash_meter_blink(hudX, hudY, acs->meterFillLevel / ONE_PCT_MASH);
18 }
19
20 hud_element_draw_clipped(acs->hudElemIDs[2]);
21}
BSS s32 PopupMenu_SelectedIndex
void N draw(void)
BSS ActionCommandStatus gActionCommandStatus
Definition action_cmd.c:91
void draw_mash_meter_multicolor(s32 posX, s32 posY, s32 fillValue)
Definition action_cmd.c:226
void draw_mash_meter_blink(s32 posX, s32 posY, s32 fillValue)
Definition action_cmd.c:246
#define ONE_PCT_MASH
Definition action_cmd.h:69
s32 HudElemID
void hud_element_get_render_pos(s32 id, s32 *x, s32 *y)
void hud_element_draw_clipped(s32 id)