Sally Coolatta
4a735470b9
Even more SRB2Kart netcode improvement ports
...
- Prevent connection timeout during the waiting gamestate from the last commit.
- Keep client connections alive during fades / other internal loops.
- More consistently timeout clients when they reach the end of BACKUPTICS.
- Dedicated servers will not run any game logic if no nodes are sending packets to it, to reduce CPU usage when there is no one interacting with your server.
- Unlike SRB2Kart, the amount of time is configurable with the "dedicatedidletime" console variable. Setting this to 0 will disable this feature.
- CL_SendClientCmd uses exact packet types instead of magic number offsets.
2023-07-17 00:44:34 -04:00
Sally Coolatta
80bf4d6c2d
Port SRB2Kart join on intermission fix
...
All gamestates besides GS_LEVEL are unsupported by the save game functions. This commit forces players joining during these gamestates into GS_WAITINGPLAYERS, which is a basic gamestate that just maintains the connection until we can enter the start of a new one. Also provides an extremely simple drawer for GS_WAITINGPLAYERS so the joining player knows what's going on.
2023-07-16 20:53:28 -04:00
SteelT
a90151570f
Replace the alias if an alias already exists
...
Reduces wasting memory by having multiple aliases with the same name
2023-07-16 15:44:48 -04:00
SteelT
c55b2f2943
Print list of existing alias commands
2023-07-16 15:34:30 -04:00
SteelT
9a31064c4a
Merge branch 'master' into next
2023-07-15 21:04:07 -04:00
sphere
9b16c21517
Merge branch 'net-timing' into 'next'
...
Prevent dropped ticcmds due to interp timing jutter
See merge request STJr/SRB2!2046
2023-07-15 17:45:00 +00:00
sphere
c29999aea7
Merge branch 'suppress-warnings' into 'master'
...
Suppress libdivide warnings in GCC/Clang
See merge request STJr/SRB2!1991
2023-07-15 17:38:19 +00:00
sphere
5da5b6dd86
Merge branch 'fix-exotic-prids' into 'master'
...
Fix PRIdS define for Windows MINGW64
See merge request STJr/SRB2!1367
2023-07-15 17:38:12 +00:00
Gustaf Alhäll
e3824b9f1b
fixup! Fix inaccuracies in FPS counter
2023-07-15 12:51:07 +02:00
sphere
7aac6a01e4
Merge branch 'better-crashes' into 'next'
...
Better signal handler messages
See merge request STJr/SRB2!2042
2023-07-14 22:48:26 +00:00
sphere
860767aa65
Merge branch 'increasemaxunlockables' into 'next'
...
Increase maximum unlockables
Closes #770
See merge request STJr/SRB2!1988
2023-07-14 22:47:37 +00:00
sphere
54d5e8154b
Merge branch 'cv-truefalse' into 'next'
...
Add CV_TrueFalse as possible value types for console variables
See merge request STJr/SRB2!2049
2023-07-14 22:47:09 +00:00
sphere
858c9ef0b2
Merge branch 'align-memory-addresses' into 'next'
...
Make sure all allocations are properly aligned
See merge request STJr/SRB2!2050
2023-07-14 22:46:39 +00:00
spherallic
009e1ef157
Merge branch 'next' into fullscreen-toggle
2023-07-14 15:30:14 +02:00
sphere
bf5c4a1b0d
Merge branch 'handle-missing-frame-gracefully' into 'next'
...
Handle missing frames for sprites gracefully
See merge request STJr/SRB2!2039
2023-07-14 13:24:53 +00:00
sphere
610ddc034c
Merge branch 'removetwohundredandsixty' into 'next'
...
Remove generalized FOF type
Closes #1011
See merge request STJr/SRB2!2038
2023-07-14 13:17:51 +00:00
sphere
47436ee495
Merge branch 'bosszero' into 'next'
...
Do not consider 0 a valid executor tag for bosses
Closes #1017
See merge request STJr/SRB2!2037
2023-07-14 13:17:48 +00:00
sphere
93fa653f80
Merge branch 'fishjumpbinaryfix' into 'next'
...
Fix A_FishJump for custom objects in binary maps
Closes #1019
See merge request STJr/SRB2!2035
2023-07-14 13:16:55 +00:00
sphere
59685937da
Merge branch 'fix-exit-automap-segfault' into 'next'
...
Fix segfault when exiting game with automap open
Closes #1049
See merge request STJr/SRB2!2044
2023-07-14 13:15:56 +00:00
sphere
2e2ec145dd
Merge branch 'fading-callback-thread-fix' into 'next'
...
Do music fade callback on main thread (resolves #975 )
Closes #975
See merge request STJr/SRB2!2043
2023-07-14 13:15:37 +00:00
sphere
f428759150
Merge branch 'bbox' into 'next'
...
Hitbox Renderer
See merge request STJr/SRB2!1838
2023-07-14 13:14:56 +00:00
spherallic
34ce172a90
Allow toggling PF_NoDepthTest for OpenGL hitboxes
2023-07-14 15:03:43 +02:00
Zwip-Zwap Zapony
8b931da6f3
Draw hitboxes last in OpenGL
2023-07-14 12:51:16 +00:00
Gustaf Alhäll
bfbbaf9f56
Make sure all allocations are properly aligned
2023-07-14 13:25:09 +02:00
AJ Martinez
8755582901
Don't submit future ticcmds if they could overwrite a needed ticcmd
2023-07-14 02:33:33 -07:00
SteelT
464110ed81
Add CV_TrueFalse as possible value types for console variables
...
This also adds support for using true/false as value aliases for On/Off, Yes/No or 1/0
2023-07-13 01:02:15 -04:00
Gustaf Alhäll
576262f6c5
Fix inaccuracies in FPS counter
2023-07-11 16:37:45 +02:00
AJ Martinez
2ebd3fcca4
Buffer ticcmds when receiving two on same tic
2023-07-10 15:40:20 -07:00
Gustaf Alhäll
281e6012f3
Fix segfault when exiting game with automap open
2023-07-08 14:02:32 +02:00
Lactozilla
0aa763df85
Do music fade callback on main thread
2023-07-08 00:53:28 -03:00
Tatsuru
3ff9e908fe
Signal handler minor refactor
2023-07-07 18:13:44 -03:00
Ace Lite
372bb8b8fc
[UDMF] Updated line sloping warning message
2023-07-06 19:27:32 +00:00
Ace Lite
2240742720
Merge branch SRB2:next into lua-texture-offsets-expose
2023-07-06 18:35:00 +00:00
Gustaf Alhäll
8d8257b4a6
Handle missing frames for sprite gracefully
2023-07-06 19:12:29 +02:00
spherallic
49528c1558
Remove generalized FOF type (linedef action 260)
2023-07-06 18:11:52 +02:00
spherallic
a4bcf4e2ce
Do not consider 0 a valid executor tag for bosses
2023-07-06 18:06:23 +02:00
MIDIMan
4342dacbdf
Fix A_FishJump for custom objects in binary maps
2023-07-05 14:25:10 -04:00
sphere
d7a84b967c
Merge branch 'strongpower' into 'next'
...
Add player->powers[pw_strong], refactor attacks and busting conditions, and allow breaking floors and ceilings separately
See merge request STJr/SRB2!1366
2023-07-05 17:05:47 +00:00
katsy
f261b9f0e1
Add player->powers[pw_strong], refactor attacks and busting conditions, and allow breaking floors and ceilings separately
2023-07-05 17:05:47 +00:00
sphere
94f6fb03ca
Merge branch 'cutscene-fix' into 'next'
...
[SUGOI] Remove "singletics" code in F_WriteText (resolves #1033 )
Closes #1033
See merge request STJr/SRB2!2022
2023-07-05 11:41:21 +00:00
spherallic
ff7a24df09
Rename Kiwi skincolor to Pear
2023-07-05 12:10:30 +02:00
sphere
f13fddaf58
Merge branch 'fix-mobjinfo-custom-field' into 'next'
...
Fix Lua warning when accessing custom field on mobjinfo
Closes #1043
See merge request STJr/SRB2!2034
2023-07-04 21:03:53 +00:00
Gustaf Alhäll
09b9adc806
Fix Lua warning when accessing custom field on mobjinfo
2023-07-04 18:46:49 +02:00
Gustaf Alhäll
beda6109b2
Fix segfault when trying to set a read-only field on player_t
2023-07-03 23:30:49 +02:00
sphere
8ce0328423
Merge branch 'colors-ultimate' into 'next'
...
Colors Ultimate
Closes #745 and #496
See merge request STJr/SRB2!2027
2023-07-03 14:00:10 +00:00
SMS Alfredo
ebdc36f56b
Merge branch 'next' into awayview-fix
2023-06-30 16:13:15 -05:00
MascaraSnake
8c31d279cf
Implement per-texture offsets in UDMF
2023-06-28 01:07:52 +02:00
spherallic
867a5e0d47
Correct misplaced comment on NiGHTS link colors
2023-06-20 21:48:26 +02:00
spherallic
1a956667a7
Small tweak to Bubblegum
2023-06-20 20:06:43 +02:00
spherallic
b97f0a8643
Fix MT_NIGHTSCORE color cycling, using link colors
2023-06-20 20:06:43 +02:00
spherallic
73eb8fc358
A couple more changes:
...
- Swapped invcolors of new character skincolors
- Renamed Stone to Meteorite & changed text color to gray
- Tweaked some colors' invshades
2023-06-20 20:06:43 +02:00
spherallic
1bd593d173
Use extra colors for very high NiGHTS links, plus:
...
- Replaced Mindaro with Goldenrod
- Changed Topaz, and fixed inconsistency with its placement
- Small tweaks to Kiwi, Seafoam, Noble and Sangria
- Changed other NiGHTS link colors a little (& removed old iterations)
2023-06-20 20:06:43 +02:00
spherallic
70b69552f9
Add toggle for invcolor background, plus:
...
- Renamed Amethyst to Crystal
- Moved some of the new colors
- Tweaked a couple of invshades
2023-06-20 20:06:42 +02:00
spherallic
5e6850a7f7
Some more color tweaks:
...
- Added 6 new colors to match Chaos Emeralds
- Changed Taffy & Sapphire (3rd emerald)
- Renamed old Emerald to Shamrock
2023-06-20 20:06:42 +02:00
spherallic
853c9958d7
Remove unfinished sprite rotation
2023-06-20 20:06:42 +02:00
spherallic
c9b6693c76
Allow pausing & rotation of player sprites in player setup
2023-06-20 20:06:02 +02:00
spherallic
766c346df5
Add grid view for skincolors
2023-06-20 20:03:13 +02:00
spherallic
4cd85b5228
Support PgUp/PgDn for color select, similar to sound test & addons menu
2023-06-20 20:03:13 +02:00
spherallic
458b474645
Even more skincolor changes:
...
- Changed Bronze
- Added Boulder & Volcanic
- Tweaked Galaxy
2023-06-20 20:03:13 +02:00
Lach
647e6aac12
Simplify the way skincolors' invshades are used
2023-06-20 20:03:13 +02:00
spherallic
edbfb92b11
Correct tabs & spacing
2023-06-20 20:03:13 +02:00
spherallic
222e409cde
More skincolor changes:
...
- Tweaked Bubblegum
- Added 8 new colors by Alice
- Added 22 new colors by sphere
2023-06-20 20:03:13 +02:00
Lach
bbe6c12323
Skincolor changes:
...
- Tweaked Orange and Cobalt
- Added Pepper, Jade, Headlight, Master, Mauve, and Taffy
- Fixed Mario mode invincibility color cycle
(Opposite color shades are placeholder for now)
2023-06-20 20:03:13 +02:00
sphere
f68006dbd3
Merge branch 'optimize-field-lookup' into 'next'
...
Optimize field lookups in Lua metatables
See merge request STJr/SRB2!2024
2023-06-19 22:41:36 +00:00
Gustaf Alhäll
17356f93bf
Fix segfault when ghost dies from a death pit
2023-06-19 22:19:39 +02:00
Gustaf Alhäll
2f2de7d3d3
Optimize field lookups in Lua metatables
2023-06-18 18:05:16 +02:00
Sally Coolatta
5c3f66dc36
Remove "singletics" code in F_WriteText
...
This was added in 2.1 for whatever reason. All instances of F_WriteText are already capped to the framerate properly by other means; so this code being present just makes timing differences between different netgame clients / other inaccuracies cause the text speed to slow down more than intended.
2023-06-13 21:26:40 -04:00
Zwip-Zwap Zapony
f921a9987d
Interpolate models when scaling mobjs
2023-06-13 19:07:03 +02:00
Zwip-Zwap Zapony
4d4910c918
Use 99999999 instead of 86400, make "MIN" 0
...
Nines might be more pleasing than an exact number for con_hudtime
It'd be bad to make "MIN" in an old config suddenly start displaying lines for con_hudlines
2023-06-13 14:02:19 +02:00
spherallic
37223f13f1
Remove debug print on generic item circle spawn
2023-06-13 10:38:44 +02:00
sphere
b8a25ae53c
Add interpolation to hitbox viewer, tweak hitbox colors
2023-06-13 00:05:58 +00:00
spherallic
d8dd988451
Don't cancel P_LinedefExecute early
2023-06-13 02:01:11 +02:00
spherallic
d9937953ad
Fix linedef type 319/320 again
2023-06-13 01:54:49 +02:00
spherallic
99f0933986
Change how SR_MainMenu is initialized.
2023-06-13 01:53:50 +02:00
spherallic
1cc870485d
Increase unlockable limits:
...
- MAXUNLOCKABLES from 32 to 80
- MAXEXTRAEMBLEMS from 16 to 48
- COMPAT_GAMEDATA_ID is used to account for the old values to prevent
losing records.
- Also fixes linedef actions 319/320.
2023-06-13 01:53:50 +02:00
sphere
f1106236ad
Merge branch 'sphere-fix' into 'next'
...
Fix Flung Spheres not using the Blue Sphere collection effect
See merge request STJr/SRB2!1995
2023-06-12 23:46:05 +00:00
sphere
9d0389811b
Merge branch 'camrea-fiz' into 'next'
...
Fix Camera Interpolation Never Being Reset (Resolves #1026 and #976 )
Closes #976 and #1026
See merge request STJr/SRB2!2008
2023-06-12 23:44:33 +00:00
sphere
c2c27bf356
Merge branch 'ipv6' into 'next'
...
Fix IPv6
See merge request STJr/SRB2!1612
2023-06-12 23:43:46 +00:00
sphere
5307c1635d
Merge branch 'interpolate-maria' into 'next'
...
Interpolate Shadows when Scaling Mobjs
See merge request STJr/SRB2!1986
2023-06-12 23:39:23 +00:00
sphere
d5a3f10a4d
Merge branch 'checksector-refactor' into 'next'
...
Refactor P_CheckSector
Closes #870
See merge request STJr/SRB2!1946
2023-06-12 23:36:48 +00:00
sphere
0dea372336
Merge branch 'the_elder_skyscroll' into 'next'
...
Rewrite F_SkyScroll to fix overflows
Closes #1008
See merge request STJr/SRB2!1985
2023-06-12 23:36:37 +00:00
sphere
62bdb7174b
Merge branch 'lua-optimized-constants' into 'next'
...
Hannu's "LUA_EnumLib optimizations for constant value access" with fixed merge conflict
See merge request STJr/SRB2!2017
2023-06-12 23:03:51 +00:00
sphere
f7af77b932
Merge branch 'netgame-gamedata' into 'next'
...
[SUGOI] Multiplayer emblems
See merge request STJr/SRB2!1756
2023-06-12 22:48:25 +00:00
katsy
ca11180976
Merge remote-tracking branch 'stjr/next' into lua-optimized-constants
2023-06-11 12:36:08 -05:00
sphere
363faed8d7
Merge branch 'sucky-steps' into 'next'
...
Port increment_move radius clamps from Ring Racers
See merge request STJr/SRB2!2013
2023-06-09 13:07:07 +00:00
sphere
65e1f88c75
Merge branch 'nightspowerhud' into 'next'
...
Add HUD icons for timed NiGHTS powerups
See merge request STJr/SRB2!1949
2023-06-09 11:34:25 +00:00
sphere
cd1b57a901
Merge branch 'textcolortweaks' into 'next'
...
Small text colormap tweaks
See merge request STJr/SRB2!1971
2023-06-09 11:33:26 +00:00
Sally Coolatta
7fa7653494
Port increment_move radius clamps from Ring Racers
...
Fixes inconsistencies with thin players, like with Liftoff Gantry's scale section, and with large characters colliding with steep slopes instead of going up them.
2023-06-05 13:54:09 -04:00
SMS Alfredo
aa43aa7c8c
Call P_ResetCamera Upon Switching To/From an Away View Camera
2023-06-03 15:43:58 -05:00
SMS Alfredo
35b676e313
Fix Camera Interpolation Not Being Reset
2023-06-02 19:52:03 -05:00
Sally Coolatta
e06956a53b
Fix skin-only emblems on emblem radar
2023-06-02 16:06:51 -04:00
Sally Coolatta
cf228757a1
Emblems disappear on collection again, only for SP
2023-06-02 16:06:50 -04:00
Sally Coolatta
645dd7d662
Stop endlessly chasing NIGHTSPULL emblems
2023-06-02 16:06:50 -04:00
Sally Coolatta
c1e641be43
Improve emblem sharing conditions
2023-06-02 16:06:50 -04:00
Sally Coolatta
29f55471dd
Fix instances reverted to old unlocked variable
2023-06-02 16:06:50 -04:00
Sally Coolatta
d751ad5cf2
Remove "Multiplayer games can't unlock extras!"
2023-06-02 16:06:49 -04:00
Sally Coolatta
9cce2195d4
Make ShareEmblems more Top Down style
2023-06-02 16:06:49 -04:00
Sally Coolatta
3b15d9b4fe
Make the level select behave more identically to G_LoadGame
...
Noticed some oddities with D_MapChange here with very rarely not changing player position when the map is loaded.
2023-06-02 16:06:49 -04:00
Sally Coolatta
d8f6ad217c
Don't give completion emblems when getting a game over in multiplayer (or any other kind of level reset)
2023-06-02 16:06:48 -04:00
Sally Coolatta
897b81b840
Don't load game from pause level select without save slot
2023-06-02 16:06:48 -04:00