Commit graph

22265 commits

Author SHA1 Message Date
AJ Martinez
59c4086ffc Missing newline 2023-03-28 01:20:44 -07:00
AJ Martinez
25e9207fa2 Check for pubkey modifiation when gamestate is resent 2023-03-28 01:20:44 -07:00
AJ Martinez
33760dec51 I don't even know, unfuck everything 2023-03-28 01:20:44 -07:00
AJ Martinez
a1b0625f66 Don't sigcheck game traffic if you're not the server, you can't do anything with it 2023-03-28 01:20:43 -07:00
AJ Martinez
ca767a554b Let people know when they're kicked for sigfail 2023-03-28 01:20:43 -07:00
AJ Martinez
7889ffd93b Instantly destroy anyone who sigfails 2023-03-28 01:20:43 -07:00
AJ Martinez
2925843ea2 Sigfail command for testing, fix guest join sigcheck, scaffolding for sigfail kick reason 2023-03-28 01:20:43 -07:00
AJ Martinez
936da9870c Move guest profile checks into dedicated method 2023-03-28 01:20:43 -07:00
AJ Martinez
baedcc6ade Add allowguests cvar 2023-03-28 01:20:43 -07:00
AJ Martinez
b758001661 We don't need payloadsize, we don't trust it anyway 2023-03-28 01:20:43 -07:00
AJ Martinez
3747ba6cbd Sign game traffic that could be used to cause problems 2023-03-28 01:20:43 -07:00
AJ Martinez
0f3d740fd4 Correctly populate local keys as a netgame client 2023-03-28 01:20:43 -07:00
AJ Martinez
cc0390cc64 Don't respond to challenges out of sequence 2023-03-28 01:20:43 -07:00
AJ Martinez
c46ad8d52b Fix GUESTs trying to sign 2023-03-28 01:20:43 -07:00
AJ Martinez
f2c66a2171 Expose public_key to Lua 2023-03-28 01:20:43 -07:00
AJ Martinez
66c6ba125d Final fixup for profile-level keys and passing to player_t 2023-03-28 01:20:41 -07:00
AJ Martinez
4ffae5d862 Store keypairs in profiles, do signature verification for all splitscreen players 2023-03-28 01:19:43 -07:00
AJ Martinez
cacb4f453f Scramble keys and challenges when init/closing node 2023-03-28 01:19:43 -07:00
AJ Martinez
7218c225ec Remove state trace debug print 2023-03-28 01:19:43 -07:00
AJ Martinez
138663bf5a Literally, unironically, draw the rest of the owl 2023-03-28 01:19:43 -07:00
AJ Martinez
9b77d95357 Pass key into player_t for other stuff to work with it 2023-03-28 01:19:43 -07:00
AJ Martinez
568dc59aa5 State scaffolding for challenge-response 2023-03-28 01:19:43 -07:00
AJ Martinez
805186c3a9 RRID: initial commit, WIP broken 2023-03-28 01:19:43 -07:00
AJ Martinez
c3f4fc33c4 License compliance for libwebm, libyuv, libvpx, libxmp, fmt, imgui, tcbrindle span 2023-03-28 01:14:33 -07:00
AJ Martinez
03d7f3be23 Add LICENSE-3RD-PARTY.txt
On Toaster's recommendation, I've added the LICENSE-3RD-PARTY.txt from v1.6, so that it can be kept up-to-date in the same workflow as the dependencies are being added in the first place. There may be deps missing that were added in RR!
2023-03-28 01:13:47 -07:00
James R
cdd9ae2644 Merge branch 'refactor-k-collide' into 'master'
Refactor K_PvPTouchDamage

See merge request KartKrew/Kart!1108
2023-03-28 00:03:10 +00:00
Oni
3463f0e5be Merge branch 'bubble-invincibility-clash' into 'refactor-k-collide'
Clash Bubble Shield blowup with Invincibility etc; bounce players away with Bubble blowup

See merge request KartKrew/Kart!1109
2023-03-27 22:10:03 +00:00
James R
7f0cb6aa94 Merge branch 'respawn-line-debug' into 'master'
Add perspective to debugfinishline; highlight Respawn Lines

See merge request KartKrew/Kart!1089
2023-03-27 12:12:39 +00:00
James R
06f58486a5 Merge branch 'emerald-timer' into 'master'
Add fuse to Emeralds in Battle

Closes #126

See merge request KartKrew/Kart!1091
2023-03-27 12:12:17 +00:00
James R
0cad27d7fe Merge branch 'pad-diagnostics' into 'master'
Gamepad GUID and Name logging, gamecontrollerdb.txt

