Commit graph

26116 commits

Author SHA1 Message Date
toaster
d87fba3f57 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into separate-spb-attack-records 2024-02-17 23:13:06 +00:00
toaster
8033417551 Y_CalculateMatchData: Only use player tally if data is valid 2024-02-17 23:12:31 +00:00
toaster
b70e59755f Tie SPB Attack and Encore together
- A method to access Encore in Time Attack
    - so we have SOME Encore singleplayer content on launch
- Also available for Versus mode (in Special Attack)
    - Finally, Encore rematches have a way to access them!
    - Obviously will not spawn a chasing SPB, it's just a signal for "hard mode"
- Relevant gametype + unlock checks have been abstracted into M_EncoreAttackTogglePermitted
2024-02-17 23:11:58 +00:00
Oni
793e56b66d Merge branch 'gp-egg-tv' into 'master'
Grand Prix support for replays

Closes #1042, #993, and #1044

See merge request KartKrew/Kart!1921
2024-02-17 22:04:13 +00:00
James R
8bf2343a5d Egg TV: Prisons, Sealed Star and Versus icons 2024-02-12 18:22:59 -08:00
James R
822d67e422 Egg TV: rename "Special" mode to "Sealed Star" 2024-02-12 18:22:59 -08:00
James R
b275a14ec2 Egg TV: detect Prisons mode 2024-02-12 18:22:59 -08:00
James R
aa4ff315b7 Replays: bump demo version 7 -> 8 2024-02-12 18:14:33 -08:00
James R
b2ce6aebe7 Replays: save Grand Prix info
- grandprixinfo
  - gp
  - gamespeed
  - masterbots
  - eventmode
- player_t
  - lives
  - totalring
2024-02-12 18:14:32 -08:00
James R
6dc8f45df6 Replays: flags UINT8 -> UINT16 2024-02-12 18:14:32 -08:00
James R
5650dde2ac G_DoPlayDemo: fix encoremode boolean on demo playback
Fixes the Title Card using the wrong sound effect
2024-02-12 18:14:32 -08:00
Oni
796e2b9517 Merge branch 'bumper-boats' into 'master'
Improved combo escape mechanics in Battle

See merge request KartKrew/Kart!1914
2024-02-12 18:50:20 +00:00
Oni
524b63ad8f Merge branch 'pit-blame' into 'master'
Credit players for deathpits that result from their hits ("pit blame")

Closes #1040

See merge request KartKrew/Kart!1920
2024-02-12 18:49:30 +00:00
AJ Martinez
11f7eb4b26 Guard against out-of-range pitblame, reset pitblame when triggered 2024-02-11 23:43:42 -07:00
AJ Martinez
c0598610e9 Credit players for deathpits that result from their hits 2024-02-11 21:40:53 -07:00
Oni
7a54b3eb3b Merge branch 'debug-holy-textures' into 'master'
Debugging for holey textures on walls

Closes #1038

See merge request KartKrew/Kart!1919
2024-02-12 01:40:59 +00:00
James R
3e225f97a2 Render errored holey textures as TRANSERx 2024-02-11 17:10:09 -08:00
James R
38c9c5f9a7 devmode render: show a list of errored holey textures on the HUD
Holey textures (textures with transparent pixels) cannot
be used on upper/lower textures or on 1-sided linedefs. If
the game tries to render this, the texture name will
appear on the HUD if devmode render is turned on.
2024-02-11 17:10:09 -08:00
toaster
3f78c9d2e6 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into separate-spb-attack-records
# Conflicts:
#	src/menus/play-local-race-time-attack.c
#	src/p_setup.cpp
2024-02-11 23:27:33 +00:00
AJ Martinez
09b5cb5020 MAXCOMBOTIME 6s -> 4s 2024-02-10 15:50:15 -07:00
AJ Martinez
8f2989a8a9 Don't inflate bumpers you're going to lose 2024-02-10 15:28:26 -07:00
AJ Martinez
b55d236733 Scale bumper size to combo length when hit 2024-02-10 15:16:48 -07:00
AJ Martinez
18ee3ad73d Battle bumpers: 3x progressivethrust decay 2024-02-10 14:38:04 -07:00
AJ Martinez
e0494d5576 Merge remote-tracking branch 'origin/master' into bumper-boats 2024-02-09 22:32:25 -07:00
Oni
da84a94362 Merge branch 'hyu-feedback' into 'master'
Add Hyudoro sounds

Closes #1030

See merge request KartKrew/Kart!1912
2024-02-10 04:42:29 +00:00
Oni
83183b53cf Merge branch 'fix-column-fix' into 'master'
R_DrawColumn_Template: fix non-po2 column drawing

