papermario
Decompilation of Paper Mario
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Loading...
Searching...
No Matches
mega_shock.c File Reference

Macros

#define NAMESPACE   action_command_mega_shock
 
#define METER_FILL_TICK   780
 
#define GET_DRAIN_RATE(pct)   PCT_TO_TABLE_RATE(N(DrainRateTable), pct)
 

Enumerations

enum  { HIDX_A_BUTTON = 0 , HIDX_METER = 1 , HIDX_B_BUTTON = 2 , HIDX_100_PCT = 4 }
 

Functions

void N update (void)
 
void N draw (void)
 
void N free (void)
 

Variables

s32 actionCmdTableMegaShock []
 

Macro Definition Documentation

◆ GET_DRAIN_RATE

#define GET_DRAIN_RATE ( pct)    PCT_TO_TABLE_RATE(N(DrainRateTable), pct)

Referenced by update().

◆ METER_FILL_TICK

#define METER_FILL_TICK   780

Referenced by update().

◆ NAMESPACE

#define NAMESPACE   action_command_mega_shock

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
HIDX_A_BUTTON 
HIDX_METER 
HIDX_B_BUTTON 
HIDX_100_PCT 

Function Documentation

◆ draw()

void N draw ( void )

◆ free()

void N free ( void )

◆ update()

void N update ( void )

Variable Documentation

◆ actionCmdTableMegaShock

s32 actionCmdTableMegaShock[]
extern