Commit graph

9815 commits

Author SHA1 Message Date
Braden Obrzut
789315bb4a - Fixed build with MinGW-w64 (TDM-GCC 5.1). Note that the resulting binary will crash under -O3 until the alignment violation is taken care of in FRemapTable::Alloc.
- It appears that CMake added native support for building rc files with MinGW at some point so removed manual rc compiling code.
2016-11-22 22:41:32 -05:00
Magnus Norddahl
ff738de279 Bgra support 2016-11-23 01:01:28 +01:00
Magnus Norddahl
f313bfd2cc Merge branch 'gl_swframebuffer' into qzdoom 2016-11-23 00:56:39 +01:00
Magnus Norddahl
7beac65471 Add Linux support for GLSWFrameBuffer 2016-11-23 00:55:07 +01:00
Magnus Norddahl
dacb985878 Fix texture mapping bug 2016-11-22 01:59:28 +01:00
Magnus Norddahl
7af504df58 Draw 3d floor sides 2016-11-21 20:50:54 +01:00
Magnus Norddahl
ddb0161f9c Sub pinkie crashes the pal drawer :( 2016-11-21 15:40:42 +01:00
Magnus Norddahl
0108ff89d7 Bug fixes 2016-11-21 15:20:07 +01:00
Magnus Norddahl
fabac78ea8 Add poly renderer to the menus 2016-11-21 15:19:24 +01:00
Magnus Norddahl
5e9c9c825d Add stencil blend mode as apparently the shaded mode uses indices whiles stencil uses mask/alpha.. 2016-11-21 05:52:02 +01:00
Magnus Norddahl
e7d64a380a Fix AABB culling bug 2016-11-21 05:09:53 +01:00
Magnus Norddahl
2ba2dc7611 Change shaded blend mode use srcalpha and destalpha.
Fix blending error in add/sub/revsub
2016-11-21 03:49:55 +01:00
Magnus Norddahl
144c7f4139 Flip sub and revsub TC drawers in the old renderer 2016-11-21 01:56:54 +01:00
Magnus Norddahl
29005b5ce6 Compile fix for older versions of LLVM 2016-11-21 01:40:08 +01:00
Rachael Alexanderson
dadee080e4 - Implemented Wall blend modes
- fixed: set color for "shaded" modes - though it's still not yet properly implemented.
2016-11-20 18:36:26 -05:00
Rachael Alexanderson
4ed548a189 - Implemented some sprite blend modes. 2016-11-20 17:07:58 -05:00
Magnus Norddahl
ebd810d843 Fix decal vertical position being wrong 2016-11-20 16:43:13 +01:00
Magnus Norddahl
bd9ec843dd Add palette version of the blend modes 2016-11-20 16:42:53 +01:00
Magnus Norddahl
6761e8639a Add palette support 2016-11-20 04:06:21 +01:00
Magnus Norddahl
7ac0cace7d Stop copying the matrix and remove r_triangle 2016-11-20 02:07:55 +01:00
Magnus Norddahl
f8efe394cc Remove unused code 2016-11-20 01:51:08 +01:00
Magnus Norddahl
845bf93c95 Change triangle full block to use vectored load and store 2016-11-20 01:29:19 +01:00
Rachael Alexanderson
08c4f2ac18 - Added a tool to clear the LLVM cache, if ever there is corruption or it needs rebuilt. 2016-11-19 17:08:08 -05:00
Rachael Alexanderson
fc011e42dd Merge branch 'master' of https://github.com/rheit/zdoom 2016-11-19 12:46:01 -05:00
Magnus Norddahl
b4eb49678a Cache the optimized bitcode (note: this adds LLVMBitWriter as a dependency) 2016-11-19 17:14:37 +01:00
alexey.lysiuk
c28bcca3f3 Print unknown if release information is unavailable on macOS
At least 10.4 Tiger doesn't support required sysctl name
2016-11-19 16:42:16 +01:00
alexey.lysiuk
60ac12be0a Fixed compilation warnings in Cocoa backend 2016-11-19 16:42:16 +01:00
alexey.lysiuk
3b240b73e9 Fixed endianness issue with saved games
See http://forum.zdoom.org/viewtopic.php?t=54272
2016-11-19 16:42:16 +01:00
Magnus Norddahl
d197ebca78 Remove redundant line 2016-11-19 14:07:39 +01:00
Magnus Norddahl
114fda1ed5 Added missing TranslateAlphaBlend and created a helper function for specifying the translation 2016-11-19 13:32:57 +01:00
Magnus Norddahl
17ed585c1f Fix vsync not working 2016-11-19 12:30:58 +01:00
Magnus Norddahl
272fe7f754 Added blending modes to triangle codegen 2016-11-19 02:53:32 +01:00
Magnus Norddahl
5d6ceb868e Move viewport stuff to its own function 2016-11-18 14:40:53 +01:00
Magnus Norddahl
dbb6c7ca27 Add support for specifying a viewport out of screen bounds and fixed statusbar by doing just that! 2016-11-18 01:58:39 +01:00
Rachael Alexanderson
bac3ae3bf8 Merge branch 'master' of https://github.com/coelckers/gzdoom 2016-11-17 17:37:11 -05:00
Christoph Oelckers
b3b5cb2fa4 - fixed: Lines with both sides in the same sector but an active portal may not be discarded early. 2016-11-17 23:13:17 +01:00
Rachael Alexanderson
aa08285676 - Moved scaling before rotation again - this time, using a formula provided by Graf, the rendering pitch is now dynamically scaled based on the aspect ratio, causing pitch aiming to once again be correct. 2016-11-17 16:44:55 -05:00
Magnus Norddahl
6be80efa51 Moved scale back to be after pitch - otherwise the the bullets don't end up where you point 2016-11-17 21:19:50 +01:00
Magnus Norddahl
eac9367ace Fix perspective when status bar is visible 2016-11-17 21:07:00 +01:00
Rachael Alexanderson
7447c49dc5 - Added pixelratio support for the softpoly renderer. 2016-11-17 13:50:35 -05:00
Magnus Norddahl
b02e3d9514 Add shaded blend mode for the decals 2016-11-17 14:28:14 +01:00
Magnus Norddahl
511eb59479 Add particle drawing 2016-11-17 01:29:08 +01:00
Magnus Norddahl
266924600a Missing include guard 2016-11-17 01:28:51 +01:00
Magnus Norddahl
ff2ab61abc Added decals 2016-11-16 23:34:05 +01:00
Magnus Norddahl
59f7dedfb4 Added wall sprite support. Unfortunately it would seem that a bullet hole is not a wall sprite.. 2016-11-16 22:31:49 +01:00
Magnus Norddahl
ae889acaea active_con_scale should respect uiscale 2016-11-16 19:49:46 +01:00
Magnus Norddahl
712e032573 Remove swrenderer2 2016-11-16 19:44:11 +01:00
Magnus Norddahl
f457f0340c Add 3D floor planes 2016-11-16 11:18:40 +01:00
Rachael Alexanderson
71b4f57058 Merge commit 'refs/pull/122/head' of https://github.com/coelckers/gzdoom
# Conflicts:
#	src/posix/cocoa/i_video.mm
#	src/posix/sdl/hardware.cpp
#	src/win32/hardware.cpp
2016-11-16 01:03:32 -05:00
Rachael Alexanderson
813030efef - Fully implemented CVAR_OVERRIDEGET for vid_renderer from the ZDoom code submission. 2016-11-15 20:03:50 -05:00