Commit graph

19 commits

Author SHA1 Message Date
Oni
82e63d36c3 Merge branch 'photosensitivity' into 'master'
Color profile sub-menu in Video Options

See merge request KartKrew/RingRacers!61
2025-08-27 23:03:09 +00:00
Eidolon
a4d304a1f5 Update copyright years to 2025 2025-02-13 15:32:26 -06:00
FreakyMutantMan
a92b116c77 Basic color profile menu functionality. 2024-11-01 21:34:53 -07:00
James R
8d2f8ef479 Copyright fixup: Kart Krew - menus 2024-03-28 19:20:59 -07: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
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
Eidolon
0156db0dc1 Add optional CRT screen effect 2024-03-06 22:39:21 -06:00
Eidolon
591af1ab95 Add parallelsoftware cvar
In the rare case where kernel thread scheduling causes hitching issues
(SteamOS?), there should be an option to dynamically toggle multithread
dispatch of plane drawing.
2024-01-29 19:26:04 -06:00
AJ Martinez
b56a202cc6 Remove gamma slider from menus 2024-01-12 16:28:30 -07:00
James R
34b042e459 Menus/Video Options: put draw distance and skyboxes inside Advanced drawer 2024-01-01 03:05:17 -08:00
James R
07afa214c7 Menus/Video Options: shrink menu width 2023-12-29 19:24:47 -08:00
toaster
c65c45dcf9 Minimum mergeable work to finish off branch
- Seperate into "This Profile only" and "For all Profiles"
- Move screen tilting and reducevfx from Video Options to Accessibility submenu, under "For all Profiles"
- Adjust spacing on menu
2023-12-29 14:32:37 +00:00
toaster
24b5bb8f86 Options menu pass 1
- Surface ReduceVFX and Tilting
- Group the Show FPS, Input Delay, and FOCUS LOST together on HUD options
- Reduce the importance of console
    - Console back colour now exclusively part of the Online Chat Options
    - Hide Console text size
- Move Chat Spam Protection to Server Options
- Improve some tooltips
     - Skyboxes
     - Message tint
- Remove embarassing waifu hidden text
2023-12-08 20:47:05 +00:00
toaster
85d8cfdf85 menu_t: Add bgroutine
All backgrounds are now handled by a seperate routine.
This will allow more fine handling without a ton of special cases everywhere.
Creates an absolutely nasty diff because all menu_t have been updated in one blast 🥹
For the things that DO need to draw outside of GS_MENU (M_DrawOptionsCogs, the Wrongwarp), the behaviourflag MBF_DRAWBGWHILEPLAYING has also been added.
2023-12-04 20:10:03 +00:00
Eidolon
af59e95634 Add vid_wait to options, adjust texts 2023-11-11 10:38:21 -06:00
toaster
42cc95f6ed menubehaviourflags_t / (menu_t).behaviourflags
- MBF_UD_LR_FLIPPED
    - Genericisation of the control flip for PAUSE_PlaybackMenuDef
- MBF_SOUNDLESS
    - Do not create sound for default menu actions
2023-03-25 22:39:07 +00:00
toaster
03d422560d menu_t, M_PlayMenuJam: const char *music parameter
If Playing(), does nothing.
- If NULL, cycle between Cascade Cave as is traditional.
- If ".", stop music. (will one day be used for sound test)
- Any other case, call S_ChangeMusicInternal on the string directly

Notable menu sets:
- All Extra menus, excepting the Replay Hut, use "EXTRAS"
- Replay Hut uses "REPLAY"
- All online menus use "NETMD2".
    - I know we wanted to do something with switching between "NETMDE" and "NETMD2". I would prefer a more consistent API for transferring song position across between tracks be implemented before implementing this.
    - Known bug: Music restarts when exiting from failed connection screen
    - Known bug: Music goes back to Cascade Cave when selecting "GO" for server creation
        - Wontfix as we want that button to go directly to the voting screen, which we can do in a voting revamp branch
- Data Erase, Profile Erase: "SHWDN2"
    - Not in the spec but I think it's both funny and a valuable tell for the most "dangerous" menu to play with.
    - Also shifts the background to SKINCOLOR_BLACK
2023-02-01 23:15:51 +00:00
James R
0b3d04bbfd Split k_menudef.c into menus subdirectory
- src/menu contains files for each menu's definitions.
- src/menu/transient contains menus which are reused in
many places or are separate from Main Menu entirely.

File names ending in "-1" are menus which contain
a submenu. The suffix is added so that the parent menu
sorts before all its children in directory lists.

It's also done so Tab completion doesn't stop such that
a hyphen (-) would need to be typed.

For example (this is how I auto complete file names):

"ex" <TAB> completes to "extras" because the choices are
"extras.c" or "extras-addons.c" etc. Now you need to reach
away from the home row of a keyboard to type a "-" in
order to complete any of the submenu file names.

VS

"ex" <TAB> completes to "extras-". You only need to reach
to type a "1" for one menu. There may be more than one
submenu and submenu names start with letters, which are
closer to the home row.
2023-01-07 07:40:45 -08:00