Commit graph

2452 commits

Author SHA1 Message Date
Sally Coolatta
7e8a42c4a0 Faster z speed in the air 2024-03-26 21:59:49 -04:00
James R
681e95ca0c Splitscreen: do not show "Save Replay" button until all local party members finish
- Local members, does not count online party members
2024-03-25 22:49:21 -07:00
toaster
91a7adb621 cv_freecam_speed: Additional behaviour
- == 0 no-sells all movement
- less than 0 divides speed by that amount, instead of multiplying
2024-03-23 20:54:24 +00:00
AJ Martinez
40a95dbc83 TA record/playback fixes 2024-03-16 21:40:42 -07:00
Gunla
0212191839 Merge branch 'tutorial-spectate-debug' into 'master'
Freecam spectator fixes; Tutorial spectator debugging

See merge request KartKrew/Kart!2098
2024-03-13 23:49:25 +00:00
AJ Martinez
3490aefa35 Merge branch 'tally-ff' into 'master'
Fast-forward through tally screen in GP

Closes #793

See merge request KartKrew/Kart!2094
2024-03-13 22:21:02 +00:00
James R
1871de39e2 Loop camera: do not pan with drifts
This would offset the camera in loops. Bad since they
sometimes have very specific parameters.
2024-03-13 02:09:35 -07:00
James R
60473e96d0 Loop camera: do not reverse panning direction based on player camera 2024-03-13 02:09:17 -07:00
AJ Martinez
284af02d11 Revert "Don't allow full-range drift solver for D0 players"
This reverts commit 00abdc4c66.
Wrong branch, MY BAD
2024-03-13 00:19:19 -07:00
AJ Martinez
00abdc4c66 Don't allow full-range drift solver for D0 players 2024-03-13 00:17:56 -07:00
James R
5d93d5ec97 DEVELOP: do not restart Tutorial when spectating 2024-03-12 23:17:22 -07:00
James R
a0ef4fe128 Add freecam_speed: speed up freecam flying speed 2024-03-12 23:17:22 -07:00
James R
59fb8aad8c Replays: end level music at tally of currently viewed player
- This is symmetrical with splitscreen behavior
- One edge case: if you switch away from the player after
  the level music stops but before the intermission music
  starts, then the silence will continue until you view
  another tally that reaches the intermission music
  - I think the benefit of doing the proper tally music at
    all outweighs this edge case
2024-03-12 06:42:24 -07: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
Sally Coolatta
9b93f56111 Add pre-Podium intermission music 2024-03-10 14:08:59 -04:00
toaster
6f0710818f Add VSENT jingle to successful Versus conclusion 2024-03-09 20:33:24 +00:00
James R
2b121bf3d0 Underwater: tweak bubble VFX
- Spawn around the player, not just on a single point
- 1.5x scaled
- Opaque, not translucent
- Carries player momentum
2024-03-09 01:10:14 -08:00
James R
33a31f9979 Underwater: do not spawn bubbles around player using Bubble Shield 2024-03-09 01:10:13 -08: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
f0935551f3 Don't play TA jingles for failed SPB Attack 2024-03-08 20:05:19 -07: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
AJ Martinez
279d802959 Faster TA tally, new TA music 2024-03-06 20:19:51 -07:00
Eidolon
fb3beef84c Only do replay save btn for machine-local players 2024-03-05 14:49:51 -06:00
Eidolon
3386c70f9c Record skin wins only for machine local players 2024-03-05 14:49:18 -06: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
AJ Martinez
a1fd0f5353 Merge remote-tracking branch 'origin/master' into move-your-car 2024-03-02 01:25:47 -07:00
toaster
2ac891abe8 Fix player->lappoints for ending last lap
- Previous order:
    - K_HandleLapIncrement
        - K_UpdateAllPlayerPositions
            - Sets player->position
            - !! Relies on player->exiting
        - Set lap points
            - !! Based on player->position
        - Set latestlap
        - P_DoPlayerExit
            - Set player->exiting
            - K_UpdateAllPlayerPositions
                - Sets player->position
                - Relies on player->exiting
            - Overwrites latestlap if not set
            - K_InitPlayerTally
                - Based on lap points
