Commit graph

521 commits

Author SHA1 Message Date
Oni
b943d8d088 Merge branch 'addon-settings' into 'master'
Addon Options from pause menu

Closes #1153

See merge request KartKrew/Kart!2096
2024-03-14 01:32:49 +00:00
AJ Martinez
65cee65b47 Merge branch 'battle-director' into 'master'
Director in Battle; Director toggle in replays

Closes #975

See merge request KartKrew/Kart!2091
2024-03-13 12:43:40 +00:00
AJ Martinez
ba30645494 Addon Options: cannot switch to admin mode without admin perms 2024-03-12 21:46:14 -07:00
AJ Martinez
2d348373d2 Add low-effort help text for commands 2024-03-12 21:34:52 -07:00
SteelT
73c9a7a90f Fix roundqueue empty error starting a splitscreen GP
Fixes KartKrew/Kart#1156
2024-03-12 12:04:18 -04:00
AJ Martinez
4564afba23 Ditch the flags debug print 2024-03-11 23:29:00 -07:00
AJ Martinez
fab2ebdf57 Add commands to Addon Options, add COM_NOSHOWHELP 2024-03-11 23:25:50 -07:00
AJ Martinez
0fa2538142 Let Lua assign "description" via CV_RegisterVar 2024-03-11 22:27:15 -07:00
AJ Martinez
ee72a4c7db WIP: Addon Options from pause menu 2024-03-11 20:59:14 -07:00
AJ Martinez
900ff050d7 Merge branch 'fix-vote-hum' into 'master'
Fix vote screen stacking sound effects + one convenience feature

Closes #1140

See merge request KartKrew/Kart!2089
2024-03-12 00:08:03 +00:00
AJ Martinez
c019dfa517 Merge branch 'last-music' into 'master'
Last Music

See merge request KartKrew/Kart!2076
2024-03-12 00:07:25 +00:00
James R
92261733f4 Replays: add Director toggle
- Very basic, no feedback other than the viewpoint
  changing
- Uses Shutterbug unlock graphic
2024-03-11 07:10:34 -07:00
James R
2f3bc714a8 Menus/Pause: A button on gametype always goes to vote
- Instead of playing a bumper noise if you selected the
  same gametype as the current one
2024-03-11 03:15:07 -07:00
AJ Martinez
540dc15c26 Add antigrief to Server Options 2024-03-10 20:34:42 -07:00
James R
032c5bb27c Replays: fix ghosts not being freed if Time Attacking and letting the map exit without manually returning to the menu
- Fixes a very specific crash
- Record a Time Attack
- Let the map exit naturally
  - I tested by FALLING OUT of a Sealed Star
- Start recording another Time Attack
  - I tested by going to the same map again
- Result
  - One of three possibilities
  - Z_Free: wrong id
  - SIGSEGV
  - Game freezes and hangs forever
- I also wrote detailed comments in M_EndModeAttackRun so
  you know what it's supposed to be doing
2024-03-10 14:32:07 -07:00
toaster
618d40882a Add the ability to play SECRET_ALTMUSIC music on the Challenges screen
Supports both standard play and "E Side", if it exists (justification for Encore using the same CD)
2024-03-10 21:18:15 +00:00
toaster
55cbf07a28 Patch over MapWarp not meshing with Time Attack
Prints a message saying your time wasn't recorded and you should try a different mode
2024-03-09 20:33:24 +00:00
toaster
4aa13105c4 Fix problems exposed by a Round Star potentially being the first entry in a Cup
- Don't assume that the first Round in a Cup defines the default gametype for it
    - Now consistently uses GT_RACE
    - It was written this way to try and permit non-Race cups in future...
    - But there are much more solid ways to approach this down the line, instead of overloading this pre-existing data.
- cup-select.c: Don't assume `roundqueue.position == 1` means starting a fresh Cup from scratch
- G_HandleSaveLevel: Allow saving GP backups for overridden Courses at the front of the roundqueue
2024-03-09 20:33:24 +00:00
AJ Martinez
01dce3665a Merge branch 'last-jartha-menu-fixes' into 'master'
jartha's final menu and HUD fixes/polish

