Commit graph

23874 commits

Author SHA1 Message Date
James R
c5e341769b Remove unused cvars
- growmusicfade
- invincmusicfade
- music_resync_powerups_only
- music_resync_threshold
- renderstats (wasn't even registered in the console!)
- resetspecialmusic
- resume
- samplerate
- stretch
- tailspickup
2023-08-24 04:52:41 -07:00
James R
0a9d15ceb0 Remove remnants of LJOYSTICK 2023-08-24 04:34:19 -07:00
Oni
2926f4c201 Merge branch 'skip-intermission' into 'master'
Offline: intermission doesn't move automatically, skip with A button

See merge request KartKrew/Kart!1414
2023-08-21 16:53:23 +00:00
Oni
852e2c1035 Merge branch 'acs-game-over' into 'master'
ACS script type for game over (lose GP round with no extra lives), improve MapWarp and add a handful of functions

Closes #591 and #572

See merge request KartKrew/Kart!1403
2023-08-21 16:50:18 +00:00
toaster
7ce5ae03b0 Merge branch 'fix-gl-sprite-rollangle' into 'master'
Fix OpenGL sprite rollangle for non-papersprites

Closes #616

See merge request KartKrew/Kart!1416
2023-08-21 12:22:31 +00:00
toaster
1c44c1066a Merge branch 'podium-music-fix' into 'master'
Podium music fix

Closes #607

See merge request KartKrew/Kart!1417
2023-08-21 11:40:34 +00:00
SteelT
7785eb9f71 Merge branch 'fix-build-errors' into 'master'
Update Catch2 to latest version

See merge request KartKrew/Kart!1415
2023-08-21 11:13:30 +00:00
James R
f234c47d8a ACS: add Music_Play, Music_StopAll and Music_Remap 2023-08-21 01:04:19 -07:00
James R
5f9f573f20 Remove all code related to linedef 413, Change music 2023-08-21 00:44:27 -07:00
Sally Coolatta
82e9257284 Fix frequent legacy GL crash that Jeck is getting
This uses `gl_frontsector`, which can sometimes be NULL.
2023-08-21 01:40:05 -04:00
James R
2b02daca14 P_LoadLevel: don't randomize Podium music 2023-08-20 17:40:43 -07:00
James R
78ee9a7e0b G_StartTitleCard: don't play titlecard sfx for Podium 2023-08-20 17:18:39 -07:00
James R
f67c3df3ed HWR_ProjectSprite: fix rollangle for non-papersprites 2023-08-20 16:46:01 -07:00
SteelT
dbe80ab3a2 Update Catch2 to latest version
Fixes build errors related to it
2023-08-20 19:43:05 -04:00
James R
21706c6edf Merge branch 'shrink-sync' into 'master'
Shrink Sync

See merge request KartKrew/Kart!1413
2023-08-20 22:59:27 +00:00
James R
8412a1a787 Merge branch 'reset-ticcmd-angle' into 'master'
P_ForceLocalAngle: reset ticcmd angles and localsteering

See merge request KartKrew/Kart!1409
2023-08-20 22:57:00 +00:00
James R
9c14fe1aeb Merge branch 'pause-graphic-sound-test' into 'master'
Don't draw PAUSE graphic in the Stereo menu

See merge request KartKrew/Kart!1407
2023-08-20 22:56:52 +00:00
James R
99d9d4452b Offline: intermission doesn't move automatically, skip with A button
- Press A button the first time to do the card flip.
- Press A button a second time to end the intermission.
  - Will not end literally immediately, in order to let
    tally sounds finish and GP progression bar animate.
2023-08-20 15:40:55 -07:00
toaster
274e72ed2d Shrink Sync
Obj_CreateShrinkPohbees: Fix potential uninitialised memory being used that could cause a differing number of pobbys to spawn between client and server, causing an (extremely recoverable but still undesired) desync
2023-08-20 22:13:53 +01:00
toaster
434e451b8c Merge branch 'bios-pk3-real' into 'master'
Make bios.pk3 consistent filename

See merge request KartKrew/Kart!1412
2023-08-20 21:08:50 +00:00
toaster
ba7d319457 Make bios.pk3 consistent filename
Removes all reference to main.kart, not just the obvious ones.
2023-08-20 22:06:11 +01:00
James R
0b9d691ad6 acs/call-funcs.cpp: add ExitLevel function 2023-08-20 00:56:05 -07:00
James R
2ffc41b52e G_MapNumber: let parse NEXTMAP 2023-08-20 00:36:00 -07:00
James R
1a3ef843a5 acs/call-funcs.cpp: add StopLevelExit function 2023-08-20 00:36:00 -07:00
James R
9b4367773c Add GAMEOVER ACS script type
Triggered when the level ends with a losing condition and
there are no extra lives.
2023-08-20 00:36:00 -07:00
James R
8a72f42818 Split G_ExitLevel into G_BeginLevelExit and G_FinishExitLevel
- Save retry condition in G_BeginLevelExit
- Apply condition in G_FinishExitLevel

Preparation for ACS level end scripts, since the exit
condition will need be known when the countdown starts,
not when it ends (that'd be too late to do anything in the
level).
2023-08-20 00:36:00 -07:00
Oni
07aabdfdb3 Merge branch 'battle-emerald-collect' into 'master'
Emerald collection polish, animation for Battle and tweak to Sealed Star

See merge request KartKrew/Kart!1408
2023-08-20 06:10:35 +00:00
Oni
b336ec6f1d Merge branch 'main.kart-to-bios.pk3' into 'master'
main.kart to bios.pk3

See merge request KartKrew/Kart!1410
2023-08-20 05:52:43 +00:00
VelocitOni
d103d44938 main.kart to bios.pk3
Turned main.kart into a .pk3, reorganized it, added new logo and extras
2023-08-20 01:46:53 -04:00
James R
7b9665402a P_ForceLocalAngle: reset ticcmd angles and localsteering
For Sealed Stars, restarting the level after turning away
from the spawn angle. This would slightly skew your
momentum when spawning.
2023-08-19 17:03:32 -07:00
Oni
7cdf8fbfdd Merge branch 'whip-sprzoff' into 'master'
Instawhip hop adjust sprite offset instead of physical Z position + flashing nitpick

Closes #601

See merge request KartKrew/Kart!1406
2023-08-19 14:58:46 +00:00
James R
16d966d583 Merge branch 'update-freecam' into 'master'
Replay Freecam Love, accessible during regular gameplay, spectate and pause game anywhere, probably other fixes

See merge request KartKrew/Kart!1399
2023-08-19 12:02:51 +00:00
James R
7a1e61d722 Move democam.reset_aiming to camera_t, let spectator camera even out aiming 2023-08-19 05:01:41 -07:00
James R
414d6f3647 Don't reset camera position when spectating
Fixes a software renderer crash due to hitlag VFX from the
player's death (death from spectating) being too close to
the camera.
2023-08-19 05:01:41 -07:00
James R
0036006586 R_ViewRollAngle: don't apply camera tilting while using freecam 2023-08-19 05:01:40 -07:00
James R
01e2a26689 DEVELOP: let us spectate or pause the game at all times
TODO: This should be available as a debugging option at
release, since it would be useful for addon authors.
I don't want to make more cvars, those are getting
cluttered and should maybe be coalesced into a single
debugging option.
2023-08-19 05:01:40 -07:00
James R
c7bd74c661 Let replays use director controls 2023-08-19 05:01:40 -07:00
James R
fcc35c1bb1 Toggle between freecam and director using C button 2023-08-19 05:01:40 -07:00
James R
697e42cecd P_DemoCameraMovement: drift button resets vertical angle 2023-08-19 05:01:40 -07:00
James R
ff447a212a P_DemoCameraMovement: even out vertical angle after toggling
After turning on freecam, the vertical angle is tilted
slightly downward (this is carried over from normal
chasecam).

Interpolate that angle back to normal while moving
forward. This makes it so you don't need to manually
adjust the vertical angle, since it would cause forward
movement to send you into the ground.
2023-08-19 05:01:40 -07:00
James R
0f9ceab817 P_DemoCameraMovement: don't let A button press from menu carry over to rise camera 2023-08-19 05:01:40 -07:00
James R
83f02231e3 Replace spectator movement with demo freecam 2023-08-19 05:01:40 -07:00
James R
8809ab02fc democam: remove unnecessary fields 2023-08-19 05:01:40 -07:00
James R
fec0f13419 P_DemoCameraMovement: use locally built ticcmd from G_BuildTiccmd 2023-08-19 05:01:40 -07:00
James R
dbca307ad4 Fix sound handling in demo freecam
- Object sounds are audible from the location of the
  camera
- Certain HUD sounds should no longer be audible
  - For instance, lap complete sfx
2023-08-19 05:01:40 -07:00
James R
5a40f554d4 ST_overlayDrawer: hide VIEWPOINT text when using demo freecam 2023-08-19 05:01:40 -07:00
James R
5a973734d0 Move software shearing conditions from R_SetupFreelook into G_FinalClipAimingPitch 2023-08-19 05:01:40 -07:00
James R
bf14773b21 TiccmdBuilder: don't reset ticcmd while paused
If there a short pause by mistake, this will prevent it
from interrupting a drift, for instance.
2023-08-19 05:01:40 -07:00
James R
3320faec8c Interpolate view, even when paused
Fixes slideshow movement with demo freecam while paused.
Does not appear to jitter like texture scrollers do.
2023-08-19 05:01:40 -07:00
James R
89c503135a Tweak spectator vertical aiming
- Decrease vertical aiming speed to match turning speed
- Reduce software aiming bounds to 45 degrees
  - (Even) less distortion due to extreme angles
2023-08-19 05:01:39 -07:00