Commit graph

19853 commits

Author SHA1 Message Date
Christoph Oelckers
64ef03428d - added proper range check to the main sound playing function.
We got a report where this crashed on a bad sound index.
2022-01-07 00:16:30 +01:00
Christoph Oelckers
63fa01205f - fixed potential infinite loop in Hexen-style stair builder. 2022-01-07 00:09:59 +01:00
Rachael Alexanderson
e6403197eb - drop yet another option from the simple mouse menu 2022-01-05 12:17:28 -05:00
Rachael Alexanderson
68d4c3f19c - drop more options from the simple mouse menu 2022-01-05 12:13:48 -05:00
Rachael Alexanderson
ea9d945ff3 - create new menu page for simple mouse options menu - remove advanced settings like the individual speed fine-tuning 2022-01-05 11:10:28 -05:00
Marisa Kirisame
ee1774e956 Relicense UE1 model loader as MIT.
Match up with the same relicensing that affected umeshtools,
which this loader takes most of its code from.
2022-01-02 18:09:10 +01:00
Christoph Oelckers
e60e6967c0 - whitespace cleanup, updated from Raze. 2022-01-02 12:23:42 +01:00
Christoph Oelckers
3b879c5656 - changed the license of 3 more files free of external contributions to LGPL v2. 2022-01-02 12:08:47 +01:00
Christoph Oelckers
9d2431187d - reverted the license of the stereo3D code to BSD.
None of this was ever put under the GPL by its original author, so it is now back to its original license.
2022-01-02 11:41:32 +01:00
Christoph Oelckers
1c517d19fa - Backend update from Raze.
This is mainly code cleanup from setting the compiler to a stricter warning level.
2022-01-02 11:39:17 +01:00
alexey.lysiuk
6aea7694bc - updated LZMA to 21.07
https://www.7-zip.org/sdk.html
https://www.7-zip.org/a/lzma2107.7z
2022-01-01 15:58:40 +02:00
Rachael Alexanderson
0947f60c3b - move and copy SHT2E0 into the game-appropriate filter for Doom 2 games and wadsmoosh 2021-12-28 12:03:32 -05:00
Christoph Oelckers
dae8793066 - moved Chex1 widescreen assets to the proper place. 2021-12-28 16:33:42 +01:00
Player701
f02060f822 - Fixed crash with Scroll_Texture_Offsets with non-zero tag 2021-12-27 15:34:27 +01:00
drfrag
2945e10a0e - More wrong tracer flags in ActorMover. 2021-12-24 16:37:58 +01:00
drfrag
395b5695ad - Fixed: ActorMover was not changing its tracer's flags. 2021-12-23 21:28:27 +01:00
Major Cooke
b4c74fabd3 Added NoTrim support for ANIMDEFS, same syntax as TEXTURES outside a definition. 2021-12-14 15:22:01 +01:00
Major Cooke
bbd91be5d5 Added NoTrim for TEXTURES.
- This can be applied either in or outside of a definition of a sprite.
- Simply adding "NoTrim" inside a definition will apply it.
- Syntax outside of a sprite is `NoTrim <SpriteName>`.
2021-12-14 15:22:01 +01:00
Player701
2ce5b49cab - Exported the "paused" global variable to ZScript 2021-12-06 16:26:34 +01:00
drfrag
bb8534ed00 Fix LZMA compilation with VS 32 bit.
(patch by Igor Pavlov)
2021-11-29 16:17:47 +01:00
Sean Baggaley
bf1577a984 ACS: fixed an old regression in which printing a map char array did not dereference the given array variable 2021-11-29 07:47:30 +01:00
alexey.lysiuk
9fac6058b7 - enabled LZMA multithreading on all platforms 2021-11-27 17:02:12 +02:00
alexey.lysiuk
121b89306a - updated LZMA to 21.06
https://www.7-zip.org/sdk.html
https://www.7-zip.org/a/lzma2106.7z
2021-11-27 17:00:53 +02:00
Player701
d0697d9801 - Fixed some issues with the scaling feature of DStatusBarCore::DrawString 2021-11-25 15:42:27 +01:00
Emile Belanger
54ad3433b1 GLES: Load default shader if we try to load user shader to avoid crash 2021-11-21 13:14:02 +01:00
Christoph Oelckers
4530a7b583 - minor optimization to last PR to use a FixedBitArray to reduce stack impact of the check array. 2021-11-21 10:10:58 +01:00
Mitch Richters
b1fea228be - D_ProcessEvents(): Fix bad setup with delayedevents array that was holding pointers to items in the events[] array instead of making a copy. 2021-11-21 10:03:26 +01:00
Mitch Richters
c4f7760ab2 - D_ProcessEvents(): Delay EV_KeyUp events until any EV_KeyDown events for the corresponding key have been processed. This makes the mouse under SDL a lot better. 2021-11-21 10:03:26 +01:00
Rachael Alexanderson
312b5ce66e - add SDL hint to not minimize the window on focus loss 2021-11-19 15:26:04 +01:00
Rachael Alexanderson
4db7a20f7a - apply clearscope to ApplyDamageFactor as well 2021-11-18 21:29:08 -05:00
Rachael Alexanderson
01b825b181 - apply clearscope for ApplyDamageFactor - https://forum.zdoom.org/viewtopic.php?f=15&t=73830 2021-11-13 11:07:42 -05:00
Christoph Oelckers
c598d9bab7 - Backend update from Raze.
* TArray extensions
* MSVC setup so that [[deprecated]] emits warnings.
2021-11-12 09:36:46 +01:00
mc776
3cce406bd5 gldefs: make soulsphere yellow.
https://github.com/freedoom/freedoom/blob/freedoom-0.12.y/sprites/soula0.png
2021-11-11 08:36:24 +01:00
Kyle Evans
70ea671f01 src: fix i386 build
SSE_MATTERS formally went away in 466ed4e8f2, leaving behind this dead
branch that still needed to happen for 32-bit targets.  It was further
broken later with some path restructuring.
2021-11-07 17:18:29 +01:00
Christoph Oelckers
6ee89275ca - removed the zmusic.dll for ARM.
This should be rebuilt from source to get the latest version.
2021-11-06 23:55:16 +01:00
Christoph Oelckers
7f66df2625 - fixed compiler warnings 2021-11-06 23:55:16 +01:00
Rachael Alexanderson
fba5c7884d - add LoadBrightmaps, LoadLights, and LoadWidescreen directives for IWADINFO - these function exactly the same as their GAMEINFO equivalents. 2021-11-03 18:41:33 -04:00
alexey.lysiuk
8db550d251 - fixed compilation of POSIX Debug targets
src/rendering/2d/f_wipe.cpp:291: undefined reference to `Wiper_Melt::HEIGHT'
2021-10-30 15:58:07 +03:00
drfrag
5ca3ab3fc9 - Fix abort with dir command and empty string on Windows. 2021-10-30 12:46:36 +02:00
Christoph Oelckers
ce99cda019 - fixed compilation on non-Windows.
In this header we must explicitly use the std:: namespace for min/max.
2021-10-30 11:38:20 +02:00
Christoph Oelckers
77d74a11d1 - removed most templates.h includes. 2021-10-30 10:49:12 +02:00
Christoph Oelckers
eb69bbcae0 - replaced MIN/MAX in common code. 2021-10-30 10:46:17 +02:00
Christoph Oelckers
07a181090b - missed some MAX's. 2021-10-30 10:45:58 +02:00
Christoph Oelckers
75c8e0af7c - use the standard library's 'clamp' function instead of our homegrown variant. 2021-10-30 10:21:50 +02:00
Christoph Oelckers
1d0aed219e - replaced MIN/MAX in all non-common code. 2021-10-30 10:16:52 +02:00
Christoph Oelckers
226666ce7f - replaced MIN/MAX with min/max from the C++ standard library in the software renderer 2021-10-30 10:08:11 +02:00
Christoph Oelckers
cc617d9085 - Backend update from Raze.
Mostly warning fixes reported by Clang, plus GLES update.
2021-10-30 09:29:21 +02:00
Magnus Norddahl
8e59ed754e Fix vulkan validation errors for wrong image transitions and buffers used after destroyed 2021-10-29 22:38:18 +02:00
nashmuhandes
c2b3600981 Add a render style parameter to Screen.Dim 2021-10-29 21:08:32 +02:00
Magnus Norddahl
d853961a83 Fix vulkan buffers not using the stream usage for the 2d drawer
Add BufferUsageType enum to clarify what kind of usage is expected by the buffer allocated by SetData
2021-10-26 22:43:38 -04:00