Closes #846, #1039, #868, #996, and #823

See merge request KartKrew/Kart!2036
2024-03-08 08:41:19 +00:00
AJ Martinez
7391094ef2 Minor timeout/delaylimit presentation fixes 2024-03-07 19:55:33 -07:00
AJ Martinez
f29dce3161 Options: tyop fixes 2024-03-07 19:16:02 -07:00
James R
1e578a1779 Menus/Options: reorganize and rename
- Tried to make verbiage consistent in tooltips
- Move advanced video options into submenu
- Remove console chat option
- Move some really technical options from Data to submenu
2024-03-07 16:11:11 -08:00
James R
bc9c778bb5 Menus/Video Options: fix "Set Resolution..." submenu not having the arrow 2024-03-07 15:26:59 -08:00
James R
38811b2e4c Menus/Host: fix Gameplay Options and Server Options showing wrong header
- Previously could say VIDEO OPTIONS etc in those menus,
  when accessed from Host menu shortcut
2024-03-07 09:09:14 -08:00
James R
5607e8e393 Menus: reset options menu header position from shortcuts in Match Race and Host menus
- Match Race, Y button
- Host, Gameplay Options and Server Options
2024-03-07 09:08:20 -08:00
Eidolon
0156db0dc1 Add optional CRT screen effect 2024-03-06 22:39:21 -06:00
AJ Martinez
10d2bb4511 Fix in-flight merge conflict re M_OpenVirtualKeyboard args 2024-03-05 22:03:13 -07:00
Oni
bf8e2a5443 Merge branch 'fix-virtual-keyboard-shift' into 'master'
Rewrite virtual keyboard gamepad-keyboard switching to be responsive

Closes #1115 and #1079

See merge request KartKrew/Kart!2023
2024-03-06 02:37:26 +00:00
Oni
7e7abb3172 Merge branch 'fix-online-menu' into 'master'
Online menu light redesign

Closes #995

See merge request KartKrew/Kart!2021
2024-03-06 02:27:36 +00:00
James R
179597e70d Menus/Online: light redesign
- Mostly hijacks the gamemode menu format (Local Play)
- Host
  - Select gametype (Race, Battle)
  - Shortcuts to Gameplay Options and Server Options
  - Select map
- Browser
  - Unchanged
- Direct Join
  - Press A to enter an IP address
  - Press C to reconnect to the last joined server
  - Left/right cycles through the server history
2024-03-05 17:26:46 -08:00
James R
ef4aab8d06 M_AbortVirtualKeyboard: reset menutypingfade too
If the menu is closed immediately after virtual keyboard
begins closing, the keyboard would open instantly next
time (no animation).
2024-03-05 17:26:46 -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
toaster
9b9c2cbcb6 M_EndModeAttackRun: Fix recursivity issue that resulted in natural ends to replays losing track of restoreMenu 2024-03-05 13:21:38 -08:00
toaster
7f0df71558 R_SkinAvailableEX
- Most R_SkinAvailable calls should be returning index into demo.skinlist (same numerical value as when demo was recorded), for demo sync
- A handful of general things permit exception for this
- Expose `replaynumskins` (calculated as `(demo.playback ? demo.numskins : numskins)`) to Lua
    - There's *always* more that can be done for this, but this is the minimum spec that can at least be somewhat stable
2024-03-05 13:21:38 -08:00
James R
df2e4f57fd Menus/Accessibility: add FOV option, 70 to 110
Adds FOV to profiles json
2024-03-04 22:11:35 -08: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
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
0dec816ec9 Don't use matchbots dummy cvar when starting netgames 2024-03-03 22:24:33 -07:00
AJ Martinez
6987e6516d Add bot and PWR options to Server Options 2024-03-03 21:23:32 -07: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
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.
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
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
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
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
James R
e44d1759dd Menus/Accessibility: add Input Display option 2024-03-02 00:18:33 -08:00