Commit graph

221 commits

Author SHA1 Message Date
Eidolon
f7131d8e86 Fix src/k_hud.cpp line endings 2025-01-18 18:11:06 -06:00
Eidolon
22b20b5877 Add netgame voice chat
Implemented using libopus for the Opus codec, same as is used in Discord.
This adds the following cvars:

- `voice_chat` On/Off, triggers self-deafen state on server via weaponprefs
- `voice_mode` Activity/PTT
- `voice_selfmute` On/Off, triggers self-mute state on server via weaponprefs
- `voice_inputamp` -30 to 30, scales input by value in decibels
- `voice_activationthreshold` -30 to 0, if any peak in a frame is higher, activates voice
- `voice_loopback` On/Off, plays back local transcoded voice
- `voice_proximity` On/Off, enables proximity effects for server
- `voice_distanceattenuation_distance` distance in fracunits to scale voice volume over
- `voice_distanceattenuation_factor` distance in logarithmic factor to scale voice volume by distance to. e.g. 0.5 for "half as loud" at or above max distance
- `voice_stereopanning_factor` at 1.0, player voices are panned to left or right speaker, scaling to no effect at 0.0
- `voice_concurrentattenuation_factor` the logarithmic factor to attenuate player voices with concurrent speakers
- `voice_concurrentattenuation_min` the minimum concurrent speakers before global concurrent speaker attenuation
- `voice_concurrentattenuation_max` the maximum concurrent speakers for full global concurrent speaker attenuation
- `voice_servermute` whether voice chat is enabled on this server. visible from MS via bitflag
- `voicevolume` local volume of all voice playback

A Voice Options menu is added with a subset of these options, and Server Options has server mute.
2024-12-13 17:12:14 -06:00
Oni
71588f490f Merge branch 'queue-skin' into 'master'
Queued skin/color changes