See merge request KartKrew/Kart!1092
2023-03-27 12:10:58 +00:00
James R
2547ba6d6b Merge branch 'fix-faulty-references-false-positive' into 'master'
Fix false positive P_RemoveThinkerDelayed warning

See merge request KartKrew/Kart!1087
2023-03-27 12:07:40 +00:00
James R
9e25472a97 Merge branch 'bot-replay-camera' into 'master'
Use bot mo angle in demo chasecam (fixes #494)

Closes #494

See merge request KartKrew/Kart!1103
2023-03-27 12:07:15 +00:00
James R
2966db2dcc Merge branch 'P_SpawnMobjFromMobjUnscaled-lua' into 'master'
Expose P_SpawnMobjFromMobjUnscaled to Lua

See merge request KartKrew/Kart!1104
2023-03-27 12:06:06 +00:00
James R
cb963fe81e Clash Bubble Shield blowup with Invincibility etc; bounce players away with Bubble blowup
- K_BubbleShieldCollide now calls K_KartBouncing and
  K_PvPTouchDamage
  - Lets players get knocked around by Bubble blowup
  - Lets all clash conditions apply to Bubble blowup too
- Bubble blowup now does wipeout damage
2023-03-27 04:54:37 -07:00
James R
b1f0cca519 k_collide.cpp: refactor K_PvPTouchDamage to deduplicate code 2023-03-27 04:43:20 -07:00
James R
022e6ed5fa player_t: change pflags type to UINT32
Avoids invalid conversion compiler errors when using
bitwise operators on pflags from C++ code.
2023-03-27 04:43:20 -07:00
James R
70310eaed6 Rename k_collide.c to k_collide.cpp 2023-03-27 04:43:20 -07:00
James R
2dd29dd15f lua_baselib.c: expose P_SpawnMobjFromMobjUnscaled 2023-03-26 20:44:43 -07:00
AJ Martinez
fa60a3a20c Use bot mo angle in demo chasecam 2023-03-26 15:28:09 -07:00
James R
28c9c3cc7d Tie Battle fuse for item drops and Emeralds to GTR_CLOSERPLAYERS instead of GTR_BUMPERS 2023-03-26 07:01:19 -07:00
toaster
954127d533 Merge branch 'fix-addfile-double-error' into 'master'
Fix networked addfile command erroring twice for already added files

See merge request KartKrew/Kart!1100
2023-03-26 13:30:35 +00:00
toaster
8b02b7efd4 Merge branch 'skip-skybox-precip' into 'master'
software: Skip precip mobjs in sky portal renders

See merge request KartKrew/Kart!1096
2023-03-26 13:28:23 +00:00
toaster
34eb1110a3 Merge branch 'net-update-less' into 'master'
Only call NetUpdate once in D_SRB2Loop

See merge request KartKrew/Kart!1069
2023-03-26 13:14:08 +00:00
Sally Coolatta
43156f63dd Only call NetUpdate once
This doesn't need to be in a bunch of rendering code, simply only run it in TryRunTics.

Worst case scenario: if this sucks then it means dedicated servers have also sucked the whole time and we should come up with a new solution to fix both of them.

More likely scenario: nothing changes and we now aren't doing networking inside of the renderer.
2023-03-26 14:12:01 +01:00
James R
4934263871 Let debugfinishline highlight Respawn Lines too
- Finish Lines now render with black & yellow instead of
  red & white
- Respawn Lines render with red & white
2023-03-26 05:27:58 -07:00
James R
92bf2d0989 Add specialized drawing loop for debugfinishline
- Cache DBGLINE texture
- Draw this texture at horizon (player's eye level)
- Draw this texture at max brightness
- Do not slope skew this texture
- Use R_DrawColumn_Flat_8 to colorize the this texture
2023-03-26 05:27:58 -07:00
James R
1fa98a08d6 Revert debug line drawing for R_RenderMaskedSegRange
Reverts parts of b7ef8275c
2023-03-26 05:27:58 -07:00
James R
08b5bf8c4c Merge branch 'refactot-render-masked-seg-range' into 'master'
Refactor parts of R_RenderMaskedSegRange

See merge request KartKrew/Kart!1088
2023-03-26 12:26:50 +00:00
James R
7367353516 r_segs.c: inline R_OverflowTest 2023-03-26 05:26:03 -07:00
James R
a04381ac45 Refactor parts of R_RenderMaskedSegRange
Seperates some subroutines:

- R_CheckBlendMode
- R_OverflowTest
- R_RenderMaskedSegLoop
2023-03-26 05:25:16 -07:00