Commit graph

16171 commits

Author SHA1 Message Date
Magnus Norddahl
650e6a9c1b - removed marked code for how to create GDB/LLDB debug info as it will probably never be implemented 2018-12-19 00:49:43 +01:00
Magnus Norddahl
34007a8d27 - add missing parameter on unix 2018-12-19 00:47:36 +01:00
Chronos Ouroboros
bad8c18c58 Add line numbers to JIT stack traces. (#667) 2018-12-19 00:45:40 +01:00
Magnus Norddahl
9a2b3792ef - don't include the native frames per default 2018-12-19 00:43:50 +01:00
Magnus Norddahl
7785dd1b56 - fix linking and some linux things 2018-12-19 00:23:38 +01:00
Christoph Oelckers
c6a3a6a3fb - fixed misnamed macros. 2018-12-19 00:09:36 +01:00
drfrag
39564d8933 - Fixed linking with MinGW-w64. 2018-12-18 16:43:52 -05:00
Chronos Ouroboros
bb8fcd63c4 Added a function for triggering use/push specials for usage in custom monster AI. 2018-12-18 21:09:13 +01:00
Chronos Ouroboros
e7118804ba Exported P_CheckFor3DFloorHit and P_CheckFor3DCeilingHit to ZScript. 2018-12-18 21:09:13 +01:00
Christoph Oelckers
462fe891bd - fixed: A powered up weapon which shares its ready state with the parent but is currently in a firing sequence may not force-switch the weapon, because that will cause the sequence to run in the wrong weapon's context. 2018-12-18 20:38:25 +01:00
Christoph Oelckers
6342e85c26 - fixed: The texture scale wasn't copied to image based font characters. 2018-12-18 19:52:56 +01:00
Christoph Oelckers
c597b16f30 - fixed: 'frame' in GLDEFS light definitions was case sensitive. 2018-12-18 19:36:50 +01:00
alexey.lysiuk
8815379e15 - fixed compilation of POSIX targets
Making callstack resolving operational will require a little bit more effort

src/scripting/vm/jit_runtime.cpp:900:31: error: use of undeclared identifier 'frames'
src/scripting/vm/jit_runtime.cpp:903:23: error: use of undeclared identifier 'cnt'
2018-12-18 18:42:37 +02:00
drfrag
1ef5becd4f - Fixed compilation with MinGW-w64 64 bit. 2018-12-18 09:01:56 -05:00
Magnus Norddahl
585058c65e - add support for writing the native call stack 2018-12-18 14:49:41 +01:00
Magnus Norddahl
27ecae265d - improve the stack trace when the jit is active 2018-12-18 11:44:51 +01:00
Magnus Norddahl
64bfb1b905 - fix r_multithreaded 0 not working 2018-12-18 00:41:46 +01:00
Magnus Norddahl
efb8e39aa9 - move more of the light calculation code to the drawerargs 2018-12-18 00:37:50 +01:00
Christoph Oelckers
a73c065811 - replaced several explicit allocations with TArrays. 2018-12-17 18:28:04 +01:00
Christoph Oelckers
d68cd3aa80 - fixed: Alpha textures need to use a color's grayscale value, not their red channel. 2018-12-17 17:44:22 +01:00
alexey.lysiuk
fb71563311 - fixed inconsistent dymanic lights setup with UBO
https://forum.zdoom.org/viewtopic.php?t=62585
2018-12-17 12:27:35 +02:00
Magnus Norddahl
2ce91ea62f - delay converting sprite lightlevels to a shade until we hit ColormapLight 2018-12-17 07:54:46 +01:00
Magnus Norddahl
66b5e6e2ee - delay converting wall lightlevels to a shade until we hit the drawer 2018-12-17 06:47:26 +01:00
Magnus Norddahl
946f657a37 - fix heretic light torch in software renderer and remove some code duplication 2018-12-17 06:13:00 +01:00
Magnus Norddahl
f35aeec6c3 - move visibility calculation to LightVisibility 2018-12-17 05:10:26 +01:00
Magnus Norddahl
9787e32d28 Merge branch 'SoftwareScaling' 2018-12-17 01:33:22 +01:00
Magnus Norddahl
c3477e9197 - softpoly decals were upside down 2018-12-17 01:32:46 +01:00
Magnus Norddahl
9e15f26923 - fix decal upscaling 2018-12-17 01:32:15 +01:00
Christoph Oelckers
4cd745db48 - fixed: Patch rotations were not applied during true color texture composition. 2018-12-17 00:03:36 +01:00
Christoph Oelckers
87953020ba - fixed: FImageSource::GetCachedBitmap did not pass the translucency information along to the caller. 2018-12-16 19:17:53 +01:00
Christoph Oelckers
cce82e99d6 - fixed: The texture compositor did not use a patch's translation. 2018-12-16 19:03:04 +01:00
Magnus Norddahl
15d599813b - add support for scaled textures in softpoly 2018-12-16 15:12:45 +01:00
Magnus Norddahl
eaf1c4f1e2 - implement the physical texture scaling at the drawer transition level as the frontend of the software renderers do not even need to know the textures are scaled 2018-12-16 14:34:44 +01:00
Christoph Oelckers
e776dbce55 - use TArrays for MD3 storage. 2018-12-16 13:33:42 +01:00
Magnus Norddahl
57525f1505 Merge remote-tracking branch 'origin/master' into SoftwareScaling 2018-12-16 12:10:53 +01:00
Christoph Oelckers
cc52f89372 - fixed: For non-persistent buffers, sprite vertices need to be recalculated in the splitter code of the translucent sorter. 2018-12-16 12:06:17 +01:00
Magnus Norddahl
6648f4e47f Merge branch 'master' of https://github.com/coelckers/gzdoom 2018-12-16 11:31:18 +01:00
Magnus Norddahl
88751a320c - fix sky drawers not staying within their numa node 2018-12-16 11:31:05 +01:00
Christoph Oelckers
881fc89fe8 - removed redundant std::move. 2018-12-16 11:29:22 +01:00
Christoph Oelckers
1422a95aa8 Merge branch 'Texture_Cleanup'
# Conflicts:
#	src/textures/formats/multipatchtexture.cpp
2018-12-16 10:19:58 +01:00
Christoph Oelckers
a38e75db00 - improved error reporting for badly defined translations.
This needs to be handled by the caller for all use cases because the translation parser lacks the context to do a proper error report.
2018-12-16 09:56:53 +01:00
Christoph Oelckers
a96b86b13b - fixed: sidedef-less GLWalls may not apply per-sidedef render properties.
These always come from open-sector render hacks where the renderer tries to fill in some gaps
2018-12-16 09:38:22 +01:00
Christoph Oelckers
d0ce021805 - fixed: Both main and worker thread were modifying the portal state.
The parts in the main thread have been offloaded to a new worker job to avoid having to use a mutex to protect the portal state.
2018-12-16 09:05:02 +01:00
Christoph Oelckers
51f03c8215 - a few more fixes. 2018-12-16 00:37:34 +01:00
Christoph Oelckers
87b0567cd7 - the font character substitution logic needed more fixes.
The ZScript DrawChar function was incomplete and FFont::GetChar did not always return the proper texture.
To make things clearer the OriginalPic is now only used in the few cases where substitution takes place and nothing else.
2018-12-15 23:32:49 +01:00
Christoph Oelckers
c92e6b03ac - why wasn't this saved? 2018-12-15 21:39:00 +01:00
Christoph Oelckers
39f6489ac5 - two more places where explicit allocations could be replaced. 2018-12-15 20:41:21 +01:00
Christoph Oelckers
091f73b833 - fixed: no sprites were drawn in a sector if it only had ones in its sectorportal_thinglist. 2018-12-15 20:22:42 +01:00
Christoph Oelckers
8e24a50b36 - let FxNop have a value type, even if it's just TypeError. 2018-12-15 20:08:05 +01:00
Christoph Oelckers
e6e4f0f305 - disabled redirection to the original patch for FSpecialFont.
Using the same code as for the standard font does not work as intended, the reason still needs to be investigated.
2018-12-15 19:15:05 +01:00