Commit graph

20456 commits

Author SHA1 Message Date
Gutawer
ee0d90a983
- add stencil buffer support for 2d drawing (#1660)
Co-authored-by: Christoph Oelckers <coelckers@users.noreply.github.com>
2022-07-16 14:56:28 +02:00
Gutawer
1e27fac288 - add a system for setting all of 2D drawing's transform, not just shapes 2022-07-16 14:53:07 +02:00
nashmuhandes
c6ae73d6d2 - Expose ConsoleState to scripts
- Make ConsoleState uint8_t sized
2022-07-16 14:38:47 +02:00
Magnus Norddahl
69778667aa Minor cleanup of some vulkan rtx code 2022-07-16 08:55:57 +02:00
Christoph Oelckers
0e90098de8 - rewrote Windows console code for Windows 10's new terminal.
This allows dumping a lot of shit code using deprecated Windows functionality and bringing the code in line with Microsoft's roadmap for terminal/console functionality.
Note that this will cause garbled output of non-ASCII characters on Windows 7 and 8.1, but proper handling on these declining systems is of far lesser importance than future-proofing the feature.
2022-07-15 13:04:02 +02:00
Christoph Oelckers
595975fcc7 - did a test compile as C++20 and fixed all warnings that got emitted. 2022-07-15 09:17:50 +02:00
Christoph Oelckers
d310487ad4 - text update 2022-07-15 08:48:18 +02:00
Christoph Oelckers
ef8dd4d01e - fixed and consolidated artifact check in cheat code. 2022-07-15 07:56:22 +02:00
Kevin Caccamo
ffd8b5ed5a Address Graf's comment 2022-07-15 07:43:57 +02:00
Kevin Caccamo
a89d32c850 Attempt to fix #1654 2022-07-15 07:43:57 +02:00
Christoph Oelckers
2c7761926e - removed volatile type punning for clipping against line portals.
This now uses a common base for line_t and HWLinePortal.
2022-07-14 10:39:11 +02:00
Christoph Oelckers
fbd604b725 - fixed handling of *dive and *surface sounds.
The old water level needs to be retrieved before handling splashes, because SplashCheck already updates the waterlevel.
This was swapped around by a recent PR.
2022-07-14 08:13:54 +02:00
Christoph Oelckers
a952d0f36a -let A_FireProjectile pass through the second return value of SpawnPlayerMissile. 2022-07-14 07:59:52 +02:00
Christoph Oelckers
e1c458ab2f - fixed PoisonCloud's looping animation count. 2022-07-14 07:54:19 +02:00
Christoph Oelckers
b719ab53f8 - weapons are not artifacts. 2022-07-14 00:12:20 +02:00
Rachael Alexanderson
e3238cd5b7 - always print GZDoom version in the startup log 2022-07-13 14:16:41 -04:00
Christoph Oelckers
a847dacaaa - fix scale members in actor.zs 2022-07-12 16:56:56 +02:00
Christoph Oelckers
ac0a68c7ca - removed the duplicate EPrintLevel definition. 2022-07-11 19:40:58 +02:00
Ricardo Luís Vaz Silva
365131e1e3 rename PrintString to PrintfEx and make it a vararg function 2022-07-11 19:35:51 +02:00
Ricardo Luís Vaz Silva
03c8da8a44 Expose Print Flags to ZScript 2022-07-11 19:35:51 +02:00
Christoph Oelckers
aae1d1439a - reverted AActor::scale to a DVector2.
This was causing comparison precision issues with existing script code.
2022-07-11 12:20:34 +02:00
Emile Belanger
edc8204a61 If the system uses very high memory addresses this error will be hit 2022-07-10 22:26:57 +02:00
Rachael Alexanderson
fae4166fae - add a few njdoom maps to the rebuildnodes comptibility block 2022-07-07 08:59:13 -04:00
Rachael Alexanderson
9050ded1c2 - version.h update 2022-07-07 08:27:33 -04:00
Christoph Oelckers
a4aca9bd9c - force node rebuild for Plutonia MAP25. 2022-07-02 10:30:03 +02:00
Christoph Oelckers
7847a55d67 - do not include game specific stuff in the backend. 2022-07-02 10:26:17 +02:00
Christoph Oelckers
9002cdb61d - fixed bad use of local variable. 2022-07-02 10:24:51 +02:00
Christoph Oelckers
35f8aab6bf - fixed names for A_PlaySoundEx
These need to be contiguous because the implementation depends on it.
2022-06-30 21:45:59 +02:00
Christoph Oelckers
abaa0f2178 - ENDOOM is not Windows only anymore. 2022-06-29 10:12:55 +02:00
nashmuhandes
8da4f2a212 ZDRay UDMF key update (per-surface sampling distance https://github.com/dpjudas/ZDRay/pull/36) 2022-06-29 09:12:18 +02:00
Christoph Oelckers
44a15bebea - fixed background tiling for summary screen.
Since the background object gets recycled it must clear this flag before loading a new background.
2022-06-29 08:36:01 +02:00
Christoph Oelckers
5cf6a5ab1a - text update 2022-06-29 08:36:01 +02:00
Rachael Alexanderson
00af521846 - add a few maps to the rebuildnodes compatibility block 2022-06-28 22:32:42 -04:00
RaveYard
9a083d2d13 Fix FVector to Vector comparison 2022-06-24 21:38:14 +02:00
alexey.lysiuk
59458cf463 - fixed compilation without JIT
src/common/scripting/vm/vmframe.cpp:674:16: error: call to 'JitCaptureStackTrace' is ambiguous
2022-06-23 13:26:36 +03:00
RaveYard
4c588077c2 Fix FVector incompatible operands errors 2022-06-23 10:54:31 +02:00
Christoph Oelckers
2d10ad9d2d - removed incorrect assert.
This may fail if a narrow data type is negated.
2022-06-23 10:43:43 +02:00
Christoph Oelckers
124d71a7be - let the "abort" button on the network pane of the startup screen do a hard exit on Windows.
This merely posted a quit message which did not get properly processed and let the game run into other code with incompletely set up data.
2022-06-23 09:35:45 +02:00
Sally Coolatta
67127e4cce Bugfix for retro software mode mirrors not working 2022-06-23 07:47:04 +02:00
Christoph Oelckers
8c244f6f85 - use static_assert to make 32 bit builds fail. 2022-06-22 11:11:29 +02:00
Christoph Oelckers
aaf9618e61 - make sure ticdup is initialized.
Apparently sometimes it still does not happen.
2022-06-22 10:30:09 +02:00
nashmuhandes
593627f049 Add +ONLYVISIBLEINMIRRORS and +INVISIBLEINMIRRORS actor flags. The former makes the actor only visible in reflections, while the latter makes the actor not cast reflections in mirrors. 2022-06-22 09:36:04 +02:00
Christoph Oelckers
e3d7afa2d5 - added missing return 2022-06-22 09:26:53 +02:00
Magnus Norddahl
a0259e8e00 Hide experimental ray query behind vk_raytrace 2022-06-22 07:55:19 +02:00
Magnus Norddahl
ed134c9b19 Improve the builder syntax so that fewer temp variables are required to build vulkan objects 2022-06-22 07:55:19 +02:00
Magnus Norddahl
386cb5bfb2 Mute some warnings 2022-06-22 07:55:19 +02:00
Magnus Norddahl
7fc579c8b2 Add some helpers 2022-06-22 07:55:19 +02:00
Magnus Norddahl
c7fe3de4b0 Avoid creating new descriptor pools every frame 2022-06-22 07:55:19 +02:00
Magnus Norddahl
dba514a2cf Fix CMakeLists.txt missing file error 2022-06-22 07:55:19 +02:00
Magnus Norddahl
5aa0fb536f Only define SUPPORTS_RAYTRACING if it was detected 2022-06-22 07:55:19 +02:00