Commit graph

21629 commits

Author SHA1 Message Date
minenice55
7bd4c0195b broadcast stat changes in chat (make this a server toggle) 2026-01-23 18:30:06 -05:00
minenice55
9411c90b79 kick players that send illegal restat commands 2026-01-23 18:17:01 -05:00
minenice55
d7ab39bc4e Merge branch 'next' into hardcode-restat 2026-01-23 18:26:40 +01:00
NepDisk
6aac27ff1d Add cvar to allow bubbleboost to mow offroad and shield boost rumble support
On maps with tripwires these are great for shortcuts not so much with offroad only setups. Lets try to level the playing field.

Oh and also lets add rumble support for flame and bubble boosts since it feels nice.
2026-01-21 20:11:20 -05:00
NepDisk
1be83f77b8 Use 1.6 version number in compat mode
Make sure mods that check version number actually think they are in kart
2026-01-21 14:28:44 -05:00
NepDisk
adc7a4d9a9 Add BlanKart Check for Lua 2026-01-21 14:10:19 -05:00
NepDisk
be5ca15812 Expose slopepitch and sloperoll 2026-01-18 17:20:33 -05:00
NepDisk
c245e8fecd I_Error(); title start calls in dedicated
Can be used to debug when these strange cases happen
2026-01-18 16:22:27 -05:00
NepDisk
520c96cc62 Put timelimit for battle at 2 minutes by default
To address the usual v1 complaint of battle takes too long
2026-01-18 07:48:48 -05:00
NepDisk
7a8f85d4f3 Don't speed cap on loops either 2026-01-17 14:46:59 -05:00
NepDisk
bd6b529b01 Global init
these were found by alug
2026-01-17 02:04:31 -05:00
Alug
67d2a0ae90 HWR_ProcessSeg: port softwares code to skip rendering inner sides that are "joined" to other fofs
This seems to improve performance on maps with moderate to lots of fofs quite a bit.
On maps with only a few fofs, this makes no difference or has very very little regression
Need to test and check if there are any visual errors, but so far everything seems good
2026-01-17 01:40:18 -05:00
Alug
527fd2b0fb d_netfil: dont use zone memory in CURLGetFile 2026-01-16 20:36:50 -05:00
NepDisk
3684675371 Prevent asan from aborting over tabs and stringwidth funcs 2026-01-13 16:05:45 -05:00
minenice55
9eb0b6fd2d Merge branch 'next' into hardcode-restat 2026-01-12 00:05:35 +01:00
minenice55
4c83617de2 make restat and allowrestat functional 2026-01-10 21:55:39 -05:00
minenice55
74a5212c8d get this buildable 2026-01-10 20:32:08 -05:00
GenericHeroGuy
9f9e1df88b Allow bubble shield to punt hazards 2026-01-10 23:54:14 +01:00
GenericHeroGuy
4cfc61745e Maybe don't do player-specific bounce logic unless both mobjs are players 2026-01-10 23:38:35 +01:00
NepDisk
6434c16446 Don't account for viewpoint text 2026-01-10 15:23:24 -05:00
minenice55
4b2f9bf839 set the restat stats 2026-01-07 02:12:11 -05:00
minenice55
c408f6963e rough command implementation
haven't tested yet will need to actually implement the restat
2026-01-07 01:57:29 -05:00
minenice55
2a1e8b54f0 cmd 2026-01-06 02:23:40 -05:00
minenice55
74295638e3 start this while I can 2026-01-05 22:17:50 -05:00
Indev
14e04ff360 Fix mapheaderinfo[i] always returning green hills mapheader for invalid map id 2026-01-05 11:32:54 -05:00
GenericHeroGuy
3d942226a5 Update hashes, fix floating item spriteroll 2026-01-03 00:48:23 +01:00
NepDisk
4360613be7 Request 24bit depth buffer
Thanks Alug for the fix
2026-01-02 14:23:56 -05:00
yamamama
f4e9889e7a Alt. music cvar settings
mapmusrng doesn't seem to be netsynched, so this is probably fine. I'm ready to eat crow on that, though
2026-01-02 00:31:39 -05:00
NepDisk
88e3d964a3 Apply this to the st_stuff version as well 2026-01-01 23:06:28 -05:00
NepDisk
cab133fd85 Show actual Input name with replay notice 2026-01-01 22:54:50 -05:00
NepDisk
d8193bbed6 Revert "use kart radius clamp value"
This reverts commit dc63088977.
2026-01-01 22:22:53 -05:00
GenericHeroGuy
8362bbd629 Backlog of bug fixes 2026-01-02 02:54:02 +01:00
GenericHeroGuy
e45c8d1835 Add cup select
Also, backspace remembers your last selected map/cup now, for easy searching
2026-01-02 02:54:02 +01:00
NepDisk
d520437141 Allow recording in GrandPrix 2026-01-01 15:39:42 -05:00
GenericHeroGuy
c91eaa5e0b Make compatmode writable, fix compatmode in nested hooks 2026-01-01 21:15:39 +01:00
yamamama
92b12b480b Revert "We've made a full rotation around the sun"
This reverts commit a8b47436dd.
2026-01-01 14:53:12 -05:00
yamamama
d417033fb6 Year update attempt 2 2026-01-01 14:45:23 -05:00
NepDisk
eb4394ee90 Seperate brick and lock 2026-01-01 13:49:00 -05:00
yamamama
a8b47436dd We've made a full rotation around the sun
I'm sure I've missed things; this was me just grepping instances of "2025" and adding the necessary changes
2026-01-01 13:32:38 -05:00
NepDisk
ab1cb9429f Make eggmine slotlock a optional feature 2026-01-01 11:39:06 -05:00
yamamama
4d5cf3c4d8 Don't force Bump Spark off in Lunatic settings 2025-12-31 22:30:44 -05:00
GenericHeroGuy
bcef031c85 WIP affine patch drawing
will probably invert the matrix
2025-12-31 15:40:35 +01:00
NepDisk
2afd5d1ef0 Directly set walltransferboost timer
Prevents cheese on maps with janky slopes
2025-12-29 19:01:09 -05:00
NepDisk
3d5c6d02f2 Revert "Explictly cast netxcmd stuff"
Don't need todo this.

