Commit graph

18141 commits

Author SHA1 Message Date
alexey.lysiuk
e4587138bb - added support for softpoly backend on macOS
Grabbed most of code from old Cocoa backend with separate code path for software rendering
2019-12-07 13:25:12 +02:00
Magnus Norddahl
75248cffd0 - fix decal color bug 2019-12-06 23:26:38 +01:00
Madame Rachelle
f3897e26f0 - allow to change acceleration type in SDL backend for softpoly 2019-12-06 14:38:25 -05:00
Magnus Norddahl
fd4fc45040 Move blend operator and alpha test flag out of the inner blend loop 2019-12-06 20:35:19 +01:00
Magnus Norddahl
aede0633bc - fix bug where SSE wasn't actually really used at all
- improve precision of the SSE version of WriteW
- use SSE to calculate the texture wrapping
2019-12-06 18:51:41 +01:00
Rachael Alexanderson
a477dbb542 - move backend selector from display menu to video mode menu 2019-12-06 12:36:16 -05:00
Rachael Alexanderson
edd7fe1e16 - migrate vid_enablevulkan to vid_preferbackend in config file 2019-12-06 12:05:52 -05:00
Rachael Alexanderson
eaab122076 Merge remote-tracking branch 'origin/polybackend' 2019-12-06 09:30:55 -05:00
alexey.lysiuk
ffe8aaa091 - updated xBRZ scaler to 1.8
Removed all C++17 features: std::clamp(), attribute [[likely]], terse static asserts, ...

https://sourceforge.net/projects/xbrz/files/xBRZ/xBRZ_1.8.zip/download
2019-12-06 13:18:43 +02:00
Magnus Norddahl
8075510289 Merge remote-tracking branch 'origin/master' into polybackend 2019-12-06 00:20:25 +01:00
Madame Rachelle
c646478aa0 - allow SDL to use OpenGL acceleration for polybackend 2019-12-05 18:27:46 -05:00
Magnus Norddahl
a7a899ca14 Fix null pointer crash 2019-12-06 00:19:51 +01:00
Magnus Norddahl
dd87619cc4 Merge remote-tracking branch 'origin/master' into polybackend 2019-12-05 21:19:20 +01:00
Magnus Norddahl
9b7db26a37 Fix the compile error on Windows 2019-12-05 21:18:11 +01:00
Magnus Norddahl
ab4f3ee0b1 Fix black border clears 2019-12-05 22:04:28 +01:00
Magnus Norddahl
e4bd2483e5 Implement SDL present functions 2019-12-05 21:26:01 +01:00
Christoph Oelckers
bbdd146243 - removed dead menu options 2019-12-05 00:00:54 +01:00
Chronos Ouroboros
b9367caa6f Fixed the JIT's OP_VTBL check not checking if it's already at the start of the code. 2019-12-04 17:37:20 -03:00
Rachael Alexanderson
a07d7856c2 - language update 2019-12-03 13:07:14 -05:00
Magnus Norddahl
0f6aec5e99 Some vid_preferbackend compile fixes 2019-12-02 20:12:27 +01:00
Magnus Norddahl
a9e6592feb Switch to the D3DSWAPEFFECT_FLIPEX swap model 2019-12-02 20:05:13 +01:00
Magnus Norddahl
43139276d1 SSE2 version of wrap 2019-12-02 18:44:15 +01:00
Rachael Alexanderson
3269b61ffc - change menu option for 'vid_preferbackend' 2019-12-02 09:43:06 -05:00
Magnus Norddahl
f501e1bb49 Fix texture binding bug 2019-12-02 01:48:59 +01:00
Magnus Norddahl
865b7a1a2c Implement func_paletted shader 2019-12-02 01:28:35 +01:00
Magnus Norddahl
44c2223c2f Draw 8-bit software renderer with polybackend (well, sort of!) 2019-12-02 01:07:28 +01:00
Magnus Norddahl
4a2b763aaa Support 8-bit textures 2019-12-02 00:35:15 +01:00
Magnus Norddahl
74c6b9fe6d Remove PolyDrawArgs 2019-12-02 00:21:42 +01:00
Magnus Norddahl
d2f4570337 Remove old polyargs 2019-12-02 00:01:04 +01:00
Magnus Norddahl
4a4b79194d Remove/disable old swrenderer model rendering code 2019-12-01 23:37:43 +01:00
Magnus Norddahl
3059b8f5c8 Remove old softpoly drawer implementation 2019-12-01 23:23:25 +01:00
Rachael Alexanderson
f1e136487d Merge branch 'polybackend' of https://github.com/coelckers/gzdoom into polybackend 2019-12-01 16:06:54 -05:00
Rachael Alexanderson
bdc7329d32 - replace vid_enablevulkan with vid_preferbackend - disabled startup window selector for this (will replace when the startup screen changes are done) 2019-12-01 16:06:36 -05:00
Magnus Norddahl
8ca05fe30a Implement crossfade 2019-12-01 22:05:10 +01:00
Magnus Norddahl
1b9479ea45 Implement burn.fp and second texture binding 2019-12-01 21:44:44 +01:00
Magnus Norddahl
2c751d214f Hook up some SSE2 2019-12-01 20:23:41 +01:00
Magnus Norddahl
4a25c9f69b Merge remote-tracking branch 'origin/master' into polybackend 2019-12-01 20:09:19 +01:00
alexey.lysiuk
5b452b5d04 - fixed typos in Doom lights definitions
https://forum.zdoom.org/viewtopic.php?t=66529
2019-12-01 11:37:40 +02:00
alexey.lysiuk
51c90f54a4 - fixed wrong display of Hexen AC for SBARINFO
Do not use BasicArmor's save percentage when no armor present
Applied change from 34c2c65bb6 to old status bar definitions
2019-12-01 10:30:06 +02:00
Christoph Oelckers
6023b69693 - added null check to the dialogue lines array so that it doesn't crash if the text is never word wrapped. 2019-11-30 22:04:26 +01:00
Christoph Oelckers
d420b0ab05 - fixed: AActor::Revive did not restore flags8. 2019-11-30 22:03:19 +01:00
ZZYZX
116d81cb9f Normalize mouse events received by the modder through EventHandlers 2019-11-30 11:06:30 +02:00
alexey.lysiuk
33fb2a7856 - pass master volume to ZMusic library on startup
MIDI devices that don't output music through the sound system (like WinMM) ignored master volume setting

