Commit graph

10147 commits

Author SHA1 Message Date
Christoph Oelckers
c87836c3f3 - fixed check for Mesa driver. 2017-01-05 11:51:15 +01:00
Christoph Oelckers
50af195e45 - fixed check for Mesa driver. 2017-01-05 11:50:45 +01:00
Christoph Oelckers
aa356fcd00 - fixed: The CheckReturn check for FxSwitchStatement was not strict enough.
It may only return true if there is no default case because without that any non-matching value will go past the statement.
2017-01-05 11:45:18 +01:00
Christoph Oelckers
303a192349 - fixed: portal offsets at frame start were not applied to ViewActorPos. 2017-01-05 11:45:18 +01:00
Christoph Oelckers
40cc745424 - fixed: The default minimum and maximum distances for A_Teleport were swapped. 2017-01-05 11:45:17 +01:00
Rachael Alexanderson
25b8370ae2 - Made WadSmoosh detection a lot stricter. 2017-01-05 11:45:17 +01:00
Rachael Alexanderson
ddac3fa391 - Wildweasel pointed out that WadSmoosh generates a "SMOOSHED" lump. http://forum.zdoom.org/viewtopic.php?p=967226#p967226 2017-01-05 11:45:16 +01:00
Rachael Alexanderson
b5bc84feea - Made WadSmoosh detection more flexible (since it doesn't necessarily require MAP01 to be present). 2017-01-05 11:45:16 +01:00
Rachael Alexanderson
8da48c8697 - Added Wadsmoosh detection. 2017-01-05 11:45:16 +01:00
Christoph Oelckers
5418021e46 - fixed: Dehacked must flag all states it touched for use in weapons. 2017-01-05 11:45:15 +01:00
Christoph Oelckers
4f868f53b1 - completed attenuation for Heretic. A few items were intentionally left unattenuated. 2017-01-05 11:45:15 +01:00
Christoph Oelckers
1f80203638 - fixed a few Freedoom light definitions. 2017-01-05 11:45:15 +01:00
Christoph Oelckers
73433566ef - fixed: 'out' parameters must always allocate an address register, regardless of type. 2017-01-05 11:45:14 +01:00
Christoph Oelckers
4fb44dffeb - disabled OpenGL 3.0 on the Open Source Mesa driver for Linux because it appears to be broken. 2017-01-05 11:45:14 +01:00
Christoph Oelckers
f8fa6294d2 - added attenuation to ca. 40% of Heretic's light definitions. 2017-01-05 11:45:13 +01:00
Christoph Oelckers
28f9e0314e - fixed typo in A_BrainSpit. 2017-01-05 11:45:13 +01:00
Christoph Oelckers
76c9ca89bd - fixed: The check for explicitly not splitting wall polygons at seg vertices was inverted. 2017-01-05 11:45:13 +01:00
Christoph Oelckers
b74c374a66 - fixed: The CheckReturn check for FxSwitchStatement was not strict enough.
It may only return true if there is no default case because without that any non-matching value will go past the statement.
2017-01-05 11:39:29 +01:00
Christoph Oelckers
e13627e9d8 - fixed: portal offsets at frame start were not applied to ViewActorPos. 2017-01-05 11:28:08 +01:00
Christoph Oelckers
3b7eb849a7 - fixed: The default minimum and maximum distances for A_Teleport were swapped. 2017-01-04 23:56:41 +01:00
Rachael Alexanderson
0a581754bf - Made WadSmoosh detection a lot stricter. 2017-01-04 20:48:52 +01:00
Rachael Alexanderson
8651cbc75a - Wildweasel pointed out that WadSmoosh generates a "SMOOSHED" lump. http://forum.zdoom.org/viewtopic.php?p=967226#p967226 2017-01-04 20:48:52 +01:00
Rachael Alexanderson
4fe3f7611c - Made WadSmoosh detection more flexible (since it doesn't necessarily require MAP01 to be present). 2017-01-04 20:48:52 +01:00
Rachael Alexanderson
eb7f1b87e5 - Added Wadsmoosh detection. 2017-01-04 20:48:52 +01:00
nashmuhandes
d203d06cfa Bring back lights.pk3 as it only contains text definitions for dynamic lights (no graphics). 2017-01-04 23:20:51 +08:00
Christoph Oelckers
4be9222646 - fixed: Dehacked must flag all states it touched for use in weapons. 2017-01-04 11:13:19 +01:00
nashmuhandes
f45561b5e8 Merge branch 'master' of https://github.com/coelckers/gzdoom
# Conflicts:
#	wadsrc_bm/static/filter/doom.doom1/gldefs.bm
#	wadsrc_bm/static/filter/heretic/gldefs.bm
#	wadsrc_bm/static/filter/hexen/gldefs.bm
#	wadsrc_bm/static/filter/strife/gldefs.bm
#	wadsrc_lights/static/filter/doom.doom1/gldefs.txt
#	wadsrc_lights/static/filter/heretic/gldefs.txt
#	wadsrc_lights/static/filter/hexen/gldefs.txt
#	wadsrc_lights/static/filter/strife/gldefs.txt
2017-01-04 14:32:15 +08:00
Christoph Oelckers
b132782c49 - scriptified PowerBuddha and PowerFrightener. 2017-01-03 21:03:05 +01:00
Christoph Oelckers
15f30886cd - scriptified the TimeFreezer powerup. 2017-01-03 20:06:20 +01:00
Christoph Oelckers
7fd35069d5 - completed attenuation for Heretic. A few items were intentionally left unattenuated. 2017-01-03 18:31:01 +01:00
Christoph Oelckers
6c8d1d3508 - fixed a few Freedoom light definitions. 2017-01-03 17:16:33 +01:00
Christoph Oelckers
341d9abdd0 - fixed: 'out' parameters must always allocate an address register, regardless of type. 2017-01-03 16:00:25 +01:00
Christoph Oelckers
96623b3052 - disabled OpenGL 3.0 on the Open Source Mesa driver for Linux because it appears to be broken. 2017-01-03 12:01:03 +01:00
alexey.lysiuk
2dec45ca39 Fixed compilation with GCC/Clang
Fixes #175
2017-01-03 09:45:53 +02:00
Christoph Oelckers
0dca13b49e - added attenuation to ca. 40% of Heretic's light definitions. 2017-01-03 01:04:37 +01:00
Christoph Oelckers
bf09a89b5d - fixed typo in A_BrainSpit. 2017-01-02 23:26:19 +01:00
Christoph Oelckers
1261046f1a - fixed: The check for explicitly not splitting wall polygons at seg vertices was inverted. 2017-01-02 23:21:28 +01:00
Christoph Oelckers
a87d984c47 - fixed: The conditional operator could clobber a local variable if it was the result of the true expression. 2017-01-02 22:31:02 +01:00
Christoph Oelckers
b7dc899cfe - fixed: PPointer was unable to handle pointers to class types for savegames. 2017-01-02 22:31:02 +01:00
Christoph Oelckers
e7cd5ec2bb - fixed: The conditional operator could clobber a local variable if it was the result of the true expression. 2017-01-02 22:26:36 +01:00
Christoph Oelckers
1a16f664e4 - added a TStaticArray class that allows safe access to resizable static data (like the sectors, linedefs, etc.) for the VM.
- used this to replace the line list in Sector because that gets already used and implemented proper bounds checks for this type of array.
2017-01-02 21:40:52 +01:00
Christoph Oelckers
b31b6589e7 - fixed: PPointer was unable to handle pointers to class types for savegames. 2017-01-02 13:37:09 +01:00
Christoph Oelckers
7c3c886a90 - use the attenuated light definitions from QZDoom.
- apply them also to Freedoom.
- to compensate for the increase in light size required for attenuated lights to look correct, when running in legacy mode, they to be reduced in size to 2/3 of their defined size because the textured lighting method does not support real attenuation.
- removed the ancient size limit of 255 for light sizes which comes from a time when args were bytes.
2017-01-02 13:17:03 +01:00
Christoph Oelckers
9f4abcec89 - use the attenuated light definitions from QZDoom.
- apply them also to Freedoom.
- to compensate for the increase in light size required for attenuated lights to look correct, when running in legacy mode, they to be reduced in size to 2/3 of their defined size because the textured lighting method does not support real attenuation.
- removed the ancient size limit of 255 for light sizes which comes from a time when args were bytes.
2017-01-02 11:41:27 +01:00
Christoph Oelckers
d85496db5f - parse GLDEFS and its game-specific variants in lump order instead of both names sequentially. 2017-01-02 00:42:53 +01:00
Christoph Oelckers
e8356bc13d - let SBARINFO treat 'null' as 'untranslated'. Strictly speaking this wasn't a bug but apparently some people tend to use 'null' as a general placeholder for 'nothing', even where not intended. 2017-01-02 00:42:52 +01:00
Christoph Oelckers
9899c589d6 - re-added the glow properties for UDMF which somehow got lost. 2017-01-02 00:42:52 +01:00
Christoph Oelckers
6ab8e90911 - parse GLDEFS and its game-specific variants in lump order instead of both names sequentially. 2017-01-02 00:28:30 +01:00
Christoph Oelckers
9948189193 - scriptified PowerProtection and PowerDamage.
- made ModifyDamage calls iterative instead of recursive. With going through the VM they'd be too costly otherwise.
- small optimization: Detect empty VM functions right when entering the VM and shortcut them. This is to reduce the overhead of virtual placeholders, which in a few cases (e.g. CanCollideWith and ModifyDamage) can be called quite frequently.
2017-01-01 23:11:48 +01:00
Christoph Oelckers
1d3afce59b - let SBARINFO treat 'null' as 'untranslated'. Strictly speaking this wasn't a bug but apparently some people tend to use 'null' as a general placeholder for 'nothing', even where not intended. 2017-01-01 22:52:11 +01:00