Commit graph

22614 commits

Author SHA1 Message Date
Eidolon
2b01d8a589 rhi: Reset patch atlas if patch is freed 2023-04-15 22:19:01 -05:00
Eidolon
3ad3dd5cd9 rhi: Extract patch atlas cache to own class 2023-04-15 21:04:07 -05:00
Eidolon
5f78620bd9 rhi: Add rhi::recreate_buffer_to_size
Simple utility to retain or recreate a buffer to a desired size.
2023-04-15 16:32:56 -05:00
Eidolon
ae1d0e680a rhi: Add Rhi::get_buffer_size 2023-04-15 16:32:56 -05:00
toaster
62065e9b78 Merge branch 'dont-pop-lightning' into 'master'
No more lightning shield detonate when hit

See merge request KartKrew/Kart!1171
2023-04-14 20:02:12 +00:00
toaster
819d956085 Merge branch 'if-crash-dont' into 'master'
P_CheckPosition: If thing was removed in its remit and iteration has MF_NOCLIP, do not return true

See merge request KartKrew/Kart!1172
2023-04-14 20:00:15 +00:00
toaster
2f63669385 P_CheckPosition: If thing was removed in its remit and iteration has MF_NOCLIP, do not return true
This fixes increment_move in the case of Lightning shield pop
2023-04-14 14:38:32 +01:00
AJ Martinez
733ed325da Instead of detonating lightning when getting hit, make a sad sound 2023-04-13 23:28:35 -07:00
toaster
6fec652bde Merge branch 'test-admin' into 'master'
Use non-DEVELOP admin promotion in (HOST)TESTERS

See merge request KartKrew/Kart!1170
2023-04-13 23:22:59 +00:00
AJ Martinez
f3d062e4e1 Use non-DEVELOP admin promotion in (HOST)TESTERS 2023-04-13 16:19:35 -07:00
toaster
2bb9e9856b Merge branch 'error-message' into 'master'
I_ShowErrorMessageBox for SDL interface

See merge request KartKrew/Kart!1163
2023-04-13 22:59:26 +00:00
toaster
c19755f157 Merge branch 'join-assertion-perdition' into 'master'
P_NetUnArchiveThinkers: set thinker references to 0 before removing

Closes #514

See merge request KartKrew/Kart!1167
2023-04-13 22:57:08 +00:00
toaster
7f50e4cfa9 Merge branch 'online-handling' into 'master'
Digital-friendly handling responsiveness

