Commit graph

1541 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Rachael Alexanderson
d9f03863bf
- make gcc14 happy 2024-04-25 02:37:51 -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
Christoph Oelckers
a938e9c66c moved the NetworkEntityManager into the backend code. 2024-04-21 18:30:19 +02: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
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
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
Ricardo Luís Vaz Silva
949cd5b746 Fix let ignoring const-ness 2024-04-19 13:28:18 -03:00
Rachael Alexanderson
4a80e26ab2
- fix #2248 as suggested in the ticket - fix missing include in FreeBSD 2024-04-18 04:27:41 -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
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
Ricardo Luís Vaz Silva
74e9d575e8 store YUV and VPX directly as BGRA to speed up animation 2024-04-17 20:35:49 -04:00
Ricardo Luís Vaz Silva
64ffe9b97b skip frames when playing back IVF to prevent desyncs 2024-04-17 20:35:49 -04:00
Ricardo Luís Vaz Silva
5b2673f469 add 444/422/440 support to vp9, remove extra copy of image data 2024-04-17 20:35:49 -04:00
Sean Baggaley
06566c010b Add support for the VP9 codec in the IVF container 2024-04-17 20:35:49 -04:00
Chris Robinson
f12bf069f0 Allow larger denominators for IVF movies 2024-04-17 20:24:10 -04:00
Rachael Alexanderson
253d668222
- this function still was needed by raze, keep it for now 2024-04-17 15:19:03 -04:00
Rachael Alexanderson
ef10467ff8
- revert changes in backend code which will not sync properly with raze
This is a combination of 2 commits.

Revert "New API for assigning unique network ids to objects"

This reverts commit e37c19b5b4.

 This is the commit message #2:

Revert "Fix for Morph virtual"

This reverts commit 0ef042562e.
2024-04-17 14:48:02 -04:00
Ricardo Luís Vaz Silva
f0b96bff00 further fix mouse visibility 2024-04-11 07:18:43 +02:00
Ricardo Luís Vaz Silva
97effb9047 fix mouse cursor randomly becoming invisible outside gzdoom 2024-04-11 07:18:43 +02:00
Professor Hastig
0c5780cc41 added missing file size validation in the voxel loader, anything below 772 bytes cannot be a valid KVX file. 2024-04-08 12:54:30 +02:00
Rachael Alexanderson
7a43d7f78d - multiply frame measurement by 2.0 to at least divide the total frame render time by half during the load screen 2024-03-30 12:14:07 -04:00
Rachael Alexanderson
a1bdc0582c - slow down frame updates for the start screen for slower GPU's, since this can increase loading time significantly 2024-03-30 12:14:07 -04:00
Boondorl
442ac3f78b Updated substitution logic to only replace pointers if safe 2024-03-28 15:48:23 -04:00
Ricardo Luís Vaz Silva
e85ec240bf Store type together with pointers to allow safe substitution 2024-03-28 15:48:23 -04:00
Magnus Norddahl
e8d8dde283
Ignore vid_maxfps when vsync is enabled.
Increase vid_maxfps to 500 as modern computers have monitors in the 240-500 hz range now.
2024-03-28 02:56:29 -04:00
Ricardo Luís Vaz Silva
682dd1b22d Can't narrow down the JIT bug yet, so block JIT for functions that call Function Pointers temporarily 2024-03-22 13:28:02 -03:00
Ricardo Luís Vaz Silva
071b5c5180 fix argument pointer wrapping in function pointers 2024-03-22 13:28:02 -03:00
Kyle Evans
b1f53e7eb5 src: filesystem: move includes out of the FileSys namespace
The previous situation is unfortunately not sustainable; header pollution
isn't consistent across all non-Windows platforms.  As a result, some of
the earlier includes may pull functions/types into the global namespace too
soon, and the later includes will have no visibility of them because they're
in a different namespace.  Re-including the necessary one doesn't work
because include guards will prevent their re-inclusion, and it's not a good
idea to try and #undefine include guards now that we're in a new namespace.

This fixes the build on FreeBSD, and likely some other systems as well.
2024-03-17 22:00:00 -04:00
Ricardo Luís Vaz Silva
458d81cede Make TArray take functions by forward-reference and call them by invoke
(1. avoids copying for lambdas, and 2. allows passing methods)
2024-03-17 18:07:50 -03:00
Ricardo Luís Vaz Silva
ce479e09ff Fix A_ChangeModel serialization
I overlooked this part on my first A_ChangeModel fix
2024-03-17 18:07:50 -03:00
Rachael Alexanderson
7f8ce13d24
- add missing include for macos 2024-03-17 00:58:24 -04:00
Rachael Alexanderson
c73ec97027
- accidentally added erroneous quotes to the last commit 2024-03-16 23:22:42 -04:00