Commit graph

511 commits

Author SHA1 Message Date
James R
535bda8b88 Menus/Controls: draw tooltip at bottom of the screen 2024-02-22 02:31:52 -08:00
James R
ea2fffb79d Menus/Controls: draw d-pad 2024-02-22 02:31:52 -08:00
James R
c5bf07d252 Menus/Controls: draw controller buttons 2024-02-22 02:31:52 -08:00
James R
4da25dc881 Menus/Controls: fix panning for d-pad 2024-02-22 02:31:52 -08:00
James R
a902d83dce Menus/Controls: button controls use tooltip icons, inline description 2024-02-22 02:31:52 -08:00
James R
075aa11a79 Menus/Profiles: indent selected option 2024-02-22 02:31:52 -08:00
James R
af285f309c Menus/Profiles: tweak character select interpolation 2024-02-22 02:31:51 -08:00
James R
ce7d22d029 Pause menu: display map icon, map name and currently playing song credit 2024-02-09 18:13:35 -08:00
James R
1a0525b0c0 Adjust position of PAUSE graphic
- Move the graphic up a little
- Fix position on pause menu in non-green resolutions
2024-02-09 18:13:35 -08:00
James R
3646850ff6 Menus: handle caret codes in text fields
- All text boxes render caret code colors
- On-screen keyboard updates colors in real time
2024-02-02 04:30:24 -08:00
James R
4adadb0167 Menus/Replay: use menu font 2024-01-28 17:56:38 -08:00
James R
e0583a19b3 Menus/Replay: do not draw border in non-green resolutions
The border draws over the buttons, which makes the menu
practically unusable. Not drawing the border is the
simplest thing I could do to fix this.
2024-01-28 17:56:38 -08:00
Oni
1e916dee77 Merge branch 'debug-challenges' into 'master'
DEVELOP: add debugchallenges cheat

See merge request KartKrew/Kart!1822
2024-01-17 05:33:23 +00:00
James R
9d1492eb66 DEVELOP: add debugchallenges cheat
- Chao Keys cost nothing
- Chao Keys unlock any tile, no matter if it has a hint or
  is a major unlock
- Chao Keys can relock any tile (un-unlock)
- Unlock animations play at the fastest speed
  - Affects Chao Keys as well as organic unlocks
- Tiles are automatically flipped so you can see the
  content of every unlock all at once
2024-01-11 17:45:46 -08:00
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