See merge request KartKrew/Kart!1160
2023-04-13 22:52:30 +00:00
toaster
32d59372d3 P_NetUnArchiveThinkers: set thinker references to 0 before removing
Fixes failed assertion on server join (resolves #514)
2023-04-13 20:47:23 +01:00
toaster
ebb2d83799 Merge branch 'stairjank-rumble' into 'master'
Stairjank Rumble

See merge request KartKrew/Kart!1165
2023-04-13 12:05:19 +00:00
toaster
80c84f644b Merge branch 'snprintf-errormode-fix' into 'master'
m_perfstats.c: Fix directive output may be truncated warning/error

See merge request KartKrew/Kart!1164
2023-04-13 12:03:51 +00:00
toaster
43b1686abf Controller rumble if Stairjank is affecting your momentum directioning
Uses the same strength as offroad because of how it's functionally equivalent in Sealed Star stages
2023-04-12 23:08:50 +01:00
SteelT
bdfccb4478 Change static buffer size to 2048, fixes the "directive output may be truncated writing up to" error 2023-04-12 14:31:50 -04:00
SteelT
8311ba8acb m_perfstats.c: Fix directive output may be truncated warning/error
Lets the game build on my end with ERRORMODE enabled
2023-04-12 14:11:23 -04:00
toaster
74247d8100 Permit compiling with LOGMESSAGES disabled (and accomodate a crash early enough in the startup before the log is made, too) 2023-04-12 15:08:17 +01:00
toaster
adc2adb5c8 I_ShowErrorMessageBox for SDL interface
Handles showing the error message box on quit.
- Polite communication that the game fell over and that you (probably) didn't do anything wrong
- Accomodates pointing you to UNIXBACKTRACE and _WIN32 exchndl crash logs if relevant
- Points you to the specific dated and timed log file that contains the error
- Tells you that the vague and often confusing error message (like I_Error) is for a programmer, server host, or add-on creator
- Hee Ho!
2023-04-12 14:59:12 +01:00
toaster
6f9f3a733e Merge branch 'collision-crashes' into 'master'
More collision use after delete fixes

See merge request KartKrew/Kart!1161
2023-04-12 10:28:36 +00:00
toaster
ffd59c3d9b Merge branch 'fix-fof-spring-terrain' into 'master'
K_ProcessTerrainEffect: fix spring crash on top of FOF

See merge request KartKrew/Kart!1162
2023-04-12 10:09:21 +00:00
AJ Martinez
e3ea9df683 Fix sliptide death-spirals on input boundary cross 2023-04-12 01:26:33 -07:00
AJ Martinez
d870bf0416 Fix min/max allowing for theoretical handling breakage in camera-sliptide logic 2023-04-12 00:47:00 -07:00
AJ Martinez
01813c91ba Merge remote-tracking branch 'origin/master' into online-handling 2023-04-11 23:42:58 -07:00
James R
1a2121b3ca K_ProcessTerrainEffect: fix spring crash on top of FOF 2023-04-11 20:32:55 -07:00
toaster
c7e510a3ec k_collide.cpp: Guard against dereferencing possibly invalid t2 2023-04-11 17:41:41 +01:00
toaster
b9133530e2 Obj_OrbinautJawzCollide: Guard for removed objects 2023-04-11 17:39:53 +01:00
toaster
06763da0e7 Merge branch 'bind-function-keys' into 'master'
Remove hardcoded Function keys for screenshot etc, add RECORD LOSSLESS to the profile controls

Closes #284

See merge request KartKrew/Kart!1093
2023-04-11 16:16:23 +00:00
toaster
a2362c8bae Merge branch 'misc-debug' into 'master'
Misc. debug features

See merge request KartKrew/Kart!1158
2023-04-11 16:11:18 +00:00
AJ Martinez
b4ffc33fcb Sliptide-aware camera steering, fix countersteer easing 2023-04-11 00:15:44 -07:00
Oni
e02af33813 Merge branch 'new-voting-actual' into 'master'
Chengi & Oni's voting screen

See merge request KartKrew/Kart!1142
2023-04-11 06:34:40 +00:00
AJ Martinez
94cf9fc47b WIP: don't oversteer when crossing 0 boundary 2023-04-10 23:15:23 -07:00
AJ Martinez
44b642ffa3 WIP: improved countersteering 2023-04-10 22:39:17 -07:00
Sally Coolatta
198672c845 Fix vote buffer for G_RandMap being broken 2023-04-11 01:19:30 -04:00
Sally Coolatta
16df36b65b Draw fill instead of BG for Ivo until RHI bug fix 2023-04-10 23:52:37 -04:00
Sally Coolatta
9de36ce2a9 Slide out votes when you're done voting 2023-04-10 23:14:25 -04:00
Sally Coolatta
d2960ce93d Don't allow resending vote if you have delay 2023-04-10 23:12:08 -04:00
Sal
660d2f6454 Merge branch 'acs-extern-barriers' into 'master'
Fix ACS extern barriers

See merge request KartKrew/Kart!1159
2023-04-11 00:59:34 +00:00
Eidolon
01cc68a9b5 Fix ACS extern barriers 2023-04-10 19:57:56 -05:00
Sally Coolatta
31728166ca Adjust map anger conditions
Don't reset map anger when it votes for itself -- wait until the map gets played or it gets a genuine vote from someone.
2023-04-10 02:27:48 -04:00
Sally Coolatta
9c4ace6fbc Map anger
- Maps build anger every time a map isn't selected by anyone.
- If a map is ignored for 4 votes in a row, then on the 5th vote it shows up it will be angry enough to vote for itself when everyone else finishes voting.
- Once it gives its funny vote, or it gets played, it will calm down again.
- 13P+ vote icons are implemented; it's just a basic circle though cuz lazy.
- Made the roulette finish even faster.
- Bots can vote again but now behind a debug cvar.
2023-04-10 02:10:06 -04:00
Sally Coolatta
95540888ce Handle timed out votes properly again
Instead of picking random, we ask the client for what their cursor is on. If it takes too long to arrive, then we ignore their vote.

Also: fixed a crash if the nextmap was never set during voting (can happen via many 0-players fallbacks, and especially now that it needs to check for client responses on a time out), by always initializing to the first map in the vote.
2023-04-10 02:10:05 -04:00
Sally Coolatta
505595b5d8 Fix ruby scale & position on vote screen 2023-04-10 02:10:04 -04:00
Sally Coolatta
2d8905c816 Handle Encore ruby in Y_DrawVoteThumbnail 2023-04-10 02:10:04 -04:00
Sally Coolatta
11eadd4e75 Add player icon to BG votes 2023-04-10 02:10:03 -04:00
Sally Coolatta
63fdd48b8f Implement BG catchers 2023-04-10 02:10:03 -04:00
Sally Coolatta
81871bc73b Rewrite random map buffer
Each map now just has a countdown for when they'll reappear (stored in mapheader), which gets decremented each time a new map is played. This means it's now compatible across gametype switches, is a lot less complex, and is easy to retrieve the value for a specific map without needing to iterate constantly.

Lots of the old unused code surrounding this function was also removed. Lastly, added a PARANOIA check for callAgainSoon being mishandled.
2023-04-10 02:10:03 -04:00
Sally Coolatta
b799862ccb Implement FG catchers
- Catcher comes down to grab your selection. (Needs per-player arrows, as discussed last night.)
- Catcher has more accurate rainbow cycle. Just looks a bit cleaner.
- Vote thumbnails now have outlines & dims, instead of transparency.
- Put voting roulette code into its own struct.
- Sped up voting roulette. (although it's not visible currently)
- Made modify vote stricter (kick hacked clients trying to do funky stuff)
- Added VOTE_TIME_WAIT_FOR_VOTE define. If enabled, voting timer will only start when any player gives a vote. Currently disable because it'd be exploitable without mid-game vote joining.
2023-04-10 02:10:01 -04:00