Commit graph

391 commits

Author SHA1 Message Date
Eidolon
a4d304a1f5 Update copyright years to 2025 2025-02-13 15:32:26 -06:00
katsy
017a067630 Fix gravity CVAR crashing when changed from the menu (resolves #106) 2024-05-19 23:06:37 +00:00
VelocitOni
81ef7a3e1c Make it actually work properly
Flipped 1 to 0 so it happens when you turn it ON, also extended the message
2024-05-03 20:23:00 -04:00
VelocitOni
9ce7520e53 Auto Roulette Warning
Warn the player that we didn't fucking design an RNG-baed game LOL
2024-05-03 19:59:53 -04:00
Sal
7ea0d5e314 Merge branch 'profile-naming-improvement' into 'master'
Improve profile naming

See merge request KartKrew/Kart!2265
2024-04-11 21:57:23 +00:00
Sally Coolatta
37bd4a6ad9 Improve profile naming
- Profile ID is limited to 6 characters in the keyboard menu itself.
- Player Tag is directly under Profile ID.
- Minor description changes.
2024-04-10 19:47:46 -04:00
James R
cd3aa10cd0 Menus/Video/Advanced: message box to confirm switching to Legacy GL 2024-04-10 05:53:06 -07:00
toaster
1034dd7ec9 Grand Prix course preview adjustment: Show Prison Break stages too, just like on Challenges Board preview
- All gametypes will be shown in the drawer, as opposed to just Race
- However, don't attempt to add the preview pic for CUPCACHE_SPECIAL (the Sealed Star)
2024-04-09 17:47:30 +01:00
Eidolon
19341b71a3 Add total menu time stat 2024-04-06 11:25:31 -05:00
toaster
b8c67dcc9e Copyright update: Recieved notice of legal name change
(which is formal speak for I got back in contact with an old friend :D )
2024-04-03 20:44:19 +01:00
toaster
224deed01d More copyright updates
- TehRealSalt and Lat` are currently preoccupied, so handle their credits
- Correct some accidential copypastes of existing boilerplate into new files
- Add a handful more of mine
- Consistency for Kaito Sinclaire's online handle
2024-04-02 22:14:49 +01:00
James R.
98becc03ae Merge branch 'discord-rp-intro-fix' into 'master'
Minor Discord RP fixes

See merge request KartKrew/Kart!2195
2024-04-02 00:43:30 +00:00
Sally Coolatta
b921ea7e7b Minor Discord RP fixes
- Fix GS_INTRO not being Title Screen
- Fix GS_EVALUATION not being Credits
- Use Watching Replays while browsing Egg TV menu
- Use GP difficulty names instead of speed names during GP
2024-03-31 00:27:21 -04:00
toaster
288c8a98b1 Time Attack replays menu: Permit restoring to this menu after a Staff Replay
Only resets cv_dummystaff if invalid/switching between courses
2024-03-29 22:04:16 +00:00
toaster
6f67984e27 Add "Track 10" to the Message from the Stars
Stays with you after you leave the Challenges screen.

Also remove the duplicate-effort attempt-to-pre-optimise considersealedswapalert that only considered SECRET_SPECIALATTACK - it should also report here under other unlockable progressions, if relevant.
2024-03-26 21:41:55 +00:00
AJ Martinez
bca0b48f45 Merge branch 'challenge-final' into 'master'
Challenge Final

See merge request KartKrew/Kart!2140
2024-03-24 06:47:32 +00:00
toaster
fa26a50b92 Improved Goner titlescreen
Still minimalist, but much stronger.
2024-03-21 22:18:17 +00:00
toaster
32afe48aab M_StartControlPanel: Guarantee titlemap contexts have internal server stopped when entering menu
Guarantees netUnlocked is correctly updated in most contexts, since that's dependent on SV_ResetServer, which isn't called if a server is running
Also guarantees titlemapinaction isn't true during regular play
2024-03-19 19:30:16 +00:00
James R
d68e7072a2 Lock user out of menu when replay goes to intermission
- Access to the replay menu in intermission leads to
  various problems
  - Broken options
  - HOM effect
- You can press A on the intermission screen to end it
2024-03-17 04:54:02 -07:00
James R
ae30e1d138 Menus/Time Attack: fix staff replay selector getting stuck
- If you viewed a map with multiple staff ghosts and moved
  the selector
- Then viewed a map with only one staff ghost
- Then went back and viewed a map with multiple
- The selector would get stuck on only the first option
2024-03-14 22:52:29 -07:00
AJ Martinez
b30f465937 Merge branch 'f11' into 'master'
Add hardcoded F11 key to toggle fullscreen, F3 to toggle HUD

Closes #1128 and #391

See merge request KartKrew/Kart!2037
2024-03-08 08:41:37 +00:00
AJ Martinez
7391094ef2 Minor timeout/delaylimit presentation fixes 2024-03-07 19:55:33 -07:00
James R
d44c2f5c58 Add back F3 key to toggle HUD 2024-03-07 16:35:18 -08:00
James R
fc215e0572 Add hardcoded F11 key to toggle fullscreen 2024-03-07 16:16:01 -08:00
James R
bea1cccdde Virtual Keyboard: rewrite keyboard-gamepad switching
- Input handling is done straight in G_MapEventsToControls
- If a keyboard event is received, switch off virtual
  keyboard
  - Removed the input lock while virtual keyboard is
    sliding away
- If a gamepad event is received, and it is a change of at
  least half the full range, switch on virtual keyboard
2024-03-05 17:03:05 -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
e05daf0f11 M_GoBack: do not play sound effect on MBF_SOUNDLESS menus 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
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
toaster
0093dd13e6 M_Responder: "Quick" event polish
- Quick Retry (Y in modeattacking) now cannot be fired in demo.playback
- Add Quick Spectate (L+R+A+Start) per request
    - Only fires in Playing() + if gametype has spectator
    - Should support local splitscreen players, but can't test it by myself
    - If this input is held down in its full combination by p1, the pause menu itself will not open
    - Does NOT have any functionality if the player is already a spectator, it's just a quick bail
2024-02-29 00:27:09 +00:00
James R
f052228854 Let Profile menu music play in the Tutorial 2024-02-26 21:59:55 -08:00
James R
ae5a20756e Menus/Controls: overhaul multiple bindings input
- Replace the old method of adding each binding one at
  a time
- Hold up to 4 inputs at once, then release to bind those
  inputs to the control
- Changing the bindings overwrites the old bindings,
  instead of adding to them
2024-02-22 02:40:40 -08:00
Oni
ff20f38ffa Merge branch 'in-flight-menus' into 'master'
Course List QOL

See merge request KartKrew/Kart!1867
2024-01-28 23:31:59 +00:00
Sal
3958c15dfe New Credits 2024-01-28 23:31:30 +00:00
toaster
06c049bb7e More consistent lastOn --> itemOn and BGImage setting
Fixes Mari's background image bug
2024-01-27 00:02:16 +00:00
toaster
5e85de05ec QOL: Also support left/right inputs switching the Course from the top-level Time Attack view directly
- Abstracts out M_LevelSelectCupSwitch
- Pre-emptively supports cvars/arrow options on that menu
2024-01-25 22:40:52 +00:00
toaster
af01ae7bc5 Duplicate levellist data for menu restoration
- More consistent and graceful recovery from gametype change
- Fix a potential bug with restoring the menu from Tutorial stages
- Store the calling menu in this struct
    - Permits removing the Match Race restoreMenu hack
2024-01-25 22:40:51 +00:00
Eidolon
02e56a304e Reset all gamekeydown arrays for all devices 2024-01-11 22:04:13 -06:00
toaster
b5c1e89645 Merge branch 'goner-assignment' into 'master'
Assign p1 device during goner/title + unassign all

See merge request KartKrew/Kart!1768
2024-01-05 12:35:20 +00:00
Eidolon
746da46321 Read staff ghosts from pk3 directory 2024-01-02 21:05:43 -06:00
Eidolon
30cd354014 Assign p1 device during goner/title + unassign all
Avoids the controller reassignment message and ensures only one
controller participates in goner setup. Also unassign all devices when
returning to the title screen
2024-01-02 14:38:42 -06:00
James R
9df8dd2bc0 consvar_t: add step_amount field, used by menus 2024-01-01 03:05:17 -08:00
James R
99baf4e8e1 Menus: cycle float values correctly
- Left of MIN: largest value not within MIN/MAX
  - Keep going left to wrap around to MAX
- Right of MAX: smallest value not within MIN/MAX
  - Keep going right to wrap around to MIN
- Always lands on MIN/MAX
- Trailing zeroes removed
  - Keep ".0" at the end (for style)
2024-01-01 03:05:17 -08:00
AJ Martinez
deb9770c80 Use less aggressive menu delay rampup 2023-12-30 22:46:39 -07:00
James R
41155fd81b Menus: press C to reset text box options to default 2023-12-29 19:24:48 -08:00
James R.
d0e1d0a42a Merge branch 'menu-indents-pass-1' into 'master'
Menu indentation for selected options (first pass)

See merge request KartKrew/Kart!1736
2023-12-29 13:40:51 +00:00
Oni
1ca12f2170 Merge branch 'cache-virtual-kb' into 'master'
Menus/Virtual Keyboard: cache cvar string for duration of typing

See merge request KartKrew/Kart!1737
2023-12-29 09:14:11 +00:00
Sally Coolatta
719f4355a2 Randomize menu backgrounds
Can be any unlocked, non-Special Stage, non-boss map with a thumbnail.
2023-12-28 23:39:10 -05:00
James R
0ef1abcf3a Menus/Virtual Keyboard: cache cvar string for duration of typing
This avoids calling cvar callbacks after every key press.
2023-12-28 05:54:01 -08:00