See merge request KartKrew/Kart!2452
2024-09-28 17:46:42 +00:00
Antonio Martinez
89036e07eb big ol fucking fuck 2024-09-27 03:29:07 -07:00
Antonio Martinez
bd1b4ac9c3 Fix general flag handling in boxed drawing mode (transparency, slidein) 2024-09-27 03:28:39 -07:00
Antonio Martinez
246bab7618 Debug cleanup 2024-09-27 03:28:39 -07:00
Antonio Martinez
5563a06827 Lua ABC -> Lua 123, move dpad to generic to make room for lua gamecontrol translation 2024-09-27 03:28:39 -07:00
Antonio Martinez
397db81a73 TA fix 2024-09-27 03:28:39 -07:00
Antonio Martinez
81d6ac9f6e FUCK A DRAWBUTTON 2024-09-27 03:28:39 -07:00
Antonio Martinez
7573c7dac9 idk 2024-09-27 03:28:38 -07:00
Antonio Martinez
9a669ff864 scratchass big buttons 2024-09-27 03:28:38 -07:00
Antonio Martinez
43960d7a23 Animated keyboard, prelim large buttons 2024-09-27 03:28:38 -07:00
Antonio Martinez
9c622c283b Some keycap alignment stuff 2024-09-27 03:28:38 -07:00
Antonio Martinez
9edeaaf0ba Keyboard label fuckapalooza 2024-09-27 03:28:37 -07:00
Antonio Martinez
512eb5ec67 Allow overriding stplyr in Srb2::Draw::Parse 2024-09-27 03:28:37 -07:00
Antonio Martinez
1c87d358fb Early review fixes 2024-09-27 03:28:37 -07:00
Antonio Martinez
af4dc813e2 The text spacing vortex consumes all 2024-09-27 03:28:37 -07:00
Antonio Martinez
7019c77b96 Generic input nightmare fuck 2024-09-27 03:28:37 -07:00
Antonio Martinez
31eb1a8f5d Descriptive input: visually box control legends, better bind search 2024-09-27 03:28:37 -07:00
Antonio Martinez
dbd43859fe Descriptive input: K_DrawGameControl rich text wrapper (WIP) 2024-09-27 03:28:36 -07:00
Antonio Martinez
511255216c WIP 2024-09-27 03:28:36 -07:00
Sal
653766010d FRIENDCODE (aka, Teamplay) 2024-09-17 01:41:26 +00:00
Antonio Martinez
216282ba64 drawtimer cvar 2024-09-09 05:09:56 -07:00
Antonio Martinez
bb51c2df4d Fix lap display in duel 2024-09-06 21:45:05 -07:00
Antonio Martinez
dcb4dea2fb Duel: cleanup, finish refactor, endcam, position fixes 2024-09-06 20:58:06 -07:00
AJ Martinez
2f164cf1b8 Revert "WIP: Timer Duel"
This reverts commit 1d83dddab8.
2024-09-04 21:19:27 -07:00
Antonio Martinez
1d83dddab8 WIP: Timer Duel 2024-09-03 01:08:59 -07:00
Antonio Martinez
4f1a49c0fb WIP: Duel infinite laps in circuit 2024-09-02 21:52:46 -07:00
Antonio Martinez
d2b2178143 WIP: Duel ruleset 2024-09-02 20:56:42 -07:00
Sally Coolatta
b3dcfa248a Merge remote-tracking branch 'public-new/master' 2024-08-28 18:11:53 -04:00
Antonio Martinez
27698bf2ae Slightly more correct timer stuff 2024-08-27 20:29:35 -07:00
Antonio Martinez
b349dd4dfc Fix timer removal in menus 2024-08-27 20:17:27 -07:00
Antonio Martinez
57c4fccd03 gameplay prototyping lightning round 2024-08-27 19:42:56 -07:00
Ashnal
ee74b747ac Exp hud math for target 500 at 1.0 exp 2024-08-24 23:27:20 +00:00
toaster
69cc74ad8e Minimap directioning dot will use the correct skincolor even when set up for alternate remappable indices
Resolves KartKrew/RingRacers#115
2024-08-24 15:22:26 +01:00
Antonio Martinez
4f4c720628 EXP HUD 2024-08-23 21:03:18 -07:00
Sally Coolatta
b43d62367f Nametag stuff
- Enable item spy in all modes
- Add CPU tags
- New CPU indicator for tab screen
2024-08-23 01:51:52 -04:00
AJ Martinez
3670695df6 Merge remote-tracking branch 'origin/race-checkpoint' 2024-08-22 22:49:49 -07:00
wehrlia
d05202257b K_DrawTypingNotifier: Remove V_HUDTRANS
From V_DrawFixedPatch function call.
2024-08-21 17:00:14 -03:00
Antonio Martinez
5d19bfcb91 Dynamic Roulette: mega cleanup, mini fixes 2024-08-21 02:28:31 -07:00
Antonio Martinez
b388c48be7 WIP - Dynamic Roulette 2024-08-20 17:57:40 -07:00
Antonio Martinez
b51f4d28a9 WIP - Dynamic roulette 2024-08-20 04:22:00 -07:00
Ashnal
78a678b8ca Revert dist debug 2024-08-19 19:54:28 -04:00
Ashnal
155fe22bd7 K_drawDistributionDebugger is NOT netsafe 2024-08-19 19:48:02 -04:00
Antonio Martinez
a8211b980f WIP: more EXP math 2024-08-18 22:19:46 -07:00
Ashnal
9cfa67dae6 WIP Exp math
temp changes to distribution debugger
2024-08-19 00:10:45 -04:00
Ashnal
b4827de43d WIP basic exp
modifies item odds based on checkpoint and finishlin grading
2024-08-18 20:54:16 -04:00
toaster
1e502da748 Merge branch 'master' of https://git.do.srb2.org/KartKrew/RingRacers 2024-08-17 20:16:27 +01:00
toaster
e76e2612df Merge branch 'fixUnflippedImportantObjects' into 'master'
Fix unflipped important objects & elements (also fix trick treshhold when flipped)

See merge request KartKrew/RingRacers!28
2024-08-17 18:39:39 +00:00
Oni
4bf99e7f16 Merge branch 'amps' into 'master'
Overdrive!

See merge request KartKrew/Kart!2414
2024-08-13 02:46:56 +00:00