Commit graph

25420 commits

Author SHA1 Message Date
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
4a2f3745f0 P_MobjRegularThink for new objects: Return early if certain objects that self-delete do so on this frame 2023-09-26 22:53:44 +01:00
toaster
5c57214e8c New player variables: Fix typing edge cases
- p_saveg.c
- lua_playerlib.c
2023-09-26 22:52:38 +01:00
toaster
a68a0b0135 All other modified files: Trailing whitespace cleanup 2023-09-26 22:51:58 +01:00
toaster
c17b2a44b3 Obj_getPlayerOffRideroid: NULL check 2023-09-26 22:17:52 +01:00
toaster
4f980dc949 Obj_rideroidTrail: Use (RF_DONTDRAW & ~K_GetPlayerDontDrawFlag) instead of consoleplayer hack 2023-09-26 22:14:05 +01:00
toaster
d3e6c6ab02 Newly added object files: Fix Random classes
- Was previously abusing PR_FUZZ
- Add PR_TRACKHAZARD, for randomised track hazards
2023-09-26 22:10:43 +01:00
toaster
490959b6f7 Newly added object files: Fix trailing whitespace + EOF newline 2023-09-26 22:04:14 +01:00
toaster
bee1cb9a04 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into rideroid-hardcode
# Conflicts:
#	src/sounds.c
2023-09-26 21:39:19 +01: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
Lat
8d3cf30eec expose player variables to lua 2023-09-25 11:04:45 +02:00
Lat
08ee7dabac Fix Klagen spawn height 2023-09-25 10:39:02 +02: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
James R.
c743af4d77 P_SpawnMapThing, P_RaiseTaggedThingsToFakeFloor: save raised Z position for respawning later
P_RespawnSpecials just calls P_SpawnMapThing again, so
this works.
2023-09-24 15:36:46 -07:00
Gustaf Alhäll
2fa73d45d7 Clean up and simplify zone memory allocation 2023-09-24 17:03:55 -05:00
Eidolon
0f3ede7fed Always clamp texturecolumn in sprite draw 2023-09-24 14:39:12 -05:00
Eidolon
1ffc7d7c82 r_things.c -> r_things.cpp 2023-09-24 14:30:41 -05:00
Sal
7dafacaf7d Merge branch 'just-sound-code-things' into 'master'
Consolidate sound/music volume functions; kill HW3SOUND off the face of the game code

See merge request KartKrew/Kart!1518
2023-09-24 19:00:14 +00:00
Lat
0aa6d8c86b Fix missing bubbles on underwater WPZ turbines 2023-09-24 17:08:59 +02:00
Lach
7a8bb8ec40 Hardcode Chaos Chute objects 2023-09-24 22:29:52 +10:00
Lat
b1c1b658da Speed up DLZ rockets with first blood 2023-09-24 14:29:44 +02:00
Lat
3be4156e59 Make rideroid speed up to 150% speed with first blood 2023-09-24 14:21:49 +02:00
Lat
32620fbb4f Fix these godforsaken rideroids 2023-09-24 13:57:42 +02:00
toaster
36f8a64d65 Stereo Mode: Add "shf" (Shuffle) option
This basically came to me in a dream, who am I to look the horse in its mouth

- Press to start a shuffled sequence, losing your current position in the autosequence.
    - Press again to disable, but keep your current track.
- Adjust horizontal offset of Stereo buttons slightly.
- More judiciously comment Sound Test functionality, to assist future maintainers.
2023-09-24 10:46:32 +01:00
Sal
e331c57a32 Merge branch 'waypoint-clang' into 'master'
Fix k_waypoint.cpp compile errors on clang

See merge request KartKrew/Kart!1525
2023-09-24 07:51:47 +00:00
Lach
56f549676a Fix k_waypoint.cpp compile errors on clang 2023-09-24 12:39:33 +10:00
Sal
ad6ba119d4 Merge branch 'more-small-acs' into 'master'
Small ACS additions

See merge request KartKrew/Kart!1502
2023-09-23 20:02:47 +00:00
Sally Coolatta
d3ee4d631a Add "Freeze" ACS function 2023-09-23 15:54:01 -04:00
Sally Coolatta
0211dc4f34 Reset freeze on level load 2023-09-23 15:51:33 -04:00
Sally Coolatta
6c9a253ebf Polish ring spill
More circular by using pitch, takes gravity into account, actually has a code path for ring loss that's more than 5 rings
2023-09-23 14:52:04 -04:00
Lat
a710237fde Hardcode the remainder of the WPZ objects 2023-09-23 17:05:21 +02:00
Sally Coolatta
c6897688d0 Delay ring burst after damage 2023-09-23 10:42:00 -04:00