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 authored and GitHub committed 2023-09-18 07:17:31 -05:00
1 parent db85886294
commit 8a83359ed1
2 files changed
+18 -6

No files matched your search

+11 -5
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