Commit graph

18441 commits

Author SHA1 Message Date
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
LJ Sonic
70c0f8a644 Only call PlayerCmd hooks if added to game 2021-02-11 00:24:42 +01:00
LJ Sonic
c5f8454093 Fix consoleplayer returning the server player during joining phase 2021-02-11 00:10:15 +01: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
SteelT
262a5c9b3a Merge branch 'gl-texture-management' into 'next'
Manage uploaded OpenGL textures with an internal list

Closes #411

See merge request STJr/SRB2!1391
2021-02-07 13:37:33 -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
James R
45b98298d9 Ring burst adjustment
Explosions and Tumble - 10 rings
SPB - 20 rings
2021-02-06 02:45:23 -08:00
James R
f9c6a5e8b5 Drop Funny Spikes when getting stung
DEBTA0-DEBTH0

Instead of dropping rings, drop non collectable spikes!
2021-02-06 02:31:24 -08:00
Sally Coolatta
5e098cddcd This comment is extremely funny 2021-02-06 05:22:30 -05:00
Sally Coolatta
e0f931072c Leftover from old comment 2021-02-06 05:14:54 -05:00
Sally Coolatta
efb636aebe Bots do things during POSITION 2021-02-06 05:14:15 -05:00
Sally Coolatta
2344d94a6e Minor adjustments to starting difficulty calculations for big GPs 2021-02-06 01:40:58 -05:00
Sally Coolatta
fb1d495b5c Bots can recover from dying
Rogue code that came back from vanilla
2021-02-06 01:40:39 -05:00
Sally Coolatta
ee68862d1f Drift protection
Before, doing a spindash input while turning, but not being at a low enough speed, would make you start drifting.

Now, it checks if you're trying to E-Brake first before interpreting it as a drift input.

If you were already drifting, then attempting accel+brake will still be brake-drift, so that technique is unaffected.
2021-02-06 00:08:28 -05:00
Sally Coolatta
fea9cd2ad0 Make spindash strength curve exponential instead of linear
Heavily encourages full charge instead of tapping
2021-02-05 23:29:51 -05:00
Sally Coolatta
af7adf76c4 Make spindash speed differences x2 stronger 2021-02-05 23:28:47 -05:00
Sally Coolatta
7584274636 Spring/spindash grease & invincibility gives you slope resistence 2021-02-05 23:28:22 -05:00
Sally Coolatta
e8774cf7b2 Charging nothing for no time now actually gives you nothing 2021-02-05 22:50:33 -05:00
Sally Coolatta
8ca13e3388 Merge branch 'master' into bot-updates 2021-02-05 22:44:53 -05:00
Sally Coolatta
79d5867c5e Add spindashing logic for bots
They will charge a spindash when they're moving too slow, don't have another boost, and aren't flashing.
2021-02-05 22:44:31 -05:00
Sally Coolatta
b5d7434caa Turn confirm goes back to neutral when they aren't trying to turn. 2021-02-05 21:34:16 -05:00
Sal
053ecf203f Merge branch 'pos-hud-tweaks' into 'master'
Position number uses additive/subtractive

See merge request KartKrew/Kart!361
2021-02-05 17:53:11 -05:00
Sally Coolatta
8e041e7d0b Re-add const 2021-02-05 17:51:23 -05:00
Sal
64d6453331 Merge branch 'respawn-line' into 'master'
Respawn when crossing a line

See merge request KartKrew/Kart!363
2021-02-05 17:49:50 -05:00
Sal
6a2c5368ee Merge branch 'finish-beam-in-sprints' into 'master'
Finish line beam for sprint maps

See merge request KartKrew/Kart!364
2021-02-05 17:48:37 -05:00
Sally Coolatta
75dd970adc Beam objects
Place 2 to arbritrarily place the line anywhere. For sprint maps.
2021-02-05 01:58:34 -05:00
Sally Coolatta
90ca38acb0 Store where the finish line beam should be displayed
Instead of figuring out where it should be every tick while it's visible, store where it'll be at the start of the map.

Also moved finish line beam into a new file, k_race.c/h, for any Race-specific code.

A few unused variables for sprint map support later too
2021-02-05 01:24:23 -05:00
James R
eabb97ea93 Line special 2003: No Climb - only respawn when crossing front side 2021-02-04 18:51:32 -08:00
James R
8c047372a6 Line special 2003: respawn player if crossing this line 2021-02-04 18:40:50 -08:00
Sally Coolatta
efeab5e80e Allow lookback/glancing in the air, glance back while braking 2021-02-04 21:11:27 -05:00
Sally Coolatta
73c61b1010 Prioritize lookback frames over turn frames if you're pressing lookback 2021-02-04 20:18:14 -05:00
Sally Coolatta
b7e578b82b Keep look backwards direction in a variable, so it can smoothly rotate 2021-02-04 00:26:59 -05:00
Sally Coolatta
e2e342f3f7 Update panim for the new states 2021-02-03 19:29:13 -05:00
Sally Coolatta
480e32d369 Properly add states to the tables...
Mind's been split everywhere tonight
2021-02-03 19:20:27 -05:00
Sally Coolatta
05838acc3d Big look frames
No sheets support this yet, but it will default to glance frames, so no functionality loss without them.
2021-02-03 18:28:23 -05:00