Commit graph

24012 commits

Author SHA1 Message Date
toaster
47055bcda7 M_StartMessage: ACTUALLY use automatic newline generation 2023-08-31 20:00:34 +01:00
toaster
9d689c5e0c M_DrawServerCountAndHorizontalBar: Improve general overlaid text 2023-08-31 20:00:34 +01:00
toaster
4483f9fc0e M_ServerBrowserInputs; Clean up significantly
- No longer reimplement base functionality in confusing overlapping situations, only add on top of it where necessary
- Fix the case where no servers were found to not allow scrolling past the bottom
2023-08-31 20:00:34 +01:00
toaster
acca45d611 SL_InsertServer: If we have cause to reject a server, remove it from the serverlistultimatecount immediately rather than waiting for it to time out 2023-08-31 20:00:34 +01:00
toaster
b009ab3c23 "Recommended" server sorting option
Sorts by reverse player count, with 0-player servers sitting empty at the far end.
Breaks ties with ping instead of strcmp.
2023-08-31 20:00:34 +01:00
toaster
000e6e273c M_DrawServerListDebug: Produce more useful spread of test case fake servers 2023-08-31 20:00:34 +01:00
toaster
7fd64a4c3d Get the Server Browser working again
- KartKrew/Kart-Public!313 has finally been integrated with the changed menu code
    - Attempts multiple times to get every public server, up to nettimeout
    - Clear the server list when entering/exiting and refrehing
    - Show visible servers and potential servers opposite the Refresh input
    - I would have done this in another commit, but the system was too broken to repair without just putting the working solution in wholesale
- Improved visual scrolling behaviour
- Pressing A actually joins the server
- CORE vs MODDED is handled in SL_InsertServer, not a seperate function to drop/memcpy things around

Also, abstract out the little "PLEASE WAIT..." message popup during potential IO block into M_PleaseWait (only used on connect process via Menu)
2023-08-31 20:00:33 +01:00
toaster
170894ee71 Update SRB2VERSION for impending release
Was previously "2.0" in reference to how this was once just a major patch for the previous entry in the series.
2023-08-31 20:00:33 +01:00
toaster
c2148bf501 Testing #define for testing Master Server Listing by yourself, without a second IP address to host
Disabled by default
2023-08-31 20:00:33 +01:00
toaster
0935106189 F_RunWipe: Don't draw menus on top if there's no renderer
Fixes crash on dedicated
2023-08-31 20:00:33 +01:00
toaster
f9a488defb Merge branch 'prisons-death-fix' into 'master'
Fix Prisons death not ending the round + Spectator bool cleanup

See merge request KartKrew/Kart!1418
2023-08-31 18:39:05 +00:00
toaster
a7b065c4d8 P_InitPlayers: Tidy up the barely-significant difference between G_DoReborn and G_SpawnPlayer
Only kills objectplace at map start, not general respawn
2023-08-31 17:30:05 +01:00
toaster
1dd2e7031a Fix the spectating bots in GP issue a different way
The solution in 67c2ae021b happens too late for K_TimeAttackRules
2023-08-31 16:46:46 +01:00
toaster
656e9ad310 Merge branch 'thing-radius-acs' into 'master'
"Radius Action" thing type

