Commit graph

17936 commits

Author SHA1 Message Date
James R
b77a67c085 Fix caltrop burst in reverse gravity; condense function
I'm not sure how the rings were working though.
2021-02-16 03:54:09 -08:00
James R
9fae8dbb41 Don't respawn on the finish line waypoint
This causes you to respawn at the waypoint before the finish line waypoint,
which I think looks a bit nicer.
2021-02-15 23:17:55 -08:00
James R
130e1fc4f9 Windows??? 2021-02-15 23:12:30 -08:00
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
toaster
f40836dcec Fix skies not being Encore-remapped (only affected software :regret:) 2021-02-15 21:55:40 +00:00
LJ Sonic
0117cedd70 Show an alternate ping icon when the player is disconnected 2021-02-15 22:19:48 +01:00
toaster
a597d9b463 Fixed a too-small memory allocation for Encore remaps, removing all memory-related crashes in Software. 2021-02-15 16:37:37 +00:00
LJ Sonic
e9dc383e72 Enable rejointimeout by default 2021-02-15 16:24:30 +01:00
LJ Sonic
38c7c718ac Add rejointimeout to the server options 2021-02-15 16:23:57 +01:00
LJ Sonic
9c9d7c07ab Make the names of disconnected players flicker in tab HUD 2021-02-15 16:21:26 +01:00
LJ Sonic
03585d994c Use standard Lua naming scheme for polyobject list 2021-02-15 13:37:25 +01:00
toaster
8a4542a5ef Reintroduce the mirroring aspect of Encore in OpenGL. I'm not familiar enough with the renderer to recreate the rest of the changes at current, but this is the most significant regression. 2021-02-15 12:26:22 +00:00
toaster
a210049839 Attempt to calculate postimg during chasecam hitlag - otherwise encore mode will temporarily flip back and it'll be confusing. 2021-02-15 11:43:45 +00:00
LJ Sonic
1624808844 Merge branch 'hippo' into 'next'
Remove P_AproxDistance deprecation warning

See merge request STJr/SRB2!1402
2021-02-15 06:00:24 -05: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
SMS Alfredo
67a13f5032 This might be dumb, but whatever 2021-02-14 20:49:03 -06:00
Sal
e11f4ed167 Merge branch 'purplepussyfooting' into 'master'
Resolves #87 after literally 7 months

Closes #87

See merge request KartKrew/Kart!382
2021-02-14 21:18:28 -05:00
Sal
ea2223abe6 Merge branch 'once-in-battle' into 'master'
Don't disable linedef executors other than 308 outside of Race

See merge request KartKrew/Kart!380
2021-02-14 21:13:51 -05:00
Sal
8cb676b0a1 Merge branch 'bigger-signpost' into 'master'
Beeg Large Signpost

See merge request KartKrew/Kart!383
2021-02-14 21:13:10 -05:00
toaster
f290a6c44d Resolves #87 after literally 7 months 2021-02-14 23:07:26 +00:00
toaster
b66965185a Caltrop calstop (resolves #114).
If a ring isn't lost from the counter, don't drop a caltrop.

This is done by changing the function signature of P_GivePlayerRings to return the number of rings it has successfully given (or taken away) (which can differ from the rings provided to it). This change has been done for Lua as well.

Super Ring absorbtion now uses this system too, so you only need to change one location to modify the maximum and minimum number of rings a player can have (as far as I am aware).
2021-02-14 21:48:55 +00:00
James R
d6ea8549d2 Scale end sign 1.5x 2021-02-13 21:38:22 -08:00
James R
a9a1779e19 Only disable 308 outside of Race 2021-02-13 20:10:12 -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
LJ Sonic
0b5bc4f36a Merge branch 'revert-redundant-hypot' into 'next'
Revert redundant hypot

Closes #450 and #451

See merge request STJr/SRB2!1400
2021-02-13 12:08:39 -05:00
LJ Sonic
c6da63d5ad Deprecate P_AproxDistance for Lua scripts 2021-02-13 18:04:27 +01:00
LJ Sonic
7e2c1284ab Use R_PointToDist2 for the Lua versions of P_AproxDistance and FixedHypot 2021-02-13 18:04:12 +01:00
LJ Sonic
6d44e1b0dd Revert "Use FixedHypot over P_AproxDistance"
This reverts commit 77f83de100.
2021-02-13 17:46:29 +01:00
LJ Sonic
048bcb9600 Revert "Use R_PointToDist2 instead"
This reverts commit 2b7e465ed6.
2021-02-13 17:45:54 +01:00
LJ Sonic
85cd429d1d Revert "Replace all instances of P_AproxDistance with FixedHypot"
This reverts commit 498ff708bb.
2021-02-13 17:45:20 +01: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
c4850c1990 Merge branch 'master' into oop-starttime 2021-02-12 20:28:45 -05:00
Sally Coolatta
1849f70359 Merge branch 'master' into waypoints-disable 2021-02-12 20:28:16 -05:00
Sally Coolatta
b91ceddcbf Sync numbulbs
I don't think this has ever caused issues (numbulbs is just for HUD), but the drawn bulbs on start up might as well be synched if the starttime needs to be resynched too.
2021-02-12 20:27:14 -05:00
Sally Coolatta
e2dcc35bcd Reset properties on map load 2021-02-12 20:25:03 -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
LJ Sonic
48fbcde2ac Merge branch 'fix-joiner-consoleplayer' into 'next'
Fix consoleplayer returning the server player during joining phase

See merge request STJr/SRB2!1396
2021-02-12 17:42:15 -05:00