Commit graph

24321 commits

Author SHA1 Message Date
NepDisk
329337b36d Prevent music linedefexec specials from overriding intro music
Ugly hack for now, should properly be fixed later.
2026-03-10 21:39:27 -04:00
NepDisk
b9604e3fd6 Clean up map start music logic 2026-03-10 21:25:23 -04:00
SteelT
c6dbc2aea4 Don't show gametype was changed message if the same gametype 2026-03-10 21:17:27 -04:00
NepDisk
cd2d07b190 Change all gametyperules uses to gametypes[gametype]->rules 2026-03-10 21:14:23 -04:00
NepDisk
ee80e52e56 Remove paranoia fallback for hud color
Gametypes should always have a color.
2026-03-10 21:04:35 -04:00
toaster
4932bde9b0 gametype_t
- New array of pointers to structures in memory (currently mixing static for base-game and Callocated for custom)
- Centralises a metric-ton of previously seperately handled properties into one struct
    - Gametype_Names[]
    - Gametype_ConstantNames[]
    - gametypetol[]
    - timelimits[]
    - pointlimits[]
    - gametypedefaultrules[]
    - gametypecolor[] - Nep: This one was blan exclusive but I added it regardless.
- Don't attempt to guess custom gametype in Replay Hut (requires more work to make custom gametypes behave across the entire experience)
- I_Error if invalid gametype set
- gametyperules is deprecated since it will never be modified seperately from gametype (temporarily a #define, don't wanna bloat this commit too much)
2026-03-10 20:56:36 -04:00
toaster
926f29dfb8 Pre-emptive fixes for custom gametypes
- Handle mismatched gametypes for client and server on voting screen
- I_Error when running out of gametypes
- Reduce gametype freeslots slightly to avoid colliding with VOTEMODIFIER_ENCORE
2026-03-10 19:36:20 -04:00
toaster
2f495b6de7 We don't have *one* Single Player mode - we have as many gametypes as there are, now. 2026-03-10 19:28:59 -04:00
minenice55
47207435b6 Merge branch 'next' into accelerometer 2026-03-10 18:17:37 -04:00
NepDisk
9a3bb0023d wadnamelinux: check both tmp and temp 2026-03-09 22:37:13 -04:00
Alug
03b2f23bf7 fixes for the new ogl map preprocessor
-fix faulty boundingbox check in SearchSegInBSP

-fix SplitPoly and CutOutSubsecPoly potentially using uninitialized div points

-fix a few broken debug prints

-remove code for non ZPLANALLOC path, which was broken anyways

-prevent potentially polytile_free dangling pointer

-do some more style cleanup

-remove unused struct members from split_T_t

for #226
2026-03-09 23:15:58 +01:00
NepDisk
3b31b1878f Merge pull request 'Port the updated OpenGL map preprocessor from Doom-Legacy' (#226) from updatehwpreprocess into next
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/226
2026-03-09 20:52:13 +01:00
Alug
7b3e920029 fix wrong format specifier
subsecnum be size_t oop
2026-03-09 19:54:46 +01:00
Alug
0d8203d5c1 guard against -1 bspnum in SearchSegInBSP
technically we will never reach this case since the game will error out on nodeless maps anyways

tho this is just for correctness
2026-03-09 19:48:06 +01:00
Alug
b7ade32020 port and update the opengl map preprocessor from Doom-Legacy
this fixes numerous issues with holes in map geometry, misplaced sectors/planes, rare infinite loop hangs

most notably fixes most rendering issues on UDMF/RR maps

needs some testing as this may be slower than the old one
2026-03-09 18:15:38 +01:00
Alug
3f0e421085 fix distorted/broken textures when switching from software to opengl
if the map was loaded in software renderer mode the segs floatlength was not set

since this only gets done on map load for non adjusted segs it broke texture mapping on non adjusted segs after switching to gl
2026-03-09 16:28:33 +01:00
NepDisk
063a6d3710 Merge pull request 'Fix SOC menus erroring out when SRB2_CONFIG_ENABLE_DISCORDRPC is OFF' (#225) from Nicomedia/blankart:discordless into next
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/225
2026-03-08 23:29:41 +01:00
NepDisk
86df6c78c6 Add nights bumper specfic check 2026-03-08 18:19:41 -04:00
NepDisk
edcb7dbe69 Disallow picking up SPB rings in first 2026-03-08 18:15:09 -04:00
NepDisk
87122216c5 Fix bouncy floors not killing airdrop and make generalized air drop kill function (and expose it to lua) 2026-03-08 18:04:19 -04:00
Nicomedia
794d59e52e Fix Discord SOC menus erroring out as Discord RPC defines disables the enums, making them impossible to get parsed. 2026-03-08 19:57:09 +01:00
NepDisk
9ca702dce8 Make consistency more accurate 2026-03-08 14:03:51 -04:00
NepDisk
f62fb5361a Sorry no pickup for you lad 2026-03-08 13:41:45 -04:00
Lactozilla
334876535d Lua colorlib 2026-03-08 13:17:46 -04:00
Lactozilla
baf749e5c3 Lua colorlib: extracolormap support 2026-03-08 13:15:13 -04:00
Alug
1ddd84cf13 more pronounced ripple
eeeh kinda close ig
2026-03-08 12:23:47 -04:00
yamamama
ad95233529 Fix object sloperoll issues 2026-03-08 00:55:10 -05:00
minenice55
02fffa75de fix stick-tilt blending 2026-03-07 23:04:52 -05:00
NepDisk
440ccb67a6 Remove extra deadzone adjustment at 0 2026-03-07 22:40:53 -05:00
NepDisk
d38b88fbb9 Warning cleanup 2026-03-07 22:07:15 -05:00
minenice55
c9710a361a Merge branch 'next' into accelerometer 2026-03-07 21:30:39 -05:00
NepDisk
6d7c1d378e Merge pull request 'Support for Visual Portals in OpenGL' (#224) from portals into next
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/224
2026-03-08 02:25:04 +01:00
NepDisk
9477139049 Fix portal rendering issues
Tanks so much Alug!!!!
2026-03-07 20:11:56 -05:00
NepDisk
e9ea353451 Reset clipping after reset transform 2026-03-07 15:03:12 -05:00
NepDisk
bd9d33ce37 Kill skyfound 2026-03-07 14:28:43 -05:00
NepDisk
5fe1d9eb34 Fix warning 2026-03-07 14:18:39 -05:00
NepDisk
0b1854ed3d Portal Hell PT2
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/1774/diffs\?commit_id\=f6638c0f90a35cc13d97b985389bc058e1d57c3e
2026-03-07 14:14:33 -05:00
NepDisk
a739573ca1 Portal Hell PT1
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/1774/diffs\?commit_id\=c2103e52c259bb14d5d4b40c8bb9b131d5a78169
2026-03-07 12:25:06 -05:00
Sally Coolatta
778de306c5 Make camera follow platform momentum 2026-03-07 09:58:09 -05:00
James R
5dd799ebd7 Hold up/down for 2 seconds while not moving to pan the camera vertically 2026-03-07 09:53:57 -05:00
minenice55
32e3c31750 stick-and-tilt blending wip 2026-03-07 03:02:02 -05:00
yamamama
5f04d317b6 Fix splat rendering issues
That goddamned Robotnik Coaster splatbooster
2026-03-07 01:45:36 -05:00
minenice55
668f31ca16 make wheel display use affine transform for rotation 2026-03-07 00:54:22 -05:00
NepDisk
b6d418241c Prevent heavy airdrop softlocking on nights bumpers 2026-03-06 21:39:43 -05:00
NepDisk
61d7a81a4c Don't try reading flamestore from garbage data 2026-03-06 21:28:53 -05:00
NepDisk
7ba7e8cf8f Port bump and tripwire anti-softlock from RR 2026-03-06 21:20:09 -05:00
NepDisk
831fd04ef8 Pass Surf instead of generating a new one everytime 2026-03-06 20:41:53 -05:00
NepDisk
a6a4e387c4 Dont check for numdrawnodes 2026-03-06 17:17:28 -05:00
James R
503df794ea R_RenderPlayerView, HWR_RenderPlayerView, HWR_RenderSkyboxView: cut down on duplicated code 2026-03-06 17:14:23 -05:00
minenice55
0abcd8eef8 Merge branch 'next' into accelerometer 2026-03-06 15:32:23 -05:00