This reverts commit 796def8cb7.
2025-12-29 14:04:35 -05:00
NepDisk
9c044e9f20 We have missingpat here 2025-12-29 14:02:08 -05:00
NepDisk
c40bdba23f oops copypaste 2025-12-29 13:25:43 -05:00
NepDisk
796def8cb7 Explictly cast netxcmd stuff 2025-12-29 13:25:43 -05:00
NepDisk
de0a7d0a79 d_cliserv: fix casts from nan to int type
based on a2de1e24c5
2025-12-29 13:25:43 -05:00
NepDisk
701b7436de fix some null pointer dereferences
Based on b0bf588c27
and 67e74b5874
2025-12-29 13:25:43 -05:00
NepDisk
ae9fd3b63d Fix off by one in Doomednum lookup 2025-12-29 13:25:43 -05:00
Alug
10fd31878f properly handle getcwd error in IdentifyVersion
if getcwd fails, the buffer contents will be undefined
so we shall just overwrite it again with "."
2025-12-29 13:25:43 -05:00
GenericHeroGuy
7766dd2b22 READSTRINGN considered harmful 2025-12-29 16:51:55 +01:00
yamamama
4fe0dff858 Add grandprixinfo.gp checks I forgot about 2025-12-29 10:41:05 -05:00
GenericHeroGuy
bcd446709c Fix exploding ring shadows in PWR Retro Maze
(note that the software renderer skips shadows with negative scale too, just
another example of anomalies caused by duplicating the entire backend)
2025-12-29 15:37:55 +01:00
yamamama
7c9f2f4e78 Nerf Alt. Invin's handling boost
You turn too damn fast with 0.75, but 0.45 feels okay
2025-12-28 21:13:30 -05:00
yamamama
474a59ab7c Add "Lunatic" and "Maniac" modes
DUDE TOUHOU LMAO