https://forum.zdoom.org/viewtopic.php?t=66510
2019-11-29 11:13:03 +02:00
alexey.lysiuk
c74c38eef7 - fixed monster teleportation on Ancient Aliens MAP23
Particular combination of teleport lines and monster radius requires vanilla behavior of P_PointOnLineSide()

https://forum.zdoom.org/viewtopic.php?t=66504
2019-11-28 13:01:23 +02:00
alexey.lysiuk
628b2ef97f - removed unused code from serializer 2019-11-27 12:30:09 +02:00
alexey.lysiuk
fdd17403e5 - added ability to force internal alternative HUD
Set hud_althud_forceinternal CVAR to disable unwanted HUD customizations
2019-11-26 15:45:18 +02:00
alexey.lysiuk
e21c9e0ef8 - made most of AltHud class functions virtual
This allows arbitrary customization of alternative HUD
2019-11-26 15:45:18 +02:00
alexey.lysiuk
a7f2df4fef - added ability to set custom alternative HUD
Use GAMEINFO key 'althudclass' to specify own class derived from AltHud

https://forum.zdoom.org/viewtopic.php?t=66422
2019-11-26 15:45:18 +02:00
Rachael Alexanderson
a3741abbf3
- add cvar 'cl_disableinvertedcolormap' - changes the invulnerability… (#972)
* - add cvar 'cl_disableinvertedcolormap' - changes the invulnerability sphere to instead be a regular desaturated colormap that transitions from deep blue to pale yellow

* - add menu option for cl_disableinvertedcolormap

* - added customization for invulnerability colormap

* - fixed custom colormap being calculated incorrectly

* - disable custom invulnerability map before the main game loop
2019-11-26 07:46:18 -05:00
alexey.lysiuk
20d3752fdd - exported several Wads.GetLump...() methods to ZScript
* GetLumpName() returns 8-characters lump name
* GetLumpFullName() returns full name with path and extension
* GetLumpNamespace() returns lump's namespace
* GetNumLumps() returns total number of lumps

https://forum.zdoom.org/viewtopic.php?t=66285
2019-11-25 17:37:56 +02:00