Commit graph

25923 commits

Author SHA1 Message Date
James R
7d6239e06c Add round end camera system
- Spins and zooms around a center point
- Freezes the level while spinning
- Pans over to follow and object after spinning ends
- Timing and speed completely customizable
2024-01-22 16:42:29 -08:00
James R
446f5d23f3 Add srb2::ArchiveWrapper and srb2::UnArchiveWrapper, helper class to simplify p_saveg I/O 2024-01-22 16:42:29 -08:00
James R
8a882c55e5 Battle: have 6 emeralds and touch the 7th to win instantly
Win instantly instead of waiting for the emerald to finish
swirling into your body.
2024-01-22 16:42:29 -08:00
James R
e06e0dcb3a Battle: emerald win HUD polish
- Bigger
- Aligned to the Tally boxes
- Each emerald slides in one-by-one over the duration of
  the Tally
- Flash after the final emerald slides into place
2024-01-22 16:42:29 -08:00
James R
eccc0a6924 Fix battlespawn cheat 2024-01-22 16:42:28 -08:00
Sally Coolatta
d7cb961e37 Selectors for votes in splitscreen
Kind of an embarrassing issue we had during the demoing.
2024-01-22 18:29:27 -05:00
Sal
4fb287f47b Merge branch 'fat-demos' into 'master'
Double demo buffer size

See merge request KartKrew/Kart!1862
2024-01-22 21:11:31 +00:00
James R
8baf3cd28e Battle: number of monitors that can spawn scales with lobby size
- Duel: 1
- Small: 3
- Medium: 5
- Large: 8
2024-01-21 15:58:30 -08:00
James R
20bd1ddf35 Guard Break: fix knockback direction 2024-01-21 15:58:30 -08:00
James R
fd175f4a5c Insta-Whip: scale knockback to map scale 2024-01-21 15:58:30 -08:00
James R
ab575deaa2 Bubble blow-up: hitlag is based on player's speed, not Bubble's speed 2024-01-21 15:58:30 -08:00
James R
4dc1a404f6 Battle UFO: fix Bubble blow-up collision 2024-01-21 15:58:30 -08:00
James R
07ecf94999 Bubble: refactor collision code, goes in k_collide 2024-01-21 15:58:30 -08:00
James R
30d7e94ece Fix rare Bubble Shield crash
Just NULL-checking
2024-01-21 15:58:30 -08:00
James R
f7e3ea76d1 Fix Mine omega combo (instant death) 2024-01-21 15:58:29 -08:00
Oni
89d1c29c80 Merge branch 'ring-dump-fade' into 'master'
Ring dump transparency

See merge request KartKrew/Kart!1861
2024-01-21 02:52:11 +00:00
AJ Martinez
e6f265c762 Double demo buffer size 2024-01-20 19:49:13 -07:00
AJ Martinez
e867a9ee41 Ring dump transparency 2024-01-20 19:15:09 -07:00
AJ Martinez
b67e4fbc4a Don't turn-predict for frozen players 2024-01-20 18:05:43 -07:00
AJ Martinez
4bbbe82fdc Fix HUD messages not being replay / party-aware 2024-01-19 20:40:16 -07:00
AJ Martinez
3a305be3cd Allow fastfall out of water run 2024-01-19 20:26:06 -07:00
AJ Martinez
1a44474cda Activate FAULT HUD when VOID 2024-01-19 19:34:27 -07:00
AJ Martinez
5f1b8bb3b8 Fix gamepad rumble freezing when it should stop 2024-01-19 19:03:33 -07:00
AJ Martinez
8f320b6ac2 Merge branch 'fix-battle-replay-desync' into 'master'
Replay consistency: sync bumper count correctly

See merge request KartKrew/Kart!1852
2024-01-20 01:25:51 +00:00
Oni
973d5ba658 Merge branch 'objective-hud' into 'master'
Add persistent objective messages via K_AddMessage, expose to ACS

See merge request KartKrew/Kart!1843
2024-01-20 00:19:17 +00:00
AJ Martinez
9cbeca9595 Fix fault exit conditions triggering before hitlag ended 2024-01-19 16:40:22 -07:00
AJ Martinez
fb20f7b036 Merge branch 'opengl-brightmaps' into 'master'
OpenGL BRIGHTMAPs + sprite/model directional lighting

