Magnus Norddahl
91d180bec6
Fix render to texture
2016-11-23 21:10:19 +01:00
Rachael Alexanderson
2e7c512891
Merge branch 'master' of https://github.com/rheit/zdoom
2016-11-23 11:09:46 -05:00
Christoph Oelckers
9bd19c2d2e
- ensure that the MAPINFO parser never mixes HexenHack parsing with the new format.
2016-11-23 14:38:45 +01:00
alexey.lysiuk
e138a3ffbc
Fixed infinite recursion with self-referencing multipatch textures
...
See http://forum.zdoom.org/viewtopic.php?t=54355
2016-11-23 14:33:31 +01:00
Christoph Oelckers
5b059971f0
- fixed: P_SpawnMapThing forced gravity instead of disabling it when being given Gravity = 0 from UDMF.
2016-11-23 14:32:18 +01:00
Christoph Oelckers
6ae266c76e
- fixed: The check for identical floor planes on an opening should never allow it to be narrowed down.
...
This can cause problems in rare situations where a sloped plane is checked outside its sector boundaries.
2016-11-23 14:27:08 +01:00
Edoardo Prezioso
0489b6e7c5
- Fixed missing newlines to the conversation error message.
2016-11-23 10:19:52 +01:00
Christoph Oelckers
649c96261a
- clarified error messages for bogus conversation scripts.
2016-11-23 10:13:50 +01:00
Rachael Alexanderson
78db0a0d06
Merge branch 'master' of https://github.com/rheit/zdoom
2016-11-23 01:43:12 -05:00
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
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
Rachael Alexanderson
9b9ed64360
- Implemented sv_overridegetcvar: This will override the return value for GetCVar checks for certain CVars marked with the CVAR_OVERRIDEGET flag. Instead of returning their true value, they only return defaults instead.
...
- Implemented dummy CVar vid_renderer with a default value of 1. This allows mods not designed for the software renderer to run if sv_overridegetcvar is turned on.
2016-11-15 20:01:36 -05:00
Magnus Norddahl
449d4963ae
Mapping error workaround
2016-11-16 01:13:29 +01:00
Magnus Norddahl
a092a03c6d
Some basic fixed light support
2016-11-15 23:30:42 +01:00
Magnus Norddahl
1b3d50951a
Fix sky floodfill bug
2016-11-15 22:48:44 +01:00
Magnus Norddahl
a90a22e056
Fix segment culling bug
2016-11-15 19:27:21 +01:00
Major Cooke
f2ec266eec
Fixed: Actors with NOINTERACTION shouldn't waste time continuously applying NOBLOCKMAP if it has it already and not moving.
2016-11-15 11:38:03 -06:00
Magnus Norddahl
cfc977f9e6
Fix texture coordinate
2016-11-15 18:14:18 +01:00
Magnus Norddahl
ee15856786
Deep water support
2016-11-15 15:15:26 +01:00
Magnus Norddahl
3b397183ac
Clamp segment range
2016-11-15 15:15:01 +01:00
Magnus Norddahl
5f1b822523
Mark rendered lines in the automap
2016-11-15 13:30:30 +01:00
Magnus Norddahl
f143b9b7b0
Fix midtexture repeat and yoffset bug
2016-11-15 12:31:57 +01:00
Christoph Oelckers
196986ae6b
Merge branch 'master' of https://github.com/rheit/zdoom
2016-11-15 11:25:42 +01:00
Magnus Norddahl
e5f8af2216
Fix sky flood fill for E1M8 and Map11
2016-11-14 23:22:38 +01:00
Rachael Alexanderson
62adb64a95
Merge branch 'master' of https://github.com/rheit/zdoom
2016-11-14 10:28:52 -05:00
Christoph Oelckers
0111ec451a
Revert "Fixed: A_SetInventory with an amount of 0 was not truly eliminating the actor."
...
This reverts commit 02435b46a0
.
2016-11-14 15:52:49 +01:00
Magnus Norddahl
3673338644
Split r_poly into multiple files handling each aspect of rendering a scene
2016-11-14 14:19:48 +01:00
Christoph Oelckers
109558d74d
- added unsigned char casts to all isspace calls in zstring.cpp
...
isspace takes a signed integer as parameter which triggers an assert on any non-ASCII character taken from a signed char array.
2016-11-14 13:14:07 +01:00
Major Cooke
02435b46a0
Fixed: A_SetInventory with an amount of 0 was not truly eliminating the actor.
2016-11-13 19:27:59 -06:00
Rachael Alexanderson
23384a913c
Merge pull request #2 from edward-san/qz_clang_fix
...
- Fixed Clang on Linux compilation.
2016-11-13 12:49:14 -05:00
Magnus Norddahl
c06798bca1
Adjust texture coordinates
2016-11-13 17:58:03 +01:00
Edoardo Prezioso
1442f7fb7b
- Fixed Clang on Linux compilation.
2016-11-13 16:53:18 +01:00
Magnus Norddahl
acb2e821f0
Evict floats from the block code (too bad it didn't make any difference to the speed)
2016-11-13 16:36:47 +01:00
Magnus Norddahl
f25579849a
Minor variable optimization
2016-11-13 15:43:54 +01:00
Magnus Norddahl
411eb57952
Fix rendering of masked walls
2016-11-13 15:16:55 +01:00
Rachael Alexanderson
470046ec5a
Merge branch 'master' of https://github.com/rheit/zdoom
2016-11-13 07:30:34 -05:00
Magnus Norddahl
c914a7a7fe
Cull walls
2016-11-13 13:24:36 +01:00
Magnus Norddahl
27eb8e36ae
Fix solid segment culling
2016-11-13 11:44:07 +01:00
Magnus Norddahl
af7a7ab7d7
Remove use of the llvm.round intrinsic as it apparently doesn't work in some environments
2016-11-13 08:57:29 +01:00
Braden Obrzut
472f35d2ce
- Fixed building with gtk2 headers.
2016-11-13 00:17:09 -05:00
Rachael Alexanderson
87e9ba0f05
Merge branch 'master' of https://github.com/rheit/zdoom
2016-11-12 22:31:05 -05:00
Braden Obrzut
9342898361
- Added support for GTK3 (thanks to "MineyMe" and edward-san)
...
- Replaced GTK/OS X (note different from Cocoa) clipboard code with SDL clipboard API.
- Removed requirement to link to GTK in order to compile with GTK support.
- GTK is no longer init'd if the GTK IWAD picker is not used.
- Our usage of GTK is such that the dynamic loader can work with both GTK2 and GTK3 depending on what's installed.
- Since we're accumulating a lot of library loaders I've built a generic interface as FModule which replaces TOptWin32Proc and the loaders in the OpenAL and Fluidsynth code.
2016-11-12 18:32:09 -05:00
alexey.lysiuk
b16e6725d7
Added missing #include to fix build with GCC/Clang
2016-11-12 18:09:05 +02:00
Rachael Alexanderson
f284a24ed9
Merge branch 'master' of https://github.com/rheit/zdoom
2016-11-12 10:17:56 -05:00
Christoph Oelckers
0c0cb6d69c
- fixed warnings.
2016-11-12 15:36:36 +01:00
Magnus Norddahl
402227d6b6
Add some intersection tests useful for culling
2016-11-12 14:55:14 +01:00
Christoph Oelckers
32e0123e1b
- fixed: FResourceLump::LumpNameSetup passed negative numbers to FString::Truncate for extension-less lump names.
2016-11-12 14:01:34 +01:00
Magnus Norddahl
e3dc9c93b9
Use a simpler algorithm for the stencil buffer as the old one was too slow
2016-11-12 13:50:28 +01:00
Edoardo Prezioso
ffea457d81
- Fixed GCC/Clang warnings with serializer Unicode parser.
2016-11-12 13:35:10 +01:00
Edoardo Prezioso
104030697f
- Rename con_numnotify to con_notifylines.
...
Zandronum 1.1 added an option with the same purpose. Use it to avoid duplicates.
2016-11-12 11:08:33 +01:00
Edoardo Prezioso
f123da9385
- Fixed GCC warnings with new history code.
2016-11-12 11:07:39 +01:00
Magnus Norddahl
eb4021b997
Codegen for all triangle variants
2016-11-12 10:21:02 +01:00
Marisa Heit
c69394fa40
Add con_numnotify cvar to control number of lines of notification text
...
- If con_numnotify < 0, then there is no limit on the number of lines of
text.
- If con_numnotify == 0, then any text that would normally be shown in the
notification area is discarded.
- If con_numnotify > 0, then that is the maximum number of lines of
notification text to display.
2016-11-12 00:34:07 -06:00