Commit graph

14518 commits

Author SHA1 Message Date
Christoph Oelckers
1ab3d4dd09 - fixed: When A_SpawnProjectile got fixed, this fix broke the old A_CustomMissile function because the added workaround was overlooked.
This now separates the code more clearly into the twp paths to make the differences easier to see and compare.
2019-01-27 14:02:06 +01:00
nashmuhandes
cf7e6cc532 Missed "Abnt_C2" in the keybind name array. 2019-01-27 14:02:06 +01:00
Rachael Alexanderson
1943f8b59c - add 'cl_blockcheats' - useful for people who use debugging keys, allows a user to consciously turn off cheats without affecting the server 2019-01-27 14:02:06 +01:00
nashmuhandes
4dbbeac748 Punctuated the input strings in UpperCamelCase format. 2019-01-27 14:02:06 +01:00
Christoph Oelckers
0591e9f5b3 - version is 3.7.2. 2019-01-20 11:43:49 +01:00
Rachael Alexanderson
23e0065ec8 - set resolution selector to auto detected resolution at startup, remove the entries from the config file
- committing a change for fullscreen sets scaling to 1.0 to guarantee the selected number of pixels are actually used
2019-01-20 02:55:16 -05:00
Christoph Oelckers
56539d3ecf - fixed: The rail attack only considered the puff's decal if it had ALWAYSPUFF set. 2019-01-19 13:13:59 +01:00
alexey.lysiuk
71c0893ba9 - applied proper use type to font textures
Font upscaling no longer depends on texture resizing setting

https://forum.zdoom.org/viewtopic.php?t=63184
2019-01-19 11:59:20 +02:00
Christoph Oelckers
a4ea9c23b3 - fixed: application of fake contrast should never result in a light level of 0 unless the sector's own light level is 0. 2019-01-19 10:29:28 +01:00
Christoph Oelckers
476a140c5c - normalize the pitch in ACS's SetActorPitch.
Apparently some people have to pass positive numbers in here to get a negative pitch, e.g. 350.0 instead of -10.0...
This prevents clamping of such out-of-range values that would otherwise constitute valid pitches with the wraparound in place.
2019-01-19 10:02:07 +01:00
Christoph Oelckers
c653a0038f - fixed: TVector3::Pitch() got the sign inverted.
This caused bad calculations with CMF_OFFSETPITCH. Note that to compensate for the fix, the SphericalCoords function had to have its own inversion of the value removed so that it calculates the same result as before.
2019-01-19 10:01:33 +01:00
alexey.lysiuk
5dd49d3eb5 - workaround MSVC 2015 code generation issue, x64 only
With optimization turned on illegal instructions were generated for turbo CVAR handler function

https://forum.zdoom.org/viewtopic.php?t=63157
2019-01-19 10:01:08 +01:00
Christoph Oelckers
c83b2b766d - fixed default alpha for sector colors
It has to be 0, not 255.
2019-01-17 17:34:28 +02:00
alexey.lysiuk
7bf8a2cfc7 - fixed potentially missing event handlers
Event handlers linked list might skip an entry if its order was in a middle of existing handlers

https://forum.zdoom.org/viewtopic.php?t=63258
2019-01-17 16:26:08 +02:00
alexey.lysiuk
d222227323 - fixed wrong self type in Array.Resize()
https://forum.zdoom.org/viewtopic.php?t=63275
2019-01-17 16:25:52 +02:00
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
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
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
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
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
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
Christoph Oelckers
57d55e6d06 - fixed typo in sky preparation. 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
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
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
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