Commit graph

317 commits

Author SHA1 Message Date
Mia McMahill
0784fa360a Finish cleaning up the rest of the easy globals 2026-07-30 01:41:16 -05:00
Mia McMahill
e148657833 Fix parameter order 2026-07-30 01:41:16 -05:00
Mia McMahill
ecb008a027 Now for PIT_StompThing 2026-07-30 01:41:16 -05:00
Mia McMahill
8374a35051 make PIT_(Z)DoomRadiusAttack use arguments instead of globals 2026-07-30 01:41:16 -05:00
Mia McMahill
3546f166fe Address remaining clang-tidy warnings 2026-07-30 01:41:16 -05:00
Mia McMahill
e70d5175ce Address a bunch more clang-tidy warnings 2026-07-30 01:41:16 -05:00
Mia McMahill
542163974f Address more clang-tidy suggestions 2026-07-30 01:41:16 -05:00
Mia McMahill
dd3ea279c8 Address clang-tidy review comments 2026-07-30 01:41:16 -05:00
Mia McMahill
b60f3f66d8 Implement MBF's tmunstuck thing
This allows players to escape from being stuck inside of
blocking/one-sided lines in certain cases.

MBF implements this using a global variable for passing extra
information into PIT_CheckLine. To avoid that, I made the blockmap
iterators into variadic templates that allow passing in additional
arguments to the PIT_* functions.
2026-07-30 01:41:16 -05:00
Jim Thoenen
90b91ed801 Tiny additional cleanup from netcode fork 2026-05-31 15:56:02 -05:00
Jim Thoenen
789cd4909e Also, remove the dead-code second check for null 2026-05-31 12:16:51 -05:00
Jim Thoenen
ee21848b09 Fix touching_thinglist corruption by returning the existing list from P_AddSecnode if given a null sector 2026-05-31 12:15:12 -05:00
Jim Thoenen
a4a5ea35c5 Remove unnecessary subsector->sector checks - sector is guaranteed non-null; a little cleanup 2026-03-17 02:44:31 -05:00
Jim Thoenen
fbab8ce84c First pass addressing peer review comments 2026-03-17 02:44:31 -05:00
Jim Thoenen
98c14ccfea Add a bunch of subsector null checks 2026-03-17 02:44:31 -05:00
Mia McMahill
09678c63c5 Many more ptr -> ref changes. Still doesn't compile... 2026-01-29 16:11:57 -06:00
Mia McMahill
77e3afe00c Big player_t* to player_t& migration 2026-01-29 15:06:29 -06:00
electricbrass
5ede102bf1 upversion to version 12.1.0 2026-01-05 01:52:47 +00:00
Mia McMahill
c69e513b8e
Merge branch 'stable' into lotsa-consts 2025-12-26 01:48:53 -05:00
Mia McMahill
f8f0bc2db3 One more P_IsPlayerOrAvatar spot 2025-12-12 16:26:58 -06:00
Mia McMahill
d74f210880 Replace player checks for player or avatar with P_IsPlayerOrAvatar, make sure block players lines block avatars too 2025-12-12 16:22:27 -06:00
Mia McMahill
d7ffb72ae2 One more 2025-12-08 01:48:36 -06:00
Mia McMahill
d64ef46c06 Replace doomtype.h limit macros with std::numeric_limits 2025-12-01 08:11:00 -06:00
Mia McMahill
e54347202c Merge branch 'protobreak' into dsdhacked-rewrite 2025-08-10 23:25:05 -05:00
Mia McMahill
d54d8736d5 Update cvar names 2025-07-28 23:16:09 -05:00
Mia McMahill
0008ec13ff Merge branch 'protobreak' into dsdhacked-rewrite 2025-07-26 01:48:15 -05:00
Mia McMahill
433e07c667
Merge branch 'protobreak' into feature/friendly-enemy 2025-07-25 23:33:46 -05:00
Mia McMahill
e1d5e67aea Change DoomObjectContainer::operator[] to return a reference instead of a pointer 2025-07-24 17:20:10 -05:00
Mia McMahill
ae5437c234 Merge branch 'stable' into protobreak 2025-07-22 03:25:59 -05:00
Mia McMahill
ebbbd623aa Merge branch 'stable' into protobreak 2025-07-13 17:36:02 -05:00
Mia McMahill
81c5bbe91e Implement mapinfo map and skill infighting tokens 2025-07-02 18:15:19 -05:00
Mia McMahill
25667cd57d Fix behavior of flatmapping skies everywhere
This required partially parsing skydefs on the server
2025-06-24 16:23:41 -05:00
Mia McMahill
1c5499dd54 Merge branch 'protobreak' into dsdhacked-merge 2025-04-07 22:01:07 -05:00
Mia McMahill
d95c614e72 Cleanup of m_alloc allocation functions 2025-03-27 16:33:37 -05:00
Mia McMahill
dc2641aa8b Merge branch 'protobreak' into dsdhacked-merge 2025-03-18 22:03:17 -05:00
bcahue
7ae2ea211b merge up 2025-03-03 18:47:14 -05:00
bcahue
1710a942d3 remove effects when crushed to gibs 2025-03-03 01:53:25 -05:00
bcahue
460fb352df demo compatible monkeys. its a bit backwards as it requires comp_dropoff, however in mbf monkeys doesn't work when comp_dropoff or comp_ledgeblock is set. something to fix when we bring up full mbf compat 2025-03-02 23:29:55 -05:00
Mia McMahill
b0538c6905 Merge branch 'stable' into string-stuff 2025-03-02 00:56:21 -06:00
Mia McMahill
3f19b2082f
Merge branch 'stable' into modern-iteration 2025-03-02 00:14:03 -06:00
Christian Bernard
5624b08340 Merge remote-tracking branch 'origin/protobreak' into feature/dsdhacked-2021 2025-03-01 07:52:38 -08:00
bcahue
b76634eb81 demo compatible friendly unblocking scenarios 2025-03-01 03:44:48 -05:00
Mia McMahill
65ecaf42c9 Merge branch 'stable' into modern-iteration 2025-02-28 20:30:29 -06:00
Mia McMahill
75816f6522
Merge branch 'stable' into remove-BOOL 2025-02-28 20:24:16 -06:00
bcahue
4755a5b60c fix the rest of the demos 2025-02-27 23:49:07 -05:00
bcahue
652696dbe3 Merge branch 'protobreak' into feature/friendly-enemy 2025-02-27 23:41:06 -05:00
bcahue
0f65665ba8 upversion to 12 2025-02-27 23:40:28 -05:00
bcahue
b7e90dc1f8 fix a few demo desyncs 2025-02-21 22:57:35 -05:00
bcahue
0cd033dcee only avoid autoaim friendlies if you're a player (since that's how they don't shoot each other) 2025-02-19 02:16:46 -05:00
bcahue
e78ace5728 fix projectiles clipping friendles if sv_unblockfriendly = 1, and also don't spawn blood if sv_friendlymonsterfire is 0 2025-02-19 01:23:31 -05:00