Commit graph

6244 commits

Author SHA1 Message Date
Latapostrophe
8c00331c2b Push consoleplayer and displayplayers to Lua 2020-03-10 11:53:28 +01:00
Sryder
eb8cb12b8f Merge branch 'master' of git@git.magicalgirl.moe:KartKrew/Kart-Public.git into next 2019-07-17 21:29:35 +01:00
Sryder
3cd5b3a33e Merge branch 'fix-port-connect' into 'master'
Don't use client port as default peer port

See merge request KartKrew/Kart-Public!152
2019-07-05 11:54:28 -04:00
Sryder
64ddbdc78b Merge branch 'fix-ms-version' into 'next'
Fix "Competition" as the gametype displayed by the Master Server

See merge request KartKrew/Kart-Public!151
2019-07-05 11:50:42 -04:00
Sryder
cab34bee6f Merge branch 'add-floats-command' into 'master'
Fix the Add command when floats

See merge request KartKrew/Kart-Public!153
2019-07-05 11:49:46 -04:00
James R
14be24dfb6 Support adding to CV_FLOAT cvars with the Add command 2019-07-04 17:48:17 -07:00
James R
0a2eac682b Don't use client port as default peer port 2019-07-04 16:38:00 -07:00
Sryder
e276faf819 Merge branch 'opengl_match_software_wallclip' into 'master'
OpenGL: Try and Match Software Wallclipping Better

See merge request KartKrew/Kart-Public!150
2019-07-02 14:08:10 -04:00
Sryder
815f237b22 Merge branch 'revert-mserv' into 'master'
Revert mserv

See merge request KartKrew/Kart-Public!144
2019-06-30 15:56:17 -04:00
James R
141ffd5c94 Send the old GT_MATCH only for specific versions
These version numbers were gathered from the Master Server's PHP code.
2019-06-30 10:47:08 -07:00
Sryder
56ad1340a2 Merge branch 'replay-code-sucks' into 'master'
Fix SIGSEGV when saving replays and invalid extrainfo offset

See merge request KartKrew/Kart-Public!149
2019-06-30 05:51:21 -04:00
Sryder
bcae3898dd Merge branch 'lemme-outa-room-menu' into 'master'
Don't get stuck in room menu in a modified game

See merge request KartKrew/Kart-Public!145
2019-06-27 14:16:37 -04:00
Sryder
c3f6f263d4 Update Skywall handling
I've tried to make this so it almost never under-compensates, and over-compensates very little where possible.
I don't think it's 1:1 to software's current behaviour, and probably never will be due to software being very strange.
2019-06-26 23:17:45 +01:00
James R
59bbab1fff Someone doesn't know how pointers or WRITE macros work...
Fixes SIGSEGV when saving a replay.
2019-06-25 00:44:12 -07:00
Sryder
414eee58ba checkforemptylines can be static 2019-06-24 20:50:37 +01:00
Sryder
d67ea859e3 Match CheckClip to software's clipping check in R_AddLine
Has the added benefit of fixing noclip camera for opengl
Unfortunately SkyWalls are kinda broken with this. I'll be looking into them shortly.
2019-06-24 20:21:30 +01:00
Sryder
777695aa88 Merge branch 'replay-typo' into 'master'
Spell it "forward"

See merge request KartKrew/Kart-Public!147
2019-06-23 12:34:07 -04:00
James R
5f4f10fdbe Spell it "forward" 2019-06-22 21:40:20 -07:00
Sryder
18e2e4ec8f Merge branch 'fileneededconfig-fix' into 'master'
Fix fileneeded overflow

See merge request KartKrew/Kart-Public!146
2019-06-21 13:13:14 -04:00
James R
bbee4a2554 Cover edge case of WRITESTRINGN 2019-06-20 15:29:55 -07:00
James R
d5e1c1af42 Add a comment by Sryder's request 2019-06-20 15:24:50 -07:00
James R
7f99ebc692 Also count terminating byte in fileneeded filename 2019-06-20 15:16:23 -07:00
James R
ec369e8d21 Don't get stuck in room menu in a modified game 2019-06-19 14:32:11 -07:00
Sryder
db24665856 Merge branch 'print-correct-view' into 'master'
Print the correct player for the view command

See merge request KartKrew/Kart-Public!141
2019-06-19 16:58:11 -04:00
Sryder
257ad438ef Merge branch 'nomoreendlessclouds' into 'master'
Stop OpenGL having infinite precipitation draw distance

