Commit graph

12518 commits

Author SHA1 Message Date
Rachael Alexanderson
e5e9b49d82 Merge branch 'materials' of https://github.com/coelckers/gzdoom 2018-02-10 07:09:08 -05:00
Rachael Alexanderson
f2673747c2 Merge branch 'master' of https://github.com/coelckers/gzdoom 2018-02-10 07:08:57 -05:00
Magnus Norddahl
f01ef3d7a7 - Remove uniforms from user shader code 2018-02-10 12:52:59 +01:00
Magnus Norddahl
94fbcacf22 Merge branch 'gzdoom' into materials 2018-02-10 00:08:17 +01:00
Magnus Norddahl
7cbe8669b6 - fix decals not getting lit by lights not having a target while still having the LF_DONTLIGHTSELF flag
- fix decal light not being calculated from the center of the decal
2018-02-10 00:06:47 +01:00
Magnus Norddahl
3207d8aef7 - generate uniform declarations from c++ 2018-02-09 23:29:31 +01:00
alexey.lysiuk
ed23008069 Fixed crash in stereoscopic modes caused by camera without player
https://forum.zdoom.org/viewtopic.php?t=55039&start=381#p1039251
2018-02-07 11:37:02 +02:00
ZZYZX
ef867c3415 Fixed arg0str for dynamic light actors 2018-02-04 03:37:41 -05:00
alexey.lysiuk
af7648a151 Made PlayerRespawn skill definition consistent
Now it works the same as AllowRespawn map definition in MAPINFO
2018-02-03 16:26:49 +02:00
alexey.lysiuk
d5bc0a1fa9 Uniform way to guard ACS stack and variables
ACS VM stack and map/world/global variables arrays are now checked for out of bounds access
2018-02-03 14:39:01 +02:00
Rachael Alexanderson
6697b9c3d1 Merge branch 'master' of https://github.com/coelckers/gzdoom 2018-02-01 08:04:32 -05:00
alexey.lysiuk
9a9c90a504 Fixed crash on exit caused by undefined class
Referenced but undefined optional class does not abort loading with fatal error
For example, incorrect MorphProjectile's PlayerClass or MonsterClass caused crash during shutdown
2018-01-31 18:40:48 +02:00
Rachael Alexanderson
4a34d82405 Merge branch 'master' of https://github.com/coelckers/gzdoom 2018-01-30 23:53:32 -05:00
Kevin Caccamo
1608e11f0d Fix typo that made DepleteAmmo always use Secondary Ammo
https://forum.zdoom.org/viewtopic.php?f=2&p=1038209
2018-01-30 23:52:48 -05:00
Rachael Alexanderson
80a23f3bb3 Merge commit 'refs/pull/417/head' of https://github.com/coelckers/gzdoom 2018-01-30 23:51:02 -05:00
Rachael Alexanderson
4381ce64d4 Merge branch 'master' of https://github.com/coelckers/gzdoom 2018-01-30 23:50:36 -05:00
Christoph Oelckers
8e90386567 - made Weapon.CheckAmmo and Weapon.DepleteAmmo virtual on the script side. 2018-01-30 22:04:31 +01:00
alexey.lysiuk
35508bc8fb Fixed resetting CVARs via internal menu CCMDs
This restores functionality of reset to defaults/saved menu options
2018-01-30 16:32:16 +02:00
alexey.lysiuk
d9323b9740 Marked internal menu commands as safe
This fixes soundfont/patchset/config selection menus in advanced sound options
2018-01-30 16:02:30 +02:00
alexey.lysiuk
c8b6e5719e Restore unsafe execution context to its previous value 2018-01-30 15:56:45 +02:00
alexey.lysiuk
f4191f27cf Marked two more CCMDs as unsafe 2018-01-30 15:42:03 +02:00
Christoph Oelckers
93686638b0 - let fluid_reverb and fluid_chorus default to 'off'. 2018-01-29 18:54:06 +01:00
Christoph Oelckers
2bb80e3d0b - fixed: Upon resurrection, a monster must check if the current setting of the link flags (NOBLOCKMAP and NOSECTOR) match the defaults. 2018-01-29 18:18:31 +01:00
Christoph Oelckers
6107f36ad2 - iterating through portal groups must check for situations where badly constructed maps let items end up in another portal group. 2018-01-29 18:00:55 +01:00
alexey.lysiuk
1e9fdca755 Made unsafe execution context check for CVARs more strict
This prevents changing of non-mod CVARs from unsafe context for various code paths including set and toggle CCMDs
2018-01-29 15:20:35 +02:00
alexey.lysiuk
c7eea9b480 Marked a few more CCMDs as unsafe 2018-01-29 13:30:36 +02:00
Marisa Kirisame
f59d3eecde Export GetSector() again, removed lightingdata assignment. 2018-01-28 21:25:19 +01:00
Christoph Oelckers
64921ea968 - use a more consistent setting for rendering fuzzy sprites with enhanced nightvision on. 2018-01-28 20:46:16 +01:00
Rachael Alexanderson
d17cc884f0 Merge commit 'refs/pull/417/head' of https://github.com/coelckers/gzdoom 2018-01-28 14:43:38 -05:00
Rachael Alexanderson
e094a04073 Merge commit 'refs/pull/416/head' of https://github.com/coelckers/gzdoom 2018-01-28 14:43:35 -05:00
Rachael Alexanderson
4126342bd3 Merge branch 'master' of https://github.com/coelckers/gzdoom 2018-01-28 14:11:37 -05:00
Rachael Alexanderson
89f373b606 Revert "Merge commit 'refs/pull/411/head' of https://github.com/coelckers/gzdoom"
This reverts commit 799a308ef7, reversing
changes made to 038654eb81.
2018-01-28 13:48:26 -05:00
Marisa Kirisame
37d6a6839f Removed some garbage changes 2018-01-28 19:44:32 +01:00
Marisa Kirisame
5c740551f3 Export sector effect pointers, fix missing pointer assignment on Lighting effect creation. 2018-01-28 19:41:26 +01:00
Marisa Kirisame
f88dced8f8 Fix accidentally removed SectorPlane assignment. Added missing HitVector support. 2018-01-28 17:45:36 +01:00
Alexander Wilms
55c6a14059 Added simple fatal error window for Linux
There are three variants: KDE dialog, GTK+ window, SDL message box
https://forum.zdoom.org/viewtopic.php?t=57880
2018-01-28 17:03:10 +02:00
Marisa Kirisame
0181f3195c Fix incorrect HitTexture reassignment in LineTrace. 2018-01-28 14:23:50 +01:00
Christoph Oelckers
c1d2b54820 - let TexMan.GetName return the actual name for a texture that was created from a full path name. 2018-01-28 11:54:24 +01:00
alexey.lysiuk
6003625721 Silenced quad stereo message during startup 2018-01-28 11:41:00 +02:00
Rachael Alexanderson
799a308ef7 Merge commit 'refs/pull/411/head' of https://github.com/coelckers/gzdoom 2018-01-27 13:01:28 -05:00
Rachael Alexanderson
60dc223b19 Merge branch 'master' of https://github.com/coelckers/gzdoom 2018-01-27 12:56:26 -05:00
Christoph Oelckers
d207f426c1 Typo. 2018-01-27 12:49:52 +01:00
Christoph Oelckers
1794774f22 - ScriptedMarine already exists as a name so most literal occurences in the source could be replaced with more efficient direct use of the name. 2018-01-27 09:54:33 +01:00
Christoph Oelckers
7ceb70bcc1 - renamed 'Tracer' class to 'LineTracer', because 'Tracer' is a too common name that had been used by some mods. 2018-01-27 09:32:26 +01:00
Rachael Alexanderson
7cd66f5132 Merge branch 'master' of https://github.com/coelckers/gzdoom 2018-01-26 23:20:32 -05:00
Marisa Kirisame
92547028f3 Exports sky textures to ZScript (readonly, needs setter function due to the setup required) and speeds, along with a ChangeSky function for setting the textures. 2018-01-26 21:00:44 +01:00
Marisa Kirisame
d7521c1540 Add GetSector() to the SectorEffect class, allowing read-only access to its m_Sector variable to outside objects. 2018-01-26 18:51:06 +01:00
Rachael Alexanderson
48415266e5 Merge branch 'master' of https://github.com/coelckers/gzdoom 2018-01-26 04:51:17 -05:00
alexey.lysiuk
a77b253cba Fixed Sector.SetYScale() function in ZScript
https://forum.zdoom.org/viewtopic.php?t=59224
2018-01-26 10:29:37 +02:00
alexey.lysiuk
577c6b033e Changed quad stereo mode restart notification
Restart requirement for quad stereo mode should be output to console because CVAR can be toggled directly from it
Long option names break menu layout on some aspect ratios like 16:10
2018-01-26 10:10:51 +02:00