Commit graph

25935 commits

Author SHA1 Message Date
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
AJ Martinez
74ab21ecee Add help text when failing to connect for a while 2024-01-12 16:20:12 -07:00
AJ Martinez
07a4474d4b Allow gamepad reassignment in vote + from joystick input 2024-01-12 15:48:01 -07:00
AJ Martinez
a271942ab7 3x slower ring volume regen 2024-01-12 15:10:09 -07:00
Oni
352fd87537 Merge branch 'fix-splitscreen-tally-lives' into 'master'
Tally: adjust lives icon in splitscreen

See merge request KartKrew/Kart!1828
2024-01-12 20:28:55 +00:00
Oni
6d641f8be8 Merge branch 'fix-respawn-explosion' into 'master'
Let last-place explosion kill respawning player

Closes #507

See merge request KartKrew/Kart!1824
2024-01-12 20:28:22 +00:00
Oni
afa257f0e5 Merge branch 'battle-charge' into 'master'
In Battle, gain spheres for tricks instead of rings

Closes #808

See merge request KartKrew/Kart!1827
2024-01-12 20:27:56 +00:00
Eidolon
0e30dcc38e Merge branch 'fix-wipe-key-repeat' into 'master'
Reset all gamekeydown arrays for all devices

Closes #513

See merge request KartKrew/Kart!1825
2024-01-12 17:45:26 +00:00
James R
4694cb79ff HUD: Battle rankings and GOAL (2P version) + 2P minimap tweak
- 2P version just reuses 4P version
- Minimap shifted over slightly to make room
2024-01-12 07:30:34 -08:00
James R
02719ef2bf HUD: Battle GOAL cycles colors when someone comes within 5 points of winning
- Colors cycle at a speed of 4 tics
- Adjusted "KO" flashing rate from 6/12 -> 8/16
2024-01-12 06:54:19 -08:00
James R
f232647868 HUD: Battle rankings and GOAL (4P version) + 4P timer tweak
- 4P version only displays top 2 players
- Compared to 1P version, local player is not required to
  be on the list
- Skull is displayed if any of the party members have
  reached the point limit
- 4P timers reduced to just digits, in order to make space
  for rankings
2024-01-12 06:53:42 -08:00
James R
c3a6f6b77d K_drawKartPositionFaces: refactor into class so splitscreen drawing methods can be added 2024-01-12 05:25:27 -08:00
James R
a14adfa410 HUD: Battle rankings and GOAL (1P version only)
Battle-specific HUD:

- 3 players in rankings
- Display player always appears on rankings (even if they
  are not in the top 3)
- GOAL icon at the top of the rankings
  - Normally displays point limit
  - Becomes a skull when display player has reached point limit
  - "KO" flashes over the skull, at a rate of 6/12 tics
2024-01-12 05:06:51 -08:00
James R
45ef00fb63 HUD: load Battle GOAL graphics 2024-01-12 05:02:14 -08:00
James R
76b0639d78 v_draw.hpp: fix r_draw.h being included inside srb2 namespace 2024-01-12 05:01:12 -08:00
James R
69c3aaf4f2 Gachabom Rebound: fix crash after owner object is removed 2024-01-12 02:05:56 -08:00
James R
f7970bcd68 Tally: adjust lives icon in splitscreen 2024-01-12 01:32:02 -08:00
James R
e26a95af6e Battle: show rank number on Tally screen 2024-01-12 01:10:37 -08:00
James R
b5d87a89f4 Battle: use Prison Break spawnpoints in Duels 2024-01-12 00:57:56 -08:00
James R
ecf9fd53f6 Players cannot be invincible to Insta-whip vs Guard counter
Hacked into P_DamageMobj by way of inflictor == target
2024-01-11 22:34:00 -08:00
Gunla
402d522be6 Merge branch 'spectators-trigger-radius-thing' into 'master'
Make Radius Script Thing ignore spectators

Closes #860

See merge request KartKrew/Kart!1820
2024-01-12 06:25:28 +00:00
James R
49f0b31db7 Battle: do not decrease flashing tics in the air 2024-01-11 22:03:10 -08:00
James R
182df7bf44 Give player 2 seconds of flashing tics when picking up power-ups 2024-01-11 22:02:44 -08:00
James R
3856fbf1c6 Add K_UpdateDamageFlashing, refactor Battle 0-flashing tics
Instead of setting flashing tics to 0 in Battle, simply
don't update the value in damage contexts (if Battle).
2024-01-11 22:01:37 -08:00
James R
a217178951 Super Flicky: nerf while owner is in pain state
- Not nerfed while orbiting the owner
2024-01-11 21:25:31 -08:00
James R.
d16386f9b5 Merge branch 'no-tutorial-slope-assist' into 'master'
Don't use Easy slope assist in tutorials

See merge request KartKrew/Kart!1826
2024-01-12 05:04:39 +00:00
AJ Martinez
58ff9f75e9 In Battle, gain spheres for tricks instead of rings 2024-01-11 21:32:12 -07:00
Eidolon
02e56a304e Reset all gamekeydown arrays for all devices 2024-01-11 22:04:13 -06:00
James R
60f681c048 DEVELOP: replays always save 2024-01-11 20:01:37 -08:00
AJ Martinez
1d157c4e3c Don't use Easy slope assist in tutorials 2024-01-11 20:57:54 -07:00
Oni
ab82e417bc Merge branch 'ensure-emerald-pickup' into 'master'
Ensure player picking up dropped Emerald actualls receives it

Closes #886

See merge request KartKrew/Kart!1819
2024-01-12 03:51:58 +00:00
James R
6c8c0e7435 Let last-place explosion kill respawning player 2024-01-11 19:35:54 -08:00
Oni
344d8d9642 Merge branch 'fix-debug-bots-while-paused' into 'master'
debugbots: do not spawn prediction mobjs while game is paused

Closes #892

See merge request KartKrew/Kart!1815
2024-01-12 03:21:44 +00:00
Oni
9b336a9314 Merge branch 'skip-goner' into 'master'
DEVELOP: add Skip Goner password

See merge request KartKrew/Kart!1823
2024-01-12 03:21:12 +00:00
Oni
c23f0a175b Merge branch 'caulking-the-gas-ball' into 'master'
Hardcode Sealed Star objects

See merge request KartKrew/Kart!1792
2024-01-12 03:02:41 +00:00
Oni
7d5b0b9e75 Merge branch 'fix-profile-unsafety' into 'master'
Fix uninitialized memory in Profile Card

Closes #896

See merge request KartKrew/Kart!1821
2024-01-12 03:01:04 +00:00
Oni
45122c66ab Merge branch 'resolution-warning-2' into 'master'
Warn about high resolutions

Closes #615

See merge request KartKrew/Kart!1806
2024-01-12 02:52:23 +00:00
Oni
022c9926e8 Merge branch 'easy-tuneup' into 'master'
Hill-climb assist for Easy/Battle

See merge request KartKrew/Kart!1810
2024-01-12 02:51:27 +00:00
James R
ecdd17faaa DEVELOP: add Skip Goner password 2024-01-11 18:48:03 -08:00