Commit graph

20605 commits

Author SHA1 Message Date
Alug
9081c4d177 let replays with empty name save
this does not crash for us
2025-10-16 14:01:34 -04:00
toaster
6a4e8916e6 G_SaveDemo: Resolve memory errors that could result in crashes
- Empty `demo.titlename` case
    - Don't try to save demo of name `.lmp`
    - Doesn't fall back to anything, because emptying out the name field can be reasonably treated as not wanting to save
- `demo.titlename` consists only of invalid characters
    - Don't try to save demo of name `-.lmp`
    - Falls back to the default demo title, because the user clearly wanted to save and just happened to provide invalid text
2025-10-16 13:59:31 -04:00
NepDisk
7fd49282d4 use const for player losing 2025-10-16 13:53:31 -04:00
NepDisk
76257fed20 Prevent rival name code from overflowing 2025-10-16 11:17:07 -04:00
NepDisk
1d6ad4415a Move rival insertion to R_ProcessPatchableFields 2025-10-16 11:02:34 -04:00
Anonimus
1b05f1af97 Implement a damage-control system for NULL highlights 2025-10-16 00:40:10 -04:00
Anonimus
f6b2f4bd23 Add SIGSEGV guard to highlight patch loading. 2025-10-15 23:54:55 -04:00
NepDisk
c1395c5da0 Fix boot crash due too small array 2025-10-15 20:43:29 -04:00
Anonimus
81f8fe0fdf Fix stupid fullcreds nitpick 2025-10-15 20:05:40 -04:00
minenice55
0d079836eb 42 + server host (also use 42 playerinfo slots) 2025-10-15 19:28:17 -04:00
GenericHeroGuy
06c2238ff6 Update hashes 2025-10-15 23:47:41 +02:00
minenice55
35a9c61ddf Merge branch 'blankart-dev' into 32p 2025-10-15 16:37:51 -04:00
NepDisk
c1d16124e5 Port Saturn timestuff branch
Should be better then I_UpdateTime spam
https://github.com/Indev450/SRB2Kart-Saturn/commits/timestuff/
2025-10-15 16:33:18 -04:00
NepDisk
0444108088 Revert "Funny shitpost idea to improve smoothness"
This reverts commit ae14b55006.
2025-10-15 16:23:03 -04:00
NepDisk
5d6595327f Update hash 2025-10-15 16:21:28 -04:00
minenice55
dce399f23f Merge branch 'blankart-dev' into 32p 2025-10-15 16:11:12 -04:00
GenericHeroGuy
febc28a172 Revive the v2 death animation 2025-10-15 21:59:17 +02:00
minenice55
91924aac7d vote screen for high player count 2025-10-15 15:49:02 -04:00
minenice55
da4add120f ping num in neo tab ranking (will need additions later too) 2025-10-15 14:47:06 -04:00
minenice55
65dec93f7c add battle royale player start wrapping 2025-10-15 14:34:13 -04:00
minenice55
1f25a2b4a2 Merge branch 'blankart-dev' into 32p 2025-10-15 13:50:36 -04:00
NepDisk
c8863472af Update hash 2025-10-15 12:53:05 -04:00
NepDisk
e1083d9d74 Add toggle to force rivals 2025-10-15 12:45:26 -04:00
Anonimus
3302248326 Get rid of debug shield namer 2025-10-15 09:24:42 -04:00
Anonimus
fd5da2dd73 Adjust INVFORCEODDS
It's now half of INVFORCEODDS instead of 75%
2025-10-15 09:23:20 -04:00
Anonimus
e3fa439f27 Add Doomguy to indev notice 2025-10-15 09:21:27 -04:00
Anonimus
98fd13adf7 More goner system stuff
* Adjust item cooldowns
* Re-add Hyuu cooldown (I forgot)
* Force-set shield cooldowns for as long as one is being held
2025-10-15 09:21:01 -04:00
Anonimus
a697f924c8 Introduce the goner table
I'm Wing Gaster, the royal scientist!
2025-10-15 07:30:50 -04:00
minenice55
b92417085f nuh uh 2025-10-14 23:03:44 -04:00
minenice55
810d6a16e0 fuck it the intermission rankings can fit this much 2025-10-14 22:59:35 -04:00
minenice55
c9ee96010b idem for minirankings 2025-10-14 22:58:06 -04:00
minenice55
32311ac45d port rankings intermission from neptune
will 100% need cleanup
2025-10-14 22:42:20 -04:00
minenice55
01688db2e2 I'ma jumpstart this 2025-10-14 21:50:25 -04:00
NepDisk
d1f4503566 Merge pull request '[ENHANCEMENT] Implement Flamometer UI Element' (#166) from flamometer into blankart-dev
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/166
2025-10-15 02:29:17 +02:00
NepDisk
f20ace5915 Buff bots a bit 2025-10-14 19:13:00 -04:00
GenericHeroGuy
28e341ce92 Restore kartbot_modifiermax and the mapheader option
It now uses the raw value directly, so maps using it will need to be updated
2025-10-14 21:57:04 +02:00
minenice55
3e694b6ca2 make flameometer fire not crash 2025-10-14 12:18:34 -04:00
GenericHeroGuy
a67fd02a86 Fix bubble shield reflections segfaulting 2025-10-14 15:31:04 +02:00
GenericHeroGuy
9b2a4d52b2 Fix player pointer relinking being utterly broken
Courtesy of be5d651d
2025-10-14 15:03:01 +02:00
minenice55
881dadd6a5 start flamometer 2025-10-13 21:29:14 -04:00
Anonimus
0a9eeacb95 Push Hyudoro odds further up 2025-10-13 20:30:13 -04:00
Anonimus
76565d70c0 More odds shit
* Increase rarity of Orbinauts, prevent them from being rolled in the bottom half entirely
* Prevent single Jawz from being rolled in the bottom half
* Move Hyudoro odds up one tier
* Move Sneaker odds back a good few tiers
* Nerf Flame Shield odds, push it further back
* 4x Orbinaut max probability is 1.3%
* 2x Jawx odds have been adjusted
2025-10-13 20:09:39 -04:00
NepDisk
243359659c init 0 2025-10-13 16:57:41 -04:00
GenericHeroGuy
aa64b9aeed Let flame shield punt hazards 2025-10-13 21:41:48 +02:00
GenericHeroGuy
1736fa10a9 Fix IF_HOLDREADY not being reset properly 2025-10-13 21:35:30 +02:00
Anonimus
d86e0af31f More odds bullshit
* Thunder Shield has been removed from Useodds 2 thru 4, preventing it from being an annoying midpack roll
* As compensation, Orbinaut, Bubble Shield, and Mine probabilities have been increased for those Useodds tiers
* Grow's odds have been significantly reduced, tapering off the closer you get to Useodds 15
* Odds for Rocket Sneakers have been slightly modified
2025-10-13 14:39:36 -04:00
GenericHeroGuy
efd6779ef7 Refactor player shield management
shieldtracer has been moved to player_t, replacing curshield, in order to
maintain a Single Source of Truth(tm) and to help ourselves and Lua
scripters in the future
2025-10-13 20:23:17 +02:00
NepDisk
fc53a73f9b Kill ->localfile 2025-10-13 11:43:35 -04:00
NepDisk
62e78fbe72 Update to Saturns modified and fixed qs22j 2025-10-13 11:32:04 -04:00
Alug
30e1cdb404 use floats for calculating ticratescaled
this does not need to be double lel
actually improves performance in some cases
2025-10-13 11:29:39 -04:00
NepDisk
f7626d9898 dont update hud during skipped frames
513613d83b
is was to fix issues with some lua huds looking really bad during frameskip
but this causes issues with the hud flashing during gif recording
2025-10-13 11:25:06 -04:00
NepDisk
d24238a0fe Use higher amount of vissprites in 64bit 2025-10-13 11:23:13 -04:00
NepDisk
24e15786a2 clear thicksides with memset instead of loop 2025-10-13 11:19:05 -04:00
NepDisk
6a1bd29cb6 Clear g_dc each frame 2025-10-13 11:17:43 -04:00
NepDisk
64353a043e Always initialize all column offsets inside multi-patch textures
3964d4e188
2025-10-13 11:15:09 -04:00
NepDisk
d6d0377f6b inline R_ThingLightLevel
b3106d55d1
2025-10-13 11:10:04 -04:00
Alug
ca3ddf744d speed up masked sprites a bit
thx eternity engine!
2025-10-13 11:08:02 -04:00
NepDisk
8405ff27e4 Merge pull request 'Fix up some visual issues with MK64 characters (closes #150)' (#163) from bingbingwahoo into blankart-dev
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/163
2025-10-13 00:44:13 +02:00
GenericHeroGuy
614e3f650c Cleanup and fix shield item stacks 2025-10-13 00:17:42 +02:00
GenericHeroGuy
9ddeabc55b Fixup bubble shield reflections
* Reflecting now sends the object directly away from the player, instead of
  flipping their momentum. May or may not help some awkward interactions
* Fixed collisions in general by making the bubble shield run collision
  checks after moving
* Various items now get flung into the air like they're supposed to
* Eggboxes no longer noclip through bubble shields
* Made the debris landing sound less obnoxiously loud
2025-10-12 22:10:59 +02:00
Anonimus
2db8925c28 More odds adjustments
These feel pretty good in offline testing, given the new odds
2025-10-12 11:56:57 -04:00
Anonimus
c27975f145 Minenice suggestion: default new items to Off
Preserves the vibes of "vanilla until you discover it isn't"
2025-10-12 06:38:09 -04:00
Anonimus
96a7bc74a1 More stupid odds finagling 2025-10-12 06:37:29 -04:00
Anonimus
6a85a3f41e Revert cvar changes 2025-10-12 06:25:43 -04:00
Anonimus
becc80290d Remove Bubble Shields from cooldown item pool, move it to top half only 2025-10-12 05:37:19 -04:00
Anonimus
1f392e1cee Item littering toggle
With item littering off, dropped items immediately despawn themselves
2025-10-12 01:19:19 -04:00
Anonimus
9449e5aa28 Anti-frustration odds revision
* HEAVILY neuter the chances for Ballhog and 4x Orbinaut in item rolls
* Default Ballhog and 4x Orbi's cvars to "Off"
* Add a system to prevent certain "dudrolls" from appearing in lower placements
* Adjust the chances of 2x Jawz, 2x Sneaker, Invincibility, Sneaker, and Thunder Shield
* Reduce distvars further
2025-10-12 01:19:19 -04:00
GenericHeroGuy
9e3658d4f4 Fix the C stack overflow too 2025-10-11 14:37:53 +02:00
Anonimus
3e2ad4d542 Update credits after god knows how long 2025-10-11 07:54:18 -04:00
GenericHeroGuy
1d4c4cef9e Reset spechit count after moving, not before
Doesn't fix any Lua stack overflows, but at least it doesn't segfault
2025-10-11 13:43:19 +02:00
NepDisk
77fdea2b98 Don't sloperoll other either to keep parity with Bubble 2025-10-10 21:03:33 -04:00
NepDisk
80f363dec8 walltransfeboost 2025-10-10 16:02:20 -04:00
Anonimus
b67e9d07bb Prevent RF_DONTDRAW (and MF2_DONTDRAW) overrides due to eflags 2025-10-10 15:50:23 -04:00
Anonimus
dc9ee0bc95 Legacy mode for ghost objects 2025-10-10 12:42:46 -04:00
Anonimus
324bd3b117 Back-compat: Even more visibility eflags fixes 2025-10-10 12:42:45 -04:00
GenericHeroGuy
85088392eb Fix MK64 chars drift sprite angle
Also don't allow accessing "drawangle" in compatmode, which...
half-fixes grindrails
2025-10-09 23:29:23 +02:00
GenericHeroGuy
3ac73cf9c7 Fix MK64 chars displaying incorrect sprite frames 2025-10-09 22:07:02 +02:00
GenericHeroGuy
7620420c95 Fix several issues with mobj default values 2025-10-09 21:12:30 +02:00
NepDisk
f9013acca3 Port old water splash effects 2025-10-09 15:03:19 -04:00
GenericHeroGuy
8114ece18a Don't overwrite mobj fields with defaults in write mode (whoops!) 2025-10-09 20:43:35 +02:00
NepDisk
1dfb32495b Use transparency 2025-10-09 03:12:51 -04:00
NepDisk
1ad7d23e6b Port old ping display from Saturn 2025-10-09 03:07:39 -04:00
NepDisk
47a95ac76b Port Saturn alternative FPS Counters 2025-10-09 02:46:34 -04:00
NepDisk
82a6edce5d Port old inaccurate fps sample as toggle
For Jon-sama 🥹
2025-10-09 02:34:50 -04:00
NepDisk
6143d8088b Reset to mapobjectscale 2025-10-08 17:45:45 -04:00
toaster
f3c9fb9c82 Correctly NULL thumbnailPic and minimapPic when map lumpnum changes
Fixes the core part of Chengi's graphical issue
2025-10-08 22:01:10 +02:00
Sally Coolatta
cbac99fb90 Don't pad flags in the warning 2025-10-08 22:00:43 +02:00
NepDisk
88626fdf96 Fix lack of discord ifdef here 2025-10-08 13:41:58 -04:00
NepDisk
08d94c4b1b Revert "Repair demos that finish without crashing inexplicably returning to titlescreen after their completion"
This reverts commit a16e800e6e.
2025-10-08 11:50:28 -04:00
James R
868c7777e5 Add cv_palette and cv_palettenum
Cheats; override the current palette
2025-10-08 10:07:57 -04:00
toaster
a16e800e6e Repair demos that finish without crashing inexplicably returning to titlescreen after their completion
It's because of cv_cheats' default value in DEVELOP builds...
2025-10-08 10:05:33 -04:00
NepDisk
6417a7f1f2 Add missing write sets 2025-10-07 20:40:39 -04:00
Anonimus
a2e2f2cbb2 Revert "Fix lap split icon position"
This reverts commit b4be36df23.
Maybe hopefully perhaps this spells the end of our alignment woes.
Ignore the SPB reticle looking like that.
2025-10-07 17:46:15 -04:00
Anonimus
62457690a5 Add pivot vectors and alignment flags to patches
Having to rely on offsets for rotation alignment is annoying and breaks Lua.
So... let's not!
2025-10-07 14:46:03 -04:00
NepDisk
028d368765 Remove unused functions 2025-10-07 13:03:05 -04:00
NepDisk
151bb79d85 Combine LUA_Archive and LUA_Unarchive 2025-10-07 12:36:36 -04:00
NepDisk
0d7d460cb8 Fix polyobject resyncs 2025-10-07 12:09:24 -04:00
NepDisk
36a01ba0af Refactor polyobjects 2025-10-07 11:50:24 -04:00
NepDisk
ce70e05d30 Merge branch 'blankart-dev' into refactornetsave 2025-10-07 10:57:10 -04:00
Anonimus
6960c52e91 Rework eflags compat (closes #150) 2025-10-07 10:47:02 -04:00