Commit graph

23856 commits

Author SHA1 Message Date
Sally Coolatta
9d940ed654 Separate script args from mapthing args
SRB2 uses a LOT of mapthing args compared to Hexen (which has none) and ZDoom (which only has them on objects that will never ever activate scripts). So we really badly needed to separate the two if we want attaching scripts to things to be useful.
2023-08-21 03:33:04 -04: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
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
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
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
James R
3282a2581b Instawhip cooldown: don't flicker dark frames while whip is still out 2023-08-19 04:58:55 -07:00
James R
2d7a224e8e Instawhip hop: 1.5x height, slightly tweak timing 2023-08-19 04:43:01 -07:00
James R
9e5c9cfbd9 Instawhip: don't hop if activated in the air 2023-08-19 04:27:51 -07:00
James R
5cc4b1ebad K_DropEmeraldsFromPlayer: fix after emerald orbiting changes
I don't see what it was using the target for before so I'm
just removing that.
2023-08-19 04:03:32 -07:00
James R
d06185f5a3 M_Drawer: don't draw PAUSE graphic in the Stereo menu 2023-08-19 03:45:43 -07:00
James R
7d7cc04da2 Player glows with additive exposure while emerald collection lens flare plays
For ease of programming, the emerald itself glows in
Sealed Stars.
2023-08-19 03:42:31 -07:00
James R
4857d48633 Add "twinkle" lens flare to emeralds
- Battle: plays once the orbiting collection animation
  finishes and the player's emerald flags are updated
  - Centered on the player

- Sealed Star: plays as soon as the orbiting animation
  begins
  - Centered on the emerald
2023-08-19 03:40:17 -07:00
James R
dd7f6b17dd Add fuse behavior to emerald orbit, Battle collect animation
- Battle emeralds orbit into the player's body upon
  collection
- Emerald shrinks down to a speck
- Orbiting speed increases over time
- Player's emerald flags altered at the end of the
  animation
2023-08-19 03:28:41 -07:00
James R
4bdc05824c Add Obj_BeginEmeraldOrbit, seamless transition into orbit 2023-08-19 03:24:22 -07:00
James R
fe6da4e087 Instawhip: consistently flicker on opposite frame of player flashing tics 2023-08-17 18:12:59 -07:00
James R
a680e11675 Instawhip: adjust player sprzoff and cameraOffset instead of momz
Since gravity is not involved, this will be more
consistent but it is also slightly different than before.
I tried to match it closely to how it behaved before,
though.
2023-08-17 18:10:59 -07:00
James R
ebb79fa34b Add player_t.cameraOffset, offset chasecam Z position 2023-08-17 18:09:03 -07:00
Chromatian Keiske
7f89bee3f2 Merge branch 'fix-water-run-jawz' into 'master'
Let Jawz, Orbinaut and Gachabom water ski

See merge request KartKrew/Kart!1400
2023-08-17 05:01:48 +00:00
James R
52793f177c Merge branch 'acs-thing-count' into 'master'
ACS: Better thing counting + a couple ZDoom ports

See merge request KartKrew/Kart!1398
2023-08-16 08:00:59 +00:00
James R
420d9a402f Merge branch 'refactor-build-ticcmd' into 'master'
Refactor G_BuildTiccmd

See merge request KartKrew/Kart!1397
2023-08-16 08:00:27 +00:00
James R
72a58cee3c Orbinaut and Gachabom water run if player was water running when it was thrown 2023-08-16 01:00:08 -07:00
James R
b46bfc8766 Obj_JawzThrown: chase UFO Catcher immediately
Done here so Jawz fulfills water running condition during
K_SpawnKartMissile.
2023-08-16 01:00:08 -07:00
James R
99c4d798a1 K_SpawnKartMissile: facilitate water running
- Set floorz and ceilingz so object fulfills grounded
  condition for water running

- Set position after object is fully configured
  - Jawz needs target set in order to water run
2023-08-16 01:00:08 -07:00