Commit graph

26973 commits

Author SHA1 Message Date
James R.
69e8a26eaa Merge branch 'fix-invinc-spindash-crack' into 'master'
Don't allow spindash above max power

Closes #1105

See merge request KartKrew/Kart!1998
2024-03-04 02:46:04 +00:00
James R.
b7136281e5 Merge branch 'remove-spirit-oni' into 'master'
Fix out-of-bounds hitlag sounds

See merge request KartKrew/Kart!2003
2024-03-04 02:41:09 +00:00
AJ Martinez
1019e535a8 Fix out-of-bounds hitlag sounds 2024-03-03 19:32:49 -07:00
James R
9950a8210c Time Attack: display Y button prompt above timestamp 2024-03-03 18:31:46 -08:00
AJ Martinez
71ccf7c968 Fix out-of-bounds hitlag sounds 2024-03-03 19:29:48 -07:00
James R
39bc04200e Time Attack: staff ghost time uses speedometer font 2024-03-03 18:28:30 -08:00
James R
1155acebad Let buffer inputs between maps
- Do not clear inputs when a map loads
2024-03-03 17:48:11 -08:00
James R
3be8a72155 Update button states during wipes
- All inputs create input events that get stored in a very
  small buffer
- Normally, the game listens for some inputs and then
  immediately processes them and updates the button state
  in-game
- However, during wipes the processing step would not
  happen and it would just let the events pile up
- Because the buffer is small though, it would quickly
  fill up and lose some events
- This would lead to button states getting stuck on some
  controllers if you released a button during a wipe
  - If you spun an analog stick around, this would cause
    it to happen more frequently, because there is a new
    event for every slight change of an analog stick's
    position
2024-03-03 17:48:11 -08:00
James R
dd85f2968f Revert "HACK: Lift all inputs when wipes execute"
This reverts commit b7892fd5d1.
2024-03-03 17:48:11 -08:00
James R
c6bdf4eae3 Remove RANGECHECK, replace with devmode prints
- All code that would I_Error behind RANGECHECK, simply
  return
- Add debug prints under devmode render
2024-03-03 17:31:33 -08:00
James R
4cad56c38c P_CrossSubsector: do not I_Error on invalid subsector
- IDK if return true is correct, but I've never seen this
  error before either
2024-03-03 17:31:33 -08:00
James R
89c7e31c14 R_DrawVisSprite: comment out GAME WOULD HAVE CRASHED warning
This only meant anything to me
2024-03-03 17:27:09 -08:00
James R.
fb07077c1c Merge branch 'remove-scramble' into 'master'
Comment out SCRAMBLE_REMOVED

See merge request KartKrew/Kart!1999
2024-03-04 01:17:38 +00:00
James R.
235987b895 Merge branch 'fix-map-plane-crash' into 'master'
Fix some R_MapPlane crashes in splitscreen; debugrender_visplanes and debugrender_portal; some multithreading crashes

Closes #1032 and #1021

See merge request KartKrew/Kart!1997
2024-03-04 01:16:32 +00:00
James R.
e97c107c1e Merge branch 'save-replay-virt-keyboard' into 'master'
Polish replay saving

Closes #1000 and #1091

See merge request KartKrew/Kart!1976
2024-03-04 00:52:19 +00:00
AJ Martinez
8a1a688f00 Nudge low-ring volume again again 2024-03-03 16:53:55 -07:00
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