Commit graph

24114 commits

Author SHA1 Message Date
Sally Coolatta
c4b7c9c39b Separate bots blockmap search global structs
Avoids an issue where K_EggboxStealth could clobber the values K_NudgePredictionTowardsObjects is in the middle of using. (We really need to be able to hand blockmap iterators a data pointer...)
2023-09-10 03:50:20 -04:00
Sally Coolatta
bfecf45110 Use srb2::finally on bot predictions
I'm not sure exactly where the bot code leaks, other than knowing its the prediction for sure (because the prediction is the only memory bots ever allocate), but srb2::finally is cool and lets me not care :)
2023-09-10 03:20:29 -04:00
Oni
79c4074499 Merge branch 'tally-screen' into 'master'
Tally screen

See merge request KartKrew/Kart!1463
2023-09-09 05:27:55 +00:00
Sal
0675a4e527 Tally screen 2023-09-09 05:27:55 +00:00
Sal
c8eff3a957 Merge branch 'gp-initialize-bot-spectators' into 'master'
K_SetBot: check spectator status on first round of GP

Closes #664

See merge request KartKrew/Kart!1467
2023-09-08 21:28:59 +00:00
Oni
ba42707d3e Merge branch 'special-out-fix' into 'master'
P_KillPlayer: fix "special out" -- player shrinks to a speck from dying in Sealed Stars

Closes #663

See merge request KartKrew/Kart!1466
2023-09-08 11:37:27 +00:00
James R.
172c3861f4 K_SetBot: check spectator status on first round of GP
Fixes map warp to Prisons or Sealed Stars, since these
create a 1-round GP.
2023-09-08 03:24:20 -07:00
James R.
eca8804c0e P_KillPlayer: fix "special out" -- player shrinks to a speck from dying in Sealed Stars
Regression due to refactoring. I added some comments to
put emphasis on the intended behavior.
2023-09-08 03:12:03 -07:00
Oni
a11ba48a0a Merge branch 'spraycan-aura' into 'master'
Add HUD trackers for Spraycans (all variants), add missing variants for normal + Super Flicky HUD trackers, add shadow for Spraycans

Closes #649 and #662

See merge request KartKrew/Kart!1461
2023-09-08 10:08:03 +00:00
VelocitOni
7e33f92049 undef "near" and "far"
Eidolon: "they're legacy code compatibility defines that don't seem to have any way to be disabled other than undefing them"
2023-09-08 02:55:48 -07:00
James R.
9a409c5e93 P_DefaultMobjShadowScale: add shadow for Spraycans 2023-09-08 02:55:48 -07:00
James R.
c454843837 Spraycan HUD tracking 2023-09-08 02:55:48 -07:00
Sal
eff847b216 Merge branch 'connecting-conundrums' into 'master'
Connecting Conundrums

See merge request KartKrew/Kart!1453
2023-09-08 02:05:09 +00:00
Oni
ff5fc953b6 Merge branch 'fastfall-drifting' into 'master'
K_PlayerEBrake: let use in air, even if drifting

See merge request KartKrew/Kart!1460
2023-09-07 23:08:04 +00:00
Oni
c8b0944f32 Merge branch 'faster-startup' into 'master'
Startup: calculate file checksum in background thread

See merge request KartKrew/Kart!1442
2023-09-07 22:45:57 +00:00
Oni
722c9147b8 Merge branch 'intermission-tie-dye' into 'master'
Sonic 3-style intermission coloring

See merge request KartKrew/Kart!1462
2023-09-07 20:59:21 +00:00
Sally Coolatta
867253540c Sonic 3-style intermission coloring
Not just tan, but blue & a tiny bit of green!
2023-09-07 16:19:37 -04:00
James R.
11f428b67a Add 4P variants for TARGET HUD tracking 2023-09-07 00:08:42 -07:00
James R.
b3916ebb8d k_hud_track.cpp: refactor to separate graphics switching and flickering conditions from main drawing code 2023-09-06 21:50:04 -07:00
James R.
3551bbc392 K_PlayerEBrake: let use in air, even if drifting
Lets you fastfall if you're holding the drift button while
airborne.
2023-09-06 19:28:04 -07:00
James R
28f2659342 W_InitFile: calculate md5sum on background thread, for startup wads
Add W_GetFileMD5, blocks calling thread until md5 is
calculated.
2023-09-06 18:32:41 -07:00
Ash Logan
dedd0047bd wad: Refactor ResFindSignature to work in chunks
kinda mucky but it works
2023-09-06 18:32:40 -07:00
Ash Logan
8ca2dc77e7 wad: Cache pk3 central directory
Massive improvments from seeking less, allows file buffering to work better too

