Commit graph

5446 commits

Author SHA1 Message Date
Alam Arias
c170be0051 signed and unsigned compare 2019-02-22 21:13:00 -05:00
Alam Arias
e741c3a0d6 if you going to use abs(), you need to work in signed types 2019-02-22 21:04:53 -05:00
Sal
ea0da92c22 Merge branch 'ping-stuff-take2' into 'next'
Ping improvements

See merge request KartKrew/Kart-Public!68
2019-02-22 19:13:49 -05:00
wolfy852
277216af2b I don't think these old interfaces even compile but let's not kill them off 2019-02-22 18:13:22 -06:00
Sally Cochenour
c257c83ff1 Add parentheses 2: Move parentheses 2019-02-22 19:11:50 -05:00
Sally Cochenour
a13d177a44 Add parentheses 2019-02-22 19:07:54 -05:00
Sal
5f4e52b4d8 Merge branch 'expose-splitscreen' into 'next'
Expose splitscreenplayer in player_t

See merge request KartKrew/Kart-Public!74
2019-02-22 19:04:48 -05:00
James R
f8928300ec Rename splitscreen member to something more meaningful 2019-02-22 15:57:44 -08:00
Sal
e07d3b2b74 Merge branch 'item-odds-fixup' into 'next'
Simulate fractional precision on item odds

See merge request KartKrew/Kart-Public!70
2019-02-22 18:53:28 -05:00
Sal
36852fbaa8 Merge branch 'banip-command' into 'next'
Ban IP command

See merge request KartKrew/Kart-Public!73
2019-02-22 18:49:41 -05:00
Sal
3980968707 Merge branch 'cherrypicks-from-netreplays' into 'next'
Misc fixes

See merge request KartKrew/Kart-Public!76
2019-02-22 18:45:44 -05:00
Alam Arias
7dd88a8086 Merge branch 'master' into next 2019-02-21 22:54:29 -05:00
Alam Arias
82f2ee4384 Merge remote-tracking branch 'upstream/master' 2019-02-21 22:50:58 -05:00
Alam Ed Arias
7a09161e69 Merge branch 'gcc8-statement-warning' into 'master'
GCC8: Disable multi statement macros errors.

See merge request STJr/SRB2!459
2019-02-21 22:32:38 -05:00
Steel Titanium
45e9e3f7f9 Disable multi statement macros errors. 2019-02-21 18:48:42 -05:00
Steel Titanium
039099ed8b Merge branch 'next' of git.magicalgirl.moe:KartKrew/Kart-Public into banip-command 2019-02-20 17:59:12 -05:00
fickleheart
e23f1e66b4 Hold on, this works. 2019-02-19 22:21:07 -06:00
Steel Titanium
8a3fa4ebed Some small changes. 2019-02-19 21:22:35 -05:00
fickleheart
69faafc375 Maybe this is a better way to work around the DrawMasked crash... 2019-02-19 19:27:08 -06:00
wolfy852
8f276f7791 ...remove this forgotten comment too while I'm at it. 2019-02-19 18:54:24 -06:00
wolfy852
733c472e1f Reorganization + kill old interfaces 2019-02-19 18:52:57 -06:00
Sal
4096212282 Merge branch 'make-bumpcode-perfecter' into 'next'
Make bumpcode perfecter

See merge request KartKrew/Kart-Public!77
2019-02-19 18:09:30 -05:00
fickleheart
4619e8ad82 Add check to all of the friction stuff 2019-02-19 17:05:04 -06:00
fickleheart
0183368a6c Only apply friction changes on the ground 2019-02-19 16:46:48 -06:00
Alam Arias
54983371fe Merge branch 'master' into next 2019-02-19 17:21:13 -05:00
Sal
73fa403976 Merge branch 'shrink-removed-checks' into 'next'
Add some P_MobjWasRemoved checks around code that shrink touches

See merge request KartKrew/Kart-Public!72
2019-02-19 17:14:08 -05:00
Sal
b2f93d8357 Merge branch 'lua-archive' into 'next'
Fix dedicated server extra lua variables not being synched for joiners

See merge request KartKrew/Kart-Public!75
2019-02-19 17:10:52 -05:00
Sal
ece44fbfb1 Merge branch 'latency-tweaks' into 'next'
Fix cmd latency occasionally jumping to max

See merge request KartKrew/Kart-Public!78
2019-02-19 17:05:45 -05:00
fickleheart
5e8236c74f Add null check too 2019-02-19 16:04:23 -06:00
Alam Ed Arias
2b4cb4b40b Merge branch 'apng-oh-shit-fixes' into 'master'
Compiling errors for apng fixed

See merge request KartKrew/Kart-Public!69
2019-02-19 12:51:52 -05:00
fickleheart
9fac26c200 Fix cmd latency occasionally jumping to max 2019-02-19 08:05:35 -06:00
fickleheart
8348821f30 Remove debugging print 2019-02-18 23:39:08 -06:00
fickleheart
daca5c9ae2 Fix players sometimes snapping backwards on landing after spikeball hits 2019-02-18 23:35:24 -06:00
fickleheart
75c606764f Make extra sure we launch in the correct direction 2019-02-18 23:35:01 -06:00
fickleheart
4a3b192916 Fix bumps sometimes shooting off stupidly fast 2019-02-18 22:36:26 -06:00
fickleheart
6821297bce Improve replay resyncing code
Notably, it should no longer cause immediate
desync warnings if a track starts on a slope.
2019-02-18 21:10:23 -06:00
fickleheart
16269007a6 Crash fix I think (CHERRY PICK INTO BASE) 2019-02-18 21:09:22 -06:00
Latapostrophe
2b61d81011 Fix dedicated server extra lua variables not being synched for joiners 2019-02-18 22:19:28 +01:00
james
fbc017165c Remove extra whitespace 2019-02-17 23:09:52 -08:00
Steel Titanium
141338c7c1 Save when quitting the game.
Also use default reason if not custom reason is given.
2019-02-18 02:04:58 -05:00
Steel Titanium
5e2cea3980 Save ban list right after banning. 2019-02-18 01:03:39 -05:00
Steel Titanium
a1df64a365 Add command to ban an IP address. 2019-02-18 00:58:08 -05:00
fickleheart
60b952ea2a Add some P_MobjWasRemoved checks around code that shrink touches
It's the only place in the vanilla game where K_DropItems
is called that isn't from a direct collision with the player
it's being called on. It's also a syncfail that doesn't happen
anywhere else, and I saw my sync state appear to get slightly
corrupted when it happened. Let's see if this fixes anything...
2019-02-17 22:09:37 -06:00
james
c689100e65 Create the correct dummy function 2019-02-17 15:50:42 -08:00
james
76f2df2c40 Expose splitscreenplayer (from Got_AddPlayer) as splitscreen in player_t 2019-02-16 23:25:50 -08:00
james
5d3a657a41 Actually support no apng patch 2019-02-16 14:39:33 -08:00
james
488285e510 Support libpng without the apng patch and fix mingw (?) compiler errors 2019-02-16 14:20:55 -08:00
fickleheart
4df98e6e1f Simulate fractional precision on item odds
This notably prevents some items from disappearing
completely above 8 players in netgames.
2019-02-16 10:33:18 -06:00
wolfy852
5172deb345 Fix compiler warnings 2019-02-16 08:32:14 -06:00
wolfs
a1aff2ec9f Merge branch 'fix-battle-boost' into 'next'
Set flashing tics to 0 after boosting

See merge request KartKrew/Kart-Public!67
2019-02-16 08:31:08 -05:00