Commit graph

27392 commits

Author SHA1 Message Date
James R
c3f852ddaf Draw numbers for roulette items that give more than 1
- Bottom centered
- Except orbinaut x2, x3, x4
- Except ballhog x5
2024-03-04 06:05:55 -08:00
James R
9a7af6c592 srb2::Draw: add fonts kRollingNum and kRollingNum4P 2024-03-04 01:42:29 -08:00
AJ Martinez
5178dee5a3 Missing newline 2024-03-04 01:20:16 -07:00
AJ Martinez
14beff2f55 Snap BUBBLESHIELDTRAP to toucher when touched (fixes visual disjoint) 2024-03-04 01:17:17 -07:00
AJ Martinez
7ef793e0f8 Only draw HUD help for correct view 2024-03-04 01:16:55 -07:00
AJ Martinez
1c78a7ebeb Improve HUD-track control help clarity 2024-03-04 00:31:22 -07:00
AJ Martinez
9ee58e4f7e Add hud-tracked context help for Bubble Trap and Garden Top 2024-03-04 00:20:30 -07:00
Oni
bab29c7164 Merge branch 'fix-ghosts' into 'master'
Fix G_AddGhost and G_GetStaffGhostBrief to handle unlockables and mapmusrng

See merge request KartKrew/Kart!2008
2024-03-04 07:19:52 +00:00
Oni
492b3df1a9 Merge branch 'restart-time-attack-prompt' into 'master'
Time Attack HUD tweak

See merge request KartKrew/Kart!2004
2024-03-04 07:07:02 +00:00
Oni
3b80ae5d19 Merge branch 'fix-alt-title' into 'master'
Fix Alternate Title Screen unlockable not saving preference

Closes #1111

See merge request KartKrew/Kart!2007
2024-03-04 07:04:05 +00:00
James R
4e763a058e Fix G_AddGhost and G_GetStaffGhostBrief to handle unlockables and mapmusrng 2024-03-03 22:39:16 -08:00
Oni
840f5b7998 Merge branch 'server-options-expander' into 'master'
Add bot and PWR options to Server Options

Closes #922 and #921

See merge request KartKrew/Kart!2006
2024-03-04 06:35:41 +00:00
James R
5fbb32442b Fix Alternate Title Screen unlockable not saving preference
- Remove CV_NOSHOWHELP, so the config file can load
- Do not stealth set the cvar, so it is not dependent on
  order of operations of config loading and challenge
  loading
2024-03-03 22:20:12 -08:00
AJ Martinez
f26b7bc7f7 Merge branch 'fix-high-invinc-extension' into 'master'
Remove invinc extension hard cap

See merge request KartKrew/Kart!2005
2024-03-04 05:32:49 +00:00
AJ Martinez
0dec816ec9 Don't use matchbots dummy cvar when starting netgames 2024-03-03 22:24:33 -07:00
AJ Martinez
6bd10fc708 Merge branch 'buffered-input-hell' into 'master'
Don't clear inputs at level load or during wipes

Closes #1099

See merge request KartKrew/Kart!2001
2024-03-04 05:14:56 +00:00
AJ Martinez
6987e6516d Add bot and PWR options to Server Options 2024-03-03 21:23:32 -07:00
AJ Martinez
a11602869f Merge remote-tracking branch 'origin/master' into frey 2024-03-03 20:55:40 -07:00
AJ Martinez
92ada45f75 Remove invinc extension hard cap 2024-03-03 19:49:16 -07:00
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