Bubble wall bounce tumble

(does nothing yet)
This commit is contained in:
VelocitOni 2025-10-01 22:44:56 -04:00
parent 341c62cc07
commit cb3c370e33
2 changed files with 13 additions and 0 deletions

View file

@ -14370,6 +14370,18 @@ boolean K_FastFallBounce(player_t *player)
return false;
}
void K_DappleEmployment(player_t *player)
{
const boolean JustWallBonked = ((player->mo->eflags & MFE_JUSTBOUNCEDWALL) != 0); // some shit about signed...
const boolean NoMoreBubbleWallHump = ((player->ignoreAirtimeLeniency > 0) && JustWallBonked);
// No more vertical wall humping
if (NoMoreBubbleWallHump == true)
K_StumblePlayer(player);
CONS_Printf("ignoreAirtimeLeniency: %d JustWallBonked: %d\n", (player->ignoreAirtimeLeniency), JustWallBonked);
}
static void K_AirFailsafe(player_t *player)
{
const fixed_t maxSpeed = 6*player->mo->scale;

View file

@ -295,6 +295,7 @@ boolean K_PlayerEBrake(const player_t *player);
boolean K_PlayerGuard(const player_t *player);
SINT8 K_Sliptiding(const player_t *player);
boolean K_FastFallBounce(player_t *player);
void K_DappleEmployment(player_t *player);
fixed_t K_PlayerBaseFriction(const player_t *player, fixed_t original);
void K_AdjustPlayerFriction(player_t *player);
void K_MoveKartPlayer(player_t *player, boolean onground);