Closes #1033

See merge request KartKrew/Kart!1913
2024-02-10 04:41:25 +00:00
James R
27b4013c18 R_DrawColumn_Template: fix non-po2 column drawing
- Fix for efd017085
- To preserve tutti-frutti fix, offset drawing with
  texheight, but detect po2 with sourcelength
2024-02-09 19:46:45 -08:00
Oni
0e8f35a5ce Merge branch 'map-names-everywhere' into 'master'
Map name on pause menu and intermission; current song credit on pause menu; server name in medium font

Closes #769 and #402

See merge request KartKrew/Kart!1892
2024-02-10 02:14:49 +00:00
James R
ce7d22d029 Pause menu: display map icon, map name and currently playing song credit 2024-02-09 18:13:35 -08:00
James R
1a0525b0c0 Adjust position of PAUSE graphic
- Move the graphic up a little
- Fix position on pause menu in non-green resolutions
2024-02-09 18:13:35 -08:00
James R
d7e0a4d01a Add S_LoadSongCredit/S_UnloadSongCredit, refactor cursongcredit
- cursongcredit behaves the same as before
- Always compose song credit string
- g_realsongcredit always stores the song credit for the
  current music, even if no song credit is displayed on
  the HUD
2024-02-09 18:13:35 -08:00
James R
fb9f4a68b9 Server splash: display server name in medium font 2024-02-09 18:13:35 -08:00
James R
3876f16c0d Intermission: fix speed scramble position in non-green resolutions 2024-02-09 18:13:34 -08:00
James R
eefb4de6d6 Intermission: scroll map name above "DR. ROBOTNIK'S RING RACERS" 2024-02-09 18:13:34 -08:00
AJ Martinez
db6a8efdeb Add Hyudoro sounds 2024-02-09 18:36:01 -07:00
James R.
6b831a0fa2 Merge branch 'fix-show-character-ghosts' into 'master'
Time Attacking: fix "Show Character" option for ghosts

Closes #1013

See merge request KartKrew/Kart!1896
2024-02-09 23:47:50 +00:00
AJ Martinez
2327b6fcca Merge branch 'calm-ark-arrows' into 'master'
Freeze Ark Arrows in reducevfx

See merge request KartKrew/Kart!1911
2024-02-09 23:22:14 +00:00
AJ Martinez
8f0ee6752f Freeze Ark Arrows in reducevfx 2024-02-09 16:18:15 -07:00
AJ Martinez
7b5abc19b9 Merge branch 'fix-spb-combo' into 'master'
SPB: fix endless combo on players in its path

Closes #1015

See merge request KartKrew/Kart!1900
2024-02-09 22:49:31 +00:00
AJ Martinez
bd9511424a Merge branch 'fuzzfixer' into 'master'
HUGE crash fixes (super hyper fuzzer + ASAN)

See merge request KartKrew/Kart!1908
2024-02-09 22:49:22 +00:00
AJ Martinez
1f2e57c060 K_RepairOrbitChain: Don't naively call P_MobjWasRemoved on NULL 2024-02-09 12:31:34 -07:00
James R
42146c5ea2 R_AddPrecipitationSprites: fix use of th after freed
R_ProjectPrecipitationSprite may free th
2024-02-08 18:37:03 -08:00
James R
56e710266c M_TokenizerOpen: pass size in as argument instead of calling strlen implicitly
This function is used for parsing TEXTMAP and the data is
not NUL-terminated.
2024-02-08 18:16:41 -08:00
AJ Martinez
78a727e9cb Guard against more unsafe accesses to P_DamageMobj source 2024-02-08 17:50:38 -08:00
James R
b6241adbe9 Use PU_LEVEL for texture caching
- Some maps may contain very large or very many (animated)
  textures
- Texture sets are not typically shared between maps, so
  each texture allocation may go unused for a long time
  after the map ends
- Keeping these PU_STATIC leads to significant memory
  usage over the program duration
2024-02-08 17:50:38 -08:00
SteelT
cbb7c281c8 discord.c: Fix joinSecret memory leak 2024-02-08 01:26:07 -05:00
SteelT
5c0bebbeba discord.c: Fix removeRequest->discriminator not being freed in DRPC_RemoveRequest 2024-02-08 01:25:57 -05:00
James R
af363e575a K_UpdateDistanceFromFinishLine: fix memory leak with backwards pathfinding 2024-02-07 22:10:42 -08:00
AJ Martinez
290b97500a Fix crashes when P_DamageMobj was naively passed a removed source 2024-02-07 20:21:32 -07:00
AJ Martinez
6b980cb1c7 Fix stale reference in P_KillMobj (crash) 2024-02-07 15:09:26 -07:00