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

Macros

#define NAMESPACE   action_command_smack
 
#define HAND_METER_FILL_TICK   1300
 
#define FAN_METER_FILL_TICK   850
 
#define FAIL_METER_FILL_TICK   1100
 
#define GET_DRAIN_RATE(pct)   PCT_TO_TABLE_RATE(N(DrainRateTable), pct)
 

Enumerations

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

Functions

void N update (void)
 

Variables

s32 actionCmdTableSmack []
 

Macro Definition Documentation

◆ FAIL_METER_FILL_TICK

#define FAIL_METER_FILL_TICK   1100

Referenced by update().

◆ FAN_METER_FILL_TICK

#define FAN_METER_FILL_TICK   850

Referenced by update().

◆ GET_DRAIN_RATE

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

Referenced by update().

◆ HAND_METER_FILL_TICK

#define HAND_METER_FILL_TICK   1300

Referenced by update().

◆ NAMESPACE

#define NAMESPACE   action_command_smack

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
HIDX_STICK 
HIDX_METER 
HIDX_100_PCT 

Function Documentation

◆ update()

void N update ( void )

Variable Documentation

◆ actionCmdTableSmack

s32 actionCmdTableSmack[]
extern