Commit graph

26973 commits

Author SHA1 Message Date
James R.
10d85bd831 Merge branch 'agz-bulb-arg' into 'master'
Add thing argument to discard player momentum to AGZ Bulb Launcher

See merge request KartKrew/Kart!2078
2024-03-11 00:15:59 +00:00
James R
d3bbae209f Preserve lap cheat timer between player deaths
Just being symmetrical with how safelap is preserved.
2024-03-10 17:08:09 -07:00
James R
fb6ebc6e6f Fix lap cheat prevention failing when player dies
- Cross a finish line so your lap goes forward and your
  waypoints update ahead of the line
- Turn around to face the opposite direction
- Do this on a map where the lap cheat timer activates
  when you turn around
- Drive a little way backward and make sure the lap cheat
  timer keeps going
- Activate Ring Shooter and start lightsnaking
- Immediately spectate and then rejoin
- The lightsnake would send you ahead of the finish line
  and give you an extra lap
2024-03-10 17:02:56 -07:00
Lach
3af15ce7f3 Add thing argument to discard player momentum to AGZ Bulb Launcher 2024-03-11 09:49:34 +11:00
AJ Martinez
4fd5873e0f All TA deaths are final deaths 2024-03-10 15:47:49 -07:00
Oni
36e28a68f0 Merge branch 'fix-uncleared-ghost-crash' into 'master'
Fix Time Attack crash if you let the map exit without manually returning to the menu, then start another Time Attack

See merge request KartKrew/Kart!2073
2024-03-10 22:25:05 +00:00
James R
032c5bb27c Replays: fix ghosts not being freed if Time Attacking and letting the map exit without manually returning to the menu
- Fixes a very specific crash
- Record a Time Attack
- Let the map exit naturally
  - I tested by FALLING OUT of a Sealed Star
- Start recording another Time Attack
  - I tested by going to the same map again
- Result
  - One of three possibilities
  - Z_Free: wrong id
  - SIGSEGV
  - Game freezes and hangs forever
- I also wrote detailed comments in M_EndModeAttackRun so
  you know what it's supposed to be doing
2024-03-10 14:32:07 -07:00
toaster
77512509f1 Support tilde in LT_ range fonts 2024-03-10 21:18:15 +00:00
toaster
618d40882a Add the ability to play SECRET_ALTMUSIC music on the Challenges screen
Supports both standard play and "E Side", if it exists (justification for Encore using the same CD)
2024-03-10 21:18:15 +00:00
toaster
6e46f97847 As promised, Encore (alt)music
- `EncoreMusic` on mapheader
    - Supports up to 3 alt musics, as with every other type
- Do not vape/nightcoreify if provided
- To avoid complicating the Alt Music logic too much, uses "side B" of the same Prison Egg CD
    - That is to say, if there are 2 encore tracks and 3 normal tracks, the second Encore track will only play if you've gotten the CD associated with the second normal track

I haven't actually tested it *with* any Encore music, but I've triplechecked literally everywhere to make sure it didn't break standard play
2024-03-10 21:18:15 +00:00
toaster
0f6ddefe30 Use thin string for times in Sound Test
Much, much closer to monospace without taking up too much presence
2024-03-10 21:18:14 +00:00
toaster
57d5e54983 Stereo Mode: Fix multi-Track musicdefs not having their first part loop under non-Seq conditions
Had to introduce a hacky Music_SetFadeOut func, but I didn't want to rework this section of code/menu too heavily for how little time we have left
2024-03-10 21:18:14 +00:00
toaster
7db5094577 Alt music: Don't destroy cache_muslock data when replacing the music in the mapheader 2024-03-10 21:17:20 +00:00
toaster
f3af88200f S_PopulateSoundTestSequence: Show Tutorial maps before Cups
Previously after Cups, as part of Lost & Found tracks
2024-03-10 21:17:20 +00:00
Oni
4de4c9e57d Merge branch 'pre-podium-music' into 'master'
Add pre-Podium intermission music

Closes #1084

See merge request KartKrew/Kart!2075
2024-03-10 21:08:11 +00:00
Gunla
20ecc22ccf Merge branch 'blend-end' into 'master'
Blend End

