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
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
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
LJ Sonic
b461cb919b
Move server-side connection handling to a new file
2023-01-01 11:45:09 +01: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
LJ Sonic
05d232c029
Delete netcode
...
Just kidding, I just deleted NONET
2022-12-30 15:07:57 +01:00
LJ Sonic
e519f306fb
Ignore duplicate PT_CLIENTJOIN packets
2022-12-30 14:03:32 +01:00
LJ Sonic
6ae44fe91d
Rename ConnectionRefused to be more descriptive
2022-12-30 14:01:37 +01:00
LJ Sonic
c9dc44c2f6
Cleanup HandleConnect
2022-12-30 14:01:03 +01:00
LJ Sonic
d561b5a0bf
Remove broken joinnextround console variable
2022-12-30 13:10:01 +01:00
LJ Sonic
388505db62
Remove unneeded numplayerswaiting field
2022-12-30 02:46:59 +01:00
LJ Sonic
f27de6c324
Remove useless condition
2022-12-30 01:48:26 +01:00
LJ Sonic
ba91520eab
Remove useless return value for SV_AddWaitingPlayers
2022-12-30 00:24:06 +01:00
LJ Sonic
36613d58e9
Cleanup sphere redistribution
2022-12-29 22:30:26 +01:00
LJ Sonic
6806fbce45
Fix sphere redistribution
2022-12-29 22:16:08 +01:00
LJ Sonic
dc39957539
Move sphere redistribution to its own function
2022-12-29 21:28:53 +01:00
LJ Sonic
2b2797ec66
Move player-node unlinking to a function
2022-12-29 20:48:17 +01:00
LJ Sonic
dc716d9ece
Cleanup ResetNode
2022-12-29 20:45:56 +01:00
LJ Sonic
e6e9eef0e2
Merge node arrays into a structure
2022-12-29 15:52:45 +01:00
LJ Sonic
262ed6b7f3
Split packet handling switch into functions
2022-12-29 10:23:12 +01:00
LJ Sonic
33c76453e1
Remove snake_ prefix
2022-12-28 18:50:00 +01:00
LJ Sonic
ffbe140af5
Move snake minigame to its own files
2022-12-28 16:12:05 +01:00
LJ Sonic
29b9fec85d
Merge branch 'increase_maxsend' into 'next'
...
Increased maxsend
See merge request STJr/SRB2!1895
2022-12-21 11:35:33 +00:00
Lamibe
c1b85b212d
Increased maxsend to 200MB
2022-12-19 10:38:17 +01:00
Eidolon
fdb6f2aff9
sdl: I can't believe it's more version-guards
2022-12-10 02:47:53 -06:00
Eidolon
df28ffd72e
sdl: Yet more SDL rumble version-guards
2022-12-10 02:42:14 -06:00
Eidolon
f5f224136b
sdl: Version-guard rumble and extended buttons
2022-12-10 02:34:33 -06:00
Eidolon
ec58b1504d
sdl: SDL version-guard controller type and hidapi
2022-12-10 02:19:05 -06:00
Eidolon
fcf69001ad
cmake: Fix png and openmpt builds in clean envs
...
In environments without zlib installed, png would fail to build since
it can't find zlib.h. The zlib build's generated public include dir
needs zlib.h to work.
openmpt fails to build because it can't find Rpcrt4, which is not a
necessary link under mingw, but exists in some mingw-w64 toolchains.
It is only needed for MSVC.
2022-12-10 01:53:23 -06:00
Eidolon
fb0f0c5e6c
cmake: Use MAME YM2612 emu in GME
2022-12-10 01:46:42 -06:00
Eidolon
6428d6fc61
Fix axis inversion and camera look inversion
2022-12-08 21:25:10 -06:00
Eidolon
7d8e8e20b7
Merge branch 'gamepad-refactor-lua-rumble' into 'next'
...
Add haptic functions for Lua scripting
See merge request STJr/SRB2!1872
2022-12-09 02:17:17 +00:00
Eidolon
7f1cafcd3d
Merge branch 'gamepad-refactor-lua-features' into 'next'
...
Add gamepad library and hooks for Lua scripting
See merge request STJr/SRB2!1871
2022-12-09 02:17:03 +00:00
Eidolon
696e2ab909
Merge branch 'gamepad-refactor' into next
...
Some hacks from the snake minigame patch have been removed as they are
no longer needed.
See STJr/SRB2!1870
# Conflicts:
# src/g_game.c
# src/g_input.c
2022-12-08 20:00:41 -06:00
Eidolon
d98d59494f
Add missing level-load view reset from RR
2022-12-08 18:21:37 -06:00
sphere
b9c677e537
Merge branch 'triggerafterxcalls' into 'next'
...
Fix callcount typo
Closes #922
See merge request STJr/SRB2!1890
2022-12-08 12:25:03 +00:00
Eidolon
6d44eb8016
Revert previous RemoveMobjInterpolator move
...
Matching Ring Racers. Previous move was actually a mistake on the Kart
port. Done so there is never a condition where the interpolator isn't
removed.
2022-12-05 17:22:01 -06:00
Eidolon
5bb7a527a1
Remove mobj interp. on early-free in P_RemoveMobj
...
Fixes a crash that occurred frequently in special stages/NiGHTS.
2022-12-04 22:25:23 -06:00
MascaraSnake
2cc7fe2bf0
Fix callcount typo
2022-12-04 09:14:55 +01:00
sphere
153def463f
Merge branch 'fix-downloadsnakeconcent' into 'next'
...
[Snake Controller Fix] fix NONET builds
See merge request STJr/SRB2!1888
2022-11-29 12:07:57 +00:00