Commit graph

6664 commits

Author SHA1 Message Date
Sally Cochenour
04b443d58c 2.2 sight checks backport 2020-03-03 15:49:10 -05:00
Sally Cochenour
1cbb4bea6b Limited vertical range on player waypoints 2020-03-03 15:47:02 -05:00
Sally Cochenour
8a19f6f208 Wrong sign here 2020-03-03 15:41:03 -05:00
Sally Cochenour
597e6820b6 Let's try out going back to closest check again 2020-03-03 14:47:41 -05:00
Sally Cochenour
d91e8205dc Don't update respawn point when mid-air 2020-03-03 14:22:52 -05:00
TehRealSalt
150c985ce5 Merge branch 'master' into sal-waypoints 2019-10-28 20:22:37 -04:00
TehRealSalt
eacd3e2749 Merge branch 'master' into sal-waypoints 2019-10-28 20:22:01 -04:00
Sal
2c67c97c58 Merge branch 'fuck-globals' into 'master'
I_Error if the memory size overflows

See merge request KartKrew/Kart!193
2019-10-28 20:17:26 -04:00
Sal
4960a925cf Merge branch 'faster-waterskip' into 'master'
Faster waterskipping

See merge request KartKrew/Kart!191
2019-10-28 20:17:16 -04:00
TehRealSalt
607d177512 Fix copypaste typo 2019-10-28 16:28:56 -04:00
TehRealSalt
8704d684fc Revert "Break SPBChase into a few more functions"
This reverts commit 41f69b3c16.
2019-10-28 16:27:52 -04:00
TehRealSalt
41f69b3c16 Break SPBChase into a few more functions
Not really easy to read still, but it's a tiny bit better than before
2019-10-28 16:25:38 -04:00
Sal
897014d94e Merge branch 'gamedata-param' into 'master'
Custom gamedata parameter

See merge request KartKrew/Kart!186
2019-10-28 15:56:59 -04:00
TehRealSalt
d413b3bcd4 Use both facing & momentum angle for using next/prev waypoints, only update respawn to nextwaypoints 2019-10-28 15:52:27 -04:00
TehRealSalt
fe3d19d15d Remove this for now 2019-10-28 14:42:45 -04:00
TehRealSalt
377a155cda Update Race Lap linedef executors since they stopped working 2019-10-28 14:20:09 -04:00
James R
b948f74b4f Add overflow checks so we I_Error instead of death crash into oblivion
You'd love to know how we even reached (size_t)-1.
2019-10-28 00:04:30 -07:00
TehRealSalt
6acf3e2337 dont overshadow 2019-10-27 21:35:27 -04:00
TehRealSalt
e2bc8a0d97 color spb icon with who threw it 2019-10-27 21:25:16 -04:00
TehRealSalt
66bef945e8 Can't do nothink 2019-10-27 21:01:27 -04:00
TehRealSalt
7676dfa713 SPB minimap proper order 2019-10-27 20:54:00 -04:00
TehRealSalt
0afc901d1f Shrinking animation 2019-10-27 20:15:27 -04:00
Sal
9ed7bf7626 Merge branch 'spb-waypoints' into 'sal-waypoints'
Fix SPB pathing + other SPB features + Sizedown item removal while we're at it

See merge request KartKrew/Kart!188
2019-10-27 19:47:07 -04:00
TehRealSalt
34e0b4b991 Radius was not made more coarse when I did the big-maps fix, so you were considered in every waypoint, meaning it worked exactly before I made this change in the first place
https://youtu.be/csnS0nszyuA
2019-10-27 17:18:22 -04:00
TehRealSalt
54516aeee9 Don't force SPB in 1v1 2019-10-27 16:44:41 -04:00
James R
7c0ca5bf7c Move gamedata param to cover -resetdata 2019-10-27 10:35:31 -07:00
TehRealSalt
d52e7a652e Faster waterskipping 2019-10-27 09:03:35 -04:00
TehRealSalt
2ddb6cd082 set starpost xyz in battle maps 2019-10-26 23:02:45 -04:00
Latapostrophe
58bed7d923 New item list + shrink destroys items 2019-10-26 17:08:22 +02:00
Latapostrophe
55c2fe31be SPB on floor 2019-10-26 13:27:43 +02:00
TehRealSalt
90b4ce8e58 Merge branch 'master' into sal-waypoints 2019-10-25 23:36:02 -04:00
TehRealSalt
addb0d0a66 Fix time limit 2019-10-25 23:35:31 -04:00
TehRealSalt
151e1c9dfe Reduce DISTVAR, don't give SPB toward the end of the track 2019-10-24 19:15:22 -04:00
Latapostrophe
d39d40360d Merge branch 'sal-waypoints' of git.magicalgirl.moe:KartKrew/Kart into spb-waypoints 2019-10-24 23:35:16 +02:00
Latapostrophe
6fbaa72e82 Lower SPB speed, add SPB on minimap, add slight targetting on SPB against non-1st 2019-10-24 23:35:05 +02:00
TehRealSalt
3686445f2f Snap to bottom on WRONG WAY 2019-10-24 17:11:27 -04:00
TehRealSalt
ed007f34cc change colors, since orange & yellow are pretty indistinguishable 2019-10-24 16:55:13 -04:00
TehRealSalt
b69d105af3 Add respawn animation
This commit also fixes MF_NOCLIP not working properly on players. Sink now spawns an SPB explosion on successful hit, since dying is no longer a harsh punishment.
2019-10-24 16:35:39 -04:00
Latapostrophe
08ae2c926e Accidentally removed a bit of code I shouldn't have removed 2019-10-24 21:00:58 +02:00
Latapostrophe
ae72a365f3 Fix SPB pathing 2019-10-24 20:50:27 +02:00
Latapostrophe
b9283ca239 Merge branch 'sal-waypoints' of git.magicalgirl.moe:KartKrew/Kart into v2-waypoints 2019-10-24 18:25:41 +02:00
TehRealSalt
acb8d61fb6 These don't need to be INT32s either 2019-10-24 08:56:03 -04:00
TehRealSalt
fc03012749 Use facing angle while still
Also comment some of my additions a little better
2019-10-24 08:21:45 -04:00
TehRealSalt
a9a7f9c1ec Quadruple DISTVAR
I picked 4096 because it's around the distance of that end slope in Green Hills, which is about the length I imagine a item block "switch" being. I'm being a little conservative though, and it might need to be even higher -- we'll have to play it by ear.

Also changed the types of some of the roulette variables to better match what they are used for.
2019-10-24 08:16:25 -04:00
TehRealSalt
3137e6e54a Parathesis for defines
Also just caught the ;, which could've mess up the define(?)
2019-10-22 17:41:00 -04:00
TehRealSalt
3c407d971e Rudimentary wrong way 2019-10-22 17:27:06 -04:00
TehRealSalt
4feed0decc Merge branch 'master' into sal-waypoints 2019-10-22 17:06:38 -04:00
TehRealSalt
add1fb8794 Reduce precision of distance checks
Fixes huge maps, such as Dark Race
2019-10-22 17:05:46 -04:00
TehRealSalt
0fdcc22d93 - Only update to waypoints you're in the radius of (applies to players & spb)
- Player direction value uses momentum angle rather than facing angle (fixes weird nextwaypoint/position flickering while drifting)
- Raise default radius to 384
2019-10-22 16:44:56 -04:00
Sal
671602f5aa Merge branch 'vr-auto-fix' into 'master'
Try fixing Auto causing desyncs

See merge request KartKrew/Kart!187
2019-10-22 16:44:03 -04:00