Commit graph

16138 commits

Author SHA1 Message Date
alexey.lysiuk
5e5f27d756 - unary minus operator propagates boolean operand to integer
https://forum.zdoom.org/viewtopic.php?t=63214
2019-01-12 18:21:20 +02:00
alexey.lysiuk
d64dac9081 - fixed script line numbers after multi-line raw string literal
https://forum.zdoom.org/viewtopic.php?t=63210
2019-01-12 18:21:00 +02:00
Christoph Oelckers
7c54c6c529 - fixed incompatible commit. 2019-01-12 14:59:26 +01:00
alexey.lysiuk
0330cac85c - fixed condition to produce blood splatter during line attack
https://forum.zdoom.org/viewtopic.php?t=63186
2019-01-12 14:35:56 +01:00
alexey.lysiuk
53a644512a - relaxed caller type check for states modified by Dehacked
https://forum.zdoom.org/viewtopic.php?t=63178
2019-01-12 14:35:55 +01:00
Magnus Norddahl
def5571b36 - fix black cam texture on HUD
# Conflicts:
#	src/gl/renderer/gl_scene.cpp
2019-01-12 14:35:55 +01:00
Magnus Norddahl
9addc4c1b7 - fix null pointer crash 2019-01-12 14:35:32 +01:00
Marrub
078c10dea1 Make LevelLocals::ExecuteSpecial return int
# Conflicts:
#	wadsrc/static/zscript/base.txt
2019-01-12 14:35:32 +01:00
Marrub
de8b4525be Make LevelLocals::ExecuteSpecial return int 2019-01-12 14:34:53 +01:00
Marrub
241835bf2c Fix return value of native BuiltinCallLineSpecial 2019-01-12 14:34:53 +01:00
Chronos Ouroboros
b8fc4bfede Fixed multidimensional array definitions. 2019-01-12 14:34:53 +01:00
alexey.lysiuk
dbe19eef35 - increased range of valid sound positions and velocities
https://forum.zdoom.org/viewtopic.php?t=61420
2019-01-12 14:34:53 +01:00
Christoph Oelckers
ab588d1c99 - fixed last PR.
The result of GetPointer must be null checked as well!
2019-01-07 01:09:19 +01:00
Cacodemon345
9baf765d8b Move receiver NULL check above the orresult check (#695)
This is to prevent a VM abort from happening here if orresult is false.
2019-01-07 01:06:59 +01:00
Major Cooke
9fcb68d38b Fixed Thing_ProjectileAimed being broken.
- It was calling the fallback aiming in the wrong place when it should have been outside the speed check.
- Credit to _mental_ for the base code, but no gotos involved.
2019-01-07 01:06:58 +01:00
Christoph Oelckers
526268a216 - fixed cherry picked commit based on code that didn't get into the maintenance branch. 2019-01-04 10:20:18 +01:00
Christoph Oelckers
bbe00562eb - fixed the direct native variant of DynamicLight.SetOffset. 2019-01-04 09:43:17 +01:00
Christoph Oelckers
3712c6beda - fixed: The player sound lookup would fail if a sound was only available for the last gender in the list.
This is an ancient bug, but it never registered before - only after making 'other' the default gender for nonsense input it became apparent.
2019-01-04 03:22:09 -05:00
drfrag666
a8fb771618 - Default gender for sound classes should be male and not other since it could be undefined in SNDINFO. 2019-01-04 03:21:58 -05:00
Christoph Oelckers
a6d7d8755c - fixed A_Chase default detection. 2019-01-04 03:21:28 -05:00
Magnus Norddahl
ed0dccdc1f - Add missing screenshot sRGB gamma when vid_hdr is active 2019-01-04 03:16:27 -05:00
Major Cooke
a61559078c - Fixed: NODAMAGE was not accounted for with pain. 2019-01-04 03:13:55 -05:00
alexey.lysiuk
8d34cf15cc - added missing range checks to level compatibility handler
# Conflicts:
#	src/compatibility.cpp
2019-01-04 03:13:25 -05:00
Rachael Alexanderson
dbc03a9f9d - force CMake to use internal asmjit. I left it in a state so that it can easily be changed back in the future. 2019-01-04 03:11:31 -05:00
Timo Myyrä
8cfbc75a4a fix Unix builds without backtrace functions in their libc
backtrace functions are not present in all libc implementations. Cmake has
module to add external libraries into build if needed so use it to fix build on
Unix systems without backtrace in libc.
2019-01-04 03:10:52 -05:00
Marrub
b34619b163 Fix A_CustomBulletAttack's spawnofs_xy parameter
The current behaviour offsets to the front of the actor rather than the side, due to an oversight in the code, which oddly is not present in the A_FireBullets equivalent.
2019-01-04 03:10:26 -05:00
Player701
e390ad1cc2 - Since GetParentAmmo is now virtual, BackpackItem and the "give ammo" cheat should call GetParentAmmo to determine base ammo classes. 2019-01-04 03:10:06 -05:00
Christoph Oelckers
76f7f8062d - fixed memory leaks in network code.
ReadString allocates a buffer, so saving it in a local variable and then forgetting it will not free the buffer afterward.
(This should probably be refactored to use some safer methods to read the string than this old-school method...)
2019-01-04 03:09:38 -05:00
Christoph Oelckers
74b60adda6 - this is version 3.7.1 2019-01-01 15:15:35 +01:00
alexey.lysiuk
4a9947eaa1 - fixed everlasting fast projectile after hitting ceiling
Without the test for ceiling hit fast projectile could enter its Death state every tick infinitely

https://forum.zdoom.org/viewtopic.php?t=63023
2019-01-01 13:58:25 +01:00
Christoph Oelckers
6c168d88e4 - fixed crash in AutoUseStrifeHealth
The loop never checked if the item was still valid and would continue to try to use it, even after it was removed from the inventory and destroyed.
As native code this just failed silently, but with the VM it needs to be explicitly checked.
2019-01-01 13:58:25 +01:00
Christoph Oelckers
57d55e6d06 - fixed typo in sky preparation. 2018-12-31 00:14:50 +01:00
Major Cooke
d61559150c - Fixed: SXF_CLEARCALLERSPECIAL cleared the spawned actor's special instead of the caller. 2018-12-31 00:14:50 +01:00
player701
c433d34798 - Fixed settings_controller not updating properly when a player becomes the new arbitrator in a netgame. 2018-12-30 10:48:30 +01:00
Christoph Oelckers
8c8966545d - added missing return in P_RemoveThing. 2018-12-30 08:43:38 +01:00
Christoph Oelckers
7b8e63db20 - added missing null pointer check to SBarInfo's inventory bar drawer. 2018-12-30 08:43:37 +01:00
alexey.lysiuk
a2b4c61a2a - fixed ammo check for weapon with 'uses both' flags
https://forum.zdoom.org/viewtopic.php?t=63047
2018-12-29 16:50:24 +01:00
alexey.lysiuk
1259d81b52 - fixed SPC music loops
This reverts the following commit from game-music-emu repository
49238f9ae5

https://forum.zdoom.org/viewtopic.php?t=62613
2018-12-29 14:54:16 +01:00
Christoph Oelckers
18253df868 - fixed precaching of switches.
The backwards animation accessed the wrong array which in case of sequences with different length could crash
2018-12-29 14:51:34 +01:00
alexey.lysiuk
780b3ce42c - fixed missing attack sound in A_CustomPunch
See 7bb3855439/src/p_actionfunctions.cpp (L1729)

https://forum.zdoom.org/viewtopic.php?t=63049
2018-12-29 11:52:24 +01:00
Major Cooke
6ed05f4469 Fixed: IsFakePain received the modified damage instead of the raw, preventing ALLOWPAIN from working as intended. 2018-12-29 11:52:23 +01:00
Erick Tenorio
74106773be - TNT.WAD fixes 2018-12-29 11:52:23 +01:00
Erick Tenorio
20de35b81d - Have Plutonia MAP16 pit kill player 2018-12-29 11:52:23 +01:00
Christoph Oelckers
475b57f291 - this is version 3.7.0 2018-12-27 14:25:43 +01:00
Christoph Oelckers
777fa53b27 Revert "- dynamically update polyobj lines"
This reverts commit 094ef39d5f.

As this is mostly untested with an unverified potential performance impact it is not yet ready for release.
2018-12-27 14:25:43 +01:00
Christoph Oelckers
017b3f9dc7 - fixed OpenGL texture objects weren't deleted when a texture was destroyed. 2018-12-27 14:25:13 +01:00
Christoph Oelckers
f351df5c22 - moved Extradata parser into MapLoader class. 2018-12-27 12:33:18 +01:00
Christoph Oelckers
733cd5260a - moved slope creation functions and most initialize-time variables into MapLoader class. 2018-12-27 12:33:18 +01:00
Christoph Oelckers
89ba723609 - moved the content from p_glnodes into the MapLoader class. 2018-12-27 12:33:17 +01:00
Christoph Oelckers
2e22c01d45 - moved most content of p_setup.cpp into a MapLoader class. 2018-12-27 12:33:17 +01:00