See merge request KartKrew/Kart-Public!143
2019-06-19 16:56:26 -04:00
Sryder
1b46553d43 Integer comparison warning 2019-06-19 21:54:11 +01:00
Sryder
11c94d3312 Stop OpenGL having infinite precipitation draw distance 2019-06-19 20:05:20 +01:00
Sryder
987b20e5b6 Merge branch 'playerinfo_mscompat' into 'master'
Fix compatibility with the MS (Specifically Doomseeker)

See merge request KartKrew/Kart-Public!142
2019-06-19 14:57:41 -04:00
Sryder
935fec1e15 Fix compatibility with the MS (Specifically Doomseeker)
Send back 32 players worth of playerinfo regardless of MAXPLAYERS. Fill the extra with unconnected nodes.
2019-06-17 21:04:48 +01:00
James R
91c707d6fd Index displayplayers correctly 2019-06-10 14:24:11 -07:00
James R
3ffc520a2c Merge remote-tracking branch 'james/ms-connectionfail-fix' into HEAD 2019-06-09 14:22:32 -07:00
James R
8589a1ec07 Revert "Unfuck MS connecting and error reporting"
This reverts commit 4d739fe7a5.
2019-06-09 14:21:04 -07:00
James R
0561a5374c Revert "Check error on select"
This reverts commit aa4ce2b2d1.
2019-06-09 14:20:33 -07:00
James R
33b7459c1b Revert "Force of habit"
This reverts commit fc8ebe83fc.
2019-06-09 14:20:32 -07:00
wolfs
c96f5dba0c Merge branch 'v1-errors' into 'master'
V1 errors

See merge request KartKrew/Kart-Public!140
2019-05-28 22:13:19 -04:00
James R
b15cea53e6 Fix XCode compiler errors
I'm faily certain this also fixes broken logic (g_game.c).
2019-05-28 19:04:27 -07:00
James R
f070bd2d4d Fix GCC 8 Travis error 2019-05-28 19:00:24 -07:00
James R
6d4cdfaab7 Fix compiler errors
The truncation handling in this one spot is okay, but the compiler isn't smart
enough for it. I'm leaving it as a warning because I'd like to make a dedicated
function for handling snprintf truncation in the future.
2019-05-28 15:11:37 -07:00
James R
71e3ec55bf Revert "Revert "Fix Post Processing in 64-bit Software 3P/4P""
This reverts commit 995edfb1e8.
2019-05-28 15:09:29 -07:00
James R
cf36490ca6 Merge remote-tracking branch 'origin/v1' into v1 2019-05-28 14:24:52 -07:00
wolfs
4743e4bac8 Merge branch 'v1-lua-stuff' into 'v1'
V1 lua stuff

See merge request KartKrew/Kart!155
2019-05-28 07:59:45 -04:00
wolfy852
c28e1702eb Don't guard the return 2019-05-28 06:56:35 -05:00
wolfy852
e266f72a1c Update patch.kart hash
THIS SHOULD BE THE LAST TIME I SWEAR
2019-05-28 06:33:38 -05:00
wolfs
a562673d3f Merge branch 'fix-postprocessing' into 'v1'
Fix Post Processing in 64-bit Software 3P/4P

See merge request KartKrew/Kart!156
2019-05-28 06:35:33 -04:00
Sryder
ab7246d1f7 Fix Heatwave Post-processing Effect in 3P/4P 2019-05-27 22:59:58 +01:00
James R
995edfb1e8 Revert "Fix Post Processing in 64-bit Software 3P/4P"
This reverts commit a2a63c5e7f.
2019-05-27 14:20:12 -07:00
James R
06ddf55709 wip 2019-05-27 14:20:07 -07:00
Sryder
a2a63c5e7f Fix Post Processing in 64-bit Software 3P/4P
Vid_BlitLinearScreen didn't make sure that it was actually meant to be copying the entire screen rows before doing it properly.
2019-05-27 22:03:17 +01:00
wolfs
65763b8745 Merge branch 'spinout-angle' into 'v1'
Spinout angle change when boosting

See merge request KartKrew/Kart!153
2019-05-26 20:10:56 -04:00
wolfs
fd9f5b8f58 Merge branch 'fix-brakes' into 'v1'
Make brakes stronger

See merge request KartKrew/Kart!154
2019-05-26 20:10:46 -04:00