Commit graph

28947 commits

Author SHA1 Message Date
Eidolon
0063287e7a Merge branch 'Windows-takes-too-long' into 'master'
Windows job take too long

See merge request KartKrew/RingRacers!93
2025-02-13 23:53:45 +00:00
Logan Aerl Arias
23100cc8d8 Windows job take too long 2025-02-13 23:53:44 +00:00
Spring E. Thing
b8ec197b2a player->whip is now readable & writable through Lua 2025-02-13 22:52:40 +00:00
Eidolon
941c61c8ad Merge branch 'Debian-testing-GCC-fix' into 'master'
fix Debian testing GCC job

See merge request KartKrew/RingRacers!92
2025-02-13 22:35:16 +00:00
Logan Aerl Arias
2a74dbee0d fix Debian testing GCC job 2025-02-13 22:35:15 +00:00
Eidolon
a2572f64df Update copyright years to 2025 2025-02-13 15:56:37 -06: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
Eidolon
ef5eb2238e Merge branch 'fix-endsign-rng' into 'master'
Fix ending sign RNG off by one error + comment for __internal_prng_bound__

See merge request KartKrew/RingRacers!78
2025-02-13 21:15:07 +00:00
Eidolon
f9213195ed Merge branch 'Alpine-3-GCC-Dedicated-gitci-fix' into 'master'
Alpine 3 GCC Dedicated doesn't have cmake (yet?)

See merge request KartKrew/RingRacers!90
2025-02-13 21:12:32 +00:00
Logan Aerl Arias
c8d2927a94 Alpine 3 GCC Dedicated doesn't have cmake (yet?) 2025-02-13 21:12:32 +00:00
Eidolon
3c69cf8dc1 Merge branch 'moreconstants' into 'master'
Expose more constants to Lua

See merge request KartKrew/RingRacers!66
2025-02-13 21:03:07 +00:00
Eidolon
3edc612ff4 Merge branch 'fixbatching' into 'master'
Small fix for LegacyGL batching

See merge request KartKrew/RingRacers!74
2025-02-13 20:57:07 +00:00
Eidolon
e2a4ed4c4a Merge branch 'fixcharmenulockup' into 'master'
Fix character select menu freeze due to smaller then required loop variables

Closes #304

See merge request KartKrew/RingRacers!68
2025-02-13 20:50:52 +00:00
Eidolon
09b225b579 Merge branch 'skincolor-fix' into 'master'
Fix for skincolors past the 256th displaying incorrectly on character select.

See merge request KartKrew/RingRacers!67
2025-02-13 20:49:00 +00:00
Eidolon
1e3a9d68f8 Merge branch 'aizdriftstraft' into 'master'
Fix "aizdriftstraft" typo

See merge request KartKrew/RingRacers!65
2025-02-13 20:46:08 +00:00
Eidolon
80a4180b2b Merge branch 'fix-huddisable' into 'master'
Fix Lua Hud Enable/Disable being offset by one

See merge request KartKrew/RingRacers!62
2025-02-13 20:41:12 +00:00
Eidolon
eeb1ac347c Merge branch 'slope-stepup-fix' into 'master'
Slope stepup fix

See merge request kart-krew-dev/ring-racers-internal!2496
2025-02-13 17:14:33 +00:00
Ashnal
1978b91677 Slope stepup fix 2025-02-13 17:14:33 +00:00
Eidolon
271c531223 Merge branch 'bheapPushWrongRealloc' into 'master'
Fix wrong size in K_BHeapPush Z_Realloc

See merge request KartKrew/RingRacers!83
2025-02-13 04:18:43 +00:00
Eidolon
5a3f1c7653 Merge public master 2025-02-12 22:01:13 -06:00
Eidolon
fa661b4add Merge branch 'char-signage' into 'master'
Use a signed type for NodeToSplitPlayer

See merge request KartKrew/RingRacers!82
2025-02-13 03:52:48 +00:00
Eidolon
490f020f2c Merge public master 2025-02-12 20:26:14 -06:00
Logan Aerl Arias
b51ec47d95 debian-oldstable-amd64: fix typo in apt-get gcc 2025-02-13 02:06:20 +00:00
Eidolon
86d5d16cf8 Merge public master 2025-02-12 19:59:38 -06:00
Eidolon
9fb154b117 Merge branch 'srb2ci-2025-02' into 'master'
update srb2ci yml files