See merge request KartKrew/Kart!2039
2024-03-10 20:30:38 +00:00
Gunla
c65decc539 Merge branch 'jartha-last-replay-fixes' into 'master'
Fix freecam not being reset when restarting a replay

Closes #1114

See merge request KartKrew/Kart!2043
2024-03-10 20:29:17 +00:00
Gunla
55870bddb7 Merge branch 'fix-shrink-death' into 'master'
Fix Pohbee's forgetting their owner if the player dies

Closes #454

See merge request KartKrew/Kart!2071
2024-03-10 20:28:33 +00:00
Oni
3c2786e8a1 Merge branch 'ringbox-ta-fudge' into 'master'
Use alternate Ring Box award calculations in TA

See merge request KartKrew/Kart!2072
2024-03-10 20:02:56 +00:00
Gunla
30685b650f Merge branch 'last-sealed-tweak' into 'master'
UFO Catcher Tripwire Boost damage, and slow down the player less after hitting it with a boost while waterskiing

Closes #619

See merge request KartKrew/Kart!2074
2024-03-10 18:14:13 +00:00
Sally Coolatta
9b93f56111 Add pre-Podium intermission music 2024-03-10 14:08:59 -04:00
James R.
e43106ce00 Merge branch 'rhi-shader-safety' into 'master'
Force rhi to only load shaders from shaders.pk3

See merge request KartKrew/Kart!2066
2024-03-10 14:40:18 +00:00
James R
328b2c78f9 UFO Catcher: use a specialized speed cut function for boost damage while waterskiing
- Do not send the player backward, simply reduce their
  forward momentum
- Below 67%, divide speed by 4
- Above 67%, remove a flat 50% top speed
- The goal here is to basically stop the player at low
  speeds, like it did before, but cut a smaller amount at
  high speeds so players can remain water skiing after
  a highly boosted collision
2024-03-10 07:30:15 -07:00
Oni
6924b3a785 Merge branch 'fix-boss-ta-music' into 'master'
Time Attack: fix music stopping when retrying bosses

Closes #1129

See merge request KartKrew/Kart!2064
2024-03-10 14:23:09 +00:00
Oni
0a5b476a9f Merge branch 'ark-arrow-model-lighting' into 'master'
Disable directional lighting on Ark Arrow models

Closes #1061

See merge request KartKrew/Kart!2059
2024-03-10 14:22:59 +00:00
James R
80756e7f97 UFO Catcher: damage with Tripwire Boost state 2024-03-10 06:59:57 -07:00
AJ Martinez
c2963b6299 Use alternate Ring Box award calculations in TA 2024-03-10 04:25:36 -07:00
James R.
d1c537723e Merge branch 'restart-after-gametype-change' into 'master'
Restart Map returns to the correct gametype, even if you changed the gametype through the menu

Closes #916

See merge request KartKrew/Kart!2063
2024-03-10 08:51:09 +00:00
James R
7a7ef7857a Shrink: store player ID on Pohbees, instead of mobj pointer
- Fixes owner being forgetten when they die (fly out of
  the kart)
2024-03-10 00:46:57 -08:00
James R.
f4ab9b0be7 Merge branch 'gasp' into 'master'
Tweak underwater VFX

Closes #1125

See merge request KartKrew/Kart!2058
2024-03-10 08:24:57 +00:00
Oni
08ef66d52e Merge branch 'beam-sounds' into 'master'
Finish Beam: play sound when nearby

Closes #1082

See merge request KartKrew/Kart!2070
2024-03-10 08:11:36 +00:00
AJ Martinez
bd2573cfa9 Merge branch 'my-son-is-still-useless' into 'master'
Stat rebalance nightmare vortex

See merge request KartKrew/Kart!2053
2024-03-10 07:20:04 +00:00
AJ Martinez
8763ecb1d8 TA rebalance: Mecha too 2024-03-09 22:45:14 -07:00
AJ Martinez
c8083b88a0 TA rebalance: reduce crack 2024-03-09 22:41:49 -07:00
James R
02699d72a7 Finish Beam: play sound when nearby
- Loudest 320 FU away from the beam
- Quietest 1280 FU away
2024-03-09 20:42:00 -08:00
Gunla
c00acff8f7 Merge branch 'fix-underwater-strafing' into 'master'
Fix underwater strafing activating below minimum speed and pushing you backward

