Commit graph

18441 commits

Author SHA1 Message Date
Sally Coolatta
8484ba9294 Alpha value for fade colormaps 2021-12-06 20:38:30 -05:00
James R
58446441fe Don't water-run while in grow
Also there was a typo lmao
2021-12-06 16:14:56 -08:00
Sally Coolatta
d067c1ddef First pass on character select device select
Ultra mega hacked in, by saving all "discarded" joysticks to an array so they don't get totally closed & we can still poll them. Events now properly send the device number instead of the player number, which means we can store all controllers pressing buttons, and thus, can detect when ANY controller is pressing anything, and THUS we can make the character select work like we wanted to :V

Did not bother fixing any of the bugs, however. First of all, the opening menus do not properly fallback to default controls. Yet again, we may need a more robust system -- storing all keys from gamekeydown separately? Additionally it seems like when I input gamepad it makes me use keyboard anyway, so I think something fishy is up.
2021-12-06 17:43:52 -05:00
Sally Coolatta
ecffa90949 Add menucmd system
Allows menu input delays to feel sorta similar to how they did before ... maybe  could be adjusted further, since it feels just a tad bit touchy to me, but it's much better than before when it was a static value.
2021-12-06 14:53:30 -05:00
James R
a7a572a7ea Water-run if you are above 100% speed and would cross a tripwire 2021-12-05 23:23:43 -08:00
James R
9bde266f9f Water running
You can run on water in any case where you would have
slope resistance AND your speed is over 100%. You may run
on water regardless if you're speed is above 200%.
2021-12-05 22:41:25 -08:00
James R
f0c9e49a2b Clip watertop and waterbottom between other sector and FOFs 2021-12-05 22:38:59 -08:00
James R
aebe6dd59c Don't apply shallow water effects while in offroad 2021-12-05 20:13:20 -08:00
James R
2a74ee07f1 Update underwater physics
- Reduce steering effect and remove increased friction.
- Strafe into turns and tilt the inside wheels up.
2021-12-05 20:12:48 -08:00
Sally Coolatta
d2e26bbc86 Finish menu input for char select
TODO:
- Menu delay shouldn't be a static value and work closer to how it did before (likely requires a more complicated system than just calling G_PlayerInputDown ... menu ticcmds? lol)
- Create a sdl function to determine if any of the possible joysticks' buttons are being pressed & return the joystick number & set usejoystick to that number ... for the PRESS START prompt.

Already tired of this code, I'm good
2021-12-04 17:58:23 -05:00
Sally Coolatta
58d5d1759b Set menu delay between menus 2021-12-04 17:34:34 -05:00
Sally Coolatta
4cef6ee0df More menu inputting (delays + partial support for character select)
Suddenly stopped compiling as I was working on this, with the same error it gave when before james merged the makefile changes, even though it was fine a minute ago and those changes are distinctly in here, so I guess it ends here.
2021-12-04 16:23:21 -05:00
Sally Coolatta
8cbaad4e4f Merge branch 'new-menus' into profiles 2021-12-04 15:47:11 -05:00
Sally Coolatta
7d0597d864 Merge branch 'master' into profiles 2021-12-04 15:46:28 -05:00
James R
74288a4de1 Fix compiling errors
- Replace itoa with sprintf (itoa is a nonstandard
function).
- Guard one instance of Discord Rich Presence.
2021-12-03 14:59:22 -08:00
James R
a64263c96d Merge remote-tracking branch 'origin/master' into new-menus 2021-12-03 14:56:48 -08:00
Sally Coolatta
35eeaaa16f Merge branch 'master' into bot-maint 2021-12-03 12:40:10 -05:00
Sal
be34cd699b Merge branch 'clipflip' into 'master'
Fix drift clips suddenly inverting gravity

See merge request KartKrew/Kart!471
2021-12-03 13:27:26 +00:00
Sal
da744d7f37 Merge branch 'ripply' into 'master'
Ripply return

Closes #191

See merge request KartKrew/Kart!473
2021-12-03 13:27:12 +00:00
toaster
234403f1f2 Fixed the bad merge that prevented non-transparent surfaces from rippling. 2021-12-02 16:49:13 +00:00
Sally Coolatta
83444ce5d5 Interpolate angle & nametags 2021-12-01 16:50:17 -05:00
Sally Coolatta
a8d5a949ae Enable the thinker of NOTHINK...
OK so we kind of need NOTHINK objects to still think because otherwise they can never update their interpolation values. This should probably replaced with some other kind of system, consider this temporary...

