Commit graph

356 commits

Author SHA1 Message Date
Freaky Mutant Man
3dc57d5908 Expose multiple Grand Prix, cup and round queue related structs to Lua. 2025-10-20 14:01:27 -05:00
Eidolon
cb9e074bda Merge remote-tracking branch 'public/master' 2025-10-06 14:46:30 -05:00
Eidolon
8744023a87 annoying 2025-10-01 16:35:48 -05:00
Eidolon
6aee524ace sse2 again? earth to CI 2025-10-01 16:26:50 -05:00
Eidolon
046564eece Enable sse2 (as was intended) on IA-32 2025-10-01 15:52:48 -05:00
Eidolon
92c117d186 remove more g++ warning flags 2025-09-30 21:09:10 -05:00
Eidolon
c8f986db4d Remove unintended g++ warnings 2025-09-30 20:18:47 -05:00
Eidolon
94ef03dcd2 Add cpptrace in I_Error on windows, minidumps, stricter warnings, optimized drawers in debug 2025-09-25 16:08:09 -05:00
Eidolon
e22d14bd9d Disable runtime dll copies for clang-cl 2025-09-17 16:57:54 -05:00
Eidolon
b9a8e355d3 Add more defs for clang-cl to suppress API deprecation warnings 2025-09-17 16:57:54 -05:00
Eidolon
4f7f0587b2 Adjust compiler warnings for upcoming clang-cl 2025-09-17 16:57:54 -05:00
Eidolon
8336c15611 Prevent auto win32 manifest generation on link/lld-link 2025-09-17 16:57:54 -05:00
Eidolon
e8a1482fb0 Add rnnoise denoiser 2025-09-16 16:57:21 -05:00
Eidolon
68d83f6870 Add a microphone usage description for macOS
Fixes https://gitlab.com/kart-krew-dev/ring-racers/-/issues/58
2025-09-13 13:20:53 -05:00
Eidolon
7febf53ec0 Merge public master 2025-08-23 11:34:18 -05:00
JugadorXEI
227c3fa3ad Respawn/Waypoints library for Lua 2025-08-23 00:14:38 +00:00
Eidolon
55388c17c2 Merge public master 2025-08-21 20:43:28 -05:00
JugadorXEI
1e2e833d80 Bot library for Lua (botvars getter/setter, bot functions) 2025-08-22 01:24:13 +00:00
Eidolon
d777e5e64c Merge public master 2025-08-21 19:55:55 -05:00
JugadorXEI
8c68fefa17 Lua library for t_splash_t, t_footstep_t, t_overlay_t and terrain_t (getter, setter and num) 2025-08-21 09:35:06 +02:00
Oni VelocitOni
d6eef24f83 Merge branch 'lua-roulette' into 'master'
Lua itemroulette stuff from public (JugadorXEI)

See merge request kart-krew-dev/ring-racers-internal!2671
2025-08-05 01:13:16 +00:00
AJ Martinez
c06fc9cccf Merge branch 'mod-info' into 'master'
MODINFO lump

See merge request kart-krew-dev/ring-racers-internal!2443
2025-07-22 05:35:21 +00:00
JugadorXEI
12ab7185e1 Item Roulette lib (includes getters and setters so far) 2025-07-04 15:16:24 -04:00
Oni VelocitOni
82a542fe33 Merge branch 'duel-shuffle' into 'master'
Shuffle Loser

See merge request kart-krew-dev/ring-racers-internal!2278
2025-04-09 03:34:12 +00:00
Eidolon
6fc6e8336c Merge public master 2025-03-09 21:00:08 -05:00
Logan Aerl Arias
d0e1dfe526 merge changes to make vcpkg caches smaller 2025-03-10 01:39:35 +00:00
Eidolon
b5483faecf Merge public master 2025-02-15 12:44:40 -06:00
Craftyawesome
1cbb266180 explicit -mno-ms-bitfields for clang 2025-02-14 21:04:04 -05:00
Eidolon
3e0b8203f4 Merge public master 2025-02-14 13:07:53 -06:00
Craftyawesome
06696e78b5 windows clang fixes 2025-02-14 12:53:41 -05: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
6ffdeb6c44 d_net.c -> d_net.cpp 2024-11-16 22:47:33 -06:00
Eidolon
5257b18ade Convert z_zone.c -> z_zone.cpp 2024-10-18 21:34:02 -05:00
AJ Martinez
be377e523d Merge branch 'convert-r-textures' into 'master'
Convert r_textures.c -> r_textures.cpp

See merge request KartKrew/Kart!2479
2024-10-19 00:05:39 +00:00
Sally Coolatta
83e1dc415a Duel Shuffle
In games with limited player count, shuffle the NO CONTEST player with a spectator that wants to play. Intended for 1v1 servers, but really this can help any server with a lower player count than connection count.
2024-10-18 14:58:58 -04:00
Sal
067a1007da Merge branch 'more-saveg-fixes' into 'master'
Several netsave fixes / improvements

See merge request KartKrew/Kart!2475
2024-10-18 01:08:07 +00:00
Sally Coolatta
ae59ee0ab9 MODINFO lump
Lets you set a bunch of metadata for your add-on, and a minimum required Ring Racers version (to prevent annoying tech support questions for mod authors). This version value can also be leveraged to add in backwards compatibility behaviors for older mods.

Currently the values of the metadata are printed out when a mod is loaded, and aren't used otherwise.

Fix pointers for C interface copied strings

Apparently this was luck that it worked earlier.

I love C++'s strings! And conversely, I hate C's strings.
2024-10-17 20:19:21 -04:00
Eidolon
96a39fd45b Convert r_textures.c -> r_textures.cpp 2024-10-16 21:30:23 -05:00
Eidolon
61d3f14621 Convert r_fps.c -> r_fps.cpp 2024-10-16 18:07:39 -05:00
Sally Coolatta
353af883aa Add deep copy functions
Does allocation, a memcpy shallow copy, and a callback to handle memory addresses if desired. Might be reusable for runahead saves.
2024-10-12 12:39:36 -04:00
Antonio Martinez
b3086d011d Convert p_saveg to C++ 2024-10-07 19:15:51 -05:00
haya_underscore
ff035e0af5 Expose follower array and follower_t to lua 2024-08-22 13:05:41 +00:00
Eidolon
e42b5c2cbf Always make debuglink .debug in CI 2024-05-16 15:42:04 -05:00
Eidolon
f60f5a8648 Check before using -mno-ms-bitfields 2024-04-27 21:40:41 -05:00
Eidolon
67ee82e1a7 Check if -mno-ms-bitfields is avail before using 2024-04-27 21:35:48 -05:00
Hanicef
99550f97bd Fix FreeBSD build 2024-04-27 16:42:08 +02:00
Eidolon
140a56f513 Add build option to disable discord RPC 2024-04-25 21:05:58 -05:00
James R
3eba2cf60d CMakeLists.txt: use libfmt from thirdparty/fmt
Now compiles on Ubuntu 22.04, which only has libfmt 8.
I don't know which exact version of libfmt we need but the
one in thirdparty works.

This version of libfmt is header-only.
2024-04-14 00:24:40 -07:00
James R
acbb7eb463 Add password checking system
Co-authored-by: toaster <rollerorbital@gmail.com>
2024-03-28 00:09:11 -07:00
James R
a0dcde98c1 Add password hashing functions 2024-03-28 00:09:02 -07:00