You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
* Imminent fixes for bugs found on master branch (#512) * The vanilla level checks define for Yoshi is inverted, causing him to require 120 stars when it is off and appear at 0 stars when it's on * The downwarp fix results in Mario levitating in midair when grabbing Bowser midair. While downwarps should still be fixed, the change should be reverted immediately until a better fix is made. * Some checks of Mario's floor class were using the wrong defines, which can lead to unexpected behavior in the event anyone wants to reorder surface types. By default the SURFACE_CLASS_SLIPPERY and SURFACE_SLIPPERY defines have the same value, which is why this mistake is hard to notice. * The firsty frames define was implemented poorly, not allowing for vanilla firsty behavior no matter what the values were set to. This has been reverted, while avoiding the UB in the original vanilla code. * Removed the ledge grab changes that fix QSLGs and change the false ledgegrab define since Arceveti wanted to in his PR * Update version to 2.0.4 (#515) * HackerSM64 2.0.5 (#517) * Bugfix: race condition with accessing cleared audio memory pools * Bugfix: skyboxes access tiles out of range when looking straight down (#518) * Vscode fixes (#516) * Revert s32 angles and remove Angle typedef usage (#529) * Fix some surface shadowing (#531) * Delete rtc.h * Remove `wait_for_audio_frames()` Co-authored-by: thecozies <79979276+thecozies@users.noreply.github.com> Co-authored-by: Arceveti <73617174+Arceveti@users.noreply.github.com> Co-authored-by: JoshDuMan <40190173+JoshDuMan@users.noreply.github.com> * Update VERSION.txt (#534) * HackerSM64 2.0.6 (#539) * revert random_u16 to be a u16 (#538) * Added safety gcc math flags (#537) * removed useless compilation flags that could cause performance loss Co-authored-by: thecozies <79979276+thecozies@users.noreply.github.com> Co-authored-by: thecozies <collinpferguson@gmail.com> * Update VERSION.txt HackerSM64 2.0.6 * Add GCC opt flag to suppress warnings * v2.0.7 * 2.0.8 (fix more compiler warnings) (#543) * fix Waddress in mario_step.c * fix Winfinite-recursion in unused dynlist_proc function * in fact remove the offending function entirely * fix warnings in RNC decompress functions * update version * fix version in VERSION.txt premature on my part, will update it to 2.0.10 next time Co-authored-by: someone2639 <someone2639@gmail.com> Co-authored-by: arthurtilly <32559225+arthurtilly@users.noreply.github.com> Co-authored-by: axollyon <20480418+axollyon@users.noreply.github.com> Co-authored-by: Gregory Heskett <gheskett@gmail.com> Co-authored-by: thecozies <79979276+thecozies@users.noreply.github.com> Co-authored-by: JoshDuMan <40190173+JoshDuMan@users.noreply.github.com> Co-authored-by: thecozies <collinpferguson@gmail.com> Co-authored-by: Reonu <danileon95@gmail.com> Co-authored-by: someone2639 <someone2639@users.noreply.github.com> Co-authored-by: someone2639 <someone2639@gmail.com>
139 lines
3.1 KiB
C
139 lines
3.1 KiB
C
#pragma once
|
|
|
|
/*********************
|
|
* MOVEMENT SETTINGS *
|
|
*********************/
|
|
|
|
/**
|
|
* Changes Mario's ground turn radius by making it dependent on the analog stick magnitude and speed.
|
|
*/
|
|
// #define VELOCITY_BASED_TURN_SPEED
|
|
|
|
/**
|
|
* Allows Mario to easily side flip when moving forwards at any speed.
|
|
*/
|
|
// #define SIDE_FLIP_AT_LOW_SPEEDS
|
|
|
|
/**
|
|
* Allows Mario to aim towards a new direction at the end of turning around,
|
|
* and allows Mario to turn around multiple times in a row.
|
|
*/
|
|
// #define RESET_DIRECTION_WHEN_TURNING_AROUND
|
|
|
|
/**
|
|
* Improved hanging:
|
|
* - Doesn't require holding down the A button.
|
|
* - Precise turning control.
|
|
* - Prevents falling from the edges.
|
|
*/
|
|
#define BETTER_HANGING
|
|
|
|
/**
|
|
* Change the movement speed when hanging from a ceiling (the vanilla value is 4.0f, has no effect if BETTER_HANGING is enabled).
|
|
*/
|
|
#define HANGING_SPEED 12.0f
|
|
|
|
/**
|
|
* Prevents Mario from falling asleep while idle.
|
|
*/
|
|
// #define NO_SLEEP
|
|
|
|
/**
|
|
* 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).
|
|
*/
|
|
// #define NO_FALL_DAMAGE_SOUND
|
|
|
|
/**
|
|
* Fall height for normal fall damage. Vanilla is 1150.0f.
|
|
*/
|
|
#define FALL_DAMAGE_HEIGHT_SMALL 1150.0f
|
|
|
|
/**
|
|
* Fall height for double fall damage. Vanilla is 3000.0f.
|
|
*/
|
|
#define FALL_DAMAGE_HEIGHT_LARGE 3000.0f
|
|
|
|
/**
|
|
* Disables Mario getting stuck in snow and sand when falling.
|
|
*/
|
|
// #define NO_GETTING_BURIED
|
|
|
|
/**
|
|
* Prevents hands-free holding.
|
|
*/
|
|
// #define HANDS_FREE_HOLDING_FIX
|
|
|
|
/**
|
|
* Prevents Mario from losing his cap.
|
|
*/
|
|
// #define PREVENT_CAP_LOSS
|
|
|
|
/**
|
|
* Enables Platform Displacement 2, also known as momentum patch. Makes Mario keep the momemtum from moving platforms.
|
|
*/
|
|
#define PLATFORM_DISPLACEMENT_2
|
|
|
|
/**
|
|
* Uses Shindou's pole behavior.
|
|
*/
|
|
// #define SHINDOU_POLES
|
|
|
|
/**
|
|
* If A and Z are pressed on the same frame while running, Mario will long jump instead of ground pound.
|
|
*/
|
|
#define EASIER_LONG_JUMPS
|
|
|
|
/**
|
|
* Enables the ability to hold Z while twirling to descend faster.
|
|
*/
|
|
#define Z_TWIRL
|
|
|
|
/**
|
|
* Disables bonks when ground pounding next to a wall.
|
|
*/
|
|
#define DISABLE_GROUNDPOUND_BONK
|
|
|
|
/**
|
|
* Allows Mario to jump kick on steep surfaces that are set to be non slippery, instead of being forced to dive.
|
|
*/
|
|
#define JUMP_KICK_FIX
|
|
|
|
/**
|
|
* Allows Mario to grab hangable ceilings from any state.
|
|
*/
|
|
#define HANGING_FIX
|
|
|
|
/**
|
|
* The maximum angle the player can wall kick, in degrees. 0..90. To allow 45 degree wall kicks, you must supply `46` to allow 45 and under.
|
|
*/
|
|
#define WALL_KICK_DEGREES 45
|
|
|
|
/**
|
|
* Makes Mario unable to ledge grab steep slopes to prevent false ledge grabs.
|
|
*/
|
|
#define DONT_LEDGE_GRAB_STEEP_SLOPES
|
|
|
|
/**
|
|
* Disables BLJs and crushes SimpleFlips's dreams.
|
|
*/
|
|
// #define DISABLE_BLJ
|
|
|
|
/**
|
|
* Re-enables upwarping when entering water. Forces you to only enter water from the top.
|
|
*/
|
|
// #define WATER_PLUNGE_UPWARP
|
|
|
|
/**
|
|
* This bug allows mario to move when initiating a dialog,
|
|
* just as long as mario doesn't enter an action that can
|
|
* be interrupted with text
|
|
* Uncomment this to fix this bug, and frustrate speedrunners
|
|
*/
|
|
// #define BUGFIX_DIALOG_TIME_STOP
|
|
|