See merge request KartKrew/Kart!1429
2023-08-31 13:15:12 +00:00
toaster
43eb61dfcb Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into prisons-death-fix
# Conflicts:
#	src/p_inter.c
2023-08-31 14:02:38 +01:00
toaster
34d0e96d88 Merge branch 'sprtinfo-no-i-error' into 'master'
SPRTINFO: print warnings instead of I_Error (don't crash the game)

See merge request KartKrew/Kart!1445
2023-08-31 12:59:50 +00:00
James R
48d1b72ac7 SPRTINFO: print warnings instead of I_Error (don't crash the game) 2023-08-31 05:22:13 -07:00
James R
7113e3c987 Merge branch 'no-texture-filter' into 'master'
Remove Texture Filtering option from Hardware Options (resolves #614)

Closes #614

See merge request KartKrew/Kart!1432
2023-08-28 07:55:45 +00:00
James R
fd346db927 Merge branch 'safer-fastfall-momentum-reset' 2023-08-28 00:55:00 -07:00
James R
ecbb6f3af2 G_DoLoadLevelEx: fix compiler error on HU_DoTitlecardCEcho after merge 2023-08-28 00:53:47 -07:00
James R
b8b286b177 Merge branch 'softer-stumble' into 'master'
Smoothlanding leniency (resolves #602)

Closes #602

See merge request KartKrew/Kart!1428
2023-08-28 07:49:20 +00:00
James R
1db1eaedff Merge branch 'sealed-star-lose-text' into 'master'
Sealed Stars: show text on the screen for loss conditions; improved titlecard cecho centering, splitscreen support

See merge request KartKrew/Kart!1404
2023-08-28 07:48:47 +00:00
James R
67c2ae021b P_SpawnPlayer: add back explicit spectator handling for bots; also remove it from k_grandprix.c
Not needed in K_UpdateGrandPrixBots or
K_LoadGrandPrixSaveGame because P_SpawnPlayer takes
priority.
2023-08-27 16:00:53 -07:00
James R
e3da061192 cecho command: don't add trailing space
Fixes centering for cechos of only punctuation.
2023-08-27 15:11:14 -07:00
James R
2e748636d7 Create V_CenteredTitleCardStringOffset
- V_TitleCardStringWidth no longer has the special case
  for punctuation, moved to this function instead.
- Handles both leading and trailing punctuation, and even
  spaces.

toaster-assisted, thank-you-toaster
2023-08-27 15:06:51 -07:00
Sal
2eb8180dd1 Merge branch 'improved-debugstart' into 'master'
debugstart can now force POSITION on (resolves #600)

Closes #600

See merge request KartKrew/Kart!1431
2023-08-27 20:09:55 +00:00
Sal
702faa60f1 Merge branch 'fix-unfix-flat-offsets' into 'master'
Fix TextmapUnfixFlatOffsets & other writetextmap bugs

See merge request KartKrew/Kart!1437
2023-08-27 20:04:22 +00:00
Sally Coolatta
a4911b0821 Add equation slopes to writetextmap 2023-08-27 15:49:05 -04:00
Oni
055e4f1e50 Merge branch 'moar-sneaker-panels' into 'master'
More Sneaker Panels

See merge request KartKrew/Kart!1430
2023-08-27 19:29:11 +00:00
Sally Coolatta
e7c3a8ac46 Fix thingstringarg typo in -writetextmap 2023-08-27 14:36:48 -04:00
Sally Coolatta
1bbe90f659 Fix TextmapUnfixFlatOffsets
It had the right idea, it just literally did it wrong :P
2023-08-27 14:04:28 -04:00
James R
d0ada97e0b Merge branch 'write-textmap-command' into 'master'
Make -writetextmap a console command, call it "writetextmap"

See merge request KartKrew/Kart!1426
2023-08-27 11:42:23 +00:00
James R
ae0e34bbbe Merge branch 'fastfall-trickpanel' into 'master'
Pogospring / trickpanel disable fastfall (resolves #624)

Closes #624

See merge request KartKrew/Kart!1427
2023-08-27 11:39:45 +00:00
James R
652792ddd3 K_KartSpindash: reorganize so fastfallBase doesn't need to be reset on landing
Makes resetting fastfall due to special conditions more
straightforward, because you don't need to reset
fastfallBase also.
2023-08-27 04:36:09 -07:00
James R
c080828dde Dash Rings, Fast Fall: reset pitch too 2023-08-27 04:17:16 -07:00
James R
eabef184f1 Add P_ResetPitchRoll 2023-08-27 04:17:16 -07:00
James R
7d9a40fc38 K_TimerInit: actually let debugstart force POSITION on, even in Free Play 2023-08-27 03:34:34 -07:00
James R
92bc946d60 Merge branch 'no-scams' into 'master'
No last-minute scams with Garden Top / Flame Shield (resolves #603)

Closes #603

See merge request KartKrew/Kart!1433
2023-08-27 10:27:22 +00:00
James R
359186bc5d Merge branch 'magician-scale-change' into 'master'
Fix Magician Box going crazy when player changed scale

See merge request KartKrew/Kart!1434
2023-08-27 10:23:35 +00:00
AJ Martinez
03b491a2fa Fix Magician Box going crazy when player changed scale 2023-08-26 23:49:33 -07:00
AJ Martinez
d7e989c54c Buff Flame Shield bar-per-distance to compensate for scamlessness 2023-08-26 23:32:13 -07:00
AJ Martinez
1666d872e2 No last-minute scams with Garden Top / Flame Shield 2023-08-26 23:22:55 -07:00
AJ Martinez
f67b4914b9 Remove Texture Filtering option from Hardware Options 2023-08-26 23:02:27 -07:00
AJ Martinez
59b2db3129 Debugstart can now force POSITION on 2023-08-26 22:58:18 -07:00
AJ Martinez
2f331a4d10 Let's be slightly more semantically correct about this 2023-08-26 22:24:18 -07:00
AJ Martinez
b43df44156 Tyron you suck at using your editor 2023-08-26 22:23:10 -07:00
Lach
3ca23fbecf Remove scenery flag from Sneaker Panel Spawners (to tick their fuse) 2023-08-27 14:59:42 +10:00
Lach
ac9b96e98b Add spawn rate arg to Sneaker Panel Spawners; allow sneaker panels to scale themselves redundantly 2023-08-27 14:01:23 +10:00
Sally Coolatta
ea7ad31fef Add Radius Action thing
Thing type 4096, activates its action when a player enters the specified radius
2023-08-26 20:28:50 -04:00
Oni
ec83b73ee9 Merge branch 'bubble-bounce' into 'master'
Bubble bounce converts height into speed, bubble set boosts

See merge request KartKrew/Kart!1425
2023-08-26 23:14:05 +00:00