Commit graph

24491 commits

Author SHA1 Message Date
NepDisk
54a59937af Add shader stage for final screen texture draw 2026-04-30 22:09:22 -04:00
NepDisk
494eb9b5bd Fix encoremusic mapheader not falling back and do some clean up 2026-04-30 17:34:13 -04:00
NepDisk
3b48ca6c9c Encoremusic mapheader option 2026-04-30 16:56:25 -04:00
NepDisk
3604abdfcc Update this comment to be accurate 2026-04-30 15:58:46 -04:00
Alug
af7b843690 Fix models binding the lighttable texture to the the palette lookup texture
This fixes stuff becoming blue when models are on
2026-04-30 13:00:27 -04:00
NepDisk
799b1ec0d3 Revert "Expose water ripple as a uniform to allow for water ripple shaders"
This reverts commit 0c8d2efce0.

I had the idea of applying this flag to more surfaces in hardcode but not so sure thats a good idea anymore
2026-04-30 12:06:43 -04:00
NepDisk
35edca61db Revert "Fix Water_Ripple uniform"
This reverts commit ec53fd6511.
2026-04-30 12:06:43 -04:00
minenice55
3e2d14c42a separate out item equipping
also can be used from lua (untested)
2026-04-30 01:28:43 -04:00
minenice55
24faa9b8d7 Update d_main.cpp 2026-04-29 21:42:23 -04:00
NepDisk
41078f189f Cancel Heavy Airdrop with dash rings 2026-04-29 21:40:15 -04:00
NepDisk
ec53fd6511 Fix Water_Ripple uniform 2026-04-29 17:10:20 -04:00
NepDisk
0c8d2efce0 Expose water ripple as a uniform to allow for water ripple shaders 2026-04-29 16:36:04 -04:00
minenice55
d06ffdd9af Update d_main.cpp 2026-04-29 16:05:44 -04:00
minenice55
854edbe2ff always have *some* gravity to return the kart to neutral 2026-04-29 14:59:50 -04:00
NepDisk
d4ac123d19 Fix directional model lightning 2026-04-29 13:53:15 -04:00
NepDisk
abd4566fc0 Fix model lighting toggle 2026-04-29 13:31:33 -04:00
yamamama
3c2a60c8c5 cast from function call of type ‘lua_Number’ {aka ‘int’} to deez nuts 2026-04-29 05:40:12 -04:00
yamamama
d493dd9029 G_MapIsSafe
Generalized safety test for maps, in an attempt to curb G_GetNextMap
producing an I_Error due to an unchecked override
2026-04-29 05:36:27 -04:00
yamamama
aff2b6939a pnum 2026-04-29 05:06:23 -04:00
yamamama
daf9d3aaea d_netcmd cleanup
Clang-formatted GotNameAndColor, clang-formatted the voice command function, removed leftover (commented out) definitions
2026-04-29 04:57:57 -04:00
yamamama
416885a7c7 Voice system overhaul
Lots of things to bring it up to speed with the Lua dubs system.

