Commit graph

23595 commits

Author SHA1 Message Date
Alug
5cc8998974 simplify LUA_Alloc
Z_Realloc already handles everything internally, no need to manually free anything
2026-01-24 12:20:39 -05:00
Alug
526a8390f5 fix few more implicit double/float conversions 2026-01-24 12:12:16 -05:00
Alug
2e7111d2c8 software: fix drawseg xrange item coord type being too small
both sprite and drawseg coords are int32
might fix some clipping issues
2026-01-24 12:04:12 -05: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
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
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