Commit graph

25937 commits

Author SHA1 Message Date
Eidolon
0e307208f8 Add cmake option to skip comptime update
In VS Code, comptime forces the game to be relinked even when no code
has changed. This is a bit of a nuisance when starting with the
debugger in the C++ extension, adding around 5 seconds of startup time
to the game.
2024-01-28 14:54:28 -06:00
Oni
22e2b97171 Merge branch 'fix-give-command-bounds' into 'master'
Fix potential out-of-bounds exploit with give command

Closes #698

See merge request KartKrew/Kart!1874
2024-01-28 19:26:17 +00:00
James R
4576956ca6 Got_Cheat/CHEAT_GIVEPOWERUP: avoid reading out of bounds 2024-01-27 01:11:48 -08:00
Oni
b323c6bdb7 Merge branch 'battle-bimbos-monday' into 'master'
Battle Bimbos Monday thru Friday (The Bimbo Week)

Closes #977, #944, and #962

See merge request KartKrew/Kart!1869
2024-01-26 23:27:14 +00:00
James R
c2c15f12d3 POINTS power-up: play SRB2 emerald token SFX on pickup 2024-01-26 15:26:13 -08:00
James R
87531075f1 Versus: fix item box staying invisible forever 2024-01-26 15:12:47 -08:00
James R
3df76ae9a5 Fix end camera freezing level on first tic after level loads
Fixes item boxes not spawning in Prison Break
2024-01-26 15:12:47 -08:00
James R
9adf6e9568 srb2::Draw: add clip method, optionally switch between draw chain's cliprect or global cliprect 2024-01-26 15:12:46 -08:00
James R
510c82ca6d srb2::Draw: inherit global cliprect by default
- Let srb2::Draw be mixed seamlessly with C-style
  V_SetClipRect
2024-01-26 15:12:46 -08:00
James R
fc40d86a73 HUD: draw sphere meter under player nametags 2024-01-26 15:12:46 -08:00
James R
25fa76104f HUD: draw item box next to player nametags if GTR_ITEMARROWS (in Battle) 2024-01-26 14:30:57 -08:00
James R
3278685ef4 HUD: load 4P item spy graphics 2024-01-26 14:30:57 -08:00
James R
23aef8f673 HUD tracking: cull nametags
- Background overlapping nametags become 60% transparent
- Culling is performed separately from other HUD trackers
2024-01-26 14:30:57 -08:00
James R
5ef2df577a HUD tracking: cull 20x10 blocks (previously 20x20) 2024-01-26 14:30:57 -08:00
James R
8ac2efe82c HUD tracking: refactor nametags to use generic HUD tracker sorting 2024-01-26 14:30:57 -08:00
James R
fa63dffe6b debughudtracker: fix splitscreen drawing 2024-01-26 14:30:57 -08:00
James R
9c075b68ec battleufotest: fix splitscreen BUFO spawnpoint HUD tracker 2024-01-26 14:30:57 -08:00
James R
ff0a088b04 V_DrawFill (HWR2): add transparency support 2024-01-26 14:30:56 -08:00
James R
2364fb80a0 Battle: remove overhead arrows (physical object)
Old shitty object from v1 that is about to be replaced by
HUD tracking. :D
2024-01-26 14:30:56 -08:00
James R
aefbd8c58a Remove unused overhead WANTED code
From v1 Battle
2024-01-26 14:30:56 -08:00
James R
a0fb79370b Battle: each player is worth 3 points toward the point limit (previously 4) 2024-01-26 14:30:56 -08:00
James R
45a9042650 srb2::Draw: relax type on colormap/colorize color argument
Lets you pass player_t.skincolor directly to the methods
without using static_cast<skincolornum_t>.

No, I don't want type safety on enums, this is SRB2.
2024-01-26 14:30:56 -08:00
James R
84641c896e Battle: add POINTS power-up, get 6 points 2024-01-26 14:30:56 -08:00
James R
b52384b294 Add K_GivePointsToPlayer, gives the points and spawns the VFX in one fell swoop 2024-01-26 14:30:56 -08:00
AJ Martinez
b08dcc06c1 Player-lock paperitems refinement
- Transparent for single-screen players who can't pick up
- Land quicker and closer after monitor destruction
- Lock for less time to compensate
2024-01-26 14:30:56 -08:00
James R
841827480b Add K_EndBattleRound, end the round and give a player 100 points if they won 2024-01-26 14:30:56 -08:00
James R
6197458ca4 Battle: fix being able to gain points or win from "final" KO after round ends 2024-01-26 14:30:55 -08:00
James R
06514b0e8f Battle: fix losing points from dying after round ends 2024-01-26 14:30:55 -08:00
James R
235d107f50 P_AddPlayerScore: negative values remove points 2024-01-26 14:30:55 -08:00
James R.
0c7eb20e3d Merge branch 'splitscreen-vote-selectors' into 'master'
Selectors for votes in splitscreen

