Commit graph

25460 commits

Author SHA1 Message Date
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
toaster
67b2f5e7de Call M_AnimateFollower in one place, instead of duplicating between general and specific func.
Should be resilient against additional setup steps added later!
2023-12-29 10:08:06 +00:00
toaster
15ef649e11 M_GetMenuCategoryFromFollower
Unified conversion for follower reference to menu category (as opposed to internal category).
Fixes Jartha's flicky bug.
2023-12-29 10:07:13 +00:00
James R
67aa3bb6e3 Menus/Character Select: animate follower when READY 2023-12-29 09:40:35 +00:00
James R
8b65779a4e Menus/Character Select: show character/follower behind ALL GOOD/CHANGE options
- Drawn at 50% transparency
2023-12-29 09:40:34 +00:00
James R
68a73a4bf0 Menus/Character Select: highlight selected Profile
Color is subject to change. I used Sapphire, but it
doesn't have any green in it. However, I used it because
it produces good saturation.
2023-12-29 09:40:34 +00:00
James R
30e94d81fe Menus/Character Select: interpolate Profile selection 2023-12-29 09:40:34 +00:00
Oni
7d35c0db4b Merge branch 'allow-top-tripwire' into 'master'
Allow Top to pass tripwire, once (resolves #814)

Closes #814

See merge request KartKrew/Kart!1743
2023-12-29 09:18:30 +00:00
Oni
1ca12f2170 Merge branch 'cache-virtual-kb' into 'master'
Menus/Virtual Keyboard: cache cvar string for duration of typing

See merge request KartKrew/Kart!1737
2023-12-29 09:14:11 +00:00
Oni
986152d88d Merge branch 'no-more-offroad-earthquake' into 'master'
Disable stairjank terrain and offroad rumble at 0 speed (resolves #813)

Closes #813

See merge request KartKrew/Kart!1744
2023-12-29 09:13:20 +00:00
James R
0de677055d srb2::audio::Gme: seek on background thread 2023-12-29 00:27:36 -08:00
Oni
5480143e78 Merge branch 'randomize-menu-bg' into 'master'
Randomize menu backgrounds

See merge request KartKrew/Kart!1742
2023-12-29 08:12:45 +00:00
AJ Martinez
3b425667e5 Disable stairjank terrain and offroad rumble at 0 speed 2023-12-28 23:47:03 -07:00
AJ Martinez
2169e7c899 Allow Top to pass tripwire, once 2023-12-28 23:27:34 -07:00
James R
290383364f Define M_TimeFrac et al ATTRUNUSED
see a7e8a4d5e
2023-12-28 21:53:00 -08:00
Sally Coolatta
719f4355a2 Randomize menu backgrounds
Can be any unlocked, non-Special Stage, non-boss map with a thumbnail.
2023-12-28 23:39:10 -05:00
Sally Coolatta
643538ab5a Use deterministic RNG seed for Time Attack
Based off of the hash from the map's lump name.
2023-12-28 22:10:40 -05:00
toaster
d14015ca21 K_JustBumpedException: Don't allow phasing through MF_PUSHABLE
Fixes the snowman wedge-inside issue
2023-12-28 17:39:41 +00:00
toaster
8d39bfb2cd P_InitPlayers: Use SetPlayerSkinByNum instead of direct assignment
Should fix Engine Class issue.
2023-12-28 16:44:42 +00:00
toaster
a7e8a4d5ee Temporarily define out M_TimeFrac, associated
Fixes -Werror=unused-function
2023-12-28 16:35:48 +00:00
toaster
6b984eab55 G_DoCompleted: Gamedata-handling updates
- Don't give Chao Keys, roundsplayed for failing a round in time attack modes (Prison Break/SPB Attack/Special Mode)
- Always defer a save, since playtime is constantly incremented over the course of the round and may not be saved with crashes at certain points
2023-12-28 16:25:54 +00:00
toaster
57724baf9f Merge branch 'fix-downward-camera' into 'master'
Fix slope camera in Software mode

Closes #626

See merge request KartKrew/Kart!1714
2023-12-28 14:56:40 +00:00
toaster
4d6c982b33 Merge branch 'new-cmake-presets-colors' into 'master'
Enable compiler color output for CMake presets

See merge request KartKrew/Kart!1697
2023-12-28 14:56:22 +00:00
toaster
89b8aa0a55 Merge branch 'challenge-consarnit' into 'master'
Challenge Consarn-it

See merge request KartKrew/Kart!1722
2023-12-28 14:55:53 +00:00
James R
0ef1abcf3a Menus/Virtual Keyboard: cache cvar string for duration of typing
This avoids calling cvar callbacks after every key press.
2023-12-28 05:54:01 -08:00
James R.
172951410b Merge branch 'menu-interp-helper' into 'master'
(CODE) Helper functions for menu interpolation

See merge request KartKrew/Kart!1731
2023-12-28 08:50:34 +00:00
James R
e114bf8f95 Menus: pop out highlighted button on Gamemode menus (except when fading in)
Effective for:

- Gamepad up/down
- Transition (without fade)

Does not affect buttons inside boxes. My reasoning here is
that these show arrows when highlighted anyway, so that
fulfills the extra feedback.
2023-12-27 12:26:30 -08:00
James R
0ff29a2a41 Menu/Match Race: indent settings when highlighted 2023-12-27 12:25:26 -08:00
James R
5d1d0deb6d M_DrawGenericOptions: indent highlighted option 2023-12-27 12:25:26 -08:00
James R
93e9bd5485 Add menu_anim_t and easing helper functions 2023-12-27 12:24:53 -08:00
toaster
2a1b2d427c G_DoLoadLevelEx: Don't fake profile set when transitioning to titlemap
Fixes Profile not being selectable on game boot, solving Charyb's recent issue
2023-12-27 17:07:03 +00:00
toaster
7691629903 Further cxdiag faff
- Loop over each set of conditions twice
    - first to determine relevant level/gametype
    - secondly to evaluate everything else in that context
- Pick up called events which are invalid for the relevant gametype
- Pick up multiple levels per single condition
2023-12-27 16:34:23 +00:00
toaster
80e519e442 mapheader_t destroyforchallenge: Actually read supplied mobjtypes past the first one
Fixes Joypolis chairs not being counted
2023-12-27 15:28:34 +00:00
toaster
a15f6280d7 UCRP_TRACKHAZARD fixes
- describe as "course hazard", not "track hazard", to match updated player-facing lingo
- Add rudimentary handling to allow achievement in Prison Break, Versus
2023-12-27 15:16:03 +00:00
toaster
a07aeef049 play-char-select.c: Reduce copypasted hell
Instead of manually handling every single transition, only simple transitions are unique.
Helper functions are used for the complicated transitions - Color selection if there's more than 1 colour, Follower selection if you have any followers unlocked, and the choice of Alts versus Character when going back.
Fixes a whole class of issues where, for example, you'd skip over setting your skincolor if you went through the Alts submenu, but not if there's only one character on that statblock.
2023-12-26 23:00:09 +00:00
toaster
bfa52b695e Character select: Fix mismatch between ground truth and unlock-dependent followercategory
Resolves Fyrus' follower select bug
2023-12-26 22:13:05 +00:00
toaster
122ede8de9 More cxdiag Challenge condition minor error identification 2023-12-26 17:23:17 +00:00
toaster
49e48c267a Use thin font for Challenge descriptions 2023-12-26 17:02:11 +00:00
toaster
920201621f Count PF_VOID as FAULTing during POSITION for the purpose of Challenges 2023-12-26 16:56:55 +00:00