Closes #1001

See merge request KartKrew/Kart!2048
2024-03-10 03:58:48 +00:00
Oni
bcd0cf8138 Merge branch 'fix-jawz-reticle' into 'master'
Fix multiple Jawz reticles spawning on top of each other while player is in hitlag

Closes #1036

See merge request KartKrew/Kart!2062
2024-03-10 03:42:34 +00:00
James R.
92b1e2c7e9 Merge branch 'player-fault-sound' into 'master'
Play sound on player FAULT

See merge request KartKrew/Kart!2068
2024-03-10 02:35:00 +00:00
James R
cee4c6106b Lap cheat prevention: always reset lap to safelap when timer is reset
- This was done implicitly by respawn
- However, it is sometimes possible to:
  - Cross the finish line forward
    - Gain a lap
    - Lap cheat prevention activates afterward
  - Drive backward over the finish line again
    - Must still have the lap cheat prevention timer
      running
    - Do not lose a lap
    - Timer resets once you're behind the line
  - Now:
    - You are behind the finish line
    - Lap cheat prevention is not active
    - You still have the lap gained from crossing the
      finish line the first time
- To fix this:
  - Reset your current lap to your lap safe when the timer
    resets
  - Safelap does not change while lap cheat prevention is
    active
  - Basically I am fixing an oversight in the lap cheat
    prevention system, because the timer, safelap and your
    current waypoints are all tied together already
    - It's just the current lap that was not being tied
      together with the rest of it
2024-03-09 17:03:48 -08:00
James R
7d23dd49af Let base game textures be 4096x4096 max, print developer warning in DEVELOP
- In the future we should make sure no textures exceed
  2048x2048, but this fine for release
- The warning will not show up in release builds
2024-03-09 16:14:54 -08:00
James R
6d7dd8adac Disallow textures >2048 in size, print a console warning 2024-03-09 16:14:13 -08:00
James R
2ee595419c Let texture loading skip some textures
- Set numtextures correctly if textures are skipped (no
  textures are skipped in this commit)
2024-03-09 15:35:08 -08:00
Eidolon
304675b3bf Add placeholder disclaimer screen 2024-03-09 16:35:37 -06:00
James R
161125fc83 mainwads is inclusive 2024-03-09 13:56:03 -08:00
SteelT
9e434dbc3c Play sound s3kb2 on player FAULT 2024-03-09 15:56:51 -05:00
Eidolon
875d32800f Disallow patches >2048 in size
Our technical hardware support baseline is GLES2, which has a minimum
supported texture size of 2048x2048. This means we cannot allow anything
larger without introducing compatibility issues between GL players and
software players. Even if Software is able to handle larger images,
GL hardware may not, even on the same device. This additionally prevents
an issue with Twodee where the patch atlas can't handle images larger
than 2048x2048 due to the page size.
2024-03-09 14:39:35 -06:00
toaster
4bc21875c6 If g_pointlimit is 0, don't stringdance points on the HUD
Fixes Versus HUD
2024-03-09 20:33:24 +00:00
toaster
a96e39b22f G_UpdateVisited, G_DoCompleted: Clean up tutorialchallenge behaviour
- Permit saving "this map has been beaten" for the Tutorial Challenge map if you conquered it
    - This was previously short circuited because it wasn't a dedicated course
- Only trigger an extra UpdateUnlockablesAndExtraEmblems check if you haven't yet completed it
2024-03-09 20:33:24 +00:00
toaster
4fd95a3060 M_DrawChallengePreview: Fix being able to see SECRET_MAP stages that don't have necessary mapvisited
Applies to our Round Stars AND Tutorial Challenge
2024-03-09 20:33:24 +00:00
toaster
55cbf07a28 Patch over MapWarp not meshing with Time Attack
Prints a message saying your time wasn't recorded and you should try a different mode
2024-03-09 20:33:24 +00:00