mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-26 18:02:30 +00:00
Bubble wall bounce tumble
(does nothing yet)
This commit is contained in:
parent
341c62cc07
commit
cb3c370e33
2 changed files with 13 additions and 0 deletions
12
src/k_kart.c
12
src/k_kart.c
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue