Commit graph

497 commits

Author SHA1 Message Date
James R
cdd9b182e8 Menu/Set Resolution: highlight default mode
- Default mode text appears in orange
- Draw star next to default mode in list
2024-01-10 00:57:44 -08:00
AJ Martinez
369de749c4 Warn about resolutions above 1280x800 2024-01-09 23:32:50 -07:00
toaster
8f2c8b4a5d OVERSIGHT: Challenges board should be checking locked courses for M_DrawChallengePreview, too 2024-01-07 14:47:12 +00:00
toaster
e1d0db1175 Do not interpolate GP Backup indicator with cursor (resolves #839) 2024-01-07 14:34:53 +00:00
toaster
21e2be41db M_DrawCupPreview: Show static in place of courses which would not be accessible via Match Race (visitation/head of cupcache/NoVisitNeeded) 2024-01-07 13:58:24 +00:00
toaster
83366b6507 More universal Course restriction based on progression
All courses are restricted in Match Race/Time Attack/Online if not visited in GP UNLESS:
- It is the first Race Course of a Cup
- Course has "NoVisitNeeded = True`
    - The Controls Tutorial and Test Run are the only two stages that will need this

The above replaces:
- A lot of restricted courses having to be marked with `FinishNeeded = True`
    - Hidden Palace
    - Sealed Stars 1-14
        - Once Special Mode is unlocked, it will now be possible to practice Sealed Stars before rematching them in GP
- Almost all Tutorial-specific behaviour, since it was heinously hacky

HOWEVER, `FinishNeeded = True` was left in specifically for future releases, and I reserve the right to use it on Adventure Example again before launch.
2024-01-07 13:57:05 +00:00
toaster
601b39378d Precache static level graphics 2024-01-06 23:17:45 +00:00
toaster
9e3ca7a59b M_PickMenuBGMap: Change to work off map ID
Guarantees successful update when invalidated by level replacement
2024-01-06 16:56:44 +00:00
toaster
5c2a4ae68f M_DrawCupPreview: Fix interpolation flicker (resolves #832) 2024-01-05 22:37:50 +00:00
Oni
aa0fc8cbf8 Merge branch 'fix-focus-lost-width' into 'master'
Menus: only adjust text box size for menu options

See merge request KartKrew/Kart!1773
2024-01-05 01:10:56 +00:00
AJ Martinez
fe416626a5 Merge branch 'interp-challenges-scrolling' into 'master'
Interpolate scrolling on Challenge Board

See merge request KartKrew/Kart!1782
2024-01-04 22:21:45 +00:00
James R
9eb1f1403e Menus/Challenges: optimize drawing by caching unturned tile graphics once 2024-01-04 02:11:33 -08:00
James R
b676d5137e Menus/Challenges: interpolate scrolling 2024-01-04 01:16:41 -08:00
Eidolon
17a14208e2 Interpolate challenges menu 2024-01-03 13:20:50 -06:00
James R
73718478c9 Menus: only adjust text box size for menu options
- Fixes this applying to FOCUS LOST etc where it may be
  not use menu font.

partially revert 700df854dc
2024-01-02 20:44:16 -08:00
Oni
336b430f79 Merge branch 'polish-menu-options' into 'master'
More Menu Polish: organizing

See merge request KartKrew/Kart!1762
2024-01-03 01:29:11 +00:00
Oni
d26a535610 Merge branch 'polish-pause-menu' into 'master'
Interpolate pause menu

See merge request KartKrew/Kart!1760
2024-01-01 16:16:31 +00:00
James R
70cf10bc1e Menus: scrunch text box height 2024-01-01 03:05:18 -08:00
James R
f2bd45dbd9 k_menu: replace IT_WHITESTRING -> IT_LINKTEXT, draw arrow like IT_SUBMENU 2024-01-01 03:05:18 -08:00
James R
15ef71137c M_DrawGenericOptions: only shift down open drawer if preceded by a closed drawer 2024-01-01 03:05:17 -08:00
Oni
6b52c54c84 Merge branch 'kick-menu-hand' into 'master'
Menus/Kick: animate idle hand and adjust spacing for new hand graphic

See merge request KartKrew/Kart!1759
2024-01-01 03:48:21 +00:00
Oni
93b5211991 Merge branch 'match-race-item-toggles' into 'master'
Item Toggles menu polish + shortcuts on Match Race

See merge request KartKrew/Kart!1758
2023-12-31 20:06:49 +00:00
James R
322f7fc2a2 M_TimeFrac: interpolate when game is paused 2023-12-31 09:03:17 -08:00
James R
bef7c3634b Menus/Pause: interpolate 2023-12-31 08:44:40 -08:00
James R
850fe32e2f Menus/Kick: animate idle hand and adjust spacing for new hand graphic 2023-12-31 07:38:15 -08:00
James R
a36c46bbaa Menus/Pause: fix arrows 2023-12-31 07:20:39 -08:00
James R
188622ddd7 Menus/Item Toggles: optimize patch caching 2023-12-31 04:47:08 -08:00
James R
ccbbc3cf1a Menus/Item Toggles: interpolate with menu transition 2023-12-31 04:42:37 -08:00
James R
5e29486886 Menus/Item Toggles: strike through disabled items 2023-12-31 04:39:08 -08:00
James R
f1c2f3d309 Menus/Item Toggles: shade disabled items instead of making them transparent 2023-12-31 04:38:21 -08:00
James R
0c5858269f Menus/Match Race: show ring box for Item Toggles shortcut if thunderdome enabled 2023-12-31 01:58:22 -08:00
James R
3b5321fb0c Menus/Match Race: replace encore toggle with button prompt, add Item Toggles shortcut 2023-12-31 01:33:29 -08:00
James R
a7db45c73b M_DrawCursorHand, M_DrawUnderline: extern in k_menu.h 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
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
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
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
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
95378ade8f k_menu: move easing helper functions to k_menu.h 2023-12-29 08:22:43 -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