Jokes aside:
* Lunatic = Master difficulty with modifications to make the races
  significantly more difficult:
  * Introduces a "lunaticmode" boolean to grandprixinfo;
    the demoversion has been upped to 0x0010 due to this
  * The bot modifier is, at MINIMUM, 2.0, making them aggressive as hell;
    Rival bots use a 2.5 modifier
  * Bump Spark is always off in this mode
  * RUNNERAUGMENT results have their distances significantly shortened;
    if a rival bot takes the lead, this distance is shortened even FURTHER
    so they don't frontrun against the human player endlessly
  * Alt. Invinc shows up earlier as a sort of "mercy" for human players;
    it would otherwise not show up until the race was effectively over
  * Maniac = Nightmare difficulty (Master at Expert speed)
    with Lunatic's changes
2025-12-28 21:13:30 -05:00
GenericHeroGuy
271cec1907 Fix more warnings reported by clang 2025-12-29 00:56:18 +01:00
GenericHeroGuy
95a3af6a1a Fix missing spinout animation on the fan sector in Diamond Square
Also, carry is not a bitfield lol
2025-12-28 23:32:19 +01:00
Sally Coolatta
62fbaf19c9 Use old faster luminance calc for HWR blends
Not accurate to Software's look but can't be assed to fuck around with legacy HWR to implement this as shader.
2025-12-28 17:18:23 -05:00
Sally Coolatta
7b3e9f15f0 Go back to the old one, but gamma correct it
Did more research into the subject, the formula I used before was fine and was just expecting gamma correction.
2025-12-28 17:12:56 -05:00
Sally Coolatta
20b66dc8be Slightly improve colorize's luminance method
Before I was using coefficents from another formula I forget the source of, but over time I've stopped liking how it looked -- just considers greens far too bright. Here I'm trying out BT.601 coefficents instead (https://en.wikipedia.org/wiki/Rec._601).

These are also the coefficients Doom itself used for invulnerability's invert effect (if you ignore the typo Carmack made :p), so this checks out.
2025-12-28 17:10:08 -05:00
PAS
b75b7e5723 Fix double byte-swap in SV_MakeTic 2025-12-28 16:59:57 -05:00
GenericHeroGuy
51fbf12903 Start by clearing out a bunch of warnings 2025-12-28 02:00:47 +01:00
yamamama
cf4120be13 Kill kartspbdist
The changes to KRF_RUNNERAUGMENT obsolete the need for this cvar entirely LMAO
2025-12-27 17:43:23 -05:00
yamamama
7331e41b57 Fix realloc use-after-free, better safeguard the defaultvalue overwrite 2025-12-27 17:38:48 -05:00
yamamama
606784ce14 Forgot to actually differentiate Alt. item runnerdist cvars 2025-12-27 17:38:48 -05:00
yamamama
3013a720a4 Properly set the cvar value 2025-12-27 17:38:48 -05:00
yamamama
15cd75eead Per-item RUNNERAUGMENT distances 2025-12-27 17:38:48 -05:00
NepDisk
c822e256c9 Add more tracy zones 2025-12-26 20:27:01 -05:00
yamamama
c8b0a0483b Expose K_GetSpeedPercentage to Lua 2025-12-26 03:43:50 -05:00
yamamama
8bb3482bc5 Expose the Arrow Bullet scalar to Lua
Very much for prototyping reasons
2025-12-26 03:43:41 -05:00
yamamama
21918df5f3 Adjust odds distances again 2025-12-26 03:43:29 -05:00
NepDisk
467796bdb6 Revert "Make zone allocation thread-safe"
This reverts commit 32af5957ca.
2025-12-25 22:15:10 -05:00
NepDisk
e711494a07 Reapply "dont call I_Quit from withing quit_handler, let it signal main loop to quit"
This reverts commit 8156c6e210.
2025-12-25 22:14:04 -05:00
NepDisk
8156c6e210 Revert "dont call I_Quit from withing quit_handler, let it signal main loop to quit"
This reverts commit b093d93f7e.
2025-12-25 21:40:08 -05:00
NepDisk
7a453643aa Actually fix not being able to use player->mo->color in lua 2025-12-25 18:24:14 -05:00
NepDisk
f61f6823dd Revert "Fix player->skincolor always being set on player->mo"
This reverts commit 475b92174f.
2025-12-25 18:24:14 -05:00
NepDisk
ab9368a15b Revert "Fix grow and invin color sticking with previous commit"
This reverts commit a8a5392304.
2025-12-25 18:24:14 -05:00
NepDisk
ee60ffb938 Revert "Fix ringboost flash getting stuck"
This reverts commit 8cb3313752.
2025-12-25 18:24:14 -05:00
NepDisk
abf8eabc81 Revert "Fix eggman flashing"
This reverts commit fcd4a2cef9.
2025-12-25 18:24:14 -05:00
GenericHeroGuy
a5b82f41cb New map patches, fix wrong name for SPB result 2025-12-25 23:32:24 +01:00
yamamama
0adff9842c :patrick_mouth: 2025-12-24 23:22:05 -05:00
yamamama
33ca21b9f2 Terraindef bullshit 2025-12-24 23:22:05 -05:00
yamamama
94ea4e0614 Forgot about goddamn pogosprings 2025-12-24 23:22:05 -05:00
yamamama
d7c516777b Revise this a bit to take smaller players overall into account
Paranoia change, mostly
2025-12-24 23:22:05 -05:00
yamamama
18146e5d69 Shrink Fix part 2: Make springs catch smaller players no matter what 2025-12-24 23:22:05 -05:00
yamamama
506917e24b Shrink Fix part 1: Fudge spring launch scales 2025-12-24 23:22:04 -05:00
NepDisk
aede690bb7 Experiment, use nettics instead of max here
Classic does this so I'll try it
2025-12-24 12:36:17 -05:00
NepDisk
8c624cdc65 Remove tic provision
Based on 7cf14fbe74
2025-12-24 12:35:31 -05:00
NepDisk
ba2b525172 Remove CLIENTMIS
based on this commit from SRB2Classic 5d977d4297
2025-12-24 12:22:59 -05:00
Gustaf Alhäll
8da7bc7298 Fix integer overflow recursing through BSP for weather checks 2025-12-24 12:03:09 -05:00
Gustaf Alhäll
18186a2fd7 Fix use-after-free when object dies on touch 2025-12-24 12:03:09 -05:00
Gustaf Alhäll
32af5957ca Make zone allocation thread-safe 2025-12-24 12:03:09 -05:00
Indev
7af70c581a Add itemtimers and lapsplits into list of lua-togglable hud items 2025-12-24 01:41:07 +03:00
NepDisk
fcd4a2cef9 Fix eggman flashing 2025-12-23 13:56:52 -05:00
GenericHeroGuy
c86c17ff59 Ok that's enough, pipe down 2025-12-23 02:36:02 +01:00
GenericHeroGuy
b80556fc46 Just ONE more platter refactor bro I SWEAR
* Map icon drawing is now centered so winton looks okay again
* Squeezed out literally every last pixel of margin (5 rows on greenres!)
* PgUp/PgDn can be used to scroll faster
* Delayed map selection because uhhh it's cool
2025-12-23 02:27:08 +01:00
NepDisk
7249273ca3 Revert "Kill Alt. Invin."
This reverts commit f414006e66.
2025-12-22 20:23:45 -05:00
yamamama
f414006e66 Kill Alt. Invin. 2025-12-22 20:05:13 -05:00
yamamama
8cfe55a64d Revert the stupid Bubble Shield bump nerf 2025-12-22 16:57:02 -05:00