Co-authored-by: James R <justsomejames2@gmail.com>
2023-09-06 18:32:40 -07:00
Ash Logan
331a6ea41e wad: Fixes for big-endian platforms 2023-09-06 18:32:40 -07:00
James R
c46231ede9 Convert w_wad.c to w_wad.cpp 2023-09-06 17:36:21 -07:00
Oni
70207076c1 Merge branch 'hanicef-fps-counter' into 'master'
Fix inaccuracies in FPS counter

See merge request KartKrew/Kart!1456
2023-09-04 00:26:56 +00:00
Oni
81b1f4f8d7 Merge branch 'savedemo-titlecard-crash' into 'master'
Only save demo on exit if demobuf.p is ready

Closes #648

See merge request KartKrew/Kart!1459
2023-09-04 00:25:59 +00:00
Oni
98d1bd0466 Merge branch 'encore-spectator-turning' into 'master'
Invert freecam turning in encore

Closes #652

See merge request KartKrew/Kart!1458
2023-09-04 00:16:42 +00:00
Oni
cb0e2e178a Merge branch 'rhi-gl-remove-deferred-delete' into 'master'
rhi gl: Remove the garbage disposal

See merge request KartKrew/Kart!1454
2023-09-04 00:04:38 +00:00
Eidolon
203d045dfa Only save demo if demobuf.p is ready
Fixes KartKrew/Kart#648
2023-09-03 18:59:24 -05:00
Oni
3230cdbade Merge branch 'correctly-fix-sprite-scaling' into 'master'
Actually fix papersprites near camera crash

See merge request KartKrew/Kart!1457
2023-09-03 23:58:02 +00:00
Eidolon
ea8e7fc2d1 Invert freecam turning in encore
Fixes KartKrew/Kart#652
2023-09-03 18:52:11 -05:00
Oni
1c0a6c719c Merge branch 'gp_buttone' into 'master'
Intermission Button Slide-in

See merge request KartKrew/Kart!1450
2023-09-03 23:35:24 +00:00
Eidolon
e0758875d4 Actually fix papersprites near camera crash 2023-09-03 16:31:08 -05:00
Sal
ddaa21384d Merge branch 'monkey-input' into 'master'
Fuzzing cvar

See merge request KartKrew/Kart!1439
2023-09-03 18:43:13 +00:00
Eidolon
c23127c030 Merge branch 'fix-ripple-crash' into 'master'
Fix software water ripple crash

See merge request KartKrew/Kart!1455
2023-09-03 15:36:40 +00:00
Eidolon
ecd843f0f0 Use srb2's version of the ripple fix 2023-09-03 09:59:58 -05:00
Gustaf Alhäll
1cfeef8925 Fix inaccuracies in FPS counter 2023-09-03 09:38:04 -05:00
Oni
91186fe129 Merge branch 'shrink-but-good' into 'master'
Shrink fixups

See merge request KartKrew/Kart!1452
2023-09-03 12:05:04 +00:00
Eidolon
e76b1e1707 Fix sprite scale column iteration crash 2023-09-02 18:39:04 -05:00
Eidolon
210186d8f2 Clamp ds_bgofs in sw water ripples to fix crash 2023-09-02 16:03:50 -05:00
Eidolon
96af259c50 r_plane.c -> r_plane.cpp 2023-09-02 16:03:38 -05:00
AJ Martinez
295b177b74 Shrink darkness review fixup fixup 2023-09-02 13:20:38 -07:00
AJ Martinez
ef4c682999 Shrink darkness review fixup 2023-09-02 13:13:08 -07:00
Eidolon
ea7563df88 rhi gl: Remove the garbage disposal 2023-09-02 12:53:45 -05:00
toaster
8300a438d2 Command_connect: Clean up + improved error message for attempting to use during the server join process (which includes Server Browser) 2023-09-02 17:06:17 +01:00
toaster
90f97ef50a Comamnd_Map_f: Now that you can use the console from the menus, forbid starting a new session from the server join process (which includes the Server Browser) 2023-09-02 17:05:05 +01:00
toaster
124e69be60 SL_InsertServer: Behaviour repair for multiple contexts
- Repair connecting to a modded server via direct IP/address
    - Done by leveraging serverlistultimatecount
    - !server was good for avoiding dinging modded local games, but there was other behaviour broken.
- Don't underflow serverlistultimatecount on rejection of undesired serverinfo
2023-09-02 17:01:23 +01:00
toaster
5c1f5f1824 Clear serverlistultimatecount when leaving Server Browser for any reason
This is the easiest existing tracked variable to ensure matches 1:1 to "you are joining a netgame from the Server Browser".
2023-09-02 16:58:19 +01:00
AJ Martinez
3aabdb4e98 Less extreme shrink darken 2023-09-01 20:50:46 -07:00