You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
define for super responsive controls
This commit is contained in:
@@ -65,9 +65,11 @@
|
||||
// Remove course specific camera processing
|
||||
#define CAMERA_FIX
|
||||
// Change the movement speed when hanging from a ceiling
|
||||
#define HANGING_SPEED 4.f
|
||||
#define HANGING_SPEED 12.f
|
||||
// Makes Mario face the direction of the analog stick directly while hanging from a ceiling, without doing "semicircles"
|
||||
#define TIGHTER_HANGING_CONTROLS
|
||||
// Makes Mario turn around instantly when moving on the ground
|
||||
//#define SUPER_RESPONSIVE_CONTROLS
|
||||
// Disables fall damage
|
||||
#define NO_FALL_DAMAGE
|
||||
// Disables the scream that mario makes when falling off a great height (this is separate from actual fall damage)
|
||||
|
||||
@@ -386,8 +386,13 @@ void update_shell_speed(struct MarioState *m) {
|
||||
m->forwardVel = 64.0f;
|
||||
}
|
||||
|
||||
#ifdef SUPER_RESPONSIVE_CONTROLS
|
||||
m->faceAngle[1] = m->intendedYaw;
|
||||
#else
|
||||
m->faceAngle[1] =
|
||||
m->intendedYaw - approach_s32((s16)(m->intendedYaw - m->faceAngle[1]), 0, 0x800, 0x800);
|
||||
#endif
|
||||
|
||||
|
||||
apply_slope_accel(m);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user