nashmuhandes
4521f9eabc
Merge tag 'g2.3.2'
...
# Conflicts:
# src/p_effect.cpp
# src/p_secnodes.cpp
# src/r_draw.cpp
# src/r_things.cpp
# src/win32/win32video.cpp
2017-02-05 18:34:29 +08:00
Christoph Oelckers
5ec33de8a7
- removed r_columnmethod 1 because the code was broken and already gone from QZDoom.
2017-01-11 01:14:26 +01:00
Christoph Oelckers
f2ef270042
- fixed: The check for virtual function overrides was never done if the overriding function had no qualifier at all.
...
- fixed several occurences where an 'override' qualifier was missing.
2017-01-08 19:45:36 +01:00
Christoph Oelckers
748b1a6f66
- fixed bad variable assignment in Heresiarch.
2017-01-08 19:45:36 +01:00
Christoph Oelckers
0bdc2f59ad
- added new Stairs_BuildUpDoomCrush special from Eternity and used it to fix the bad implementation to make Doom's turbo stairs crush. This also removes the crushing from Generic_Stairs entirely, just like it was in Boom.
2017-01-08 19:45:09 +01:00
nashmuhandes
21ec9b0d61
Merge branch 'master' of https://github.com/coelckers/gzdoom
...
# Conflicts:
# src/r_things.cpp
2017-01-08 02:10:17 +08:00
Christoph Oelckers
7af6bb4da0
- renamed a few variables for clarity.
2017-01-06 18:20:35 +01:00
Christoph Oelckers
b11c8fef57
- renamed a few variables for clarity.
2017-01-06 11:56:17 +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
28f9e0314e
- fixed typo in A_BrainSpit.
2017-01-05 11:45:13 +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
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
bf09a89b5d
- fixed typo in A_BrainSpit.
2017-01-02 23:26:19 +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
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
66cc68606f
- scriptified the methods of APowerMorph.
...
- made some changes to PowerMorph to better deal with recursive calls from UndoPlayerMorph. The flag hackery was only needed because the 'alternative' pointers were cleared far too late.
2017-01-01 19:23:43 +01:00
Christoph Oelckers
c49573f183
- fixed: A_M_Refire's 'ignoremissile' parameter lost its default value.
2017-01-01 16:57:55 +01:00
Christoph Oelckers
80effbb547
- fixed: A_M_Refire's 'ignoremissile' parameter lost its default value.
2017-01-01 15:41:40 +01:00
Christoph Oelckers
3d61d2c1f4
- reviewd script code for spawn calls that did not check their results.
...
Nothing should ever assume that spawning an actor is unconditionally successful. There can always be some edge cases where this is not the case.
2016-12-31 15:40:51 +01:00
Christoph Oelckers
267b1842b4
- scriptified a few more of the simpler powerups.
2016-12-31 01:08:09 +01:00
Christoph Oelckers
3b524cbed4
- scriptified PowerInfiniteAmmo to test the exported functions.
2016-12-31 00:20:02 +01:00
Christoph Oelckers
fe0f19e1e0
- exported Powerup.InitEffect and EndEffect to scripting.
2016-12-30 23:32:43 +01:00
nashmuhandes
19d2042364
Merge branch 'master' of https://github.com/coelckers/gzdoom
...
# Conflicts:
# src/r_things.cpp
2016-12-30 12:05:00 +08:00
Christoph Oelckers
11bea8249a
. added SetMusicVolume script function.
2016-12-28 21:41:06 +01:00
Christoph Oelckers
c82189a3d1
fixed: A_JabDagger called S_Sound instead of A_PlaySound.
2016-12-28 18:20:41 +01:00
Christoph Oelckers
8708c69f83
- added GetClassName script function.
2016-12-27 19:25:55 +01:00
Christoph Oelckers
f5883d3f86
- fixed: DynamicLight needs a render radius of -1 so that it gets excluded from the touching_renderlist.
2016-12-26 12:04:03 +01:00
Christoph Oelckers
19856d6ccb
Merge branch 'master' of https://github.com/rheit/zdoom
2016-12-25 22:56:35 +01:00
Christoph Oelckers
89b7cf4262
- fixed: RenderRadius needs to be serialized.
...
- fixed: CustomBridge can be visible so it shouldn't be completely excluded from the render lists.
2016-12-25 14:35:35 +01:00
ZZYZX
38cb7aeaaa
Invisible and Custom bridges now have RenderRadius -1 to prevent excessive linking
2016-12-25 13:43:32 +02:00
ZZYZX
44c19b5ad9
Changed zero RenderRadius logic - negative values now used for 'no rendering', restored old logic with max(radius, renderradius)
2016-12-25 13:40:21 +02:00
ZZYZX
fcd8a0ce92
Reverted STYLE_None change to P_LinkRenderSectors, implemented zero RenderRadius that effectively disables rendering of an actor entirely
2016-12-25 13:35:03 +02:00
ZZYZX
87b23d160b
Ported RenderRadius and related code from gzdoom branch
2016-12-25 13:09:32 +02:00
Christoph Oelckers
287974968a
- renamed A_FireCustomMissile and added a deprecated compatibility wrapper to deal with the inverted pitch this function used.
2016-12-24 16:34:45 +01:00
Christoph Oelckers
d4c0ee9e43
- address bad use of pitch in A_CustomMissile.
...
This function calculated everything correctly but ultimately set the vertical velocity wrong. Most importantly this meant that the actual velocity vector and actor pitch - if CMF_SAVEPITCH was used - did not match.
Since this bug has been present since the pitch parameter was added, this deprecates A_CustomMissile and replaces it with a properly implemented A_SpawnProjectile function and handling the compatibility case with a new flag and a scripted wrapper function.
All internal uses of A_CustomMissile have been replaced as well.
2016-12-24 14:46:34 +01:00
Christoph Oelckers
4fcf9933f0
- copy target to a local variable in A_VileAttack so that it remains accessible if A_Explode destroys the actor.
2016-12-23 16:34:02 +01:00
nashmuhandes
e5e7e85b81
Merge branch 'master' of https://github.com/coelckers/gzdoom
...
# Conflicts:
# src/CMakeLists.txt
# src/basicinlines.h
# src/m_fixed.h
# src/r_3dfloors.h
# src/r_bsp.cpp
# src/r_bsp.h
# src/r_draw.cpp
# src/r_draw.h
# src/r_main.cpp
# src/r_main.h
# src/r_plane.h
# src/r_segs.h
# src/r_swrenderer.cpp
# src/r_things.cpp
# src/r_things.h
# src/win32/fb_d3d9.cpp
# src/win32/fb_ddraw.cpp
# wadsrc_lights/static/doomdefs.txt
# wadsrc_lights/static/hticdefs.txt
2016-12-23 00:51:30 +08:00
Christoph Oelckers
a825d1d92f
Merge branch 'ssao' of https://github.com/dpjudas/dpDoom
2016-12-22 12:40:57 +01:00
Christoph Oelckers
3b823fa3eb
Merge branch 'master' of https://github.com/rheit/zdoom
...
# Conflicts:
# wadsrc/static/compatibility.txt
2016-12-22 11:29:44 +01:00
Christoph Oelckers
36f87b7135
- removed gl_light_ambient.
...
This really serves no use anymore and is mostly a remnant of old times with dark CRT monitors. The default ambient level was set at 20, meaning a sector light level of 40. This is a value actual levels rarely get to, except when using some lighting effects - but it's for those that the ambient clamping did the most damage.
2016-12-22 11:14:13 +01:00