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
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
James R
a3ced9240f
Merge branch 'ark-arrow' into 'master'
...
Ark Arrows
See merge request KartKrew/Kart!1402
2023-08-16 06:04:21 +00:00
Lach
53b48d057c
Rename Lost Colony symbols to Ark Arrows and add 10 new symbol types
2023-08-15 22:47:04 +10:00
James R
6629be152f
Merge branch 'music-manager-compile' into 'master'
...
Fix music manager clang error
See merge request KartKrew/Kart!1401
2023-08-15 10:45:56 +00:00
Lach
962273044c
Fix music manager clang error (thanks jart)
2023-08-15 20:37:21 +10:00
James R
eff895178b
ACS_SectorThingCounter: fix infinite loop in touching iterator
2023-08-14 18:11:33 -07:00
James R
a871fb702e
Merge branch 'fix-debugfile-underflow' into 'master'
...
Fix underflow in debugfile
Closes #594
See merge request KartKrew/Kart!1385
2023-08-14 12:42:26 +00:00
Sally Coolatta
ae7325cbc3
Add PlayerNumber and ActivatorTID from ZDoom
2023-08-14 04:41:19 -04:00
--get
0bb4e0b0fa
ACS: Better thing counting
...
- ThingCount has an extra argument for sector tag.
- CountEnemies and CountPushables have an extra argument for thing tag.
- Sector tag 0 for CountEnemies and CountPushables now redirects to activator sector.
2023-08-14 03:50:45 -04:00
James R
c6db634635
Completely refactor G_BuildTiccmd into many smaller pieces
2023-08-13 17:08:12 -07:00
James R
368ffb79b8
Move ticcmd generation code from g_game.c to g_build_ticcmd.cpp
2023-08-13 16:03:09 -07:00
James R
b209b321f6
deh_tables.c: add FF_REVERSEANIM to SOC and Lua
2023-08-13 13:59:02 -07:00
Oni
3832ee9c0f
Merge branch 'free-play-no-position' into 'master'
...
Disable POSITION in FREE PLAY
See merge request KartKrew/Kart!1394
2023-08-13 14:56:07 +00:00
Oni
d2a948e490
Merge branch 'chrome-fixes' into 'master'
...
Let UFO Catcher trip Mine radius
Closes #571
See merge request KartKrew/Kart!1381
2023-08-13 14:55:48 +00:00
Oni
1385a192e1
Merge branch 'taller-items' into 'master'
...
Improved item hitboxes and emerald collect animation in Sealed Stars + other emerald polish
See merge request KartKrew/Kart!1395
2023-08-13 14:55:31 +00:00
Oni
2cc3112458
Merge branch 'debug-start' into 'master'
...
"debugstart" cvar to skip POSITION/intro
See merge request KartKrew/Kart!1393
2023-08-13 14:55:24 +00:00
Oni
482a7a6ef5
Merge branch 'fix-down-slope-missiles' into 'master'
...
Fix missile items fired while on downward slope or stairs
Closes #595
See merge request KartKrew/Kart!1392
2023-08-13 14:55:15 +00:00
Oni
aeb6d6740f
Merge branch 'encore-directional-lighting' into 'master'
...
Add encore variants of LightContrast, LightAngle and SpriteBacklight to level header
Closes #593
See merge request KartKrew/Kart!1388
2023-08-13 06:21:12 +00:00
James R
2f9ae94b62
Emerald orbits player after UFO Catcher is broken
2023-08-12 21:41:21 -07:00
James R
1c4ec2325e
Remove semibright from emerald frames, all frames fullbright
2023-08-12 21:41:21 -07:00
James R
af26848cf9
Spawn literal MT_EMERALD for UFO Catcher, remove MT_SPECIAL_UFO tracking
...
Side effects:
- HUD tracking icon now uses emerald's color in Sealed
Stars.
- UFO emerald doesn't disappear when collected. This is
WIP because the emerald is intended to orbit the player.
2023-08-12 21:41:21 -07:00
James R
1c2a2155c0
Deduplicate a bunch of emerald related code
...
- Add K_BattleOvertimeKiller
- Kills an object if it is outside of the Overtime
Barrier in Battle
- Add Obj_SpawnEmeraldSparks
- Use this function for MT_EMERALD, MT_MONITOR and
MT_SPECIAL_UFO
- Move thinking code for MT_EMERALD and MT_MONITOR to
objects/monitor.c and objects/emerald.c
2023-08-12 19:34:26 -07:00
James R
2c8b889eee
Apply sprzoff to Jawz reticle
...
Fixes alignment for UFO Catcher, and probably Garden Top.
2023-08-12 18:52:06 -07:00
James R
dc4922e41b
Increase vertical hitbox of Banana, Orinbuat, Jawz, Eggman, Gachabom, Ballhog and UFO Catcher
2023-08-12 17:38:36 -07:00
James R
91170d9287
PIT_SSMineExplode: don't do spinout damage to UFO Catcher
2023-08-12 17:06:23 -07:00
James R
943086a902
K_TimerInit: disable POSITION in FREE PLAY
2023-08-12 16:38:01 -07:00
James R
ba77b97aaa
K_SpawnKartMissile: try to step down for stairs
2023-08-12 16:19:17 -07:00