- New order:
    - K_HandleLapIncrement
        - Set latestlap
        - If ending last lap, P_DoPlayerExit
            - Set player->exiting
            - K_UpdateAllPlayerPositions
                - Sets player->position
                - Relies on player->exiting
            - Overwrites latestlap if not set
            - [NO LONGER INITS TALLY]
        - OTHERWISE, K_UpdateAllPlayerPositions
            - Sets player->position
            - Relies on player->exiting
        - Set lap points
            - Based on player->position
    - P_PlayerAfterThink
        - If player is exiting and no tally, K_InitPlayerTally

Hopefully you can see the magnitude of the gordian knot I had to untangle to fix this
2024-02-29 20:50:04 +00:00
AJ Martinez
0052d15fc8 Improve analog handling and input display 2024-02-28 20:08:25 -07:00
AJ Martinez
64dd306138 Revert "Make ticcmd throwdir -1, 0, or 1, add deadzone"
This reverts commit 9028668104.
2024-02-28 18:33:07 -07:00
Eidolon
d3783dec11 Lose player life before P_CheckRacers on exit
Fixes KartKrew/Kart#1022 by ensuring the player has 0 lives by the time
P_CheckRacers indirectly calls G_BeginLevelExit.
2024-02-17 15:12:04 -06:00
AJ Martinez
92bbd82c73 Add "Move Your Car" for antigrief 2024-02-05 20:09:04 -07:00
Eidolon
2c19e6dfb5 Merge branch 'special-normal' into 'master'
Fix "Save replay" text not appearing at end of map

Closes #946

See merge request KartKrew/Kart!1907
2024-02-06 01:02:25 +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
James R
e35bf8339f Let Save replay text appear when anyone in the party finishes
Instead of only when local P1 finishes
2024-02-02 05:19:32 -08:00
Oni
a126a0c9a3 Merge branch 'new-credits' into 'master'
New Credits

See merge request KartKrew/Kart!1747
2024-01-28 23:31:30 +00:00
Sal
3958c15dfe New Credits 2024-01-28 23:31:30 +00:00
toaster
106553f89d Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into srb2-tidy
# Conflicts:
#	src/p_mobj.c
2024-01-27 17:04:00 +00:00
James R
04ab02476f Battle: "K.O. READY!" appears on your screen when you reach the point limit 2024-01-26 17:54:27 -08:00
James R
235d107f50 P_AddPlayerScore: negative values remove points 2024-01-26 14:30:55 -08:00
toaster
6fdec66dc3 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into srb2-tidy 2024-01-26 00:29:06 +00:00
Oni
c898e5550f Merge branch 'pwr-fixes' into 'master'
PWR.LV fixes

Closes #915

See merge request KartKrew/Kart!1849
2024-01-25 14:42:09 +00:00
Sally Coolatta
de3d9a29c8 Make PWRLV work in Battle
Additionally, add DBG_PWRLV for devmode so the debug prints can be accessed without needing to edit the code any.
2024-01-23 00:00:26 -05:00
James R
3cfd50ef2b Battle: don't let players respawn after round ends 2024-01-22 16:42:29 -08:00
James R
7d6239e06c Add round end camera system
- Spins and zooms around a center point
- Freezes the level while spinning
- Pans over to follow and object after spinning ends
- Timing and speed completely customizable
2024-01-22 16:42:29 -08:00
Sally Coolatta
3b755b7153 Reorganize P_DoPlayerExit
I tried to fix the GP ending weirdness a long time ago by recalculating all player positions at time of exit... and then K_IsPlayerLosing gets to a variable before the recalculation and a bunch of crap uses it and completely undoes anything this might've fixed. DON'T DO THAT!
2024-01-16 20:08:37 -05:00
toaster
1d13cb64c0 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into srb2-tidy
# Conflicts:
#	src/p_mobj.c
2024-01-13 22:08:44 +00:00
Oni
1aaac393c1 Merge branch 'battle-fixes-friday' into 'master'
Battle Fixes Friday

Closes #901, #890, #865, #891, #883, #887, #885, and #888

See merge request KartKrew/Kart!1829
2024-01-13 02:21:19 +00:00
James R
49f0b31db7 Battle: do not decrease flashing tics in the air 2024-01-11 22:03:10 -08:00
toaster
325079a39a Delete everything major flagged up by listunusedsprites
Notable deletions:
- Metal Sonic Race
    - Includes all the specialised recording/playback apparatus which made g_demo.c harder to read
- A bunch of hyperspecialised code inside several A_ actions
- EXCEPTION: intentfully left in the spriteless SMK stuff for Sal's add-on down the line.
2024-01-11 01:21:43 +00:00