Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
Padclamp.c File Reference

Functions

static f32 dolsqrtf (f32 x)
 
static void ClampStick (s8 *px, s8 *py, s8 max, s8 xy, s8 min)
 
static void ClampCircle (s8 *px, s8 *py, s8 radius, s8 min)
 
void ClampTrigger (u8 *trigger, u8 min, u8 max)
 
void PADClamp (PADStatus *status)
 
void PADClampCircle (PADStatus *status)
 

Variables

static const PADClampRegion ClampRegion
 

Function Documentation

◆ ClampCircle()

void ClampCircle ( s8 px,
s8 py,
s8  radius,
s8  min 
)
static

◆ ClampStick()

static void ClampStick ( s8 px,
s8 py,
s8  max,
s8  xy,
s8  min 
)
static

◆ ClampTrigger()

void ClampTrigger ( u8 trigger,
u8  min,
u8  max 
)
inline

◆ dolsqrtf()

static f32 dolsqrtf ( f32  x)
inlinestatic

◆ PADClamp()

void PADClamp ( PADStatus status)

◆ PADClampCircle()

void PADClampCircle ( PADStatus status)

Variable Documentation

◆ ClampRegion

const PADClampRegion ClampRegion
static
Initial value:
= {
30,
180,
15,
72,
40,
15,
59,
31,
56,
44,
}