Commit graph

24445 commits

Author SHA1 Message Date
James R
9fa2e3da5f srb2::Draw: add button and small_button methods 2023-10-09 18:52:02 -07:00
James R
dadb150b25 Freecam: use Y button to focus player 2023-10-09 18:52:02 -07:00
James R
29feceda88 P_DemoCameraMovement: cancel out up/down movement 2023-10-09 18:52:02 -07:00
James R
fa89576f34 Move freecam state to camera_t, lets splitscreen players use freecam independently of each other 2023-10-08 14:26:21 -07:00
James R
49898abfeb Let Director operate on separate splitscreens 2023-10-08 14:26:21 -07:00
James R
412b37a8de Convert k_director.c to k_director.cpp 2023-10-08 14:26:21 -07:00
James R
17b7a2f16d k_director.h: remove directorinfo extern, add K_DirectorIsEnabled 2023-10-08 14:26:21 -07:00
Oni
c72a2cf94a Merge branch 'rideroid-hardcode' into 'master'
Lat Hardcode

See merge request KartKrew/Kart!1515
2023-10-08 21:22:18 +00:00
Oni
3e9c3526d3 Merge branch 'debug-death-pit' into 'master'
debugfinishline: highlight deathpits and instakill planes

See merge request KartKrew/Kart!1543
2023-10-08 07:49:39 +00:00
Oni
26f2a38451 Merge branch 'gitch-acs' into 'master'
ACS_Execute, ACS_ExecuteAlways: support map stringargs

See merge request KartKrew/Kart!1545
2023-10-08 07:49:24 +00:00
James R
91ce31c11d MT_SUNBEAMPALM_STEM: adjust radius for new sprite 2023-10-07 21:37:24 -07:00
James R
adb3eb7463 ACS_Execute, ACS_ExecuteAlways: handle map stringargs 2023-10-07 20:40:39 -07:00
toaster
756f42bc26 Fix DLZ Ring Sucker effect
- Fix infinite loop caused by not actually using the intended object type
- Fix integer multiply of two fixed-scale numbers causing overflow
2023-10-07 23:43:42 +01:00
toaster
dbcb39d7ed Fix Leaf Storm Eggball
- Map object num was incorrectly copypasted onto the Dead Line Ring Vaccuum as well
- Was getting destroyed instantly because its first spawnpoint is a deathpit. Now it only kills itself when it lands on a deathpit, not if it started on one
- Use destscale instead of scaling every frame
- Reduce duplicate P_IsObjectOnGround calls
- Now has its own state
2023-10-07 23:15:27 +01:00
toaster
b2bbde290b Add shadow to MT_KURAGEN
Hazard conveyance
2023-10-07 22:06:49 +01:00
Lat
baa668895a Move transfer line dismount hack to linedef type 2005 2023-10-07 12:22:53 +02:00
Lat
dc6bb1bfa9 solve conflicts and update to master 2023-10-07 11:15:47 +02:00
Lat
bb3d666852 Whitespaces 2023-10-07 10:24:14 +02:00
Lat
085c3c650c Fix DLZ seasaws snapping to floors/ceilings 2023-10-07 10:21:18 +02:00
Lat
1e86d661a5 Change turbine fast speed criteria from 133 to 200% 2023-10-07 09:56:19 +02:00
James R
5415674034 debugfinishline: highlight deathpits and instakill planes 2023-10-04 20:17:31 -07:00
James R
e4fde7735e Revert "HUD: slide in position numbers if race starts immediately"
This reverts commit a8d0bad4b0.
2023-10-04 00:06:21 -07:00
Oni
985f93d95f Merge branch 'fix-splitscreen-hud-tracking-bleed' into 'master'
K_drawKartNameTags: crop HUD tracking to splitscreen viewports

See merge request KartKrew/Kart!1542
2023-10-04 05:28:45 +00:00
Oni
26973e6539 Merge branch 'splitscreen-fixes' into 'master'
Some major cleanup to splitscreen HUD and spectator support; starting bumpers fix + ring sting indicator

Closes #692

