Commit graph

26457 commits

Author SHA1 Message Date
Gunla
6af702c610 Merge branch 'fix-hybrid-circuits' into 'master'
Add LapsPerSection property for map headers, fixes lap cheat prevention false positives

Closes #1107

See merge request KartKrew/Kart!2000
2024-03-03 21:20:15 +00:00
James R
e563f6271f Replays: auto-save when new recording starts
- Saves if the map changes
2024-03-03 06:31:07 -08:00
James R
8c76dee523 Virtual Keyboard: dynamically allocate cache; allow full size of replay title buffer 2024-03-03 06:31:06 -08:00
James R
38e1ae1c53 Replays: let name be changed any time until the file is saved 2024-03-03 06:30:54 -08:00
James R
983fb4c53c Replays: merge HUD and intermission drawing functions for "Save replay" prompt 2024-03-03 06:30:54 -08:00
James R
153ffa4717 Replays: do not save file at intermission start
- Postpone saving until intermission ends
2024-03-03 06:30:54 -08:00
James R
e05daf0f11 M_GoBack: do not play sound effect on MBF_SOUNDLESS menus 2024-03-03 06:30:54 -08:00
James R
8fa01ee558 Replays: use Virtual Keyboard for title entry
- This shortens the maximum title length from 64 to 31
  characters
2024-03-03 06:30:54 -08:00
James R
7d01c3046b M_OpenVirtualKeyboard: add optional dummymenu argument
- Virtual Keyboard can switch to a temporary menu while
  typing
  - It will switch back to the previous menu after it's
    closed
- This functionality can be used even if the menu isn't
  already open
  - It will close the menu and return to gameplay when the
    Virtual Keyboard is closed
2024-03-03 06:30:52 -08:00
James R
f270ac5579 Virtual Keyboard: use callback function to get/set cvar string 2024-03-03 06:30:37 -08:00
James R.
0486c25afd Merge branch 'fix-console-font' into 'master'
Fix console font spacing in menus

See merge request KartKrew/Kart!1994
2024-03-03 14:29:12 +00:00
James R.
2501649ccd Merge branch 'fix-spb-grow' into 'master'
SPB explosion ignores Grow

Closes #1102

See merge request KartKrew/Kart!1996
2024-03-03 14:28:50 +00:00
James R
9f982a574e Add LapsPerSection property to map headers, fixes finish line distance in hybrid section-circuit maps
- It is possible to have a circuit map separated into
  sections, where there are multiple "laps" before making
  a full loop
- Normally the lap count is used to multiply the finish
  line distance, but it fails for these maps
- The LapsPerSection property fixes the calculation by
  specifying how many laps make up a full loop
  - Default = 1 lap (most maps)
2024-03-03 03:06:52 -08:00
James R
0d4f42cf80 Add debuglapcheat command, disables lap cheat prevention and prints a console message 2024-03-03 03:03:23 -08:00
James R
db7892d15a Comment out SCRAMBLE_REMOVED
- Scramble can help point out memory leaks from mobjs
  never being freed
- However it can also cause false positive crashes, since
  there is sometimes a 1 or 2 tic window between when
  P_RemoveMobj is called and all pointers to that mobj are
  set to NULL
- Presumably we have code that NULL checks but does not
  check P_MobjWasRemoved and such instances may be hard to
  find so it's just easier to not scramble
2024-03-03 00:32:40 -08:00
AJ Martinez
ba0a40c1b1 Don't allow spindash above max power 2024-03-03 01:22:46 -07:00
Oni
6dbc093516 Merge branch 'fix-gachabom-color' into 'master'
Set Gachabom explosion color to player skincolor

Closes #1103

See merge request KartKrew/Kart!1995
2024-03-03 08:09:50 +00:00
Oni
d631f62da9 Merge branch 'bot-hold-instawhip' into 'master'
Bot behavior for charged instawhip

Closes #1035

See merge request KartKrew/Kart!1974
2024-03-03 08:07:39 +00:00
AJ Martinez
eb4524fe1f Reduce <10 ring warning sound volume 2024-03-03 01:07:36 -07:00
AJ Martinez
647ab66c2f WIP: low-ring conveyance fixups 2024-03-03 00:46:21 -07:00
James R
d2d9edb7e3 R_MapPlane, R_MapTiltedPlane: return on invalid coordinates, debug print in devmode render 2024-03-02 22:25:46 -08:00
James R
45aef83fc1 debugrender_portal, debugrender_visplanes: fix in splitscreen
- Fix debugrender_visplanes crashing
- Fix debugrender_portal drawing everything on P1 viewport
2024-03-02 22:24:33 -08:00
James R
3ea57bdf2f CONS_Printf: lock more of the function behind mutex 2024-03-02 22:23:42 -08:00
James R.
27764435f9 Merge branch 'big-gachabom' into 'master'
Scale Gachabom, Ballhog and SPB with Grow/Shrink