See merge request KartKrew/Kart!1485
2024-01-19 05:14:41 +00:00
James R.
d20ef561b9 Merge branch 'button-drawer' into 'master'
Embed button prompts in string drawers (ACS Dialogue support)

Closes #943

See merge request KartKrew/Kart!1847
2024-01-18 23:03:12 +00:00
AJ Martinez
c5bafc7b4c Clear HUD messages on level transition 2024-01-18 14:55:10 -07:00
James R
b903da899e Objective text ACS: return false
I think these are only supposed to return true if they
suspend thread execution, but I'm not sure.
2024-01-17 20:13:16 -08:00
AJ Martinez
a6b1710a7e Merge branch 'blend-fast' into 'master'
Use the old faster luminance calc for HWR blends

Closes #516

See merge request KartKrew/Kart!1853
2024-01-18 03:35:30 +00:00
James R
014cbdb3bb OpenGL: fix BRIGHTMAP sneaking into textures where it doesn't belong and creating artifacts 2024-01-17 18:21:46 -08:00
James R
5603b7b841 debugrender_freezebsp: freeze culling to your current position, so you can see how much level is being rendered 2024-01-17 16:43:45 -08:00
James R
afa78333fc debugrender_visplanes: highlight borders of visplanes 2024-01-17 16:42:27 -08:00
Sal
9382031337 OpenGL sprite+model directional light 2024-01-17 12:05:12 -08:00
Sally Coolatta
83e3401806 Don't use colormap tint on OGL brightmap 2024-01-17 12:05:12 -08:00
Sally Coolatta
d03eb9e9cd Add batching support to OGL brightmaps 2024-01-17 12:05:12 -08:00
James R.
e4a2461faf WIP - brightmaps in opengl, artifacts may occur, batching is super broken 2024-01-17 12:05:11 -08:00
James R
87db195481 R_DrawColumnTemplate: minor optimization for non-power-of-2 textures
This is very likely a platform specific optimization. The
optimization is about a very hot std::clamp. However, the
code is near functionally identical to the libstdc++
implementation, aside from being completely inlined.

I can't say why my version is faster, since I haven't read
any assembly output. More details in source code comments.
2024-01-17 11:35:59 -08:00
Sally Coolatta
0f695e203f Use old faster luminance calc for HWR blends
Not accurate to Software's look but can't be assed to fuck around with legacy HWR to implement this as shader.
2024-01-17 13:27:32 -05:00
James R
dffc48849c Replay consistency: sync bumper count correctly 2024-01-17 03:00:20 -08:00
Oni
3aace4f777 Merge branch 'battle-whis-wednesday' into 'master'
Battle: Monitor drops, Overtime elimination, point cap

See merge request KartKrew/Kart!1851
2024-01-17 08:44:32 +00:00
James R
97e5d7404a Battle: final KO gives the winner 100 points 2024-01-17 00:22:22 -08:00
James R
54cf037eff Battle: point limit cap 20 -> 16 2024-01-17 00:22:22 -08:00
James R
9e4b716ed1 Battle: any death is an elimination while Overtime Barrier is tangible 2024-01-17 00:22:22 -08:00
James R
91fdba650f Monitors: for 6 seconds, dropped items can only be picked up by the player who destroyed the monitor
- Paper items colorize to player color
  - Color flickers back to normal 1 second before the item
    can be picked up by anyone
- If a player who can't pick it up steps on the paper
  item, that player becomes shadowed
2024-01-17 00:22:22 -08:00
AJ Martinez
7b2c5276c6 Add opcodes for HUD message system 2024-01-17 00:46:22 -07:00
James R
9cd426dd3d Battle: last player standing gets 100 points 2024-01-16 23:11:46 -08:00
Oni
47faa36887 Merge branch 'battle-fuckers-monday' into 'master'
Battle Fuckers Monday Tuesday

Closes #930, #932, #926, #929, #939, #940, #933, #931, #934, and #936

See merge request KartKrew/Kart!1845
2024-01-17 06:38:34 +00:00
James R
1aab476b00 Battle: base Overtime Laser height on camera position instead of player object position 2024-01-16 22:36:16 -08:00