Commit graph

25923 commits

Author SHA1 Message Date
Oni
c10a042759 Merge branch 'allow-assignment-in-vote' into 'master'
Allow gamepad reassignment in vote + from joystick input

Closes #837

See merge request KartKrew/Kart!1831
2024-01-14 07:43:15 +00:00
Oni
271a5a44ed Merge branch 'battle-fixes-five-nights' into 'master'
Battle Fixes at Freddy's (includes gameplay changes that affect Race too!)

Closes #879, #893, #900, #918, #906, #903, #913, #907, and #905

See merge request KartKrew/Kart!1837
2024-01-14 07:41:31 +00:00
James R
2213386498 HUD: fix 1P Battle GOAL offset in Duel 2024-01-13 22:56:19 -08:00
James R
bb2affc484 Battle: base PWR level on correct score value 2024-01-13 22:56:19 -08:00
James R
9c7e8b8be3 Battle: cap point limit at 20 2024-01-13 22:56:19 -08:00
James R
ce1fe0028a Insta-Whip: respect flashing tics unless player is in damage state
- Matches new flashing tics behavior
2024-01-13 22:56:19 -08:00
James R
9af09ec507 Bubble/Guard: fix reflected item intangibility, transfer ownership of reflected items
- Ignores item just-thrown intangibility only if the item
  owner is the same (standard behavior)
- Player who reflected the item takes ownership of it
  - Required to make intangibility work correctly
  - Improvement to game design
2024-01-13 22:56:18 -08:00
James R
f8f2c51a8d Bubble/Guard: reflect strength 4x -> 6x 2024-01-13 22:56:18 -08:00
James R
9e650fa6c0 Guard: reflect items like Bubble
- Clash + player knockback
2024-01-13 22:56:18 -08:00
James R
92f6e61243 Battle: downscale hitlag VFX and Gahabom explosion (not in Prisons)
- Hitlag VFX: 3/4x
- Gachabom explosion: 1/2x
2024-01-13 22:56:18 -08:00
James R
26b03a810c HUD: fix GOAL not turning rainbow if point limit is less than 5 2024-01-13 22:56:18 -08:00
James R
99a2a3fb74 Let Bubble blow-up destroy any MF_SHOOTABLE object 2024-01-13 22:56:18 -08:00
James R
dd1db7cd4a Reset viewpoint to self when you spawn 2024-01-13 22:56:17 -08:00
James R
3c85a9a436 Director: let it switch to splitscreen players 2024-01-13 22:56:17 -08:00
James R
5ec2e156ab Battle: fix viewpoint switching to eliminated player 2024-01-13 22:56:17 -08:00
James R
db4e2e692b Add LobbySize option to level headers, controls whether the map appears in vote, based on player count
- Prevents a map from appearing on the vote screen if
  there are too many players
- LobbySize
  - Duel - 2 players max
  - Small - 5 players max
  - Medium - 10 players max
  - Large - 16 players max (default if not set)
- Future proofing
  - Doesn't count bot players in gametypes that don't
    support bots
2024-01-13 22:56:17 -08:00
James R
fd7eb42e9d Vote: fix Encore appearing on Battle, if gametype was changed 2024-01-13 22:56:16 -08:00
James R
9fa7cb096b P_DamageMobj: items and PvP damage bypass flashing tics if the victim is in a damage state 2024-01-13 22:56:16 -08:00
James R
92cd95311c Add P_IsKartItem: true for anything the player can hold or throw (except shield overlays) 2024-01-13 22:56:16 -08:00
James R
57c501f6ee Revert "0 flashtics in Battle"
This reverts commit 79eb400f49.
2024-01-13 22:56:16 -08:00
James R
a349b1acf0 Revert "Add K_UpdateDamageFlashing, refactor Battle 0-flashing tics"
This reverts commit 3856fbf1c6.
2024-01-13 22:56:16 -08:00
James R
da2e6f1bfe battlebumpers: let minimum be 0
Useful for testing.
2024-01-13 22:56:15 -08:00
AJ Martinez
98c390cbc5 Expose topAccel to netsave/lua 2024-01-13 20:33:00 -07:00
AJ Martinez
a76507e17f Slow down top if player's out of control 2024-01-13 20:30:20 -07:00
Oni
f9c192b04d Merge branch 'no-gp-encore' into 'master'
Menus/Grand Prix: do not carry over Encore setting from Match Race

Closes #830

See merge request KartKrew/Kart!1816
2024-01-13 23:11:31 +00:00
Oni
2c7af6e283 Merge branch 'overtime-in-skybox' into 'master'
Fix Overtime Barrier lasers appearing in skybox

Closes #881

