Commit graph

25053 commits

Author SHA1 Message Date
AJ Martinez
c11394ce83 WIP: Trick panel decrackening 2023-11-09 00:45:50 -07:00
AJ Martinez
954bd85139 WIP: Trickpanel crack experiments 2023-11-08 01:52:07 -07:00
toaster
239388a1fa Add TRICKSTATE_ constants
Replaces the magic numpers <-- typo I have left in for posterity
2023-11-07 23:06:50 +00:00
toaster
6f22c5261e MT_POGOSPRING: Guarantee spawn of catholocism 2023-11-07 22:53:52 +00:00
toaster
2e760eff43 Merge branch 'trick-control-lock' of https://git.do.srb2.org/KartKrew/Kart into catholic-vfx
# Conflicts:
#	src/k_kart.c
2023-11-07 22:24:53 +00:00
toaster
c3d34e9377 Back Trick effect
A rising tornado swirling the opposite direction.
Sprites do not currently exist, but it's a one-line emergency-break-glass change if there's any danger of not shopping with them
2023-11-07 20:24:01 +00:00
toaster
c1f7546f99 Sneaker/invincibility: Trick Panel launch multiplier is 1.5x, nerfed from 2x 2023-11-07 20:10:01 +00:00
toaster
73f67f4c94 MT_MAGICIANBOX, MT_SIDETRICK: Fix some more interp issues
Also guarantees that MT_SIDETRICK will be visible for the first frame of the trick, since it was invisible for the entire duration of catholocism.
2023-11-07 14:53:03 +00:00
AJ Martinez
49fb2fe6b6 WIP: Trick Panel crack 2023-11-07 03:46:11 -07:00
toaster
af24fcd4bd Don't draw catholocism for other players
Your relationship with christ is personal
2023-11-06 22:18:27 +00:00
toaster
0016e8b9ec Boost the Trick Panel boost gotten from sneakers/invinc to 2* 2023-11-06 22:17:53 +00:00
toaster
48d93ec9f6 Side Trick effect
- Copiously reuses from MT_MAGICIANBOX, gomen
- Also set the lookback frame, for extra toaster-swag zaza
    - Because this feature is so old it predates lookback!?
2023-11-06 21:54:40 +00:00
toaster
8885a335e7 MT_MAGICIANBOX: Support gravflip 2023-11-06 21:49:28 +00:00
toaster
aa0b626467 Trick catholic swipe needs to have all layers be fully visible, even at the peak of the arc 2023-11-06 21:47:16 +00:00
toaster
b417c0655e Map command: If you provide -force and the level has no associated gametype, safely assume Race as the default instead of requiring a -gt race addition 2023-11-06 21:44:55 +00:00
toaster
4ecc378bb6 Make weakest Trick Indicator colour white instead of grey
More opaque, due to additive behaviour
2023-11-06 19:27:24 +00:00
toaster
f8a6449033 Further Trick Indicator refinement
- Abstract K_TrickCatholocismBlast into its own function
    - Spawn one at an askance angle when you fail a trick for any reason
- Indicator is slightly closer to the player
- Smaller indicator base scale
- Indicator becomes more translucent the larger it is
- Swipe is at 1.5 scale relative to the indicator
2023-11-06 19:22:21 +00:00
toaster
e412b6ddd8 Call K_trickPanelTimingVisual only once per tic, to prevent pie duplication 2023-11-06 19:12:26 +00:00
toaster
2f62c0ff6b P_SpawnGhostMobj: Also copy scalespeed 2023-11-06 15:00:38 +00:00
toaster
2ecfe2f50f K_DoPogoSpring: Don't set Trick state if Player is in pain 2023-11-06 14:55:28 +00:00
toaster
e06d961574 Further refinement to Trick Indicator behaviour
- Set colour in K_DoPogoSpring based on relevant vertical momentum
    - Similar but seperate colour list to Dash Rings
