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

Macros

#define NAMESPACE   action_command_squirt
 
#define METER_DRAIN_RATE   250
 
#define GET_DRAIN_RATE(pct)   (N(DrainRateTable)[((pct) / (ONE_PCT_MASH / 5))])
 
#define GET_FILL_RATE(pct)   (N(FillRateTable)[((pct) / (ONE_PCT_MASH / 5))])
 

Enumerations

enum  { HIDX_BUTTON = 0 , HIDX_METER = 1 }
 

Functions

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

Variables

s32 actionCmdTableSquirt []
 

Macro Definition Documentation

◆ GET_DRAIN_RATE

#define GET_DRAIN_RATE ( pct)    (N(DrainRateTable)[((pct) / (ONE_PCT_MASH / 5))])

Referenced by update().

◆ GET_FILL_RATE

#define GET_FILL_RATE ( pct)    (N(FillRateTable)[((pct) / (ONE_PCT_MASH / 5))])

Referenced by update().

◆ METER_DRAIN_RATE

#define METER_DRAIN_RATE   250

Referenced by update().

◆ NAMESPACE

#define NAMESPACE   action_command_squirt

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
HIDX_BUTTON 
HIDX_METER 

Function Documentation

◆ draw()

void N draw ( void )

◆ free()

void N free ( void )

◆ update()

void N update ( void )

Variable Documentation

◆ actionCmdTableSquirt

s32 actionCmdTableSquirt[]
extern