Commit graph

25393 commits

Author SHA1 Message Date
James R
15b34a96ac M_DrawGenericOptions: draw arrow next to submenu options
Arrow automatically takes color from first character of
item label string
2023-12-29 19:24:47 -08:00
James R
de4e68f6f4 M_DrawGenericOptions: use IT_HEADER to create "drawers" (boxes) that collapse items
- IT_HEADER marks the start of a drawer
- The next IT_HEADER (which also starts another drawer) or
  IT_DYBIGSPACE marks the end of the drawer
- Every item within the drawer is hidden by default and
  does not take any space
- Navigating the cursor into the drawer opens it and shows
  all the items inside
2023-12-29 19:24:47 -08:00
James R
58f5952ddc Menus: replace slider with simpler construct 2023-12-29 19:24:47 -08:00
James R
53f686f797 Menus: for settings lists, draw underline for selected option 2023-12-29 19:24:46 -08:00
James R
6fdea9c1ba Menus/Time Attack: add cursor hand 2023-12-29 19:24:46 -08:00
James R
72f885e6ba Menus: draw headers in orange 2023-12-29 19:24:46 -08:00
James R
3e7d377de5 Menus: use menu font
Small adjustments made in various places to account for
new font being 1px taller.

Some options menus may be too densely packed and will need
adjustment.

User input (virtual keyboard, addons menu) remains console
font. I also did not touch Replay HUD or Online menu.
2023-12-29 19:24:46 -08:00
James R
1c056acc2c srb2::Draw: add menu font 2023-12-29 17:03:54 -08:00
James R
6d929b6be9 V_GetFontSpecification: bunch menu font 2023-12-29 17:03:54 -08:00
Oni
af28f30d84 Merge branch 'menu-interp-pass-1' into 'master'
MENU INTERPOLATION (FIRST PASS)

See merge request KartKrew/Kart!1733
2023-12-29 23:49:30 +00:00
Oni
fd7c08395f Merge branch 'fix-stereo-fade' into 'master'
Stereo Mode: fix unsequenced track fading at the end

Closes #811

See merge request KartKrew/Kart!1746
2023-12-29 21:45:59 +00:00
Oni
b7e76d5b96 Merge branch 'longer-ufo-intangibility' into 'master'
Special UFO: post-damage intangibility tics 30 => 60

Closes #786

See merge request KartKrew/Kart!1711
2023-12-29 20:04:22 +00:00
Oni
146cd745a7 Merge branch 'menu-highlight-non-default' into 'master'
Specially highlight menu settings which differ from the default value

See merge request KartKrew/Kart!1732
2023-12-29 19:19:49 +00:00
Oni
dbafe3fe91 Merge branch 'profile-polish' into 'master'
Profile card: add Accessibility menu

See merge request KartKrew/Kart!1729
2023-12-29 19:06:09 +00:00
James R
a5410244d3 Menus/GP, Match Race: interpolate with menu transition 2023-12-29 08:29:50 -08:00
James R
6574d0065a Menus/Sound Options: interpolate custom sliders with transition 2023-12-29 08:23:12 -08:00
James R
95378ade8f k_menu: move easing helper functions to k_menu.h 2023-12-29 08:22:43 -08:00
James R
3faf0d02ba Menus/Options, Profiles: slow down easing animations by 1 tic 2023-12-29 08:15:19 -08:00
James R
a461a6cfb2 Menus/Profiles: interpolate with menu transition
Replaced some linear transitions according to taste.
2023-12-29 08:15:19 -08:00
James R
e7c240bf7f Stereo Mode: turn on SEQ after the song has looped past its limit -> next track 2023-12-29 07:36:08 -08:00
James R
076cea7047 Stereo Mode: stop Stereo after unlooped, unsequenced track ends 2023-12-29 07:30:54 -08:00
James R
9a4d18bd7d Menus/Profiles: fix card select animation 2023-12-29 07:27:01 -08:00
James R
d6439b8462 Menus/Options: tweak easing algorithm 2023-12-29 07:23:06 -08:00
James R
f1b4444395 Menus/Options: align moving button with menu scroll 2023-12-29 07:22:14 -08:00
James R
91452fcfed Menus/Options: use fixed-point positioning
This avoids a precision error when compared with the
moving button.
2023-12-29 07:14:47 -08:00
James R
efc2e800f8 Menus/Profiles: slide button a little further off-screen 2023-12-29 07:10:22 -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
James R
a1c76b044e Menus/Time Attack: interpolate menu transition 2023-12-29 05:56:23 -08:00
James R
67e76ae720 Menus/Level Select: fix interp for Time Attack transition 2023-12-29 05:47:27 -08:00
James R
c805cdc24a Menus/Erase Profile: interpolate with menu transition 2023-12-29 05:46:56 -08:00
James R
4733cef0d7 Menus/Set Resolution: interpolate with menu transition 2023-12-29 05:46:56 -08:00
James R
90670d3e24 M_DrawGenericOptions: interpolate with menu transition 2023-12-29 05:46:56 -08:00
James R
ecc7b466af Menus/Options: interpolate main Options menu
Profiles menu is touched too out of necessity (since these
share state). However, no mind has been paid to Profiles.

