Commit graph

13318 commits

Author SHA1 Message Date
Rachael Alexanderson
4b82bb50df - removed scale resolutions and added vid_scalefactor to replace them. 2017-09-10 12:29:07 -04:00
Magnus Norddahl
0924cc3f0f - Fix crash when switching levels 2017-09-10 17:11:17 +02:00
Magnus Norddahl
4d671fb618 - Improve softpoly culling performance 2017-09-10 16:29:57 +02:00
Rachael Alexanderson
432afd9edf - privatized the namespace in r_videoscale.cpp completely 2017-09-10 09:50:49 -04:00
Rachael Alexanderson
86a66cd554 - refactored r_videoscale.cpp to use a table.
- reordered vid_scalemode modes to be a little neater, having static modes and scalar modes separate, with a buffer in between so new modes can be added in the future without disrupting the current order.
2017-09-10 09:41:03 -04:00
Chris Robinson
666198dec8 Don't allow Timidity++ pipes less than 20ms
This prevents Timidity++ from playing externally, so it now always goes through
the sound system. Aside from the issues relating to controlling playback, that
functionality has been busted for who knows how long anyway since Open() always
tries to create a pipe and sound stream regardless of the calculated size.
2017-09-10 07:25:29 -04:00
Chris Robinson
1b1f8d605f Add menu entries for selecting the timidity config 2017-09-10 07:25:29 -04:00
Chris Robinson
49df5a7f16 Add a cvar for the timidity++ config file 2017-09-10 07:25:29 -04:00
Chris Robinson
8f8c2ef2ef Build Timidity++ args separately on non-Windows
Rather than building a command line that's going to be manually split into
individual arguments passed to execvp, build the individual arguments directly.
2017-09-10 07:25:29 -04:00
Chris Robinson
5b3fbfde6d Read all data from the Timidity++ pipe
For non-Windows systems, read() may be non-blocking and can return less than
the requested amount if the timidity process hasn't written enough audio yet.
2017-09-10 07:25:29 -04:00
Rachael Alexanderson
67936a2630 - added: m_showinputgrid == '-1' allows for on-screen keyboard to never show, even when using a mouse 2017-09-10 07:04:00 -04:00
alexey.lysiuk
830b68acbc Intermission script's noautostartmap keyword is no longer ignored
https://forum.zdoom.org/viewtopic.php?t=57799
2017-09-10 11:02:34 +03:00
Magnus Norddahl
5ab0f34aca - Don't draw 3d floor walls that have zero height or less 2017-09-10 02:18:07 +02:00
Magnus Norddahl
4706c56690 - Fix portals crashing softpoly 2017-09-10 02:17:18 +02:00
Rachael Alexanderson
f71a6e249d - remove unsafe math operations for armv8 2017-09-07 15:56:00 -04:00
Magnus Norddahl
7a1274ab76 - Collect all PVS information first so that processing the individual sectors can be done on multiple threads 2017-09-07 00:34:09 +02:00
alexey.lysiuk
4101e9bf1d Removed erroneous code from ZBell.Activate()
https://forum.zdoom.org/viewtopic.php?t=57775
2017-09-06 10:13:26 +03:00
alexey.lysiuk
1bbd81c2ed Disabled VS2017 64-bit target in AppVeyor configuration
Hopefully Microsoft will fix internal error in their compiler sooner or later
2017-09-05 11:30:23 +03:00
alexey.lysiuk
85ffeebb96 Fixed IWAD detection for case-sensitive file systems
https://forum.zdoom.org/viewtopic.php?t=57770
2017-09-05 10:33:07 +03:00
Magnus Norddahl
dd0bc02eec - Convert PolyTranslucentObject to be a base class for all the different forms of translucent objects to be drawn 2017-09-02 18:17:55 +02:00
Magnus Norddahl
23aebaecc6 - Cleaned up some copyright statements
- Removed unused cull argument from some functions
2017-09-02 17:14:02 +02:00
Magnus Norddahl
0f0cf7261e - Remove unused code 2017-09-02 15:02:06 +02:00
nashmuhandes
7195af40f8 Bump DEMOGAMEVERSION due to changes to DEM_FOV and DEM_MYFOV commands. 2017-09-02 09:57:48 +02:00
nashmuhandes
3c39d51c83 Fixed a wrong variable type declaration. 2017-09-02 09:57:48 +02:00
nashmuhandes
c885b6aa35 Send player FOV across the network as floatig point. 2017-09-02 09:57:48 +02:00
Christoph Oelckers
2a291165ee - fixed: For original Hexen, executing a death special should not clear it. This addresses the bell in HexDD's Badlands being rung before it is ready to use. This also removes the redundant special handling in the ZBell actor. 2017-09-02 09:16:26 +02:00
Christoph Oelckers
eade38fb09 - fixed crash when defining a global constant which references a class member constant in its value. 2017-09-02 08:14:50 +02:00
Christoph Oelckers
12ad7ee933 Do not call DoEffect when predicting player movement. 2017-09-02 07:57:03 +02:00
nashmuhandes
f96f71044f Change camera texture FOV to doubles. 2017-09-02 07:44:38 +02:00
Magnus Norddahl
b80bf6930a - Translucent 3d floor plane support 2017-09-02 02:51:09 +02:00
Magnus Norddahl
393373a661 - Clean up plane rendering code slightly 2017-09-02 02:12:29 +02:00
Magnus Norddahl
fbaa3e7cb0 - Removed unused cull function argument 2017-09-02 01:34:36 +02:00
Magnus Norddahl
e851734b33 - Added translucent 3d floor walls support 2017-09-02 01:24:57 +02:00
Magnus Norddahl
b3916c1d01 - Add FF_UPPERTEXTURE and FF_LOWERTEXTURE support to softpoly 2017-09-02 00:35:48 +02:00
alexey.lysiuk
122f5d9515 Fixed crash caused by script number collision of ACS typed scripts
Wrong typed script can be picked when the same ACS script number is used for different script types from multiple behavior lumps
Although script in particular state is discarded and null pointer could be dereferenced
https://forum.zdoom.org/viewtopic.php?t=57718
2017-08-31 11:40:16 +03:00
alexey.lysiuk
ca55d8993f Added Actor.A_SoundVolume(int slot, double volume) function to ZScript
https://forum.zdoom.org/viewtopic.php?t=57594
2017-08-31 09:45:09 +03:00
Magnus Norddahl
77faab5a75 - Fixed overflow for precise blend mode 2017-08-29 19:25:05 +02:00
alexey.lysiuk
20d7c01fc8 Fixed Infinity and NaN floating point values formatting as string
https://forum.zdoom.org/viewtopic.php?t=57706
2017-08-29 11:39:50 +03:00
nashmuhandes
541fac8c6b Cleaned up and shorted the code for R_SetFOV. 2017-08-28 21:14:11 -04:00
nashmuhandes
30966ef951 Use a fallback FOV for the R_SetFOV call. 2017-08-28 21:14:11 -04:00
nashmuhandes
42db31b816 Added per-actor camera FOV. 2017-08-28 21:14:11 -04:00
Magnus Norddahl
27dfebdb7d - Fix plane light levels used when a sector has a lightlist 2017-08-29 01:22:10 +02:00
Magnus Norddahl
293f62fcd2 - Striped wall (lightlist) support
- Add two extra clipping planes to poly backend
- Make ShadedTriVertex internal to drawer backend
2017-08-27 23:26:54 +02:00
Magnus Norddahl
8c146e4e71 - Transfer light support 2017-08-27 17:27:49 +02:00
Magnus Norddahl
45388d8a31 - Clip decals to the wall part 2017-08-27 17:18:39 +02:00
Christoph Oelckers
948e50e458 - fixed: The struct field compiler did not check for forward declared type references that hadn't been resolved yet. 2017-08-27 12:31:47 +02:00
Christoph Oelckers
485c4c71b5 - fixed: When stepping through a sector portal and touching a two sided line on the opposite side, its opening must be used, regardless of the FFCF_NOFLOOR flag. 2017-08-27 10:36:34 +02:00
Christoph Oelckers
e424ef63f2 - fixed: Sprites drawn in the opaque pass still need to set their texture mode so that they can be drawn with STYLE_Stencil. 2017-08-27 09:58:25 +02:00
Christoph Oelckers
ca47b138be - fixed missing check for bad IWADs. 2017-08-27 09:57:37 +02:00
Christoph Oelckers
2e670ae71d - fixed: When offsetting the projectile for testing, P_CheckMissileSpawn must also reset the projectile's sector to its new location.
If this isn't done the portal checks may fail and create incorrect positioning info.
2017-08-27 09:16:04 +02:00