Commit graph

25703 commits

Author SHA1 Message Date
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
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
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
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
f7970bcd68 Tally: adjust lives icon in splitscreen 2024-01-12 01:32:02 -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.
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
Oni
ee03dae01e Merge branch 'unstuck-tripwire' into 'master'
Reduce hitlag, then respawn when trapped in tripwire

See merge request KartKrew/Kart!1805
2024-01-12 02:08:32 +00:00
Oni
7b08c78f1b Merge branch 'reset-cooldowns-when-hurt' into 'master'
Refactor guard/whip cooldown checks

Closes #880

See merge request KartKrew/Kart!1803
2024-01-12 02:07:57 +00:00
James R
51ad284fef Profiles: fix incorrect rumble setting for new profiles 2024-01-11 16:48:22 -08:00
James R
37dc2e5f29 profile_t: calloc struct
Avoids any string buffers not having a NUL byte at the
end.
2024-01-11 16:44:54 -08:00
James R
0bbed90c2d MT_SCRIPT_THING: ignore spectators 2024-01-11 15:34:30 -08:00
James R
be5f632381 Ensure player picking up dropped Emerald actualls receives it 2024-01-11 15:10:36 -08:00
James R.
458158d16a Merge branch 'fix-music-sound-config' into 'master'
musicvolume, soundvolume: do not unmute during config loading

Closes #897

See merge request KartKrew/Kart!1817
2024-01-11 22:38:46 +00:00
toaster
f4abaabdd5 bj_SSHologramRotatorMapThingSpawn: Fix possible div/0 2024-01-11 14:18:16 -08:00
James R
a2c88952c5 Sealed Stars: fix string comparisons
- Use strlcpy instead of strcpy
- Use stricmp instead of strcmp (parity with original Lua script)
2024-01-11 14:18:16 -08:00
James R
fb7a38873d Sealed Stars: fix action calls 2024-01-11 14:18:16 -08:00
Eidolon
58557b274f Hardcode Sealed Star objects 2024-01-11 14:18:15 -08:00
James R
09fd14df98 musicvolume, soundvolume: do not unmute during config loading
- The order that cvars appear in the config is messy, so
  music appears before musicvolume
- When musicvolume is changed, music is forced to On,
  which would ignore the config value
2024-01-11 13:53:52 -08:00
James R.
859d676f60 Merge branch 'battle-debt-indicator' into 'master'
Battle: spawn ring debt indicator if player has no bumpers

Closes #884

See merge request KartKrew/Kart!1808
2024-01-11 20:43:01 +00:00
James R.
3084b5ee18 Merge branch 'fix-bufo-fof' into 'master'
Fix Battle UFO tractor descending through FOFs

Closes #876

See merge request KartKrew/Kart!1807
2024-01-11 20:42:47 +00:00
James R.
52bf348d0b Merge branch 'underwater-gravity-fix' into 'master'
Fix underwater gravity for Gachabom and Battle UFO tractor beam

Closes #444 and #874

See merge request KartKrew/Kart!1809
2024-01-11 20:42:39 +00:00
James R.
eefa21c9a6 Merge branch 'hardcode-waterfalls' into 'master'
Hardcode waterfall particles spawner

See merge request KartKrew/Kart!1812
2024-01-11 12:05:51 +00:00
SteelT
10e9cd7480 Hardcode waterfall particles spawner 2024-01-11 03:55:12 -08:00
James R
076e2ad650 debugbots: do not spawn prediction mobjs while game is paused
Ticcmd code runs while the game is paused, so this leads
to infinite mobjs being spawned without being cleaned up.
2024-01-11 02:48:46 -08:00
James R
decf430714 Vissprites: set dc.texheight
Fixes power-of-2 detection in R_DrawColumnTemplate.
2024-01-11 02:16:01 -08:00
Sally Coolatta
cc2c19bcff Fix brightmaps on midtextures not working
Fixes Lost Colony (again)
2024-01-11 01:50:46 -08:00
Sally Coolatta
7415b5ef2f Fixed "splat" drawers
- Fix flat DS_HOLES referencing incorrect background pixel
- Add SPANDRAWFUNC_TILTEDTRANSSPLAT (fixes Lost Colony)
2024-01-11 01:50:46 -08:00
Sally Coolatta
24132a9dcd Use C++ templates for DrawColumn/Span
Two reasons:
- Makes it more straight-forward to add brightmaps to the non-power-of-two rendering functions.
- Made it easier to split off brightmap rendering. Hopefully improves performance, but I haven't thoroughly tested this.
2024-01-11 01:50:46 -08:00