Commit graph

23557 commits

Author SHA1 Message Date
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
1b69314d81 Merge pull request 'Per-item RUNNERAUGMENT distances' (#209) from runneraug_improvements into next
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/209
2025-12-28 00:14:23 +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
45a1139ef7 Update openAL-Soft 2025-12-26 22:22:20 -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
fdd5c2b3ed Merge pull request 'Shrink Fix' (#208) from shrinkma into next
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/208
2025-12-25 05:38:30 +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