Commit graph

18441 commits

Author SHA1 Message Date
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
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
10319386c2 Do starttime calculation on second tick instead
Attempts to fix replays & adding bots.
2021-02-11 20:25:22 -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