summaryrefslogtreecommitdiff
path: root/soh/include/functions.h
diff options
context:
space:
mode:
authorEric Hoey <121978037+A-Green-Spoon@users.noreply.github.com>2024-01-08 13:21:18 -0500
committerGitHub <noreply@github.com>2024-01-08 12:21:18 -0600
commita0258f0fca8def02c3ea3e723d359b139525c146 (patch)
treee079f30612f0320747e13606c99c3a9fbc85b967 /soh/include/functions.h
parent90648977361bd7997f6cd5856db41532fb0fed9b (diff)
Add Invert Y-Axis and Apply Right-Stick Aiming to Z-Weapon Aiming (#3304)
* Add right-stick aiming to third-person aim * Add Z-aiming CVar and inversion to Z-aiming * Create calculation for rel.right_stick and apply it in Z-aiming * Move option to First-Person section to match shield * Fix max/min aiming heights * Expand min/max + comment * block out vanilla + comments * block vanilla code better * Remove extra space * new documentation formatting * rewrite ==0 and !=0
Diffstat (limited to 'soh/include/functions.h')
-rw-r--r--soh/include/functions.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/soh/include/functions.h b/soh/include/functions.h
index 6f188a842..3898ea63d 100644
--- a/soh/include/functions.h
+++ b/soh/include/functions.h
@@ -2210,6 +2210,14 @@ s8 PadUtils_GetRelYImpl(Input* input);
s8 PadUtils_GetRelX(Input* input);
s8 PadUtils_GetRelY(Input* input);
void PadUtils_UpdateRelXY(Input* input);
+s8 PadUtils_GetCurRX(Input* input);
+s8 PadUtils_GetCurRY(Input* input);
+void PadUtils_SetRelRXY(Input* input, s32 x, s32 y);
+s8 PadUtils_GetRelRXImpl(Input* input);
+s8 PadUtils_GetRelRYImpl(Input* input);
+s8 PadUtils_GetRelRX(Input* input);
+s8 PadUtils_GetRelRY(Input* input);
+void PadUtils_UpdateRelRXY(Input* input);
s32 PadSetup_Init(OSMesgQueue* mq, u8* outMask, OSContStatus* status);
f32 Math_FTanF(f32 x);
f32 Math_FFloorF(f32 x);