Commit graph

25460 commits

Author SHA1 Message Date
Oni
bbefffa738 Merge branch 'new-menu-font' into 'master'
Menu Polish Pass 2: new font, big hand, sleek slider, option drawers

See merge request KartKrew/Kart!1748
2023-12-30 03:56:10 +00:00
James R
3a21bee937 Menus/Profiles Accessibility: use menu font, underlines and hand 2023-12-29 19:24:48 -08:00
James R
a7db45c73b M_DrawCursorHand, M_DrawUnderline: extern in k_menu.h 2023-12-29 19:24:48 -08:00
James R
41155fd81b Menus: press C to reset text box options to default 2023-12-29 19:24:48 -08:00
James R
700df854dc Menus: fix/tweak option text box
- Fixed width to match new font spacing
- Adjusted arrow position
2023-12-29 19:24:48 -08:00
James R
07afa214c7 Menus/Video Options: shrink menu width 2023-12-29 19:24:47 -08:00
James R
95ff48f8a4 Menus: draw hand cursor consistently 2023-12-29 19:24:47 -08:00
James R
de6e1ab5c9 M_DrawGenericOptions: animate drawer opening 2023-12-29 19:24:47 -08:00
James R
e226369d06 Menus/Server Options: make some quick n dirty drawers
No special care taken to fully polish this. Just doing it
so "Advanced options" is visible again.
2023-12-29 19:24:47 -08:00
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
AJ Martinez
a0e4c10f77 Remove bot difficulty debug print 2023-12-29 20:05:02 -07:00
AJ Martinez
b90004c1a8 Extra bot difficulty docs 2023-12-29 19:35:38 -07:00
AJ Martinez
2a9351f36e Adjust bot difficulty adjustments 2023-12-29 18:09:13 -07: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