Commit graph

17036 commits

Author SHA1 Message Date
Sally Coolatta
ecb4111bed Merge branch 'master' into tracking-fix 2021-02-12 20:28:57 -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
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
Sally Coolatta
c95684198d Add/sub fog
Makes it consistent with the subtractive lighting I was working on... the big benefit is that no saturation is lost when blending to white or black.
Has a few maps this looks worse on, though.
2021-02-10 15:43:58 -05:00
Sally Coolatta
0d1e98c7b9 Merge branch 'master' into bot-updates 2021-02-07 15:49:28 -05:00
Sally Coolatta
038dd17de3 Debt spikes set their fuse when they land
Another request from oni
2021-02-07 15:44:43 -05:00
Sally Coolatta
233d257791 Give fling rings shadows, remove afterimages
Both oni requests
2021-02-07 15:30:45 -05:00
Sally Coolatta
f4e23bc4e2 Allow spindash while flashing, but you lose rings while doing so.
I really hated that one of your controls would just... turn off while you were flashing. Even if there was a very good reason to not allow it (Funky Kong's Ring Racers™️).

So instead, you CAN spindash in flashing ticks... but you're punished so harshly for it that it's not worth it. Which will actually teach people to not do it more than just the input arbitrarily not working :p
2021-02-07 15:25:09 -05:00
Sally Coolatta
93c5942ceb Air failsafe boost
While in the air: release accelerate while at nearly-still speeds, and you'll preform a minisucle air drift boost. This mechanic is meant to fix the long-standing issue where you can get stuck in 0 speed in the air and not be able to do anything.
2021-02-07 14:07:27 -05:00
James R
c7783945ca Merge branch 'funny-spikes' into 'master'
Funny Debt Spikes

See merge request KartKrew/Kart!366
2021-02-07 05:51:57 -05:00
James R
e603c4d48d Merge branch 'spindash-rebalance' into 'master'
Spindash rebalance

See merge request KartKrew/Kart!365
2021-02-07 05:51:44 -05:00
Sally Coolatta
4535a642d6 Merge branch 'master' into spindash-rebalance 2021-02-07 02:35:55 -05:00
James R
e9572232de Fine, int32 2021-02-06 20:24:39 -08:00
James R
75ee9b465b Drop spikes once ring burst puts you into debt 2021-02-06 20:22:15 -08:00
James R
44ec94f287 Merge remote-tracking branch 'origin/master' into funny-spikes 2021-02-06 03:00:50 -08:00
James R
caa7fe1b47 Merge branch 'player-new-frames' into 'master'
New player frames: Glancing and death

See merge request KartKrew/Kart!362
2021-02-06 05:57:11 -05:00
Sally Coolatta
0a950df133 Reset k_spindash when hurt 2021-02-06 05:46:53 -05:00