James R
82718216cc
Respawn slightly before a waypoint, in the direction you came from, if the waypoint is exactly on a line
...
See notably the finish line. Basically respawning exactly on a line can let you
cross it twice, if you crossed it before respawning, or NOT cross it, depending
on which direction you drive after landing. So this just respawns very slightly
before the line so you can cross (or not cross) it normally.
2021-02-15 23:01:13 -08:00
James R
4f96fead3a
Search entire map, not just waypoint's sector, for finish line
2021-02-15 01:46:29 -08:00
James R
29d9bafb9e
Snap finish line waypoints to the nearest point of the finish line
...
Finish line waypoints must be exactly on the finish line to avoid erroneous
finish line distance from crossing the waypoint before/after the line. This
is only a problem in circuit maps and on laps before the last, due to the
multiplied circuit length.
2021-02-14 23:04:17 -08:00
James R
b4eefec81d
Fix angle issue with finish line waypoint hack
...
The other hack which adds distance is also gone. It's not needed for
...reasons. All this was Sal's massive brain.
2021-02-14 22:56:36 -08:00
James R
b672ffa8ba
Check previously considered best waypoint when pathfinding to solve overlapping waypoints
...
Previously could skip the waypoint that was actually closer and assume the
further is the best.
2021-02-14 22:55:03 -08:00
Sal
4993d2ce39
Merge branch 'tracking-fix' into 'master'
...
Replace the tracking function with Nev3r's version
See merge request KartKrew/Kart!372
2021-02-13 20:55:50 -05:00
Sally Coolatta
c5fa63c0fa
Invert the value of cv_fov
...
After a little more testing, it was reversed for specifically the cvar.
2021-02-13 10:56:40 -05:00
Sally Coolatta
192d0b6410
I_Assert for result/point != NULL
2021-02-13 10:37:25 -05:00
Sal
7f944ce467
Merge branch 'waypoints-disable' into 'master'
...
Linedef executor 499: Enable/Disable Waypoints in Tagged Sector
See merge request KartKrew/Kart!357
2021-02-13 08:41:32 -05:00
Sal
2dfe9cc9eb
Merge branch 'doubly-scaled-floating-rings' into 'master'
...
Fix rings not floating high enough in mobjscaled maps
See merge request KartKrew/Kart!378
2021-02-13 08:41:16 -05:00
Sal
4da5ed8999
Merge branch 'invertfix' into 'master'
...
Fixed the Encore mode invert wipe.
See merge request KartKrew/Kart!379
2021-02-13 08:40:15 -05:00
toaster
b91a9928c6
Fixed the Encore mode invert wipe.
...
Explanation: NearestColor takes UINT8 inputs, but is being provided a number in the range of 1 to 256(!!) - which means very dark channels were looping back around to 0.
This error might exist in public branches too, because I don't think Encore's wipes would have been changed internally without us knowing.
2021-02-13 12:04:57 +00:00
Sally Coolatta
ecb4111bed
Merge branch 'master' into tracking-fix
2021-02-12 20:28:57 -05:00
Sally Coolatta
1849f70359
Merge branch 'master' into waypoints-disable
2021-02-12 20:28:16 -05:00
Sally Coolatta
4718c1993a
Shortcut function for getting angle difference, so that I don't need (INT32) in front of all of the angle_t's :V
2021-02-12 20:11:09 -05:00
Sally Coolatta
9ba3e07417
Don't allocate result
2021-02-12 19:34:43 -05:00
Sal
c594d5063f
Merge branch 'sub-add-shadow' into 'master'
...
Subtractive shadows
See merge request KartKrew/Kart!369
2021-02-12 19:25:13 -05:00
Sal
86ed506773
Merge branch 'ogl-subtractive-lighting' into 'master'
...
OpenGL shader updated to act like the new lighting
See merge request KartKrew/Kart!375
2021-02-12 19:24:59 -05:00
James R
f7fd39402a
Float flag for rings and horizontal springs no longer scales twice in mobjscaled maps
2021-02-12 16:20:18 -08:00
Sal
f6130b5403
Merge branch 'bot-updates' into 'master'
...
Bot updates
See merge request KartKrew/Kart!371
2021-02-12 14:19:53 -05:00
Sal
4b556ef114
Merge branch 'air-failsafe' into 'master'
...
Air failsafe boost
See merge request KartKrew/Kart!367
2021-02-12 13:57:55 -05:00
Sal
f467c051d5
Merge branch 'spindash-in-flashing' into 'master'
...
Allow spindash while flashing, but you lose rings while doing so.
See merge request KartKrew/Kart!368
2021-02-12 13:57:46 -05:00
Sryder
ca531738ab
Fix for missing part of lighting calculation compared to software.
2021-02-12 18:41:16 +00:00
Sal
8fdbee6537
Merge branch 'speedy-crash' into 'master'
...
Speedometer crash fix
See merge request KartKrew/Kart!373
2021-02-12 13:40:25 -05:00
Sal
3f0aa0c18b
Merge branch 'double-scaled-ring-burst' into 'master'
...
Fix ring spill with object scale
Closes #113
See merge request KartKrew/Kart!377
2021-02-12 13:36:00 -05:00
James R
223e411fa5
parenthesism
2021-02-12 09:23:18 -08:00
Sal
03eb86eb2b
Merge branch 'level-title-disables-hud' into 'master'
...
Don't disable the hud if there isn't a level title
See merge request KartKrew/Kart!376
2021-02-12 11:32:22 -05:00
Sally Coolatta
8734db6cfd
Remove prints
2021-02-12 11:21:35 -05:00
James R
bf047291fd
Fix double scaling on vertical momentum for ring burst
...
P_SetObjectMomZ already applies object scale. It also applies gravity flipping,
so both of these were being done twice. :v
2021-02-12 07:08:42 -08:00
James R
839d5fdd09
Title card is always available, regardless of level title
...
This had the really mean side effect of disabling lt_ticker, forcing anything
drawn with V_SLIDEIN to never appear (basically the entire hud).
2021-02-12 01:16:51 -08:00
Sally Coolatta
f134c07c00
Severely decrease spindash threshold
2021-02-12 03:20:43 -05:00
Sally Coolatta
ce9ece3c0b
Increase ring power for bots
2021-02-12 03:19:57 -05:00
Sally Coolatta
87158825b6
Increase base bot top speed depending on difficulty
2021-02-12 02:36:03 -05:00
Sally Coolatta
f236fcc5e2
Decrease max top speed rubberband
2021-02-12 02:08:10 -05:00
Sally Coolatta
9bf2293481
Increase rubberband range
2021-02-12 02:07:47 -05:00
Sally Coolatta
13285d0ca4
OpenGL shader updated to be subtractive
...
Not a big fan of how it separately checks each channel but grumble grumble
2021-02-12 00:55:41 -05:00
Sally Coolatta
49b4337564
While I'm at it, remove dumb multiplier for percentage mode
...
Hasn't been needed after all of the movement bugs causing this discrepency were fixed, so now it just looks weird when you use a Sneaker and it shows you at 105% afterwards.
2021-02-11 19:46:39 -05:00
Sally Coolatta
25ac5c9853
Speedometer crash fix
2021-02-11 19:37:39 -05:00
Sally Coolatta
1f7fd96e32
Bot controller linedef
...
Controls bot behavior while they're touching a tagged sector.
X texture offset is angle to force the bot in (0 is east, 90 is north, 180 is west, 270 is south)
Y texture offset is trick type -- if a bot enters the sector while in trick panel state, then they'll do the input for the trick. Without the effect present, they'll do nothing and eventually tumble.
Y offset 1 does a left trick, 2 is right, 3 is forward, 4 is back/up.
2021-02-11 19:08:44 -05:00
Sally Coolatta
fd0c3283a8
Merge branch 'master' into bot-updates
2021-02-11 17:23:56 -05:00
Sally Coolatta
c58b5e92a1
Fixed weird issues with finish beam dist, properly use old behavior without beam, make bots get way closer
2021-02-11 16:25:35 -05:00
Sally Coolatta
6e75b29431
Replace the tracking function with Nev3r's version
...
Was a long time coming :V
Nev3r's supported different FOV. I also expanded it to let it support splitscreen's different screen sizes in a better fashion than the old method of just dividing the final coordinates.
The results are also stored in a struct, instead of modifying passed in variables, so it's also less dunderheaded than what I was doing before overall.
2021-02-11 15:40:03 -05:00
Sally Coolatta
1c7f6e9c09
Hyudoro does not count as flashing
2021-02-11 13:12:15 -05:00
Sally Coolatta
346b69e312
Not in respawn
2021-02-11 13:05:40 -05:00
James R
e49d4a4cee
Use fabs
2021-02-10 23:47:09 -08:00
SteelT
8f220382f6
Merge branch 'add-sub-colormaps' into 'master'
...
Additive/subtractive colormaps
See merge request KartKrew/Kart!370
2021-02-11 00:33:38 -05:00
Sally Coolatta
e250c35489
Remove ground scaling
...
I dun like it, it makes the gameplay purpose of shadows harder to discern
2021-02-10 20:03:29 -05:00
Sally Coolatta
4c26c4fd81
Shadows use additive/subtractive
2021-02-10 19:23:07 -05:00
Sally Coolatta
d5d8697efa
Fix bug causing fog to be dull in some maps
2021-02-10 18:10:12 -05:00
Sally Coolatta
c3c9025b27
Minor cleanup
2021-02-10 17:20:16 -05:00