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

Macros

#define NAMESPACE   action_command_air_lift
 
#define METER_FILL_RATE   820
 
#define GET_DRAIN_RATE(pct)   PCT_TO_TABLE_RATE(N(DrainRateTable), pct)
 

Enumerations

enum  { HIDX_BUTTON = 0 , HIDX_METER = 1 , HIDX_100_PCT = 2 }
 

Functions

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

Variables

s32 actionCmdTableAirLift []
 

Macro Definition Documentation

◆ GET_DRAIN_RATE

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

Referenced by update().

◆ METER_FILL_RATE

#define METER_FILL_RATE   820

Referenced by update().

◆ NAMESPACE

#define NAMESPACE   action_command_air_lift

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
HIDX_BUTTON 
HIDX_METER 
HIDX_100_PCT 

Function Documentation

◆ draw()

void N draw ( void )

◆ free()

void N free ( void )

◆ update()

void N update ( void )

Variable Documentation

◆ actionCmdTableAirLift

s32 actionCmdTableAirLift[]
extern