See merge request KartKrew/RingRacers!87
2025-02-13 01:58:59 +00:00
Logan Aerl Arias
e648338591 update srb2ci yml files 2025-02-13 01:58:59 +00:00
Eidolon
1a8467fdaf Merge public master 2025-02-12 19:02:38 -06:00
SteelT
c9c4796260 Set SDL_HINT_APP_NAME SDL hint
As with SDL3 and SDL2-compat, the app name logic is different and the default name is instead a generic "SDL Application"
2025-02-03 21:13:36 -05:00
JugadorXEI
f0bf674dc0 Fix wrong size in K_BHeapPush Z_Realloc 2025-02-01 18:16:06 +01:00
Eidolon
3c19027aa8 Merge branch 'display-exp-fix-2' into 'master'
Fixed math oopsie

See merge request kart-krew-dev/ring-racers-internal!2499
2025-01-31 01:55:20 +00:00
Ashnal
33ff42af1f Fixed math oopsie 2025-01-30 20:35:16 -05:00
Eidolon
e7f0c1e79e Clear audio graph on I_ShutdownSound
Fixes a crash when destroying SDL AudioStreams under SDL3 and
SDL2-compat.
2025-01-30 17:01:10 -06:00
Eidolon
da43100681 Merge branch 'check-input-device-count' into 'master'
Check for input devices before opening them

See merge request kart-krew-dev/ring-racers-internal!2497
2025-01-30 17:39:31 +00:00
Craftyawesome
093bfd9be0 use a signed type for NodeToSplitPlayer 2025-01-23 15:59:48 -05:00
Eidolon
1cc261e902 Check for input devices before opening them 2025-01-20 22:00:14 -06:00
Oni VelocitOni
3a23f49024 Merge branch 'exp-edgecases' into 'master'
EXP edge cases

Closes #1458

See merge request kart-krew-dev/ring-racers-internal!2455
2025-01-19 01:39:56 +00:00
Ashnal
d4bb225ab2 Fix hud overlap for 1 lap maps 2025-01-18 20:23:59 -05:00
Ashnal
1b0674d041 Grading adjustment 2025-01-18 19:29:49 -05:00
toaster
2104b0b0f5 Disable EXP in K_Cooperative
- HUD, tally, and roulette(!!)
- In basegame, affects Sealed Stars
2025-01-18 19:29:49 -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
Craftyawesome
6b925d6f72 adjust/correct comment for __internal_prng_bound__ 2025-01-02 02:41:06 -05:00
Craftyawesome
a481878a61 Fix end sign rng off-by-one 2025-01-02 02:30:43 -05:00
Eidolon
4be98c6c13 Fix src/d_clisrv.c line endings 2024-12-26 19:10:45 -06:00
Eidolon
43de82f35a Update thirdparty/fmt to 11.1.0 2024-12-26 12:45:08 -06:00
Eidolon
ed2c0c85cc Merge branch 'non-bss-convert-imgbuf' into 'master'
Allocate imgbuf on-demand in Picture_PatchConvert

See merge request kart-krew-dev/ring-racers-internal!2491
2024-12-26 16:29:37 +00:00
Oni VelocitOni
b8160c2664 Merge branch 'voice-chat' into 'master'
Add netgame voice chat

See merge request kart-krew-dev/ring-racers-internal!2490
2024-12-20 07:58:20 +00: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
Eidolon
1ee5547bb2 Allocate imgbuf on-demand in Picture_PatchConvert
This static var requires a 64 megabyte .bss section value which
is allocated on application startup. Depending on the particulars of the
operating system's virtual memory implementation, this may result in
dynamic page allocation for the span, or a full upfront allocation.
Either way, it doesn't need to be like this, we can just dynamically
allocate the buffer instead.

This may save up to 64MiB of runtime memory usage.
2024-12-13 10:55:22 -06:00