Commit graph

26603 commits

Author SHA1 Message Date
toaster
fc3a0683ba Got_Mapcmd: Don't promote GTR_BOSS|GTR_SPECIAL to GPEVENT_SPECIAL unless the roundqueue size is 0
The original purpose was to make using the map command allow for multiple tries, ala standard console testing, but the condition was way too permissive and was promoting all esoteric map overrides to undue importance for the end of the Cup's evaluation.
2024-03-09 20:33:24 +00:00
toaster
4aa13105c4 Fix problems exposed by a Round Star potentially being the first entry in a Cup
- Don't assume that the first Round in a Cup defines the default gametype for it
    - Now consistently uses GT_RACE
    - It was written this way to try and permit non-Race cups in future...
    - But there are much more solid ways to approach this down the line, instead of overloading this pre-existing data.
- cup-select.c: Don't assume `roundqueue.position == 1` means starting a fresh Cup from scratch
- G_HandleSaveLevel: Allow saving GP backups for overridden Courses at the front of the roundqueue
2024-03-09 20:33:24 +00:00
toaster
161b46f3aa Store gametype string in gpringsav.bkp for overridden Rounds, too 2024-03-09 20:33:24 +00:00
toaster
e5964f862a Rejigger Grand Prix rank-related oversight exacerbated by MapWarp
If a stage is taken out of the running for Grand Prix mode and replaced with another, the rank data wasn't corrected. We were merely getting lucky that the one Round Star regularly accessible had the same number of laps as the course it replaced.
Now, Laps, Rings, and Prisons can be adjusted up or down depending on the number of each element you're expected to have with a perfect GP tally.

Related: To make it more friendly to call in multiple places, RankCapsules_CountFromMap has now been adjusted to take a course ID instead of a virtres_t.
2024-03-09 20:33:24 +00:00
toaster
c1fadac0a5 Permit gametype to be changed by MapWarp
- Simplest possible solution for the time remaining: If the current gametype doesn't overlap with the nextmapoverride's TOL, do G_GuessGametypeByTOL.
    - Future work: Allow an optional extra parameter to MapWarp to specify a specific Gametype by name.
- Fixes for tutorialchallenge
    - NEXTMAP_TUTORIALCHALLENGE is integrated into the above, to reduce duplicate code
    - Call D_GametypeChanged, which was previously missing
2024-03-09 20:33:24 +00:00
toaster
6f0710818f Add VSENT jingle to successful Versus conclusion 2024-03-09 20:33:24 +00:00
toaster
8180033ae1 Since Versus intros have special behaviour in time attack, also allow them to avoid the white fade/warp sound of MapWarp 2024-03-09 20:33:24 +00:00
toaster
4a36d5f947 MT_SPIKEDTARGET: Don't encoremap 2024-03-09 20:33:24 +00:00
toaster
748ef17cf7 Merge branch 'fix-challenge-grid-load-again' into 'master'
Use correct type for unlock IDs in loading

Closes #1134

See merge request KartKrew/Kart!2065
2024-03-09 20:32:31 +00:00
Oni
abe8963295 Merge branch 'limit-tumble-height' into 'master'
Limit added tumble height

Closes #1130

See merge request KartKrew/Kart!2060
2024-03-09 19:56:09 +00:00
Eidolon
49f644d5e9 Use correct type for unlock IDs in loading 2024-03-09 12:41:03 -06:00
Oni
1b3c63f24a Merge branch 'adventure-air-booster-hardcode' into 'master'
Hardcode Adventure Air Booster & Dimension Disaster objects

Closes #1116

See merge request KartKrew/Kart!2038
2024-03-09 08:28:51 +00:00
AJ Martinez
e41b6fcd2f Limit added tumble height 2024-03-09 00:15:07 -07:00
AJ Martinez
f9b88432eb Merge branch 'no-postrace-sting-sound' into 'master'
Don't play local Ring Sting sound postrace

See merge request KartKrew/Kart!2056
2024-03-09 06:03:51 +00:00
AJ Martinez
90753596e0 Merge branch 'fix-broly-underflow' into 'master'
Fix bugged SPB after player hits Fuel Canister (Lost Colony)

Closes #1083

See merge request KartKrew/Kart!2045
2024-03-09 06:03:30 +00:00
AJ Martinez
c4ed9ee19d Merge branch 'noclip-sealed-star-light-rays' into 'master'
Sealed Star Window: make light rays noclip, so they are not offset by level geometry

Closes #1059

See merge request KartKrew/Kart!2049
2024-03-09 06:03:22 +00:00
AJ Martinez
1ffb45ab7c Merge branch 'dont-celebrate-death' into 'master'
Don't play TA jingles for failed SPB Attack

See merge request KartKrew/Kart!2054
2024-03-09 06:03:13 +00:00
AJ Martinez
724b3a1a02 Merge branch 'shrinkscaler' into 'master'
Scale Shrink time to laser particle size

