Commit graph

19712 commits

Author SHA1 Message Date
Anonimus
99056a47fa Tie Invincibility to clustering, implement new visual
* Invincibility's time limit is now directly tied to a player's distance from the cluster.
* The visual for Invincibility has been reworked to being an additive layer over the player, fading out as you run out of Invincibility.
2025-06-29 01:30:04 -04:00
Anonimus
6788db93b4 Add clustering
Using a DBSCAN-based algorithm, this gathers "player clusters" to determine the most packed area in the race.
2025-06-29 01:30:02 -04:00
Anonimus
27ea5021b4 Add Flipover damage, change Invincibility interactions 2025-06-29 01:30:00 -04:00
NepDisk
83bf2d59c5 Revert 'Fix camera hitch during first few tics of level'
This reverts commit 0c89c85aae.
2025-06-29 01:13:54 -04:00
NepDisk
005f2989f7 Account for the fact brightmaps can return NULL 2025-06-29 01:09:27 -04:00
chromaticpipe
0c1891aa36 Fix level interpolators jittering during objectplac 2025-06-28 23:44:50 -04:00
NepDisk
6983e6bcd3 Properly invalidate other player lua data 2025-06-28 23:41:50 -04:00
NepDisk
e456d59c0e Dont always call R_PointInSubsector if thing has not moved in P_CheckPosition
https://github.com/Indev450/SRB2Kart-Saturn/pull/148
2025-06-28 23:28:26 -04:00
NepDisk
e2524356da Fix DSradio bug in chat for clang users 2025-06-28 22:58:55 -04:00
NepDisk
6ac11da6e4 Try to fix issues with clients locking up due to never receiving acks back in case of dropped packets
https://github.com/Indev450/SRB2Kart-Saturn/pull/151
2025-06-28 22:53:20 -04:00
NepDisk
7acf64fba8 Fix 2P FINISH text scrolling
448781bdd9
2025-06-28 18:51:44 -04:00
NepDisk
0a5038c189 Port fancy roulette and interp addtions from saturn 2025-06-28 18:48:59 -04:00
NepDisk
f72475b557 Merge pull request 'File loading refactor' (#68) from wadstrbuf into blankart-dev
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/68
2025-06-28 23:57:54 +02:00
NepDisk
0c89c85aae Fix camera hitch during first few tics of level 2025-06-28 17:47:05 -04:00
GenericHeroGuy
76daf2f0e0 Fix music names longer than 6 chars not being truncated anymore 2025-06-27 23:33:59 +02:00
GenericHeroGuy
92c59ddbcb Merge branch 'blankart-dev' into wadstrbuf 2025-06-27 18:46:47 +02:00
GenericHeroGuy
d6299d8394 Fix segfault when filename lacks extension
and don't mix up fullname with longname
2025-06-27 18:01:32 +02:00
GenericHeroGuy
be35926843 Add W_CheckNumForMarkers, clean up lump validation
Fixes many cases of invalid startlumps, so validation is now actually done
only when PARANOIA is defined
The W_CheckNumFor* functions allow startlump == numlumps, to make iteration
less frustrating
2025-06-27 17:44:34 +02:00
NepDisk
7ea321de32 Drift feel improvements
Should make it feel closer to v1
2025-06-27 10:23:07 -04:00
NepDisk
8721883013 Merge pull request 'Some software renderer improvements' (#66) from softwarestuff into blankart-dev
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/66
2025-06-27 13:57:12 +02:00
NepDisk
45170bb65c Fix weird snapping on net jitters 2025-06-27 07:55:35 -04:00
Alug
b2b0ec19d6 draw black background during blan intro screen
prevents white border on higher resolutions
2025-06-27 13:13:11 +02:00
Alug
7c6838c98e use M_Random
P_ rng functions dont have a seed before loading any level yet so this always returned 3 :blobcatpats:
2025-06-27 13:07:58 +02:00
Alug
c8ef0fb705 allow threaded render for maskedlist planes
since sky synchronizuation issues are fixed, this no longer causes any issues and gives a nice speed bump in some occasions
2025-06-27 12:49:01 +02:00
Alug
f30d472ad2 dont render precip in skyboxes!
is really ugly and was never intended, and half the time this would make splashes appear through walls and crap lol
2025-06-27 12:29:56 +02:00
Alug
5df0ddde31 remove erronous mask preparation stuff
R_RenderViewpoint already handles this for us
2025-06-27 11:59:20 +02:00
Alug
258912b685 remove obsolute timing stuff from r_main 2025-06-27 11:53:22 +02:00
Alug
1fb300d355 Small cleanup r_portals 2025-06-27 11:50:12 +02:00
Alug
76fc2b21d7 Fix software sky threading synchronization issues
By splitting sky drawing from plane drawing, so both dont step on each other during drawing

this also marginally improves performance
2025-06-27 11:47:53 +02:00
NepDisk
24715a611d Properly setup encore levelselect input 2025-06-26 17:26:02 -04:00
GenericHeroGuy
286dfc7a43 Add strbuf_append_m to simplify lumpname reading 2025-06-26 22:59:08 +02:00
NepDisk
39295111e0 Update hash and put little easteregg 2025-06-26 16:36:51 -04:00
NepDisk
e1905d85cf Port Saturn menu additions 2025-06-26 15:57:49 -04:00
GenericHeroGuy
4c93f0eae7 Operation: Gotta Go Fast 2025-06-26 21:38:52 +02:00
NepDisk
e450f21ddf Fix battle offsets applying to custom offsets on ring meter 2025-06-26 14:25:21 -04:00
NepDisk
02fa20bc11 Update hash for fixed brightmaps 2025-06-26 14:13:51 -04:00
NepDisk
8e94a8c9fd Vote screen visual refactor port from saturn
Thanks to Alug as per usual
2025-06-26 12:07:22 -04:00
NepDisk
11e29d5afa Port Saturn's VoteBG scaling code
Thanks to Alug and Indev as per usual
2025-06-26 11:13:37 -04:00
NepDisk
7226fd120e I'm never calling you again
This causes buffer overflow sometimes due to not being resized.
2025-06-26 10:00:37 -04:00
GenericHeroGuy
edae0b45ad Do I have news for you! 2025-06-26 01:55:56 +02:00
GenericHeroGuy
91636209ff And finally... W_CheckNumForNamePwad 2025-06-26 01:45:45 +02:00
GenericHeroGuy
24de618653 Remove W_CheckNumForName
NOW long menuitem patches are supported lol
Staff ghosts support long map names now
The runsoc command and linedef special 415 support longnames now
2025-06-26 01:27:28 +02:00
NepDisk
ea07280348 Fix larger RR size mapthumbnails not scaling during voting 2025-06-25 19:06:32 -04:00
GenericHeroGuy
146ac557ba Remove W_GetNumForName
Still no longnames for sounds/music, but that's a story for another day
2025-06-26 00:18:20 +02:00
GenericHeroGuy
d37b987acb Remove W_CachePatchName, everything's safe
Menu headerpics, menuitem patches and old-style map thumbnails/minimaps now
support longnames
2025-06-25 23:42:36 +02:00
GenericHeroGuy
5aaa72e10a Sanitize bgname and ttname 2025-06-25 23:26:32 +02:00
NepDisk
36fdc9a37d Don't make windows users listen to the short loop forever 2025-06-25 17:20:04 -04:00
GenericHeroGuy
e987c96651 Sanitize textprompts and cutscenes 2025-06-25 22:49:42 +02:00
GenericHeroGuy
2ff383a248 Replace shortname functions with stubs, and some trivial caller replacements 2025-06-25 22:20:07 +02:00
Alug
3fbacbbca2 dont compare our floatangle to ANGLE_180
smol oops
2025-06-25 21:39:35 +02:00
GenericHeroGuy
7aae6775e6 Use LUMPERROR instead of INT16_MAX, and MAX_WADFILES instead of UINT16_MAX
The 32768th lump of a file works now lol
2025-06-25 17:47:57 +02:00
GenericHeroGuy
684ded7647 Formally deprecate the shortname functions
and make TestValidLump actually work
2025-06-25 14:57:37 +02:00
GenericHeroGuy
4a3ae30984 Switch to xxHash for hashing lump data
And shrink lumpinfo_t to a nice, round 32 bytes. We don't support 64-bit
file sizes anyway
2025-06-25 02:09:59 +02:00
GenericHeroGuy
4ffd4621e4 Let's clean this shit up properly
lumpinfo_t is now private. Wanna iterate thru lumps? Use the W_* functions
2025-06-25 00:43:46 +02:00
Sky Dusk
ffde1365a5 Remove format whitelist for read only Lua IO and allow more formats. 2025-06-24 12:15:20 -04:00
NepDisk
d4f0336ede Shut up dedicated 2025-06-24 11:42:21 -04:00
NepDisk
6fa3c4f751 Fix dedi crash due to invalid pstartmap value 2025-06-24 10:54:34 -04:00
NepDisk
3da0b4ce0c Add waterpaneltime to be neysynched
I always forget something...
2025-06-24 10:48:58 -04:00
NepDisk
02196b622c Allow reading and writing *time variables from SOC and Lua
This should also for simple edits such as extending hyudoro length without janky lua scripts
2025-06-24 10:44:48 -04:00
NepDisk
fec3c19bd0 Fix Windows Clang compile 2025-06-24 07:51:33 -04:00
GenericHeroGuy
927f30e51f Aww yeah, string buffers baby! 2025-06-24 01:05:56 +02:00
NepDisk
e5f8c4c990 Update hash and disable nofilehash 2025-06-23 13:20:12 -04:00
GenericHeroGuy
2c5c65062c shut 2025-06-23 19:13:10 +02:00
GenericHeroGuy
e7f8d1102b Rename menu drawers to use the MD_ prefix 2025-06-23 18:58:46 +02:00
GenericHeroGuy
35c4239078 Hashes and copyrights 2025-06-23 18:52:58 +02:00
GenericHeroGuy
884c8c7387 Add an automatic offset for string cvars
Also rename getheight because that name sucks
2025-06-23 18:48:23 +02:00
GenericHeroGuy
b019271cc0 PRRRRRROMOTION 2025-06-23 17:56:30 +02:00
GenericHeroGuy
4be55967f4 ASan kakkoii desu 2025-06-23 17:29:56 +02:00
NepDisk
6b8144134d Add expert support to viewserver 2025-06-23 00:09:36 -04:00
NepDisk
3ec3320774 Merge branch 'blankart-dev' into socmenus2 2025-06-23 00:07:35 -04:00
GenericHeroGuy
3a98364bf8 Use get_number for menu coordinates 2025-06-23 01:08:13 +02:00
NepDisk
1c4c734cfb Bind drift to space in menus 2025-06-22 17:53:43 -04:00
GenericHeroGuy
e66cc9c5be Make sticker a style, use mapnames instead of numbers for thumbnail items 2025-06-22 22:44:59 +02:00
GenericHeroGuy
a87d76ed13 Fix scrolling, and uhhhh things related to switching to relative offsets 2025-06-22 22:12:11 +02:00
NepDisk
a3367858b8 Add expert speed 2025-06-22 11:13:00 -04:00
GenericHeroGuy
83cfe66219 Fix menuitem memory leaks 2025-06-22 01:02:23 +02:00
NepDisk
b7bdd2ff6f Remove SRVMS3 2025-06-21 12:44:47 -04:00
GenericHeroGuy
ef7d5ec03f Softcode, and add offsets to drawfills for recreating M_DrawTextBox 2025-06-21 02:42:53 +02:00
GenericHeroGuy
af4cb5573b Add drawfill item type and clean up item flags 2025-06-21 02:01:55 +02:00
NepDisk
d34a40601c Fix palette getting reset on resynch 2025-06-20 14:30:56 -04:00
NepDisk
018c008f79 Fold mapthumbnail into IT_PATCH block 2025-06-20 12:26:02 -04:00
NepDisk
1d600210fa softcode mapthumbnail drawing 2025-06-20 12:03:37 -04:00
NepDisk
875f1d44b2 More clean up and softcoding 2025-06-20 10:30:55 -04:00
NepDisk
2830abb7d0 Clean up viewserver code a small bit
This also makes the cheats command show what cvars are active for easy checking
2025-06-19 19:36:02 -04:00
NepDisk
7534f7de3b Merge branch 'socmenus2' into viewserver2 2025-06-19 18:50:17 -04:00
NepDisk
db66b00ec0 Merge branch 'blankart-dev' into socmenus2 2025-06-19 13:05:47 -04:00
NepDisk
f64b79260e Fix blendmodes on HWR_DrawFill not working
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/2670
2025-06-19 01:01:28 -04:00
NepDisk
3f34bc68d3 viewserver2 refactoring
This now takes advantage of regular menu drawing with styles and an enter routine instead of hardcoded v_draw*string calles
2025-06-18 20:09:44 -04:00
GenericHeroGuy
271eaeef6f Fix going back, fix replay hut segfaulting 2025-06-17 23:21:40 +02:00
NepDisk
7852dfbf3a Merge branch 'socmenus2' into viewserver2 2025-06-17 17:03:16 -04:00
GenericHeroGuy
666b9f4582 Softcode background/scroll/fade, clean up effects logic
Oh and the config save in M_ClearMenus actually works now lmao
2025-06-17 22:23:28 +02:00
GenericHeroGuy
23fb99cc9e Refactor menu tree iterators to use menustack, fix menu music 2025-06-17 18:20:02 +02:00
GenericHeroGuy
99d44c9954 Call F_MenuPresTicker correctly 2025-06-17 02:33:22 +02:00
GenericHeroGuy
ca7caf3dd5 Various changes between 2018-11-16 and 2018-11-20 2025-06-17 02:15:11 +02:00
GenericHeroGuy
205d1401f6 Start reviving menupres stuff
I may or may not regret this
2025-06-17 00:53:42 +02:00
GenericHeroGuy
11b9cd993d Expanded styles (ITF_THIN2 and IT_RIGHT), rename CvarSlider to Slider 2025-06-16 21:11:14 +02:00
NepDisk
e340a7f1e6 Merge branch 'socmenus2' into viewserver2 2025-06-15 12:36:44 -04:00
GenericHeroGuy
955da518ca Replace TextHeader and TextWhite with styles 2025-06-15 18:06:52 +02:00
GenericHeroGuy
8ded7ad542 More styles, more softcoding, patches actually usable now! 2025-06-15 17:19:21 +02:00
NepDisk
d96c16b157 Fix skynum skyboxes being broken in clang due to undefined behaviour 2025-06-14 16:59:48 -04:00