See merge request KartKrew/Kart!1539
2023-10-04 05:15:12 +00:00
James R
dc4c66322f K_drawKartNameTags: crop HUD tracking to splitscreen viewports 2023-10-03 22:05:48 -07:00
James R
0019e74604 HUD: fix nametag position for P2 in 2P splitscreen 2023-10-03 21:51:35 -07:00
James R
35cb0e4c5c HUD: do not show position number in splitscreen FREE PLAY 2023-10-03 21:28:35 -07:00
James R
8284aff4f1 HUD: realign 1P ping counter and FPS counter positions 2023-10-03 21:28:35 -07:00
James R.
62503b244a Add give2, give3, give4 commands 2023-10-03 21:28:35 -07:00
James R.
ff11166f30 setviews command: let outside of replays 2023-10-03 21:28:34 -07:00
James R.
0b7a6ed7f5 P_DemoCameraMovement: use splitscreen ticcmd 2023-10-03 21:28:34 -07:00
James R.
989ee48ef8 SCR_DisplayLocalPing: show, even in splitscreen, in gamestates where player HUD is not drawn or when menu is opened 2023-10-03 21:28:34 -07:00
James R.
dd1b0255f8 SCR_DisplayTicRate: do not say "FPS"
Obscurs less of the position number in splitscreen.
2023-10-03 21:28:34 -07:00
James R.
a11e8d793a finish_legacy_ogl_update: merge with temp_legacy_finishupdate_draws, draw avrecorder stats in opengl 2023-10-03 21:28:34 -07:00
James R.
56775e721f HUD: fix FREE PLAY 4P position
Centered at bottom of each screen.
2023-10-03 21:28:34 -07:00
James R.
1935fdcdc3 HUD: remove fade in from ping counters 2023-10-03 21:28:34 -07:00
James R.
54f2882bc9 HUD: fix 4P negative ring counter alignment 2023-10-03 21:28:34 -07:00
James R.
a8d0bad4b0 HUD: slide in position numbers if race starts immediately 2023-10-03 21:28:34 -07:00
James R.
f426a136d5 HUD: fix 4P position numbers 2023-10-03 21:28:34 -07:00
James R.
bf20db1e5e HUD: draw item box over everything else 2023-10-03 21:28:34 -07:00
James R.
4631af55c4 HUD: do not include starting Battle Bumper count, "x/y" -> "x"
- 1P/2P:
  - Resize sticker with number of digits
- 3P/4P:
  - Pad to 2 digits
  - Use larger font
2023-10-03 21:28:34 -07:00
James R.
da2f083e2c HUD: fit bumpers, prisons, spheres, speedometer, rankings, item box HUD without overlapping 2023-10-03 21:28:34 -07:00
James R.
36bbf08ab0 HUD: fix alignment of 2P level timer and power-ups 2023-10-03 21:28:34 -07:00
James R.
454850d349 ST_CalculateFadeIn: do not interpolate at very beginning or end of fade 2023-10-03 21:28:34 -07:00
James R.
90d8a9643f G_CanView: unconditionally let view a player already viewed on a different splitscreen 2023-10-03 21:28:33 -07:00
James R.
8b79689d81 Add K_DirectorIsAvailable
Fixes director not working correctly if there are
duplicates in displayplayers.
2023-10-03 21:28:33 -07:00
James R.
d020c9faaa Add G_FixCamera, reset camera, angle and view interpolation 2023-10-03 21:28:33 -07:00
James R.
f2cc5ce36a R_ResetViewInterpolation: wait an extra tic if R_UpdateViewInterpolation has not run yet, do not add extra time for subsequent calls 2023-10-03 21:28:33 -07:00
James R.
7b3010c93d Fix many instances of splitscreen view number if there are duplicate displayplayers
- Avoid iterating displayplayers to find view number and
  prefer R_GetViewNumber.
- Iterate over all matching displayplayers if necessary,
  instead of stopping at the first match.
2023-10-03 21:28:33 -07:00
James R.
d5bac57409 Ring sting indicator: show for owner player as well 2023-10-03 21:28:33 -07:00