Commit graph

18775 commits

Author SHA1 Message Date
Sally Coolatta
76874de965 Drop shadow tweaks for OGL
- Shadow uses subtractive & additive, like software shadows
- Shadow does not change scale or opacity, like software shadows
- Fixed shadow the hedgehog seizure
2021-12-09 18:32:52 -05:00
toaster
69483f2578 Additive sign/tether sparkles 2021-12-09 22:33:57 +00:00
Sally Coolatta
35a3f65e83 Allow "texture" as an alias to "floor"
Since we I'm using it for Tripwire too
2021-12-09 16:32:31 -05:00
Sally Coolatta
65adddd53e Merge branch 'master' into terrain-lump 2021-12-09 16:24:43 -05:00
Sally Coolatta
047b725a30 Implement bumpy floor 2021-12-09 16:12:09 -05:00
toaster
a149fa9db9 GL now loads in netgames and doesn't memory leak
What is broken:
* Encore mode remapping in GL only
* Seizure effect in Daytona (NOT IVO SAFE)
* God knows what else has been waiting in the wings
2021-12-09 20:57:15 +00:00
Sally Coolatta
b3d3135c58 Instead of embedding specific textures to be tripwire in hardcode ... make it a TERRAIN flag! 2021-12-09 15:54:22 -05:00
Sally Coolatta
35a72e56dc Implement splash & footstep blocks, commentate more of the code
They do nothing atm, but they can be set properly now :)
2021-12-09 14:45:59 -05:00
Sally Coolatta
b1ffaa99f8 Sync mobj->terrain
This should be enough I think to sync terrain up. The data structures can't change after the files have been loaded, so it should be good. Needs proper online testing though
2021-12-09 13:20:35 -05:00
Sally Coolatta
bf4b47a2cf Merge branch 'master' into terrain-lump 2021-12-09 03:46:01 -05:00
Sally Coolatta
e212f947ad Implement the sector special-like effects
Offroad, sneaker panels, trick panels, and damaging floors can now be set via terrain.
2021-12-09 03:20:45 -05:00
Sally Coolatta
d7a8ec9fbd Liquid terrain functions 2021-12-09 02:37:44 -05:00
Sally Coolatta
f7834054a5 You can now link terrain to textures 2021-12-09 01:55:29 -05:00
Sally Coolatta
53d777788a Friction value is used, implemented DefaultTerrain 2021-12-09 01:21:34 -05:00
Sally Coolatta
150faf9de6 Add terrain pointer to mobj_t 2021-12-09 00:56:05 -05:00
Sally Coolatta
a8615cac5b TERRAIN lump reading
Does not impact gameplay but hey pretty cool
2021-12-08 19:16:12 -05:00
SteelT
dfadd430b7 Merge branch 'landmine-explosion' into 'master'
New Landmine Explosion VFX

See merge request KartKrew/Kart!479
2021-12-08 01:53:35 +00:00
SteelT
83988a1cd8 Merge branch 'fade-strength' into 'master'
Alpha value for fade colormaps + colormap bug

See merge request KartKrew/Kart!477
2021-12-08 01:53:32 +00:00
SteelT
d0caa79414 Merge branch 'snapify-hitlag' into 'master'
Snapify Hitlag 2

See merge request KartKrew/Kart!461
2021-12-08 01:53:28 +00:00
James R
3ae09d750c Merge branch 'water-physics-mkii' 2021-12-07 16:40:00 -08:00
James R
0d0cb4d5b1 Merge branch 'fuck-crazy-turn' into 'master'
Fuck crazy water turning

See merge request KartKrew/Kart!478
2021-12-08 00:37:33 +00:00
James R
e07b296368 Merge branch 'waterrun' into 'master'
Water running

See merge request KartKrew/Kart!476
2021-12-08 00:36:16 +00:00
James R
f2e8d7d469 Increase step up with water-running just like water-skipping 2021-12-07 16:26:52 -08:00
James R
a1e8cdf8c5 Adjust underwater steering again
- 1.5x strafe -> 1.8.
- Do not nerf steering at 11 FU or below.
2021-12-07 15:33:45 -08:00
Sally Coolatta
7c0088b752 TERRAIN lump mockup 2021-12-07 17:23:42 -05:00
SinnamonLat
2b3da168cb New landmine explosion 2021-12-07 09:54:00 +01:00
Sally Coolatta
4a0d0f224f Fuck crazy turning 2021-12-07 01:01:00 -05:00
James R
0cbd24e589 2x vertical speed for downward springs 2021-12-06 21:30:35 -08:00
James R
ce366099b0 Make horizontal versus vertical momentum more strict when deciding water-run 2021-12-06 21:07:34 -08:00
James R
84170a59fa Cap underwater steering tilting 2021-12-06 20:35:26 -08:00
James R
ab77bceb88 Adjust underwater strafing
- 3/4 steering ability while underwater (not drifting).
- A little less friction while underwater.
2021-12-06 20:33:41 -08:00
Sal
d05e781467 Merge branch 'uncapped' into 'master'
Try fixing uncapped netgame camera jittering

See merge request KartKrew/Kart!472
2021-12-07 04:20:45 +00:00
Sally Coolatta
dbefc8fe58 Fix yellow persist fade colormap bug
I did the equivalent change to OpenGL and it broke Zoned City, despite it being fine in Software ... not sure what's up with that, since the color math is pretty similar. Just gonna leave that alone for now...
2021-12-06 22:47:15 -05:00
Sally Coolatta
b03cfe302d OGL fade alpha support 2021-12-06 20:58:31 -05:00
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