To note:
- The `voice` cvars have been replaced with commands that are more robust
  in scope. These commands accept multiple arguments:
  - 1 arg (`voice` alone): Displays your current voice
  - 2 args (`voice <vox_name>`): Sets your voice to the provided voice,
    given it exists.
  - 3 args (`voice <skin_name> <vox_name>`): Sets your voice
    (given you're playing as the skin) and logs a preference.
  - `voice --help`: Explains everything above
- A preferenecs system now exists, which is loaded in on-boot and saved
  when quitting:
  - When you swap skins, the game checks an unordered map of preferences,
    indexed by skin name. If the skin you're changing to both exists in
    your preference list, and has your preferred voice loaded in the
    server, a notice will appear and you'll automatically use your
    preferred voice.
  - `listvoiceprefs` now exists, displaying voice preferences for the
    given splitscreen player. If no additional args are provided,
    it defaults to Player 1's first page of preferences.
  - `voicepref_auto` now exists for all splitscreen players to
    automatically assign preferences when you change your voice away
    from the default. The default voice is not logged by `voicepref_auto`;
    you have to do that manually. This cvar is toggled On by default.
- Voice settings and preferences are now saved to a `blanpreferences.cfg`
  file, which is unique for each local player; each local player has their
  own preference file.
2026-04-29 04:51:22 -04:00
yamamama
adf647b66e Global voice search
Ignores skins without multiple voices
2026-04-29 04:42:38 -04:00
yamamama
ce6215a768 Add the cvector library 2026-04-29 04:42:38 -04:00
minenice55
3eeca1c73e Update d_main.cpp 2026-04-29 02:15:56 -04:00
NepDisk
af439ac09f Softcode shaders 2026-04-28 20:53:41 -04:00
NepDisk
e6b1826d3e Port Saturn's Light dither shader for OGL 2026-04-28 14:26:47 -04:00
Alug
dc5f42cdaf Fix broken palette render switching 2026-04-28 13:04:03 -04:00
NepDisk
0c22fb24d2 Fix FlashPals not working in palette rendering 2026-04-28 12:05:30 -04:00
NepDisk
52d31ee6b5 Add support for building with JEMALLOC 2026-04-28 11:41:36 -04:00
NepDisk
ea6105a007 Kill dummy backend stuff 2026-04-28 11:25:57 -04:00
NepDisk
c2ef7949f0 More clean up 2026-04-28 11:20:27 -04:00
NepDisk
43c9f1223e Kill Old ALAMLIGHTING code 2026-04-28 11:14:34 -04:00
NepDisk
62764b8f48 Split portal stuff into its own file 2026-04-28 11:02:37 -04:00
minenice55
2164aa71b4 disallow loading mismatching map patches
should 0 hashes be always allowed?
2026-04-28 10:53:45 -04:00
minenice55
ea8e1e2dbf bumpy road particle effect
I should really do that thing I wanted to do soon
2026-04-28 00:01:10 -04:00
minenice55
7b1df12ed0 experimental attraction shield EMP attack option
AoE attack can put opponent items on a cooldown
2026-04-27 22:45:28 -04:00
minenice55
9d7d74467f only passively drain flame shield while in first place 2026-04-27 21:46:48 -04:00
minenice55
3c68db5cba make inflated bubble shield a tiny bit more generous defensively 2026-04-27 21:42:37 -04:00
minenice55
20c6981d61 let bubble shield tank damage for a bit after being spawned 2026-04-27 21:28:03 -04:00
NepDisk
0867eff8b0 Use case insensitive string hashing and compare for cvar hashtable + compatnetid support
Based on this commit 27f22e4b5b
2026-04-27 18:24:43 -04:00
Alug
9d2b6eda55 Speed up CV_Findvar & CV_FindNetVar with hashtable 2026-04-27 17:33:17 -04:00
Alug
d2c9a3e1b6 BLUA: simplify lua number hash 2026-04-27 17:17:06 -04:00
Alug
e59aad944c d_cliserv: check for splitscreen nodes first in clientcmd handler
so we dont always have to check a bunch of things that most of the time wont apply anyways
2026-04-27 17:14:00 -04:00
Alug
4a820bcaf6 check I_GetNodeAddress is set before use
this might´ve not been init yet at that point
2026-04-27 17:12:13 -04:00
Alug
a54b259a3f attempt to fix a plethora of buffer overflows when trying to connect to a server that does not exist
ex: if you typo´d the serveraddress
this really aint pretty but idk how to make things not turn into limbo hell otherwise
2026-04-27 17:11:52 -04:00
Alug
3383778c88 prevent buffer underflow within holepunching 2026-04-27 17:09:38 -04:00
NepDisk
865df4ed26 Only reverse with wrong way on the ground 2026-04-27 16:18:27 -04:00
NepDisk
4669f11385 Let bots block items with thundershield 2026-04-27 15:58:30 -04:00
NepDisk
0578050179 Allow regular damage after finishing
BLOWS UP!?!?!??!?!??!?!?!??!?!?!?!??!?!
2026-04-27 15:42:14 -04:00
minenice55
3fbc6dd0df use a nicer physical model for kart tilt gravity
also can remove the momentum cap with this
2026-04-27 14:34:44 -04:00