Add functional changes to inertia to support only specific directions specified in the config (#671)

* Add functional changes to inertia to support only specific directions specified in the config (needs cleanup)

* Reduce number of inertia defines

* Update Platform Displacement 2 define description

* comment adjustments
This commit is contained in:
Gregory Heskett
2023-09-18 08:17:31 -04:00
committed by GitHub
parent db85886294
commit 8a83359ed1
2 changed files with 18 additions and 6 deletions

View File

@@ -73,11 +73,6 @@
*/
// #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.
*/
@@ -136,3 +131,14 @@
*/
// #define BUGFIX_DIALOG_TIME_STOP
/**
* Enables Platform Displacement 2, an upgrade to the physics involving moving platforms and how Mario interacts with them.
*/
#define PLATFORM_DISPLACEMENT_2
/**
* Inertia defines; allow Mario to preserve his momemtum when leaving moving platforms.
* These require Platform Displacement 2 to be enabled.
*/
#define MARIO_INERTIA_UPWARD
// #define MARIO_INERTIA_LATERAL