Commit graph

13752 commits

Author SHA1 Message Date
LJ Sonic
4081dd8edf Move net command copying to a new function 2023-01-14 14:52:13 +01:00
LJ Sonic
a7a3f97c7b Split PT_ClientCmd into functions 2023-01-14 14:49:33 +01:00
LJ Sonic
0859a1597f Add missing include directive 2023-01-13 22:28:03 +01:00
LJ Sonic
2a360a4201 Reorder functions in d_clisrv.c 2023-01-13 22:05:57 +01:00
spherallic
207053a023 Prevent A_LobShot from dividing by 0 2023-01-13 17:10:50 +01:00
LJ Sonic
ab23b445b0 Move netgame commands to a new file 2023-01-12 19:40:31 +01:00
sphere
96bfd8cea7 Merge branch 'gamepadtweaks' into 'next'
Gamepad fixes & changes

Closes #813

See merge request STJr/SRB2!1899
2023-01-11 12:54:24 +00:00
LJ Sonic
18bfc3266a Remove reboundstore timeout hack 2023-01-09 22:14:58 +01:00
LJ Sonic
62cfb0eb81 Fix clients not being able to join servers 2023-01-09 21:39:33 +01:00
LJ Sonic
1eb801399b Move comment to an appropriate place 2023-01-08 16:33:21 +01:00
LJ Sonic
5a608120ff Simplify convoluted code 2023-01-08 16:28:41 +01:00
LJ Sonic
62986da9da Remove useless variable 2023-01-08 13:27:08 +01:00
MascaraSnake
24f9ec4ec4 Merge branch 'fffff' into 'next'
Fix fox follower's flickering flindicator (fixes #819)

Closes #819

See merge request STJr/SRB2!1918
2023-01-08 10:28:48 +00:00
LJ Sonic
75b52171d2 Call all packet handlers from the same place 2023-01-08 00:47:33 +01:00
LJ Sonic
db85e956c9 Rename packet handlers to match their associated PT_ constants 2023-01-08 00:46:12 +01:00
LJ Sonic
fef13b630c Remove outdated or misleading comments 2023-01-08 00:43:18 +01:00
LJ Sonic
4a2fd43aff Add missing _pak suffix to a few packet structures 2023-01-07 16:14:41 +01:00
LJ Sonic
7240ed22de Add missing PT_ prefix to a few packet handlers 2023-01-07 15:57:17 +01:00
LJ Sonic
dfdbdee0a8 Move netcode console variables to appropriate files 2023-01-07 15:57:04 +01:00
LJ Sonic
94ba47a950 Remove unused stuff 2023-01-07 13:37:33 +01:00
LJ Sonic
d1c5f7adcc Move gamestate handling to a new file 2023-01-07 13:01:48 +01:00
MascaraSnake
f50e7f2515 Merge branch 'more-use-afters-frees' into 'next'
Fix use after free bug

See merge request STJr/SRB2!1867
2023-01-07 10:37:32 +00:00
MascaraSnake
6ece0f1a00 Merge branch 'fix-hurtmsg-hook' into 'next'
Fix HurtMsg inflictor mobj type discriminator

Closes #874

See merge request STJr/SRB2!1903
2023-01-07 10:32:58 +00:00
MascaraSnake
71d10ec579 Merge branch 'fishjump-fix' into 'next'
Fix scaling mistake in A_FishJump

Closes #939

See merge request STJr/SRB2!1915
2023-01-07 10:32:43 +00:00
katsy
20cd8cefd1 fix flickering flight indicator 2023-01-06 18:41:35 -06:00
sphere
cdf896b22f Merge branch 'nightshoopsanity' into 'next'
Allow setting NiGHTS hoop pitch & yaw in degrees (in binary map format)

