Commit graph

100 commits

Author SHA1 Message Date
Eidolon
5c85a0a578 Add md5expected array to W_InitMultipleFiles 2025-04-08 09:34:23 -05:00
Eidolon
00cf5ff50f Constrain shader search to data/ and srb2path 2025-04-06 11:53:38 -05:00
Eidolon
014ea281b6 Remove shaders.pk3 from wad list 2025-03-16 15:39:32 -05:00
Eidolon
faa0fbd31f Add W_InitShaderLookup, W_ReadShader
This manages a lump list of shader lumps from a shaders.pk3, separate
from the loaded wadlist, so that shaders do not participate in the
wadlist system at all.
2025-03-16 15:39:32 -05:00
Eidolon
e4fc3cc5c2 Fix conditionals on rendermode to allow for more modes 2025-03-12 21:50:37 -05: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
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
2c0642b3d1 Set audio volumes before entering main loop
Fixes an issue where the volumes would be at max before the first wipe
finishes. This is because S_UpdateSounds isn't called during wipes.
2024-10-26 15:46:12 -05:00
Ashnal
2b07b5aed1 Adds the data subdir to the path of all data iwads
Prevents W_OpenWadFile from falling back to findfile
2024-08-28 22:37:08 -04:00
Sally Coolatta
b3dcfa248a Merge remote-tracking branch 'public-new/master' 2024-08-28 18:11:53 -04:00
haya_underscore
1f7bee7484 Fix random desyncs with -file in addons with custom net cvars. 2024-08-28 22:09:08 +00:00
Sally Coolatta
6b87b586d2 "snapshotmaps" command
Takes two screenshots for a list of maps that have an "Alternate View Point" thing with tag 0 -- one intended for level select pictures and another for Discord Rich Presence. If no view point exists, the map is skipped.
2024-07-21 08:54:49 -04:00
Eidolon
de862f2b5e Update textures_originalzones hash 2024-05-20 23:17:58 -05:00
Eidolon
2945521deb Update textures_segazones hash 2024-05-20 23:16:40 -05:00
Eidolon
ef2f7d4e25 Fix shaders pk3 hash again 2024-05-19 17:42:28 -05:00
Eidolon
c36c876725 Update shaders.pk3 hash with indexing fixes 2024-05-19 17:26:23 -05:00
Eidolon
caec64192d Update hashes 2024-05-05 21:51:02 -05:00
Eidolon
f2d6010d90 Update asset hashes 2024-05-05 20:25:20 -05:00
toaster
2dab274e17 Update asset hashes 2024-05-06 00:48:30 +01:00
Eidolon
c7aa5051a5 Update asset hashes 2024-04-26 15:29:24 -05:00
Sally Coolatta
135d5df786 No more spoilers
Cat's out of the bag man
2024-04-25 22:27:53 -04:00
toaster
d685c1eb47 Update asset hashes 2024-04-15 16:35:42 +01:00
toaster
46c70d2683 Asset hash update 2024-04-15 02:13:46 +01:00
toaster
915585697a Update asset hashes 2024-04-13 01:17:12 +01:00
toaster
2caa5ff018 Dedicated server -spoilers startup parameter
Servers should get enough free for a healthy launch ecosystem, but not everything.
We'll give the relevant password out after, like, the first week probably? Please be patient, commit-diver
2024-04-12 14:17:33 +01:00
toaster
1765e270d1 V_DrawCustomFadeScreen fallback behaviour for Legacy GL 2024-04-11 22:12:21 +01:00
AJ Martinez
0d9e87b365 Fix banlist readback crash 2024-04-10 03:29:01 -07:00
toaster
acafb938e3 Update bios.pk3 hash (again) 2024-04-07 23:23:39 +01:00
Eidolon
730817437f Update bios.pk3 hash 2024-04-07 14:40:37 -05:00
Eidolon
423037796f Update asset hashes 2024-04-07 14:25:26 -05:00
Oni
797f78abab Merge branch 'roboticize-copyright' into 'master'
SRB2 -> DRRR copyright

Closes #1122

See merge request KartKrew/Kart!2232
2024-04-06 00:27:55 +00:00
Sally Coolatta
af9ddb5519 Keep PT_SERVERINFO struct the same in all builds
Sends the commit hash in all builds now, just doesn't do anything with it in release builds. Makes web view development easier according to Tyron.
2024-04-05 11:08:09 -04:00
Sally Coolatta
ebc548eb58 Dr. Robotnik and related characters 2024-04-05 10:57:58 -04:00
Sally Coolatta
a0bc9fd6c5 Update d_main.cpp
Simplify copyright to just us. I think if this isn't OK, then Doom Legacy and id Software *at minimum* also need to also be included in this, and that's kind of a rabbit hole.
2024-04-05 10:56:31 -04:00
James R
d26755ab3e renderview: add Force option, renders while paused
Useful for debugging
2024-04-03 17:57:42 -07:00
Oni
437d5283e0 Merge branch 'no-frameskip-replays' into 'master'
Do not pause 3d rendering ever in replays

Closes #1226

See merge request KartKrew/Kart!2210
2024-04-02 18:03:06 +00:00
toaster
7f6de407f1 Copyright update: Add Kart Krew (2024) in general for high-traffic inherited sourcefiles 2024-04-02 17:42:38 +01:00
James R
4384577034 Do not pause 3d rendering ever in replays
It interferes with the "Advance Frame" button.
2024-04-01 17:28:29 -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
11dc5b7318 Fix line endings 2024-03-28 00:09:02 -07:00
Oni
e55748a1b2 Merge branch 'super-frame-skip' into 'master'
SUPER FRAME SKIP (QOL for My Shitty PC)

See merge request KartKrew/Kart!2172
2024-03-28 04:34:20 +00:00
James R
593aed9110 Make "Extra Frame Skipping" (for 3d rendering) an advanced video option
- Off by default
2024-03-27 20:10:38 -07:00
Oni
e011b21d6d Merge branch 'panicpause' into 'master'
Pause local games if a player's gamepad disconnects

See merge request KartKrew/Kart!2163
2024-03-27 22:38:30 +00:00
James R
360bbf6552 Remove VHS filter
- It does not seem to be working and hasn't for a while.
- Was interfering with 3d rendering skipping.
2024-03-26 17:41:49 -07:00
James R
c7c8bfa89a Software: always let 3d rendering drop to at worst 2 FPS if the menu is open
- If the framerate is normally dropping below 60, drop 3d
  rendering frames while in the menu to compensate
- The lower the average framerate, the more 3d rendering
  frames are dropped
2024-03-26 17:41:49 -07:00
James R
e1e115743a Software: do not do 3d rendering while the game is paused
- Let menus render at full framerate, without expensive
  3d rendering time cutting into it
- Opening the menu pauses the game offline, so this is
  perfect
- Software preserves the last frame if rendering stops
2024-03-26 07:48:58 -07:00
James R.
b3320d5ef2 Merge branch 'addfile-order' into 'master'
re-order Addons Menu updating (resolves #835)

Closes #835

See merge request KartKrew/Kart!2158
2024-03-25 23:38:46 +00:00
AJ Martinez
1a6d27897e Pause local games if a player's gamepad disconnects 2024-03-25 00:48:17 -07:00
James R.
fa5e8a5537 Merge branch 'relprep-mainwads' into 'master'
Update RR mainwads loading

See merge request KartKrew/Kart!2147
2024-03-25 05:14:26 +00:00