Commit graph

21912 commits

Author SHA1 Message Date
nashmuhandes
ae28eeae94 Scriptified the view squatting. 2024-05-26 21:06:20 -03:00
Boondorl
ab20b75c14 Added missing player retranslation
Play-scoped team changing function.
2024-05-26 20:31:50 -03:00
Boondorl
53270f0bc8 Added ChangeTeam function for teamplay
Also removes the TeamLibrary global since all it did was call what should've been static functions.
2024-05-26 20:31:50 -03:00
Boondorl
3d6e508d67 Network messages will now show usernames instead of just numbers
Gives more useful feedback as it's not obvious which node belongs to who.

Added line breaks to network messages for cases where a large amount of players are desynced.
2024-05-26 20:29:23 -03:00
Boondorl
4c191f4bf5 Inventory item spawn fixes
Default player items and shared items are no longer capable of being duplicated regardless of item flags. Shared items now give a true copy of the item. Fixed incorrect effects playing from item copies. Dropped items can no longer be shared.
2024-05-26 20:29:14 -03:00
Boondorl
d02f79d4be Added subclassing for use commands
Allows for finding subclasses when using the item commands that search the inventory. Can be either true/false or 0/1.
2024-05-26 20:29:01 -03:00
Kartinea
3bc54d3757 Fix invisibility affect on enemies
When performing the ShadowBlock check, we previously would return a nullptr actor if nothing was between the monster and the player.  This resulted in the monster aiming as if you didn't have invisibility.

Fall back to returning the target actor if it is shadowed but nothing is in between the two.
2024-05-22 22:25:18 +02:00
Rachael Alexanderson
cf8a04c457
- simplify squishing to square pixels for particles and rollsprites 2024-05-21 03:09:47 -04:00
Ricardo Luís Vaz Silva
ffbbe0a4c6 partial fix for FString::IsInt() 2024-05-20 16:08:13 -03:00
Jan Engelhardt
1dedcee739 Provide a diagnostic message for the two 32-bit related static_asserts 2024-05-18 07:48:20 -04:00
Xaser Acheron
6d8bee9316 don't show secret-flagged linedefs with special color on am_cheat 4 and above 2024-05-16 08:12:39 +02:00
Boondorl
da4752d7ec Fixed unmorphed Actors still ticking 2024-05-11 06:37:37 -04:00
Ricardo Luís Vaz Silva
9129f0121b Fix MacOS Compilation 2024-05-04 03:17:16 -04:00
Ricardo Luís Vaz Silva
1006d20c13 fix CheckParmList
seems like it was checking the second char for '+' instead of the first
2024-05-04 03:17:16 -04:00
Ricardo Luís Vaz Silva
c3ac4c9c38 Handle Extra Args 2024-05-04 03:17:16 -04:00
Ricardo Luís Vaz Silva
75c9b584ee Revert "- hide the additional parameters for now, this needs to be added in later"
This reverts commit fde6c863d1.
2024-05-04 03:17:16 -04:00
Rachael Alexanderson
35f5e0498e
- fix always show iwad box - don't show if queryiwad is false, or if -iwad parameter is used 2024-05-03 14:45:41 -04:00
Rachael Alexanderson
7ef6fa97a7
- make roll and flat sprites square 2024-05-03 14:32:53 -04:00
Rachael Alexanderson
bcad040fd3
- always show iwad picker, offer option for forks to hide picker by default. this commit was intentionally done in a way to cause merge conflicts so as to force fork maintainers to pay attention to the new option in version.h 2024-05-03 10:14:29 -04:00
Rachael Alexanderson
4bf2fb0ef8
- make particles square 2024-05-03 02:04:29 -04:00
Xaser Acheron
a6e1114d3c add mbf21 and mbf21 (strict) compatibility presets 2024-05-02 07:46:34 +02:00
Christoph Oelckers
370bec6c55 fixed GL nodes loader for maps loaded from mounted folders.
Due to how the reader  is created, READER_NEW will not work for it, it needs to force READER_CACHED.
2024-05-01 17:57:11 +02:00
Christoph Oelckers
3a5838c8f5 don't abort when parsing the Steam config fails. 2024-05-01 12:20:06 +02:00
Christoph Oelckers
6f2bc8379a strip spaces from language labels. 2024-05-01 11:58:30 +02:00
Christoph Oelckers
f2d582f680 fixed: The savegame's PNG loader must use a caching FileReader to avoid holding a handle to the containing file.
This blocked savegame deletion.
2024-05-01 09:50:19 +02:00
Christoph Oelckers
81dade9ed5 fixed: for deleting files and folders on Windows we have to call the Unicode variants of these functions. 2024-05-01 09:50:19 +02:00
Ru5tK1ng
3318e540b6 Added missing checking for LOOKALLAROUND. 2024-04-30 01:58:31 -04:00
Ricardo Luís Vaz Silva
c03f7889bf restore old fadestep behavior if SPF_NEGATIVE_FADESTEP is not passed in 2024-04-29 04:51:13 -04:00
Boondorl
27eb78f437 Fixed weapon slots not resetting on unmorph
Important for any morphed pawns that set custom weapon slots.
2024-04-28 22:08:52 -03:00
Boondorl
48eb848433 Fixed ViewPos not properly backing up when predicting
Also now forcibly creates the object on players when they spawn so their pointer won't get lost when predicting.
2024-04-28 21:20:20 -03:00
Boondorl
2643a4a167 Fixed desync in Heretic 2024-04-28 21:20:04 -03:00
Boondorl
929febdfb1 Fixed prediction not calling virtual Tick function 2024-04-28 21:20:04 -03:00
Rachael Alexanderson
4625d4ac34
- mirror changes with ZWidget, remove SDL_Wait failure message 2024-04-28 04:07:21 -04:00
DyNaM1Kk
620d689038 Fixed "PrivateNetOf" function not checking for the entire B class private network range 2024-04-27 11:02:34 -03:00
Christoph Oelckers
a768d6c177 text update 2024-04-27 12:36:10 +02:00
Christoph Oelckers
45cf72ff48 fixed bad network ID assignment.
ClientNetIDStart was added twice here.
This was asserting when loading a savegame.
2024-04-27 11:57:22 +02:00
Christoph Oelckers
f7a15bc5f9 added emulation of Final Doom's teleporter z glitch and activate it for Saturnia MAP10 2024-04-27 10:46:29 +02:00
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