See merge request KartKrew/Kart!1993
2024-03-03 05:18:42 +00:00
James R.
b136df4d41 Merge branch 'seal-a-carte' into 'master'
Sealed Star re-ordering (resolves #606)

Closes #606

See merge request KartKrew/Kart!1980
2024-03-03 05:18:26 +00:00
James R.
102fdf5978 Merge branch 'drawinput-profile-option' into 'master'
Input Display fixes

Closes #1085

See merge request KartKrew/Kart!1989
2024-03-03 05:18:02 +00:00
James R
cd081ecc47 SPB explosion ignores Grow 2024-03-02 21:11:24 -08:00
AJ Martinez
09d2644241 Merge branch 'tighter-rubberband' into 'master'
Bot difficulty tweaks, again

See merge request KartKrew/Kart!1988
2024-03-03 04:52:23 +00:00
James R
ffa698cc6e Set Gachabom explosion color to player skincolor 2024-03-02 20:47:33 -08:00
James R
f917fbd199 Ignore patch X offset when drawing fonts
We don't typically use offsets for font graphics anyway.
But I had to add offsets to the console font specifically,
because the console doesn't render text with the normal
drawing functions.
2024-03-02 20:41:28 -08:00
Oni
00643195a5 Merge branch 'nerf-stacked-invinc' into 'master'
Reduce time gain on stacked invincibility

See merge request KartKrew/Kart!1985
2024-03-03 03:09:26 +00:00
James R
1ebac1f553 Scale SPB with Grow/Shrink 2024-03-02 18:46:56 -08:00
James R
8524401c03 Scale Gachabom and Ballhog with Grow/Shrink 2024-03-02 18:39:29 -08:00
Oni
d0a66f9a4e Merge branch 'no-wavedash-breakpoint' into 'master'
Award a (weaker) boost for short-charge wavedashes

Closes #612

See merge request KartKrew/Kart!1982
2024-03-03 02:06:37 +00:00
Oni
19555bcdc9 Merge branch 'fix-waypoint-errors-titlemap' into 'master'
Don't initialize waypoints in GS_TITLESCREEN

See merge request KartKrew/Kart!1983
2024-03-03 01:57:36 +00:00
Oni
6c60d7165d Merge branch 'dont-cheat-lap' into 'master'
Finish line cheese Super Prevention

See merge request KartKrew/Kart!1972
2024-03-03 01:56:34 +00:00
James R.
7ce6ec3477 Merge branch 'wtf-tripwire' into 'master'
Grant short tripwire leniency when passing tripwire

See merge request KartKrew/Kart!1984
2024-03-03 01:50:03 +00:00
SteelT
cc99ead23b Merge branch 'bugfix-roundup' into 'master'
Misc bug fixes

Closes #1097 and #1096

See merge request KartKrew/Kart!1992
2024-03-03 01:45:35 +00:00
James R
f3548d2ec8 K_DoInvincibility: fix S-Monitor power-up after time gain change 2024-03-02 17:44:29 -08:00
Sal
16f021d7a5 Merge branch 'legacy-gl-is-unsupported' into 'master'
Bring back OpenGL "USE AT ROBOTNIK'S RISK" warning screen

See merge request KartKrew/Kart!1987
2024-03-03 01:31:50 +00:00
James R.
5bc7d105cc Merge branch 'battle-powerup-feedme' into 'master'
Battle: Visual and audio feedback for power-ups

See merge request KartKrew/Kart!1986
2024-03-03 01:30:54 +00:00
James R
d4ab1a3272 Input Display: force on in Tutorials 2024-03-02 17:28:46 -08:00
toaster
616d2bb87a Menu Messages only animate when menuwipe is stopped
Reduces the amount of moving parts we have to worry about. Fire M_StartMessage at the same time you change a menu without worry!
2024-03-03 00:24:31 +00:00
toaster
e8523b69f0 Sealed Star re-ordering (resolves #606)
- If emerald not yet collected on that cup, pick the first uncollected emerald, then get the cup's CUPCACHE_SPECIAL with that ID to pick the stage
- Already collected emeralds retain their swappage across gamedata saves
- Returns to normal order if you get all 7 OR Special Mode is unlocked (chao key? debug? password in modded games? sky's the limit)
- Pops up a Message from the Stars telling you the gems have been returned to their natural place
- Add-ons will always use their dedicated sealed star, since it's unordered material

If it weren't so last minute I could have a better solution for GP Backups, but right now what I've gone for is it always trusts whatever G_GPCupIntoRoundQueue does AS LONG AS THE COURSE ISN'T THE ONE YOU'RE RELOADING INTO. If it IS, then it checks to see if it's exactly what's been saved, and complains (with the generic error message, unfortunately) if it isn't.
2024-03-03 00:24:31 +00:00
Oni
b00255e333 Merge branch 'replay-stupid-parties' into 'master'
Emulate parties when watching replays

Closes #1090

See merge request KartKrew/Kart!1977
2024-03-02 21:29:43 +00:00
Oni
b2959d8b48 Merge branch 'shitty-signs' into 'master'
Add shittysigns cheat

See merge request KartKrew/Kart!1991
2024-03-02 20:28:03 +00:00
Oni
87d189ee09 Merge branch 'extend-noshowhelp' into 'master'
Prevent CV_NOSHOWHELP cvars from being accessed or modified through the console at all

See merge request KartKrew/Kart!1978
2024-03-02 20:27:05 +00:00
Oni
48859ba80e Merge branch 'move-your-car' into 'master'
Move your car

See merge request KartKrew/Kart!1990
2024-03-02 20:26:53 +00:00
Eidolon
2775378ac2 Use G_LoadDemoInfo to validate in playdemo/TA menu
Fixes KartKrew/Kart#1096
2024-03-02 12:24:46 -06:00
Eidolon
5fd7f4ee65 Allow G_LoadDemoInfo to load TA demos 2024-03-02 12:24:07 -06:00