(MF_NOTHINK is still mostly covered by a very early return in MobjThinker, if you're unaware, just means this might have to waste the extra time iterating through them...)
2021-12-01 15:51:57 -05:00
Sally Coolatta
225590b7ba Draw framerate counter properly in uncapped 2021-12-01 13:52:51 -05:00
Sally Coolatta
3e227654c7 Little unneeded semicolon 2021-12-01 12:46:41 -05:00
Sally Coolatta
7238a1be83 Interpolate camera roll, fix skybox in opengl 2021-12-01 10:53:15 -05:00
Sally Coolatta
0c8a6ccf40 Merge branch 'master' into uncapped 2021-12-01 07:55:22 -05:00
Sally Coolatta
55f48be6ab Missing parenthesis. 2021-12-01 07:55:09 -05:00
Sally Coolatta
362f779f26 Merge branch 'master' into uncapped 2021-12-01 06:46:41 -05:00
Sally Coolatta
6ecac4159a This seems to fix the camera stuttering in netgames when I try it on my own
Feel like this might be wrong so TRY IT first!!
2021-12-01 06:45:02 -05:00
lachablock
87c31cb89f Fix drift clips suddenly inverting gravity 2021-12-01 22:42:49 +11:00
Sal
0bba6d0c62 Merge branch 'toastmiiisc' into 'master'
toastmiiisc

See merge request KartKrew/Kart!464
2021-12-01 11:22:32 +00:00
SteelT
2c1dd6efbf Merge branch 'capsules' into 'master'
Fix item capsules in reverse gravity

See merge request KartKrew/Kart!443
2021-12-01 03:45:15 +00:00
SteelT
4cf01bf549 Merge branch 'fix-followers' into 'master'
Fix followers

See merge request KartKrew/Kart!446
2021-12-01 03:32:08 +00:00
Sally Coolatta
43356ca73e Nope, it actually just causes camera hitches even when alone, even if this fixes the problem its not the solution 2021-11-30 18:10:51 -05:00
toaster
b716e142a8 Some fixes for bad player info on joining servers.
* Don't overwrite the first player's name when joining with multiple local splitscreen players. (resolves #151)
* The defaults for unprovided names are now consistently "Player A/B/C/D" as opposed to some being letter-based and some being number-based.
* Send local player info once per local splitscreen player, rather than n^2 times (where n is the number of local splitscreen players).
* Since the packet *requires* four names to be sent every time you join a server, send dummy names for local splitscreen players who aren't connecting, instead of your actual cvars (no data leakage you didn't ask for!)
2021-11-30 21:24:00 +00:00
Sally Coolatta
4a8222d397 Just set default renderdelta when paused
Supports multiple pause types too
2021-11-30 14:28:27 -05:00
Sally Coolatta
f19e8be3a0 Enable lagless cam
I left it off because I think Kart intentionally removed it, but the reason we did might not apply anymore...?
2021-11-30 14:03:56 -05:00
toaster
e29f113047 Merge branch 'master' into capsules 2021-11-30 13:50:46 +00:00
toaster
2ca195961b Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart.git into fix-followers 2021-11-30 13:43:10 +00:00
James R
182527db8b Merge branch 'gentlemens-2' into 'master'
Instead of gentlemens dropping packets, it simply delays what it sends

See merge request KartKrew/Kart!467
2021-11-30 04:51:01 +00:00
James R
7180027c9f Merge branch 'ceiling-bump' into 'master'
Ceiling clipping is satisfying

See merge request KartKrew/Kart!466
2021-11-30 04:09:19 +00:00
James R
b479fdcef6 Merge branch 'jelly-racers' into 'master'
Squashing and stretching

See merge request KartKrew/Kart!420
2021-11-30 04:00:03 +00:00
James R
6457ab0a9c Raise squish max 2021-11-29 19:56:33 -08:00
Sal
031a1105ff Merge branch 'cmake-develop-flag' into 'master'
Add cmake config option to compile a dev build

See merge request KartKrew/Kart!460
2021-11-30 02:29:21 +00:00
Sal
a326e180ca Merge branch 'replayfixes' into 'master'
Replay fixes mark whatever

See merge request KartKrew/Kart!463
2021-11-30 02:28:57 +00:00
Sal
7f8a9dc4e5 Merge branch 'uncapped' into 'master'
Eidolon's interpolation

See merge request KartKrew/Kart!468
2021-11-30 02:28:38 +00:00
Sally Coolatta
a52dc0f845 Copy interpolation data to afterimages 2021-11-29 20:47:28 -05:00
Sally Coolatta
e5244c7e8c Lap start HUD interpolates 2021-11-29 20:36:17 -05:00
Sally Coolatta
8f11cd6603 Interpolate FINISH hud scroll 2021-11-29 20:18:17 -05:00
Sally Coolatta
c4ca097224 Interpolate minimap icons
Was this completely unnecessary? Yes. Is it cool? Hell yeah
2021-11-29 20:12:51 -05:00