- Improve interp state handling when starting a Trick
- Don't set to S_INVISIBLE every non-tricking frame
- Don't follow the player's movement during the very end of a swipe animation
- Add a catholocism blast of the outer D-Pad ring while tricking
2023-11-06 14:54:46 +00:00
toaster
b051ff4741 P_SpawnGhostMobj: Set old_scale too 2023-11-06 14:48:23 +00:00
toaster
bbe2477331 Obj_RainbowDashRingSpawn: Fix copypaste error that could have resulted in out-of-bounds access 2023-11-06 14:47:54 +00:00
AJ Martinez
1b8531dcf1 WIP: Fix shield flip 2023-11-06 01:25:10 -07:00
toaster
5ffae81b08 Trick Indicator first pass
The author of this commit doesn't know what it's doing
2023-11-06 01:13:13 +00:00
toaster
ccbcd203dd Adjust PlayerPointerRemove macros + associated to check validity before removal 2023-11-06 01:11:29 +00:00
toaster
120b567ba2 K_DoPogoSpring: Handle player->trickpanel set directly 2023-11-06 01:09:06 +00:00
Oni
f66c438d9c Merge branch 'clear-pad-state' into 'master'
HACK: Lift all inputs when wipes execute (#635, #734)

See merge request KartKrew/Kart!1586
2023-11-05 21:54:22 +00:00
Oni
ef8c472a51 Merge branch 'failsafe-input-check' into 'master'
Failsafe fixes

See merge request KartKrew/Kart!1599
2023-11-05 21:53:57 +00:00
Gustaf Alhäll
208601e38d Cache and reuse removed mobjs when spawning mobjs 2023-11-05 15:44:53 -06:00
Oni
a3b2dc11ec Merge branch 'frameskip-fixups' into 'master'
Measure frameskip timing before sleeping

See merge request KartKrew/Kart!1602
2023-11-05 21:00:57 +00:00
toaster
0cef40faa8 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into other-progression 2023-11-05 20:16:05 +00:00
Eidolon
3f926d7c6e Merge branch 'gl2-instead' into 'master'
rhi: use GL 2.1 instead of GL Core

See merge request KartKrew/Kart!1596
2023-11-05 19:45:43 +00:00
Eidolon
ade0b7cf10 Merge branch 'virtual-keyboard-fix' into 'master'
Only toggle keyboardTyping when input key is valid

See merge request KartKrew/Kart!1604
2023-11-05 19:44:18 +00:00
Eidolon
c8e79ae031 Merge branch 'workaround-broadcast-port' into 'master'
Set broadcast socket ports to 5029

See merge request KartKrew/Kart!1603
2023-11-05 19:44:10 +00:00
toaster
89e97a6e76 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into other-progression 2023-11-05 18:52:20 +00:00
toaster
3796c437ec SV_StopServer: Use G_SetGamestate instead of a direct write
An apparent oversight identified while working on the previous commit.
2023-11-05 18:50:41 +00:00
toaster
0c645810c6 ACS: Invalidate mapscope before PU_LEVEL purge occours
Fixes the MapWarp memory corruption conclusively.
2023-11-05 18:49:41 +00:00
Oni
3b04bde5b9 Merge branch 'will-it-blend' into 'master'
Will It Blend

See merge request KartKrew/Kart!1589
2023-11-05 18:45:51 +00:00
Oni
fc236fa310 Merge branch 'illegal-digital-maneuver' into 'master'
Diagonal-back for shallow digital turns

See merge request KartKrew/Kart!1600
2023-11-05 18:45:33 +00:00
toaster
b95b076bed Tutorial course select: Fix returning to the menu behaviour 2023-11-05 18:44:46 +00:00
toaster
182820ad62 Merge branch 'default-skincolor-pad-led-color' into 'master'
Use M_GetCvPlayerColor for pad LED color

See merge request KartKrew/Kart!1605
2023-11-05 18:25:53 +00:00
Eidolon
9cc3850c3f Use M_GetCvPlayerColor for pad LED color 2023-11-05 12:23:05 -06:00
Eidolon
518366d567 Only toggle keyboardTyping when input key is valid
Fixes unintended toggles to virtual keyboard
2023-11-05 11:45:07 -06:00
Eidolon
77567b03c4 Set broadcast socket ports to 5029
Fixes ASKINFO broadcast on LAN
2023-11-05 10:40:27 -06:00
AJ Martinez
38c096a5cd Clean up failsafe queue condition 2023-11-05 04:40:44 -07:00
AJ Martinez
0677708216 Measure frameskip timing before sleeping 2023-11-05 04:30:45 -07:00
AJ Martinez
a805847086 Use JOYAXISRANGE for digital detection 2023-11-05 03:56:25 -07:00
Oni
0201d90d21 Merge branch 'fullbright-ebrake' into 'master'
Fullbright ebrake vfx

See merge request KartKrew/Kart!1601
2023-11-05 10:48:04 +00:00
AJ Martinez
e2e0c93892 Fullbright ebrake vfx 2023-11-05 03:37:33 -07:00