Commit graph

24773 commits

Author SHA1 Message Date
Oni
c2d48e8ca7 Merge branch 'lite-steer-option' into 'master'
Lite Steer profile option, itemstate pflags -> player.itemflags

See merge request KartKrew/Kart!1611
2023-11-12 19:55:59 +00:00
James R.
aac583f2eb Merge branch 'gremlins-sweep-revelation' into 'master'
Line sweep to eliminate Gremlins II, also mitigate getting stuck inside slope enclosures

Closes #393

See merge request KartKrew/Kart!1610
2023-11-12 02:46:12 +00:00
James R.
f1c24d0eeb Merge branch 'loop-camera' into 'master'
Loop camera + camera turning interpolation fix

See merge request KartKrew/Kart!1557
2023-11-12 02:28:52 +00:00
AJ Martinez
6cbfc5aead Merge branch 'postrace-cleanup' into 'master'
Don't do gameplay controller vibration after finishing

See merge request KartKrew/Kart!1587
2023-11-10 23:49:31 +00:00
AJ Martinez
77af33d182 More idiomatic unused pflags 2023-11-10 02:58:05 -07:00
James R
7861d51a7f P_TryMove: sweep collided lines to find nearest normal 2023-11-10 00:03:06 -08:00
James R
5a62a07e54 Add srb2::sweep, AABB line sweep algorithms 2023-11-10 00:03:06 -08:00
James R
37f2384229 Add srb2::math, fixed-point, vector, line and slope formula classes
- srb2::math::Fixed
  - Operator overloads for FixedMul and FixedDiv
  - Implicit conversion between fixed_t, Fixed and
    floating-point types
- srb2::math::Vec2
  - Template to any type
  - Operator overloads for arithmetic operations
  - Convertible between different types
- srb2::math::LineSegment
  - Template to any type
  - Holds two Vec2 instances
  - Sorting methods and vertical/horizontal test
- srb2::math::LineEquation
  - Slope formula from LineSegment
  - y method to find y from x
  - Intersect algorithm
  - Fixed-point specialization to avoid overflows
- srb2::math::LineEquationX
  - Inherits LineEquation
  - x method to find x from y
2023-11-10 00:03:06 -08:00
AJ Martinez
81e7ec6aa3 itemflag tyop 2023-11-09 17:30:19 -07:00
AJ Martinez
0b51bc91f9 Fix comment referring to itemflags by wrong name 2023-11-09 17:29:26 -07:00
AJ Martinez
06bc06869c Lite Steer profile option, itemstate pflags -> player.itemflags 2023-11-09 17:29:26 -07:00
Oni
6686215330 Merge branch 'hanicef-mobj-cache' into 'master'
Cache and reuse removed mobjs when spawning mobjs

See merge request KartKrew/Kart!1607
2023-11-09 12:29:53 +00:00
Oni
cd06b34cd1 Merge branch 'ballhog-limited-tapfire' into 'master'
Easier ballhog tapfire

See merge request KartKrew/Kart!1594
2023-11-09 12:28:54 +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
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
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
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
AJ Martinez
889f4dfc9f Diagonal-back for shallow digital turns 2023-11-05 03:16:59 -07:00
toaster
9ca23365aa Merge branch 'fix-dupe-pubkey-detect' into 'master'
Fix duplicate pubkey detection misfiring on retry (resolves #746)

Closes #746

See merge request KartKrew/Kart!1597
2023-11-05 09:50:12 +00:00
Oni
6b44bfe981 Merge branch 'flame-shield-sfx' into 'master'
Flame Shield SFX, flame/lightning rescale

See merge request KartKrew/Kart!1598
2023-11-05 09:34:19 +00:00
AJ Martinez
7ba7e2b076 Prevent failsafe briefly after taking damage 2023-11-04 23:42:26 -07:00
AJ Martinez
1667ca591e Don't failsafe when twerking 2023-11-04 23:22:03 -07:00
AJ Martinez
961372540a Flame Shield SFX, flame/lightning rescale 2023-11-04 20:43:27 -07:00
AJ Martinez
78086fc625 Fix duplicate pubkey detection misfiring on retry 2023-11-04 18:20:26 -07:00
Eidolon
187f30cc64 rhi: use GL 2 instead of GL Core
Widens the hardware compat range without losing features (besides
debugging)
2023-11-04 20:15:51 -05:00
AJ Martinez
4db18b1225 Easier ballhog tapfire 2023-11-03 22:51:14 -07:00
Oni
6e6c0cd71f Merge branch 'ballhog-descam' into 'master'
Ballhog fixups (+ sound cleanup)

See merge request KartKrew/Kart!1590
2023-11-03 03:13:13 +00:00
Oni
b20fb26c04 Merge branch 'hanagumi-ringbox' into 'master'
Hanagumi Hall ring vent overflow (resolves #745)

Closes #745

See merge request KartKrew/Kart!1591
2023-11-03 03:12:35 +00:00
Oni
4e5e0835b5 Merge branch 'mania-time-trial' into 'master'
Mania-style time trials (resolves #747 mostly by accident)

Closes #747

See merge request KartKrew/Kart!1592
2023-11-03 03:12:03 +00:00
AJ Martinez
28405087e5 Y to quick restart attack modes 2023-11-02 16:53:55 -07:00
AJ Martinez
5acfe85542 Fix incomplete ghost fast-forwarding 2023-11-02 16:51:25 -07:00
AJ Martinez
0ca7897327 Remove sliptide sound fix (revisit later) 2023-11-02 07:11:02 -07:00
AJ Martinez
a2438a14c2 Fix standard race times being modified on line cross 2023-11-02 07:06:28 -07:00
AJ Martinez
506ab31f7f Mania-style time trials 2023-11-02 06:51:51 -07:00
toaster
263c968cc8 Fix the Hanagumi Hall ring vent overflow
The way the cap was being handled was kind of messed up, and was trying to subtract your existing Super Ring count.
But because the datatype doesn't support negative numbers, it rolled under to approx UINT16_MAX!
Fix the datatypes and add the extra over-range check to prevent this from happening again.
2023-11-02 11:24:54 +00:00
AJ Martinez
143320b577 Misc item fuckery 2023-11-01 23:11:24 -07:00