Commit graph

6620 commits

Author SHA1 Message Date
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
James
4b04423bbe Bring this back, but more lenient
(not tested)
2019-10-22 08:46:14 -04:00
James
fc862c999d Bad parathesis 2019-10-19 01:48:56 -04:00
TehRealSalt
9777489bb8 debug prints 2019-10-18 19:09:10 -04:00
TehRealSalt
c963a49542 Try fixing Auto causing desyncs
- Move K_SetPowerLevelScrambles to G_DoCompleted
- Fix wrong gamespeed being displayed in strings
- Add defines for kartspeed values
- Disable Easy scrambles again
- Corrupt gamedata if pwrlv is in invalid range (gets corrected in-game, and doesn't really matter to anyone who knows what you're doing, but it'll stop at least the most basic script kiddie)

Replay menu will still display wrong speed name, but it's fine in the replay itself.
2019-10-17 23:43:06 -04:00
James R
07fac259e0 Not a pointer 2019-10-15 21:20:28 -07:00
TehRealSalt
857afbbb49 increase DISTVAR 2019-10-16 00:16:27 -04:00
TehRealSalt
a94601a793 fix SPB weirdo distances 2019-10-16 00:12:03 -04:00
TehRealSalt
c91986cc97 Fix end-of-race standings 2019-10-15 23:37:20 -04:00
TehRealSalt
52624cb6de Properly reset PF_HITFINISHLINE 2019-10-15 22:34:22 -04:00
TehRealSalt
a37eb798e0 Fix bad merge 2019-10-15 22:23:01 -04:00
TehRealSalt
e6dc29358e Reduced SPB target distance to 1024 units (previously 3072 units) 2019-10-15 21:46:45 -04:00
TehRealSalt
e7d0fde5fd Merge branch 'master' into sal-waypoints 2019-10-15 21:34:41 -04:00
TehRealSalt
d1c20c2a5a Don't allow finish lines to be hit multiple times per tic 2019-10-15 21:30:23 -04:00
Sal
9d1dce0ab8 Merge branch 'fix-ring-drain' into 'master'
Fix Ring Drain sectors

See merge request KartKrew/Kart!184
2019-10-07 00:56:38 -04:00
Sal
8ac88fb79c Merge branch 'really-upside-down-rings' into 'master'
Use K_MatchGenericExtraFlags for reverse gravity rings

See merge request KartKrew/Kart!183
2019-10-05 22:18:47 -04:00
wolfy852
027dec6702 Fix Ring Drain sectors for v2 rings 2019-10-05 19:07:26 -05:00
James R
675c896417 Nevermind the FixedMul 2019-10-05 12:46:24 -07:00
James R
f1e5f64e66 Use K_MatchGenericExtraFlags for reverse gravity rings
Also corrected a mistaken usage of scale.
2019-10-05 12:38:44 -07:00
Sal
fec68fd91c Merge branch 'versus-record' into 'master'
Power Levels

See merge request KartKrew/Kart!152
2019-10-03 12:04:43 -04:00
TehRealSalt
03ec42da6d Back to 1000 2019-10-03 11:46:00 -04:00
TehRealSalt
706c6be627 Wrong var name 2019-10-03 11:37:58 -04:00
TehRealSalt
bcd142c2a0 Start at 5000, rebalance scrambles 2019-10-03 11:36:35 -04:00
TehRealSalt
d10e4aebac Fix a few messups due to the merged cvars 2019-10-03 11:22:58 -04:00
TehRealSalt
4e0a8ef9d8 Merge branch 'master' into versus-record 2019-10-03 10:35:17 -04:00
TehRealSalt
37009ac9b0 A few stashed fixes that didn't make it to the branches somehow 2019-10-03 10:31:34 -04:00
TehRealSalt
3d5676d4d6 atoi 2019-10-03 10:16:10 -04:00
TehRealSalt
12829743ae Add easy scrambles to the list now that easy is playable 2019-10-03 01:54:52 -04:00
TehRealSalt
a5ea6a9799 Merge speed/encore scrambles into the normal cvars as an "auto" option 2019-10-03 01:48:16 -04:00
TehRealSalt
c6566ec31a Merge branch 'master' into versus-record 2019-10-03 01:32:59 -04:00
Sal
8338d3e71c Merge branch 'fortnite' into 'master'
Battle sudden death

See merge request KartKrew/Kart!166
2019-10-03 01:27:09 -04:00
Sal
eb7f662654 Merge branch 'genesis-wipe' into 'master'
Genesis-style wipes

See merge request KartKrew/Kart!164
2019-10-03 01:10:33 -04:00
TehRealSalt
7f6d825809 Remove unused GENESIS_WIPE define 2019-10-03 01:10:10 -04:00
Sal
93f9a9e62c Merge branch 'testers' into 'master'
TESTERS macro and compile flag to disable playing by yourself

See merge request KartKrew/Kart!179
2019-10-02 17:00:29 -04:00
James R
1b0ba7768c False instead of 0, a little clearer 2019-10-02 13:57:14 -07:00
TehRealSalt
7433becd7a Move map loaded failure error from the deleted backwards compat code 2019-10-02 12:07:37 -04:00
TehRealSalt
217f61897f K_PlayerForfeit on I_Quit
(I believe these are the only i_systems that matter?)
2019-10-02 11:47:56 -04:00
Sal
d5bb5c3a25 Merge branch 'ring-tweaks' into 'master'
Ring tweaks

See merge request KartKrew/Kart!180
2019-10-02 11:39:31 -04:00
TehRealSalt
9e3b818cce Fix finish line occasionally failing for small players 2019-09-29 14:40:23 -04:00
TehRealSalt
7c40a1c07b Make sure it doesn't divide by 0 2019-09-28 15:18:01 -04:00
TehRealSalt
8fa5ada23d Allow ring usage during Shrink 2019-09-28 15:16:08 -04:00
TehRealSalt
7321a95a65 Ring respawn timer is based on lap count (proportional to 3 laps) 2019-09-28 15:14:52 -04:00