I have not tested Profiles after this change.
2023-12-29 05:46:56 -08:00
James R
8a2e0469e9 Menus/Extras: interpolate
- Uses a different easing
2023-12-29 05:46:56 -08:00
James R
d9f0f70987 Menus/Level Select: interpolate
- Uses slightly different easing
2023-12-29 05:46:56 -08:00
James R
1c2ed2b306 Menus/Cup Grid: stagger cursor movement 2023-12-29 05:46:56 -08:00
James R
6ac24cf3f4 Menus/Cup Grid: interpolate slide away 2023-12-29 05:46:56 -08:00
James R
5d35c97955 Menus/Cup Grid: interpolate scrolling level previews 2023-12-29 05:46:56 -08:00
James R
ec2ecd2e62 Menus: interpolate Gamemode menu transitions 2023-12-29 05:46:56 -08:00
James R.
fd26fc6287 Merge branch 'pushable-pugilism' into 'master'
K_JustBumpedException: Don't allow phasing through MF_PUSHABLE

See merge request KartKrew/Kart!1740
2023-12-29 13:41:12 +00:00
James R.
26ec935bba Merge branch 'char-select-polish-pass-1' into 'master'
Character Select polish for Profile selection

See merge request KartKrew/Kart!1735
2023-12-29 13:41:02 +00: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
James R.
d3cb721381 Merge branch 'time-attack-rng' into 'master'
Use deterministic RNG seed for Time Attack

See merge request KartKrew/Kart!1741
2023-12-29 13:39:54 +00:00
James R
cfc3b66707 M_DrawGenericOptions: highlight non-default cvar value in orange and display dot beside 2023-12-29 05:36:38 -08:00
James R
95f4768e46 Stereo Mode: fix unsequenced track fading at the end
- Starts both stereo and stereo_fade in tandem
- Suspends the tune which is not to be heard
- Swaps suspension when toggling SEQ
- Special handling so fade-out can not be interrupted by
  switching off SEQ
2023-12-29 04:54:55 -08:00
James R
64aaf02b8a soundtest: refactor to track tune with integer instead of string 2023-12-29 04:30:54 -08:00
James R
8855486864 Add Music_FadeOutDuration 2023-12-29 04:26:05 -08:00
James R
fed42c4cd6 Music Manager: add suspension functionality
Suspending a tune makes it inaudible, but doesn't change
its timing. During suspension, other tunes may come into
priority. After un-suspending, the tune plays from the
point where it would be if it had not been suspended at
all.
2023-12-29 04:25:36 -08:00
James R
595d078a83 Menu: move mindelay option to Profiles/Accessibility 2023-12-29 11:03:48 +00:00
James R
48fcc38691 Profile card: add Accessibility menu
- Move "Toggles" from Controls to Accessibility
2023-12-29 11:03:47 +00:00