See merge request STJr/SRB2!1892
2023-01-06 23:54:26 +00:00
LJ Sonic
f1ad1bf13e Declare data exchanged through the network to a new file 2023-01-05 23:48:44 +01:00
LJ Sonic
7c2fe20cd5 Move tic and net command handling to new files 2023-01-05 22:51:17 +01:00
spherallic
ca8842fa45 Merge branch 'next' into gamepadtweaks 2023-01-04 09:01:55 +01:00
MascaraSnake
5bbfb1840a Fix scaling mistake in A_FishJump 2023-01-04 08:58:40 +01:00
Eidolon
71736f358f Merge branch 'controller-fixes' into 'next'
Various controller fixes

Closes #936 and #937

See merge request STJr/SRB2!1914
2023-01-04 01:39:40 +00:00
Eidolon
c270cca55f Always swallow pad axis events when menu is active
This prevents axis events from trickling out of the menu and taking
effect in G_Responder when they aren't hitting the digital deadzone
needed to be mapped into internal menu key events.
2023-01-03 14:39:15 -06:00
Eidolon
eeff182abb Reverse axis event mapping in G_RemapGamepadEvent
Was erroneously mapping events inside the deadzone as key down and vice
versa.
2023-01-03 14:09:12 -06:00
Arthur
7d53e4647b Fixes issue #568 2023-01-01 21:07:15 -05:00
Eidolon
4e3f78784a Merge branch 'MSVC-fix' into 'next'
MSVC project file works again! Supports Visual Studio 2022.

See merge request STJr/SRB2!1904
2023-01-01 19:19:13 +00:00
Ashnal
7800c9e5c9 Fix use after free bug 2023-01-01 12:31:12 -06:00
Eidolon
fdff419818 Merge branch 'hms-useragent' into 'next'
http-mserv: add SRB2-specific user agent string

See merge request STJr/SRB2!1893
2023-01-01 18:21:01 +00:00
LJ Sonic
b461cb919b Move server-side connection handling to a new file 2023-01-01 11:45:09 +01:00
MascaraSnake
e472c551e1 Re-add P_ThingOnSpecial3DFloor for Lua backwards compatibility 2023-01-01 11:31:44 +01:00
Arthur
e909f8ec12 Fixes Issue #711 2022-12-31 21:06:39 -05:00
Arthur
449d27749f Fixes Issue #912 2022-12-31 20:30:39 -05:00
Arthur
636e6d8c14 MSVC project file works again! Supports Visual Studio 2022.
Also fixed issues with the d_netcmd.c file/folder adding logic.
2022-12-31 19:35:07 -05:00
LJ Sonic
4660d3cab6 Move client connection handling to a new file 2022-12-31 21:37:35 +01:00
LJ Sonic
717e0d5a17 Move netcode files to a new folder 2022-12-31 14:10:19 +01:00
James R
fbcdaa6f4d hooklib: move HurtMsg to mobj hooks
Fixes regression of mobj type discriminator not working
for this hook.

blame 8d382e49fb
2022-12-31 04:26:13 -08:00
James R
a895a5c374 hooklib: pass NULL mobj to only run mobj hooks with no type discriminator 2022-12-31 04:20:31 -08:00
sphere
060b79452a Merge branch 'remove-spinning' into 'next'
Remove PF_SPINNING upon use of any jump ability, so that directionchar works properly

See merge request STJr/SRB2!1429
2022-12-31 09:39:06 +00:00
MascaraSnake
193a592d46 Merge branch 'dyn-alloc-action-name' into 'next'
Dynamically allocate space for a state's action field

See merge request STJr/SRB2!1478
2022-12-31 09:35:15 +00:00
sphere
e401f77524 Merge branch 'extend-ip-textbox' into 'next'
Extend the length of the Connect via IP textbox.

See merge request STJr/SRB2!1410
2022-12-31 09:06:28 +00:00
sphere
e301268af7 Merge branch 'nodepthset' into 'next'
Don't force bit depth to 8-bit when setting default video mode

See merge request STJr/SRB2!1733
2022-12-31 09:01:27 +00:00