See merge request KartKrew/Kart!1804
2024-01-13 23:09:06 +00:00
James R
f9e943b118 Set displayplayer to own self when Tally starts 2024-01-13 12:46:45 -08:00
James R
6bf9f994b5 Revert "HUD: draw tally of party member, not whoever may being spectated"
This reverts commit dfd43014c6.
2024-01-13 12:46:45 -08:00
James R
4bcdd22e2c HUD: Battle GOAL uses leading player's color by default 2024-01-13 12:34:28 -08:00
Oni
4e2373cdc0 Merge branch 'quiet-rings-2' into 'master'
3x slower ring volume regen

Closes #878

See merge request KartKrew/Kart!1830
2024-01-13 06:23:51 +00:00
Oni
0464f46cd3 Merge branch 'independent-master-gain' into 'master'
Make master volume an independent gain control

See merge request KartKrew/Kart!1835
2024-01-13 06:23:35 +00:00
Oni
1aaac393c1 Merge branch 'battle-fixes-friday' into 'master'
Battle Fixes Friday

Closes #901, #890, #865, #891, #883, #887, #885, and #888

See merge request KartKrew/Kart!1829
2024-01-13 02:21:19 +00:00
James R
f2f2b41034 K_PlayerGuard: always disable if player is in damage state
- Fixes Barrier power-up not being interrupted by damage
  state
2024-01-12 17:56:46 -08:00
James R
b6a725ad7b HUD tracking: fix Super Flicky crash if owner died 2024-01-12 17:54:30 -08:00
James R
92acc80975 Battle: fix Overtime 1v1 sound playing when last player is eliminated
- It should only play when a 3rd player dies, and leaves
  2 remaining
2024-01-12 17:42:24 -08:00
James R
64e2b77819 Menus/Sound Options: unmute if slider is adjusted
- Master volume: unmutes both SFX and music (if both were
  muted)
- SFX, music: unmutes the individual channels
2024-01-12 17:34:02 -08:00
James R
1c00d3d9c7 Menus/Sound Options: do not draw master volume differently
Now that master volume is actually a separate volume, this
distinction makes no sense.
2024-01-12 17:33:12 -08:00
James R
f12d4c275e music, sounds: toggle based on cvar's actual value 2024-01-12 17:32:25 -08:00
Eidolon
448b54c41c Make master volume an independent gain control
Master volume should control after-mixing gain; the idea is the mixed
output of sfx and music's amplitude should never exceed
`cv_mastervolume`. Setting each submixer's gain independently will
still allow the master mixer to exceed that preferred volume, which was
the main issue with the SDL_Mixer backend. So, instead we use a separate
gain control that is applied after everything is mixed.
2024-01-12 19:06:19 -06:00
James R
eb8741b481 Barrier power-up: fix insta-whip
- Fix being unable to insta-whip
- Fix insta-whip interrupting Barrier
2024-01-12 17:03:10 -08:00
Oni
ff6f3d0c7e Merge branch 'remove-gamma-slider' into 'master'
Remove gamma slider from menus

Closes #889

See merge request KartKrew/Kart!1833
2024-01-13 01:01:42 +00:00
Oni
ec8be4de63 Merge branch 'help-me-connect' into 'master'
Add help text when failing to connect

Closes #599

See merge request KartKrew/Kart!1832
2024-01-13 00:54:12 +00:00
AJ Martinez
3b610b140c Merge branch 'modify-throw-threshold' into 'master'
Make ticcmd throwdir -1, 0, or 1, add deadzone

See merge request KartKrew/Kart!1802
2024-01-13 00:39:07 +00:00
James R
711ffbef0a Guard Break: fix Guard not being broken 2024-01-12 16:35:05 -08:00
Oni
4168c9ccaf Merge branch 'templated-drawing' into 'master'
Use C++ templates for DrawColumn/Span

See merge request KartKrew/Kart!1728
2024-01-13 00:33:50 +00:00
Eidolon
26017c4fdd Clamp patch column post drawing bounds
Prevents segfaults when drawing patches in certain configurations
2024-01-12 18:32:06 -06:00
Oni
41f7bd195c Merge branch 'native-footfix' into 'master'
Offset sprites towards camera in Legacy GL

See merge request KartKrew/Kart!1834
2024-01-13 00:18:26 +00:00
SteelT
7eb4d7fff1 Fix could not implicitly convert operands to arithmetic operator
idk why my shader compiler trips up on this but not others
2024-01-12 19:14:51 -05:00
AJ Martinez
3378a03d79 Offset sprites towards camera in Legacy GL 2024-01-12 16:41:04 -07:00
AJ Martinez
b56a202cc6 Remove gamma slider from menus 2024-01-12 16:28:30 -07:00