Commit graph

24475 commits

Author SHA1 Message Date
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
minenice55
5b714e9ccf don't skip spawning driftsparks if player is airborne
also this effect should probably be applied to other particles that come from the tyres
2026-04-27 01:21:14 -04:00
NepDisk
9596a00e74 Update masterserver to proper address
We have a domain name now :D
2026-04-26 20:05:43 -04:00
minenice55
73d68691cf cap download size to total size in the connection UI 2026-04-26 19:36:07 -04:00
minenice55
4d7d931c73 fix freelook bind not working online 2026-04-26 18:32:09 -04:00
minenice55
28fcee9214 why wasn't this already done 2026-04-26 16:32:28 -04:00
minenice55
35b8ddcf77 a bit more 2026-04-26 16:17:45 -04:00
minenice55
4e47388191 Merge branch 'next' of https://codeberg.org/NepDisk/blankart into next 2026-04-26 16:13:22 -04:00
minenice55
c76b147920 we can do this anyways 2026-04-26 16:13:10 -04:00
yamamama
a1ba38b882 Truncate shortname checks so names past the 8-character limit still get picked up
Missed a spot with the WAD search optimizations, it seems...
2026-04-26 07:46:14 -04:00
yamamama
8c698c61d4 NOAPPENDBUILD
An option to toggle off the build type suffix, mainly for more public-facing releases (try saying blankart_relwithdebinfo out loud!)
2026-04-26 07:46:14 -04:00
minenice55
695d1118bc fix weird bug with 0 speedboost boost powers (specifically for recovery spin)
accel and handling boost would lock up if they're changed via K_DoBoost while keeping speedboost at 0
2026-04-26 01:06:58 -04:00
minenice55
f99d9f160d Merge branch 'next' of https://codeberg.org/NepDisk/blankart into next 2026-04-25 20:52:30 -04:00
minenice55
cc5c23aa49 hope this fixes the seeking reticule thing properly 2026-04-25 20:52:17 -04:00
NepDisk
4141de4414 Upgrade masterserver cvar to our selfhosted one 2026-04-25 19:55:11 -04:00
NepDisk
1f9701c898 Revert "Always accept tics received from the server" for testing
This reverts commit 699153fd52.
2026-04-25 14:36:42 -04:00
minenice55
e28519f2d1 make disabling COMMITVERSION define actually compile 2026-04-25 14:14:05 -04:00