See merge request KartKrew/Kart!1864
2024-01-26 10:15:41 +00:00
James R.
c372c8543a Merge branch 'r-draw-column-minor-optimization' into 'master'
R_DrawColumnTemplate: minor optimization for non-power-of-2 textures

See merge request KartKrew/Kart!1854
2024-01-26 10:07:04 +00:00
James R.
ba72900475 Merge branch 'visplane-test' into 'master'
debugrender_visplanes and debugrender_freezebsp

See merge request KartKrew/Kart!1855
2024-01-26 10:06:52 +00:00
Oni
1d8999923c Merge branch 'fix-postrace-rumble' into 'master'
Fix gamepad rumble freezing when it should stop (resolves #955)

Closes #955

See merge request KartKrew/Kart!1857
2024-01-25 14:48:25 +00:00
Oni
19ba6178e4 Merge branch 'fix-fault-hits' into 'master'
Fix fault exit conditions triggering before hitlag ended (resolves #947)

Closes #947

See merge request KartKrew/Kart!1856
2024-01-25 14:46:40 +00:00
Oni
6a87a5e213 Merge branch 'fix-freeze-steering-predict' into 'master'
Don't turn-predict for frozen players (resolves #910)

Closes #910

See merge request KartKrew/Kart!1860
2024-01-25 14:43:46 +00:00
Oni
5102ecab56 Merge branch 'fastfall-waterski-legends' into 'master'
Allow fastfall out of water run (resolves #902)

Closes #902

See merge request KartKrew/Kart!1858
2024-01-25 14:42:53 +00:00
Oni
c898e5550f Merge branch 'pwr-fixes' into 'master'
PWR.LV fixes

Closes #915

See merge request KartKrew/Kart!1849
2024-01-25 14:42:09 +00:00
Oni
2f0540f316 Merge branch 'mental-sonic' into 'master'
"mental sonic" cheat

See merge request KartKrew/Kart!1866
2024-01-25 03:11:14 +00:00
Sal
350054704f Merge branch 'vinny-undo' into 'master'
Do not prevent spawning of MT_ANCIENTSHRINE online

See merge request KartKrew/Kart!1785
2024-01-24 21:00:28 +00:00
Sally Coolatta
0911edbeda Bigger graphics for selectors 2024-01-24 14:04:23 -05:00
Sal
66ec978334 Merge branch 'ogl-ringshooter-face-sprite' into 'master'
Don't allow model rendering on Ring Shooter face overlay

Closes #960

See merge request KartKrew/Kart!1865
2024-01-24 01:50:05 +00:00
Oni
4bda042d69 Merge branch 'fix-replay-hudmessage' into 'master'
Fix HUD messages not being replay / party-aware

See merge request KartKrew/Kart!1859
2024-01-23 16:23:55 +00:00
AJ Martinez
4b245b7a85 Allow mentalsonic to affect things targeting players 2024-01-23 04:55:32 -07:00
AJ Martinez
0c6820b350 "mental sonic" cheat 2024-01-23 00:28:08 -07:00
Sally Coolatta
de3d9a29c8 Make PWRLV work in Battle
Additionally, add DBG_PWRLV for devmode so the debug prints can be accessed without needing to edit the code any.
2024-01-23 00:00:26 -05:00
Sally Coolatta
84d723a33d No 1 PWRLV point in lobby of bots/guests, either 2024-01-22 23:52:45 -05:00
SteelT
488386db68 Check for SPR2_SIGN, SPR2_SIGL and SPR2_TALK as well 2024-01-22 22:40:38 -05:00
SteelT
626d39870b Don't allow model rendering on Ring Shooter face overlay 2024-01-22 22:19:13 -05:00
James R.
a4c6b3a077 Merge branch 'battle-fuckers-thursday' into 'master'
Battle Fuckers Thursday Night Funkin' (but it's Monday-Sunday)

Closes #941, #950, #928, #951, #953, and #948

See merge request KartKrew/Kart!1863
2024-01-23 00:46:16 +00:00
James R
1f4bebe6da HUD: Battle points HUD (1P and 4P versions), displays right next to bumpers 2024-01-22 16:43:00 -08:00