Commit graph

21775 commits

Author SHA1 Message Date
jekyllgrim
861a557d92 Add graycheckVal, expose hud_oldscale/hud_scalefactor to the menu
Add graycheckVal to OptionMenu items
Add menu elements for hud_oldscale and hud_scalefactor to menudef.txt
2024-04-26 21:37:01 -03:00
Boondorl
b43c440552 Added ShouldShareItem virtual
Allows for easier customizing of whether or not an item should be shared with players upon pickup in co-op (e.g. it allows it to be expanded to weapons with custom cvars).
2024-04-26 21:28:47 -03:00
Boondorl
12d0c946f0 Reworked clientside lerping
Now acts as a rubberbanding effect. The result is that movement is now considered correct and adjusted towards the real position if not rather than cautiously moving towards the predicted position.
2024-04-26 20:56:12 -03:00
Boondorl
287277b1f8 Player spawn fix in co-op new games
If there aren't enough player spawns present in co-op, the game will instead fail to spawn extra players, waiting for the ticker to automatically capture the fact they have PST_ENTER. This presents a problem in WorldLoaded() where it becomes unreliable whether or not a player has truly spawned. This also means those extra players had slightly different spawn behavior compared to regular pawns.
2024-04-26 14:56:30 -03:00
Boondorl
f0aa0acf08 Fixed changeskill being unnetworked 2024-04-25 20:37:16 -04:00
Boondorl
ca95e18742 View fixes when predicting
View interpolation paths are now reset properly when predicting, fixing portals. Teleporters disabling view interpolation is now handled before every movement instead of only once at the start of predicting. Enabled FoV interpolation when playing online.
2024-04-25 17:19:27 -03:00
Boondorl
cf6bad97e8 Fixes for client network IDs
Fixed an off-by-one error on client IDs (these need to start at 1 as 0 is an invalid network ID). Morphing will now swap the client body's ID so it remains in the first 1 - MAXPLAYERS slots.
2024-04-25 14:08:31 -03:00
Boondorl
566e03da60 Fixed incorrect automap arrow position in multiplayer
This caused the player arrows to update at only 35Hz and for the console player's arrow it would lag behind when following.
2024-04-25 14:06:49 -03:00
Christoph Oelckers
7c9c7fa1f7 fixed: AActor's members must all be native.
The morph code added 4 scripted ones, but AActor's size must be known at compile time.
2024-04-25 18:15:47 +02:00
Boondorl
2b697d6c4c Interpolation fix for network prediction
This is a minor fix for interpolation when playing online as predicted movement was not properly having its prev data reset like a real tick would be. This resulted in jittery player sprites in third person.
2024-04-25 11:44:38 -03:00
Rachael Alexanderson
d9f03863bf
- make gcc14 happy 2024-04-25 02:37:51 -04:00
Rachael Alexanderson
eba9036164
- shorten sdl_waitevent error message 2024-04-24 07:17:09 -04:00
Rachael Alexanderson
83d751af72
- demote SDL_Wait errors to console printouts 2024-04-24 06:56:49 -04:00
Rachael Alexanderson
586e89954a
- fixed: rollsprites now 'unstretch' properly in regular y-billboarding 2024-04-23 20:31:05 -04:00
Rachael Alexanderson
a3e61ce33b - -norun now implies -stdout on Windows as it's useless without it 2024-04-22 23:26:36 +02:00
nashmuhandes
29e103363e ZDRay specs fix 2024-04-22 10:17:07 -04:00
Christoph Oelckers
d45a4f18d4 fix lifetime of skyinfo variable in HWWall::SkyPlane. 2024-04-22 07:14:04 +02:00
Christoph Oelckers
a938e9c66c moved the NetworkEntityManager into the backend code. 2024-04-21 18:30:19 +02:00
Rachael Alexanderson
f6c02d459d
- minor language update 2024-04-21 10:17:58 -04:00
Boondorl
e6df94ca76 Fixed local copies of items not respecting their Amount value 2024-04-21 10:05:46 -04:00
Rachael Alexanderson
fde6c863d1
- hide the additional parameters for now, this needs to be added in later 2024-04-21 09:11:46 -04:00
Christoph Oelckers
4aee4fd187 optimized last commit to not retrieve the function repeatedly if it has already failed. 2024-04-21 14:30:26 +02:00
Rachael Alexanderson
744e67e02b - dynamically import GetDpiForWindow from USER32.dll, else return a default value 2024-04-21 14:25:48 +02:00
Christoph Oelckers
1fe6556e6e ZWidgets: disabled SetClientFrame.
On Win32 this function is unused, but it contains two API calls that only exist in Windows 10 or later.
2024-04-21 12:13:03 +02:00
Boondorl
c622c63127 Added PSpriteTick virtual 2024-04-21 04:45:32 -04:00
Boondorl
b0137e50ee Exported FTeam getters 2024-04-21 04:44:54 -04:00
Christoph Oelckers
f2d7bbea99 Instead of going through a global callback function set the string table's default gender at the start of each frame
This will perform the CVAR lookup only once per frame, not once per string.
2024-04-21 10:35:56 +02:00
Christoph Oelckers
ebd4ebf298 StringTable cleanup and improvements
cleaned up function interface to avoid referencing the file system in the worker functions.
replaced StringTable's operators with functions.. The main reason is that these are far easier to look up when browsing the source.
This also fixes a premature translation in SBARINFO that was done in the parsing stage, not the printing stage.
2024-04-21 10:34:44 +02:00
Boondorl
f4a42dae1d Added pistol start gameplay option
Automatically resets the player's inventory and health when changing maps.
2024-04-21 03:21:08 -04:00
Rachael Alexanderson
d63d720d4c
- version g4.13pre 2024-04-21 02:59:39 -04:00
Boondorl
38f14ccd56
Tweaked net ID file management
Should now be easier to stub network entity functions for Raze.
2024-04-20 19:14:29 -04:00
Boondorl
8d0d130dc9
New API for assigning unique network ids to objects 2024-04-20 19:14:29 -04:00
Rachael Alexanderson
111fd48348
- stretch billboarding sprites properly according to the level's aspect ratio 2024-04-20 17:53:08 -04:00
Christoph Oelckers
f2d3275db5 convert leftover file to UTF-8 2024-04-20 10:38:58 +02:00
Kevin Caccamo
c03b272062 Fix some minor KEYCONV and VOC memory issues 2024-04-20 09:47:05 +02:00
Boondorl
06eee55671
Fix for Morph virtual
Allows class<MorphedMonster> to be used as an argument type in place of class<Actor> within the third argument for backwards compatibility.
2024-04-20 01:15:47 -04:00
Boondorl
5ed4f477ed
Fixed PowerMorph setting wrong Owner
Also sets default flash effects.
2024-04-20 01:15:47 -04:00
Boondorl
bcd6c6170e
Reapply "Improvements to death and cheat handling"
This reverts commit c7bba2a126.
2024-04-20 01:15:46 -04:00
Ricardo Luís Vaz Silva
949cd5b746 Fix let ignoring const-ness 2024-04-19 13:28:18 -03:00
Rachael Alexanderson
7a1342188a
- add cvar cl_restartondeath - bypasses autoloading savegame when pressing +use after dying - added https://github.com/ZDoom/gzdoom/issues/1563 2024-04-18 04:51:38 -04:00
Rachael Alexanderson
4a80e26ab2
- fix #2248 as suggested in the ticket - fix missing include in FreeBSD 2024-04-18 04:27:41 -04:00
Rachael Alexanderson
40b77ff1fb
- add missing keys in udmf spec 2024-04-18 03:51:32 -04:00
jplebreton
9c01738b86
- add level compatibility fixes for Eternal Doom III 2024-04-18 03:39:11 -04:00
Rachael Alexanderson
558bd4674d
- handle dsda namespace like zdoom in udmf 2024-04-18 03:18:56 -04:00
Rachael Alexanderson
8fe58db311
- allow A_SetCrosshair(-1) to hide the crosshair for effects such as custom scopes 2024-04-18 03:16:38 -04:00
Christoph Oelckers
3d57170e69 removed TObjPtr's constructors that were reinstated for unknown reasons.
This class needs to be constructor-less so that even GCC accepts it as trivial.
2024-04-18 07:09:55 +02:00
Boondorl
b20f09a910 Fixed A_OverlayPivotAlign using bitwise or instead of assigning 2024-04-18 01:08:46 -03:00
Ricardo Luís Vaz Silva
9af3d54a19 Fix Decoupled Animation Crash, Interpolation Bugs, Simplify Interpolation code 2024-04-17 21:38:27 -03:00
Ricardo Luís Vaz Silva
1c3764ec89 remove copying from CreateTexBuffer 2024-04-17 20:35:49 -04:00
Ricardo Luís Vaz Silva
3b6c8349da do the same for paletted and rgb textues 2024-04-17 20:35:49 -04:00