Commit graph

187 commits

Author SHA1 Message Date
Antonio Martinez
a6f76db0fa Fixed misaligned arrows in 4P team hud 2025-05-21 18:54:24 -04:00
Antonio Martinez
f0bcc82f90 go go gadget teamplay 2025-05-21 16:49:51 -04:00
Antonio Martinez
2caea74cba Teamplay HUD 2025-05-21 02:05:33 -04:00
Antonio Martinez
2ec4fa044c Tiny roulette fixes 2025-05-20 15:35:05 -04:00
Oni VelocitOni
ae962c4d14 Merge branch 'ta24' into 'master'
2.4 TA refinements mkII

Closes #1507 and #1508

See merge request kart-krew-dev/ring-racers-internal!2532
2025-05-18 22:12:47 +00:00
Ashnal
50fd04bdb1 small hud performance improvement
now that we have spots on the player struct for both gradingfactor and exp, store exp in the exp field after adjusting gradingfactor, and just reference it instead of recalculating every time
2025-05-18 14:30:46 -04:00
Ashnal
144e2be262 More renaming 2025-05-18 14:30:46 -04:00
Ashnal
5a42c99d0a Rname stuff better 2025-05-18 14:30:45 -04:00
Antonio Martinez
0bb8684142 Merge remote-tracking branch 'origin/master' into ta24 2025-05-18 14:30:14 -04:00
Antonio Martinez
99318e3567 Pickmeup teams 2025-05-16 18:11:10 -04:00
Antonio Martinez
b62f3c65a8 Pick-me-up HUD 2025-05-16 17:15:50 -04:00
Antonio Martinez
ef853bafc4 Pick-me-up HUD tracking 2025-05-16 14:47:47 -04:00
Antonio Martinez
34ddee575a WIP: more pick-me-up 2025-05-16 13:04:55 -04:00
Antonio Martinez
cacf470f6f 2.4 TA refinements mkII 2025-05-12 17:18:14 -04:00
SteelT
24b24abead Show true map name in sealed stars and in tutorial
Does not apply when doing a sealed star in TA.
2025-05-09 22:35:36 -04:00
Eidolon
bd7646346b Use new containers and json 2025-03-16 18:45:11 -05:00
Eidolon
1ae570443d Merge public master 2025-02-13 22:52:03 -06:00
PencilVoid
b88c001d03 First person fixes and tweaks 2025-02-14 04:13:44 +00:00
Eidolon
cb7f437e60 Merge public master 2025-02-13 15:48:11 -06:00
Eidolon
a4d304a1f5 Update copyright years to 2025 2025-02-13 15:32:26 -06:00
Ashnal
d4bb225ab2 Fix hud overlap for 1 lap maps 2025-01-18 20:23:59 -05:00
toaster
396244780a Don't attempt to use adjusted EXP counter in invalid contexts
- Introduces new function K_GetDisplayEXP
    - Replaces duplicated code between HUD and tally
    - Returns UINT16_MAX in div/0 case for invalid result (resolves #1458)
- Hides EXP HUD/tally if no EXP can be earned
2025-01-18 19:29:49 -05:00
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
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