Commit graph

22605 commits

Author SHA1 Message Date
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
Sally Coolatta
7641c6a276 ModifyClientVote sends a netxcmd for the player
It was implemented before SendNetXCmdForPlayer, so it used to just send it from the consoleplayer and just attach the player number separately. Now the packet will actually be guaranteed to come from the player that wants to change their vote. (Probably was fuckin possible to just change everyone else's votes with a hacked client before, right)
2023-04-10 02:10:00 -04:00
Sally Coolatta
8432d7e552 Big vote screen cleanup
- 4th map is now a regular option instead of dice.
- Add function to draw a maintained Combi Catcher object on screen.
- Put all vote static variables into either a "vote" struct or a "vote_draw" struct, if it's logic or drawing code.
- Prefix netcode vote globals with _g.
- Add enums/defines for vote magic numbers.
2023-04-10 02:09:59 -04:00
Sally Coolatta
f1ec39764f New voting screen background 2023-04-10 02:09:59 -04:00
James R
d2ab07c10e Merge branch 'r-segs-cpp' into 'master'
r_segs.c C++ conversion + cleanup

See merge request KartKrew/Kart!1151
2023-04-09 08:17:52 +00:00
Oni
d6d8cf548a Merge branch 'optimize-precip-think' into 'master'
Optimize precipitation by eliminating the thinker entirely

See merge request KartKrew/Kart!1157
2023-04-09 05:31:31 +00:00
Oni
d30567c04a Merge branch 'railgun' into 'master'
Use old multiply effect for fast missile shots

See merge request KartKrew/Kart!1153
2023-04-09 05:00:14 +00:00
VelocitOni
9e92b1f2b7 Edit item speed values a bit
Orbis and Jawz sped up just a bit, ballhog to move proportional to player like it used to, gardentop faster
2023-04-09 00:18:50 -04:00
Oni
f615b1a2f0 Merge branch 'acs-trigger-improvement' into 'master'
Improve ACS triggers

See merge request KartKrew/Kart!1131
2023-04-09 03:08:34 +00:00
Oni
485af970e6 Merge branch 'sealed-smooth' into 'master'
Sealed Smooth

See merge request KartKrew/Kart!1154
2023-04-09 03:07:26 +00:00