Commit graph

473 commits

Author SHA1 Message Date
toaster
616d2bb87a Menu Messages only animate when menuwipe is stopped
Reduces the amount of moving parts we have to worry about. Fire M_StartMessage at the same time you change a menu without worry!
2024-03-03 00:24:31 +00:00
toaster
e8523b69f0 Sealed Star re-ordering (resolves #606)
- If emerald not yet collected on that cup, pick the first uncollected emerald, then get the cup's CUPCACHE_SPECIAL with that ID to pick the stage
- Already collected emeralds retain their swappage across gamedata saves
- Returns to normal order if you get all 7 OR Special Mode is unlocked (chao key? debug? password in modded games? sky's the limit)
- Pops up a Message from the Stars telling you the gems have been returned to their natural place
- Add-ons will always use their dedicated sealed star, since it's unordered material

If it weren't so last minute I could have a better solution for GP Backups, but right now what I've gone for is it always trusts whatever G_GPCupIntoRoundQueue does AS LONG AS THE COURSE ISN'T THE ONE YOU'RE RELOADING INTO. If it IS, then it checks to see if it's exactly what's been saved, and complains (with the generic error message, unfortunately) if it isn't.
2024-03-03 00:24:31 +00:00
James R
adebfb000c Replays: keep party in sync with current viewpoints
- More and more parts of the game rely on parties
- Parties are assumed to match the displayplayers
- This fixes A/B/C/D nametags
2024-03-01 06:09:07 -08:00
toaster
038016252a The pause menu Spectator toggle now supports splitscreen again (resolves #981) 2024-02-28 20:05:11 +00:00
Oni
693c177572 Merge branch 'gears' into 'master'
Replace Easy, Normal, Hard speed with Gear 1, 2, 3; also debugchallenges and console changes

See merge request KartKrew/Kart!1962
2024-02-28 03:12:54 +00:00
Oni
7e184a003e Merge branch 'gl-is-legacy' into 'master'
Warn about OpenGL's shortcomings

See merge request KartKrew/Kart!1961
2024-02-28 01:10:35 +00:00
James R
2ad3902ff0 Menus/Grand Prix: tooltips for difficulty selection 2024-02-27 06:40:05 -08:00
AJ Martinez
1813ea562e Warn about OpenGL's shortcomings 2024-02-27 02:46:12 -07:00
James R
9288b7f079 Menus/Accessibility: shorten "Screenshake Strength" to "Screenshake"
The longer text doesn't quite fit on screen.
2024-02-26 22:04:19 -08:00
Oni
74bfac57e4 Merge branch 'time-attack-annoyances' into 'master'
Time attack annoyances

Closes #1062 and #1064

See merge request KartKrew/Kart!1947
2024-02-25 07:23:49 +00:00
James R
5e37aa12a5 Replace memcpy to gamecontrol with G_ApplyControlScheme 2024-02-24 21:29:18 -08:00
Eidolon
3c63b84299 Skip titlecard for modeattacking except VERSUS
Fixes KartKrew/Kart#1062
2024-02-24 17:38:28 -06:00
James R.
db49975d67 Merge branch 'add-generic-sfx' into 'master'
Add generic SFX (and use two of 'em for virtual keyboard)

See merge request KartKrew/Kart!1930
2024-02-24 07:21:45 +00:00
Oni
9491c54e9d Merge branch 'separate-spb-attack-records' into 'master'
Separate/Encoreize SPB Attack records from normal Time Attack records

Closes #836

See merge request KartKrew/Kart!1875
2024-02-23 06:44:38 +00:00
toaster
7e217b74f5 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into separate-spb-attack-records
# Conflicts:
#	src/g_game.c
2024-02-23 00:57:40 +00:00
AJ Martinez
ce4c69100d Add input test sounds 2024-02-22 05:08:16 -07:00
James R
ae5a20756e Menus/Controls: overhaul multiple bindings input
- Replace the old method of adding each binding one at
  a time
- Hold up to 4 inputs at once, then release to bind those
  inputs to the control
- Changing the bindings overwrites the old bindings,
  instead of adding to them
2024-02-22 02:40:40 -08:00
James R
9523fd8652 Menus/Controls: add Bind Ben
- Hold right to scroll binding text into Bind Ben
  - Release right to cancel
  - When the text is done scrolling, Bind Ben begins
    chewing
    - Release right to have Bind Ben swallow
      - After Bind Ben swallows the binding text, he does
        a cute pose and the control is cleared
    - Press up or down to skip the swallow and pose
      animations and clear the control immediately
- Press C to have Bind Ben quickly eat the binding text
  and clear the control
2024-02-22 02:40:40 -08:00
James R
0766e8823b Menus/Controls: C (clear) plays chomp sound 2024-02-22 02:40:40 -08:00
James R
b0a5d01a1f Separate code into M_ClearCurrentControl function 2024-02-22 02:40:40 -08:00
James R
726415981f Menus/Controls: confirm changes on go back (bypassing confirm button) 2024-02-22 02:40:40 -08:00
James R
d2f48eda29 Menus/Controls: RESET TO DEFAULT and CLEAR ALL buttons 2024-02-22 02:40:40 -08:00
James R
a902d83dce Menus/Controls: button controls use tooltip icons, inline description 2024-02-22 02:31:52 -08:00
James R
cbff205edc Menus/Controls: rearrange some options
- Rename RECORD LOSSLESS to RECORD GIF
- Move SHOW RANKINGS above OPEN CHAT
- Move OPEN CONSOLE below LUA/C
- Rename EXTRA header to TEST AND CONFIRM
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
d4fad1926f Menus/Profiles: interpolate accessibility menu slide in 2024-02-22 02:31:52 -08:00
Eidolon
ee064b5395 Set stats menu music to EXSTAT 2024-02-21 17:37:01 -06:00
AJ Martinez
adef95cf55 Add generic SFX (and use two of 'em for virtual keyboard) 2024-02-17 22:57:53 -07:00
James R
2e60465638 debugchallenges: unset conditionset achieved
If you undo an unlock, fixes that unlock automatically
unlocking itself the next time conditions are evaluated.
2024-02-17 16:38:13 -08:00
toaster
d87fba3f57 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into separate-spb-attack-records 2024-02-17 23:13:06 +00:00
toaster
b70e59755f Tie SPB Attack and Encore together
- A method to access Encore in Time Attack
    - so we have SOME Encore singleplayer content on launch
- Also available for Versus mode (in Special Attack)
    - Finally, Encore rematches have a way to access them!
    - Obviously will not spawn a chasing SPB, it's just a signal for "hard mode"
- Relevant gametype + unlock checks have been abstracted into M_EncoreAttackTogglePermitted
2024-02-17 23:11:58 +00:00
James R
8bf2343a5d Egg TV: Prisons, Sealed Star and Versus icons 2024-02-12 18:22:59 -08:00
James R
822d67e422 Egg TV: rename "Special" mode to "Sealed Star" 2024-02-12 18:22:59 -08:00
James R
b275a14ec2 Egg TV: detect Prisons mode 2024-02-12 18:22:59 -08:00
toaster
3f78c9d2e6 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into separate-spb-attack-records
# Conflicts:
#	src/menus/play-local-race-time-attack.c
#	src/p_setup.cpp
2024-02-11 23:27:33 +00:00
Eidolon
1f3c070706 Merge branch 'fix-replay-wrong-button' into 'master'
Menus/Replay: fix "Backup Frame" button appearing when paused

See merge request KartKrew/Kart!1898
2024-02-06 01:11:55 +00:00
Oni
4ea946067a Merge branch 'srb2-tidy' into 'master'
Clear out unused SRB2/Kart stuff from info tables

See merge request KartKrew/Kart!1811
2024-02-03 19:40:52 +00:00
Oni
8aeeae24c3 Merge branch 'fix-demo-ghost-buffer-overrun' into 'master'
Large replay crash mitigation, replay buffer size option, debug command

Closes #656

See merge request KartKrew/Kart!1885
2024-02-01 03:00:26 +00:00
James R
3eb31010c4 Menus/Replay: fix "Backup Frame" button appearing when paused
It's just a visual bug; this button still restarts the
replay.
2024-01-30 21:50:28 -08:00
James R.
f2df82e58c Merge branch 'parallel-drawing-cvar' into 'master'
Add parallelsoftware cvar

See merge request KartKrew/Kart!1891
2024-01-31 01:51:46 +00:00
James R.
af14e43926 Merge branch 'match-race-menu-sounds' into 'master'
Menus/Match Race: sounds for Z/Y buttons

Closes #987

See merge request KartKrew/Kart!1888
2024-01-31 01:49:36 +00:00
James R
2a2149ad60 Use strlcpy for connectedservername/connectedservercontact
Fixes these buffers not being null-terminated at max
length.
2024-01-30 16:39:04 -08:00
Eidolon
591af1ab95 Add parallelsoftware cvar
In the rare case where kernel thread scheduling causes hitching issues
(SteamOS?), there should be an option to dynamically toggle multithread
dispatch of plane drawing.
2024-01-29 19:26:04 -06:00
James R
abbaf78ff1 Menus/Match Race: sounds for Z/Y buttons 2024-01-29 15:57:11 -08:00
SteelT
e057a5234f Fix MS debug log menu option changing wrong cvar 2024-01-29 18:42:55 -05:00
James R
09b90c3cf1 Replays: add netdemo_size cvar, add to Data Options
Controls size of replay buffer when recording
2024-01-29 02:18:46 -08:00
James R
b732d7bd43 Menus/Replay: replace rewind button with restart button
- Restarts the replay from the beginning
- New button graphic
2024-01-28 21:07:12 -08:00
James R
50781ded69 Menus/Replay: correctly adjust position of quit button in Time Attack 2024-01-28 17:56:35 -08:00
Oni
ff20f38ffa Merge branch 'in-flight-menus' into 'master'
Course List QOL

See merge request KartKrew/Kart!1867
2024-01-28 23:31:59 +00:00
Sal
3958c15dfe New Credits 2024-01-28 23:31:30 +00:00