Commit graph

24365 commits

Author SHA1 Message Date
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
James R.
bcd4963f2e Always set starting bumpers in P_SpawnPlayer 2023-10-03 21:28:33 -07:00
Oni
f195b9742a Merge branch 'hardcode-chaos-chute' into 'master'
Hardcode Chaos Chute objects

See merge request KartKrew/Kart!1526
2023-10-04 03:50:56 +00:00
James R
035b6cca8f Merge branch 'reduce-tester-build-cope' into 'master'
Make making TESTERS builds simpler

See merge request KartKrew/Kart!1535
2023-10-04 03:40:15 +00:00
James R
6b18563549 Merge branch 'precip-height-random-crash' into 'master'
Conditionally randomize precip height

Closes #528

See merge request KartKrew/Kart!1536
2023-10-04 00:12:10 +00:00
Eidolon
f13871ddbf Conditionally randomize precip height 2023-10-03 19:07:25 -05:00
James R
99f816f34b Merge branch 'window-resolution-fixes' into 'master'
Fixes to HWR2 window, framebuffer resizing; scr_scale, scr_x, scr_y cvars for my personal use

See merge request KartKrew/Kart!1537
2023-10-03 23:43:20 +00:00
Eidolon
f364bfb565 Merge branch 'hanicef-branchless' into 'master'
Avoid branch prediction slowdowns in R_PointOnSide

See merge request KartKrew/Kart!1540
2023-10-03 22:57:15 +00:00
Gustaf Alhäll
2f01c6fa16 Avoid branch prediction slowdowns in R_PointOnSide
# Conflicts:
#	src/r_main.c
2023-10-02 19:35:53 -05:00
Oni
bcc8fc6438 Merge branch 'freeze' into 'master'
Mobj thinker freeze condition rework

Closes #690

See merge request KartKrew/Kart!1505
2023-10-02 05:42:19 +00:00
Oni
1387fa81a8 Merge branch 'ballz-activation' into 'master'
Ball Switch

See merge request KartKrew/Kart!1534
2023-10-02 05:41:46 +00:00
Oni
200986f8b9 Merge branch 'sunbeam-palm-draw-further' into 'master'
Make Sunbeam Paradise palm trees draw from infinite distance

See merge request KartKrew/Kart!1538
2023-10-02 03:38:00 +00:00
James R.
7c4bb65380 MT_SUNBEAMPALM_STEM, MT_SUNBEAMPALM_LEAF: add MF_DRAWFROMFARAWAY 2023-10-01 18:08:18 -07:00
James R.
a7382ca9d0 UpscaleBackbuffer::begin_pass: use separate renderpass to clear framebuffer if texture was recreated
Fixes wipes potentially reading invalid data from the
framebuffer if the texture was recreated but not yet
rendered to.
2023-09-30 19:23:14 -07:00
James R.
2ec5d3e6b0 Add scr_scale, scr_x, scr_y cvars to scale and adjust viewport position 2023-09-30 16:50:41 -07:00
James R.
37dc1189bb srb2::hwr2::BlitRectPass::set_output: set x/y as well 2023-09-30 16:38:56 -07:00
James R.
2d9d06e267 Let window be resizable 2023-09-30 16:09:10 -07:00
James R.
18efb35602 SDLSetMode: render immediately after resolution change to avoid 1-frame of texture presented at wrong size 2023-09-30 16:07:53 -07:00
Lach
7cd059dfb3 Merge remote-tracking branch 'origin/master' into hardcode-chaos-chute 2023-09-29 22:41:31 +10:00
Lach
2bdc055139 Scale Chaos Chute objects 2023-09-29 20:27:13 +10:00
Lach
abf784cc79 Have bots avoid MT_SPECIALSTAGEBOMB 2023-09-29 20:25:59 +10:00
Lach
1ea5b6759a Add screenshake to MT_SPECIALSTAGEBOMB explosions 2023-09-29 20:23:18 +10:00
SteelT
f63eb31d5b Remove host-testers configure preset from CMakePresets.json 2023-09-27 19:31:00 -04:00
toaster
d3d548ea36 Copypaste error 2023-09-27 00:44:21 +01:00
toaster
c90eaae477 IsPlayerAdmin: Make reimplementing the DEVELOP-specific behaviour at a later date easier 2023-09-27 00:25:25 +01:00
toaster
b698fcfd0f Enable Server Browser access in TESTER builds
Does not forbid seeing modded servers even if you haven't unlocked add-ons yet
2023-09-27 00:14:11 +01:00
toaster
47fe8bb9b1 Move SRB2_CONFIG_DEV_BUILD and SRB2_CONFIG_TESTERS to the root directory CMakeLists.txt
Repairs the pre-CMake functionality of TESTERS builds having the format `ringracers_branch-name_TESTERS.exe`
2023-09-26 23:59:14 +01:00
toaster
0b5fd330e6 Remove HOSTTESTERS
Now you can host for testers using a bog-standard DEVELOP build.
2023-09-26 23:56:35 +01:00
toaster
9854da9da1 IsPlayerAdmin: Do not have non-tester specific DEVELOP behaviour
It's easy enough for the host to verify any given player, and this is in fact the only HOSTTESTERS-specific sync change..!?
2023-09-26 23:54:56 +01:00
toaster
f522cae573 SV_GenContext: Guard #ifndef TESTERS
Fixes compiling TESTERS builds
2023-09-26 23:16:49 +01:00
toaster
50ae488934 Merge branch 'local-music-patch' into 'master'
ACS music functions: add optional bool to only affect player activator

