Commit graph

19529 commits

Author SHA1 Message Date
Sally Coolatta
d3f8e61591 In-game control shenanigans
- Fix gamekeydown using FRACUNIT instead of JOYAXISRANGE
- Re-add spindash button functionality
- I put custom buttons back ... but they're now called "Lua" buttons A thru C because Custom was a dumb misleading name
2021-12-28 12:49:33 -05:00
Sally Coolatta
a7022af93f Fix cup select & level select to both use the new input handling systems 2021-12-28 12:27:59 -05:00
Sally Coolatta
0179466107 Finalize char select multiplayer
- Add menu control fallbacks.
    - If it could not find a bind using your existing keys, then it looks at default controls.
    - If it could not find it then, and you're P1, then it looks through gamepads, and then lastly settles for keyboard.
    - Changed around the order of operations on the character select menu, to accommodate for this change.
- Added initroutine to menu_t, which is called every time without question when going to a new menu. This solves many, many minor bugs you could experience in the character select menu when changing between menus, due to things only being properly reset when selecting the character select menu option.
2021-12-28 12:02:31 -05:00
Sally Coolatta
0f218b285e Fix menu multiplayer breaking again 2021-12-28 09:02:46 -05:00
Sally Coolatta
3890c06a4d Fix number of players counter breaking when entering as player 1 & then exiting 2021-12-28 08:54:23 -05:00
Sally Coolatta
b1d36496b2 Properly implement joystick axes
NOW it's fully navigable with controller
2021-12-28 08:44:20 -05:00
Sally Coolatta
92aff0b57c Finish some unused SDL hat input support to use events rather than polling all of the time 2021-12-28 08:02:32 -05:00
Sally Coolatta
f0a3dc74bb Fix control saving 2021-12-28 06:48:53 -05:00
Sally Coolatta
25342af17f Slight adjustments to cause less misclicks 2021-12-28 05:48:17 -05:00
Sally Coolatta
38122e4fa5 Fix cursor appearing before P1 has pressed start 2021-12-28 05:39:50 -05:00
Sally Coolatta
746f112bf7 Fix gamepad joystick handling 2021-12-28 05:31:14 -05:00
Sally Coolatta
c49a5dd0cf Properly only accept menu controls when its active 2021-12-28 05:19:04 -05:00
Sally Coolatta
479292543a Let me get in game in single player
For testing... please...
2021-12-28 05:09:57 -05:00
Sally Coolatta
7684f5980a Almost multiplayer char select
For some reason gamepads have not been registering buttons for a while, which makes this pretty hard to continue. Not sure if it's to do with how the menu cmd is generated, or something deeper in the SDL code.
2021-12-25 08:58:21 -05:00
Sally Coolatta
d6d561f0e8 Unset delay when not pressing anything
Allows for mashing a button to be just as responsive as before
2021-12-25 07:10:56 -05:00
Sally Coolatta
e53ad4edf4 Char select fixes
- Allow input for multiplayer now
- Unset all devices in this menu
2021-12-25 07:02:07 -05:00
Sally Coolatta
16730b02ef Merge branch 'master' into profiles 2021-12-25 06:10:51 -05:00
Sally Coolatta
e628894b47 Merge branch 'new-menus' into profiles 2021-12-25 06:09:53 -05:00
Sally Coolatta
1558a7e8ec Fix lap animation interp being reversed 2021-12-25 05:51:09 -05:00
Sally Coolatta
ac2ab1bdcc Only calculate string when we need it 2021-12-25 05:18:33 -05:00
Sally Coolatta
fcc5c8e0c4 Interpolate music credits 2021-12-25 04:57:35 -05:00
Sally Coolatta
762ee92c06 Purple spark electricity UNCAPPED 2021-12-25 03:53:55 -05:00
Sally Coolatta
1c908f533d Fully fix drop shadows
It used the thing's floorz / ceilingz directly -- that wouldn't account for interpolated coordinates.
2021-12-25 02:07:56 -05:00
Sally Coolatta
09eefc7e9b Make drop shadows slightly better in uncapped
They still jitter uphill
2021-12-24 23:17:28 -05:00
Sally Coolatta
b87b00fcda Apply the same fix for instashield overlay 2021-12-24 23:07:12 -05:00
Sally Coolatta
d63ce0c803 Fix jawz reticule in uncapped 2021-12-24 22:52:38 -05:00
Sally Coolatta
0a915a719b Hack to fix drift spark explosion while keeping its interpolation 2021-12-24 13:17:57 -05:00
Sally Coolatta
6c13ddca01 Rename PitchRoll stuff back
I did a find+replace because I realized the functions I added were named too similar to other ones & to make the purpose more obvious ... but it ended up changing them too anyway! Gah!
2021-12-24 13:00:12 -05:00
Sally Coolatta
cc250afd45 P_InitAngle, to fix angle interpolation on spawning objects 2021-12-24 12:45:51 -05:00
Sally Coolatta
ce01b494f4 Add functions to handle interpolation
Much less code duplication
2021-12-24 11:30:19 -05:00
Sally Coolatta
9bc48762a8 Merge branch 'terrain-lump' of https://git.do.srb2.org/KartKrew/Kart into terrain-lump 2021-12-24 09:50:12 -05:00
Sally Coolatta
ff3cb90cda Super random push
Looks better to me, and makes cone have a more pronounced effect
2021-12-24 09:50:00 -05:00
James R
cdf75cfbe0 Fix incompatible prototype 2021-12-23 21:08:19 -08:00
Sally Coolatta
8cdfe87dca Let's just convert this in a more sane fashion... 2021-12-23 23:15:36 -05:00
Sally Coolatta
2d5d78b76e Oops ... can't use raw angles for P_RandomRange anyway. 2021-12-23 22:58:25 -05:00
Sally Coolatta
a0c36c6126 Wrong var name oops
I autopiloted
2021-12-23 22:50:57 -05:00
Sally Coolatta
d1827b1c16 Fix it not using footstep->cone 2021-12-23 22:48:23 -05:00
Sally Coolatta
72b2997440 Remove off by one """"fix"""" 2021-12-23 03:23:42 -05:00
Sally Coolatta
28d99342ee Merge branch 'master' into terrain-lump 2021-12-23 03:21:22 -05:00
Sally Coolatta
86991112b1 MORE DEHACKED SHIT 2021-12-23 03:20:56 -05:00
Sally Coolatta
c203bbdce9 Merge branch 'master' into terrain-lump 2021-12-23 03:05:10 -05:00
SteelT
3ce3fd0366 Merge branch 'getmobjzmovement' into 'master'
P_GetMobjZMovement