See merge request KartKrew/Kart!2057
2024-03-09 06:02:50 +00:00
AJ Martinez
9e76eed839 Don't SIGINT when doing shrink scaling (uninitialized cusval on gun) 2024-03-08 22:52:50 -07:00
Lach
5e70a5b8e7 Scale Adventure Air Booster centerpiece from its center 2024-03-09 16:52:30 +11:00
AJ Martinez
ed6743911a Scale Shrink time to laser particle size 2024-03-08 22:15:22 -07:00
Oni
3f28fb005d Merge branch 'overtime-corners' into 'master'
Battle: measure overtime barrier radius by minimap corners, instead of edges

Closes #982

See merge request KartKrew/Kart!2047
2024-03-09 05:08:38 +00:00
Oni
c0cf464f5d Merge branch 'fix-respawn-quick-drop' into 'master'
Fix not being able to manually drop from lightsnake if respawning in spinout

Closes #1037

See merge request KartKrew/Kart!2046
2024-03-09 05:08:29 +00:00
Oni
5b24319b1e Merge branch 'glance-z-check' into 'master'
Add Z height check to glancing

Closes #843

See merge request KartKrew/Kart!2051
2024-03-09 05:07:52 +00:00
Lach
99908c0700 Allow Adventure Air Boosters to be chained with each other or dash rings 2024-03-09 15:44:02 +11:00
AJ Martinez
c969e88605 Don't play local Ring Sting sound postrace 2024-03-08 21:23:40 -07:00
Lach
2f19582941 Merge remote-tracking branch 'origin/master' into adventure-air-booster-hardcode 2024-03-09 15:19:29 +11:00
SteelT
40bc2250f3 Merge branch 'fix-message-box-height' into 'master'
Menus: fix multi-line message box text not fitting in the box

See merge request KartKrew/Kart!2042
2024-03-09 03:32:38 +00:00
Oni
656dce6dd4 Merge branch 'fix-audience-jump-height' into 'master'
Fix audience jumping too high

Closes #675

See merge request KartKrew/Kart!2050
2024-03-09 03:13:29 +00:00
Oni
7bfc84b968 Merge branch 'ring-debt-interp-fix' into 'master'
Fix interpolation of ring debt indicator

See merge request KartKrew/Kart!2052
2024-03-09 03:12:47 +00:00
Oni
6800ba3cf4 Merge branch 'stupid-input-events' into 'master'
Fix the last 128 input events repeating when restarting Time Attack with the Y button

See merge request KartKrew/Kart!2044
2024-03-09 03:12:35 +00:00
AJ Martinez
f0935551f3 Don't play TA jingles for failed SPB Attack 2024-03-08 20:05:19 -07:00
Oni
91a26d7854 Merge branch 'last-battle-polish' into 'master'
Last Battle polish

Closes #914, #983, #1126, #1101, and #980

See merge request KartKrew/Kart!2035
2024-03-09 02:56:26 +00:00
James R
6993f12dff Power-ups: dropped power-ups always have at least 15 seconds 2024-03-08 17:59:52 -08:00
James R
54240ac96b Power-ups: always give player consistent hitlag on collect, even if they are near MAXHITLAGTICS 2024-03-08 17:53:07 -08:00
James R
80a65cd61f Do not Guard-Break player in power-up collect animation 2024-03-08 17:53:07 -08:00
James R
79177f6aff Power-ups: fix HUD not sliding away on tally 2024-03-08 17:53:07 -08:00
James R
d35edcac9c Invinc, Grow: fade with in-level music volume
Fade S-Monitor music with voice clip
2024-03-08 17:53:07 -08:00
James R
a7979e973e Battle: cap lasers at player's last known floorz
- Do not use camera_t.floorz
- Fixes lasers bobbing up and down sometimes
2024-03-08 17:53:07 -08:00
James R
e4f5e3c78e P_CheckBumpers: do not end round with 1 player
- Fixes round ending instantly when warping to Battle with
  1 human player and at least 1 other bot loaded
2024-03-08 17:53:07 -08:00
James R
215446f42a Power-ups: fade out level music while voice clip is playing 2024-03-08 17:53:07 -08:00
James R
0707c9e5ec Add g_musicfade, generic system to fade out the level music for a brief period 2024-03-08 17:53:07 -08:00
James R
549865ce2d Power-ups: delay voice clips by 10 tics 2024-03-08 17:53:07 -08:00
James R
f7d396d150 Power-ups: spawn spinning power-up icon on player
- Spins for 40 tics, speeds up over duration
- Starts wide stretched, ends thin and tall
- Additive, fades into translucency
2024-03-08 17:53:07 -08:00
James R
19418ff1a6 Power-ups: play loud Gunstar pickup sound 2024-03-08 17:53:06 -08:00
Eidolon
a06bfea4eb Fix interpolation of ring debt indicator 2024-03-08 14:26:46 -06:00
James R
3aee4b1ac2 Add Z height check to glancing 2024-03-08 08:29:23 -08:00
James R
36a1fd15f3 Audience: scale jump height to map scale, not audience scale 2024-03-08 08:19:42 -08:00
James R
a23a632082 Sealed Star Window: make light rays noclip, so they are not offset by level geometry 2024-03-08 08:10:09 -08:00
James R
21f7f27735 Battle: measure overtime barrier radius by minimap corners, instead of edges 2024-03-08 07:36:56 -08:00