See merge request KartKrew/Kart!1531
2023-09-26 22:08:14 +00:00
toaster
55bdd60519 Merge branch 'radio-shuffle' into 'master'
Stereo Mode: Add "Shf" (Shuffle) option

See merge request KartKrew/Kart!1517
2023-09-26 22:07:59 +00:00
toaster
25b4eb4f13 Merge branch 'linedef-80-respawn' into 'master'
Respawn things at Z position offset by linedef 80

Closes #542

See merge request KartKrew/Kart!1528
2023-09-26 22:07:46 +00:00
toaster
36f7c57ca5 Merge branch 'fix-shakes' into 'master'
Some quake improvements

See merge request KartKrew/Kart!1523
2023-09-26 20:36:04 +00:00
toaster
15a87a8a77 P_DoQuakeOffset: Prevent two calls to FixedDiv 2023-09-26 21:34:08 +01:00
Oni
9aa99db2e6 Merge branch 'damage-polish' into 'master'
Damage Polish

See merge request KartKrew/Kart!1524
2023-09-26 20:15:48 +00:00
Sally Coolatta
288110539a Fix activating more than once 2023-09-26 11:40:29 -04:00
Sally Coolatta
1fd1cee2e4 Remove fullbright from ball switch pad
Allows brightmap to come through (although I can't get the brightmap to work)
2023-09-26 09:06:07 -04:00
Sally Coolatta
643cf46b61 Ball switch 2023-09-26 08:37:10 -04:00
Sal
0ae5071bbb Merge branch 'memory-tweaks' into 'master'
Hanicef allocator changes, simplified memcpy and fixed alignment

See merge request KartKrew/Kart!1530
2023-09-25 21:42:23 +00:00
Sal
0301e332d8 Merge branch 'move-hom-removal' into 'master'
Move HOM removal from R_RenderPlayerView to D_Display

See merge request KartKrew/Kart!1532
2023-09-25 21:41:32 +00:00
James R.
7ea0e2081e Move HOM removal from R_RenderPlayerView to D_Display
This lets duplicate displayplayers[0] render correctly,
since repeating occurrences of displayplayers[0] won't
clear the screen multiple times.
2023-09-25 03:07:02 -07:00
James R.
fa86512a4b ACS music functions: add optional bool to only affect player activator 2023-09-25 02:06:16 -07:00
Oni
9d54dbf9a9 Merge branch 'clamp-sprite-column' into 'master'
Always clamp texturecolumn in sprite draw

See merge request KartKrew/Kart!1527
2023-09-25 00:16:52 +00:00
Eidolon
2bad8126ac Delete outdated memcpy optimization
The libc memcpy is faster
2023-09-24 18:32:22 -05:00
Eidolon
b7715d9186 Ensure Z_Malloc provides same alignment as libc 2023-09-24 18:08:28 -05:00
James R.
bd9cadbe8d K_CalculateTrackComplexity: format using fmt::format, to account for differences in size_t platform type 2023-09-24 15:52:00 -07:00