See merge request KartKrew/Kart!441
2021-12-21 07:07:10 +00:00
SteelT
f48ce0f84a Merge branch 'fullbright-ignore-colormap' into 'master'
Ignore level colormap when drawing fullbright sprites

See merge request KartKrew/Kart!507
2021-12-21 06:56:16 +00:00
SteelT
85fa368d64 Merge branch 'update-rendezvous' into 'master'
Update hole punch server address to kartkrew.org

See merge request KartKrew/Kart!506
2021-12-21 06:25:10 +00:00
SteelT
2ebac926eb Merge branch 'followers-mainwad' into 'master'
Load followers by default

See merge request KartKrew/Kart!504
2021-12-21 06:24:06 +00:00
SteelT
cf3e92c293 Merge branch 'no-squish' into 'master'
Add the MF_NOSQUISH flag, disables squash and stretch

See merge request KartKrew/Kart!501
2021-12-21 06:20:59 +00:00
James R
d8e7703917 Ignore level colormap when fullbright 2021-12-20 04:17:33 -08:00
James R
f1389b49d2 Automatically switch to new default rendezvous server 2021-12-20 01:37:44 -08:00
James R
1767b4ae29 Update rendezvous server to kartkrew.org 2021-12-20 01:34:48 -08:00
James R
a7edda15e9 Remove 1.4 master server address enforcer 2021-12-20 01:27:36 -08:00