Christoph Oelckers
477560e1ef
- swapped order of checks for picking up an item.
...
Failure must take precedence over the morph check because this does not return a proper toucher.
2019-01-23 21:50:10 +01:00
Christoph Oelckers
12c10b5156
- fixed Identifier resolving for static functions
...
This entered the code path which warned about ambiguous use of variables in action functions and as a result ran afoul of subsequent error checks.
Since ZScript has no global scope resolution operator, this needs to ignore all non-static class symbols and try to look up any of these as global identifiers.
2019-01-23 21:50:10 +01:00
Rachael Alexanderson
6a9322e677
- force internal GME with any build environment created after this commit. if anyone is using a build environment from before - you will have to make sure to enable the relevant variable - or simply nuke and recreate. this applies only if you have the GME library installed on your system - if you were using the internal before, anyhow, you don't have to make any changes
2019-01-23 21:50:10 +01:00
alexey.lysiuk
2c77051369
- updated LZMA to version 18.06
...
https://www.7-zip.org/a/lzma1806.7z
2019-01-23 21:50:10 +01:00
alexey.lysiuk
bcd03cc533
- moved LZMA docs to the same location as in SDK distribution
...
Updated them to the actual version 18.05 as well
2019-01-23 21:50:10 +01:00
Christoph Oelckers
f6ce5f59ae
- fixed armor bonus giving in A_CustomPunch
2019-01-23 21:49:18 +01:00
Christoph Oelckers
5a054da4d9
- removed incorrect assert.
...
This assert disallowed pointers to non GC'd objects, which on some occasions can happen and must be allowed.
2019-01-23 21:48:59 +01:00
nashmuhandes
d911fa99a1
Move the "time" string in saved game comment into the LANGUAGE lump.
...
# Conflicts:
# src/g_game.cpp
2019-01-23 21:48:30 +01:00
alexey.lysiuk
0dbd591812
- fixed 'overriding core lump' error
...
Wrong container was reported for overriding lump
2019-01-23 21:47:19 +01:00
alexey.lysiuk
12db808307
- fixed 'missing interpolation point' warning
2019-01-23 21:46:46 +01:00
Rachael Alexanderson
b378b29421
- modify the wording in the preset scaling menu to imply that all it does is pixel scaling, not change the actual screen resolution
2019-01-23 21:45:26 +01:00
Rachael Alexanderson
45d94ee993
- 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-23 21:45:09 +01:00
Christoph Oelckers
057b746e58
- fixed: The rail attack only considered the puff's decal if it had ALWAYSPUFF set.
2019-01-23 21:44:39 +01:00
Rachael Alexanderson
8f7038aa53
- add 4k UHD resolution to presets
2019-01-23 21:44:27 +01:00
Rachael Alexanderson
c280457635
- fix spacing on one of the resolution preset entries
2019-01-23 21:44:14 +01:00
alexey.lysiuk
09d1a42c60
- reverted GME Kss_Cpu.cpp to previous version
...
Update to GME 0.6.2 broke playback of MSX .kss files
https://forum.zdoom.org/viewtopic.php?t=63206
2019-01-23 21:43:36 +01:00
alexey.lysiuk
4c3192fb28
- 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-23 21:43:06 +01:00
Christoph Oelckers
33f8b697ce
- 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-23 21:42:26 +01:00
Christoph Oelckers
f61150a75e
- 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-23 21:42:09 +01:00
Christoph Oelckers
7d3c577c2c
- 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-23 21:41:52 +01:00
alexey.lysiuk
e8f45fad40
- 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-23 21:41:20 +01:00
alexey.lysiuk
7d4765b5cd
- workaround code generation issue in PlayerPawn.FindMostRecentWeapon()
...
Multiple values in returned from a subfunction cannot be used directly as a function result
https://forum.zdoom.org/viewtopic.php?t=63284
2019-01-23 21:41:03 +01:00
alexey.lysiuk
8aa47e664e
- fixed disappearing inventory after morphing pickup
...
When player is picked up item that does morph, the corresponding toucher actor is changed in process
Previously, morhing item was removed from original actor leaving player's inventory in inconsistent state
https://forum.zdoom.org/viewtopic.php?t=63124
2019-01-23 21:40:44 +01:00
Christoph Oelckers
5e4ef04a4d
- allow assignment of line IDs through LevelCompatbility.
2019-01-23 21:40:19 +01:00
Christoph Oelckers
dd2ea206f9
- fixed default alpha for sector colors
...
It has to be 0, not 255.
# Conflicts:
# src/p_lnspec.cpp
2019-01-23 21:39:55 +01:00
Christoph Oelckers
f22121a9df
- recalculate the line deltas if a nodebuild is needed
...
One potential cause is moving around vertices in which case these do not match anymore
2019-01-23 21:38:48 +01:00
Christoph Oelckers
8872125f96
- fixed some merging issues.
2019-01-23 21:37:51 +01:00
Christoph Oelckers
7966282c1c
- Fixed error reporting for the BSP loader
...
Using global variables for this is bad, and it didn't even catch all cases. Now a node build is only considered successful if everything is set up successfully.
# Conflicts:
# src/maploader/maploader.cpp
2019-01-23 21:34:57 +01:00
alexey.lysiuk
cd9fa75ede
- 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-23 21:34:11 +01:00
alexey.lysiuk
84db7f783d
- fixed wrong self type in Array.Resize()
...
https://forum.zdoom.org/viewtopic.php?t=63275
2019-01-23 21:33:41 +01:00
Christoph Oelckers
9b2c11a612
- fixed crash in the precaching code.
...
This didn't detect software canvas textures and crashed on the missing image.
2019-01-23 21:32:46 +01:00
alexey.lysiuk
141d5bdf3e
- fixed compilation errors
...
src/scripting/decorate/thingdef_parse.cpp:80:11: error: no viable conversion from 'const FName' to 'FString'
src/scripting/zscript/zcc_compile.cpp:1359:26: error: use of undeclared identifier 'Name_globalfreeze'; did you mean 'NAME_globalfreeze'?
# Conflicts:
# src/scripting/zscript/zcc_compile.cpp
2019-01-23 21:28:24 +01:00
Christoph Oelckers
7c3ec662e1
- ensure proper emission of deprecations.
...
For global variables this wasn't implemented.
# Conflicts:
# src/namedef.h
# src/scripting/backend/codegen.cpp
# wadsrc/static/zscript/base.txt
2019-01-23 21:27:20 +01:00
alexey.lysiuk
c6ee8e084c
- fixed condition to produce blood splatter during line attack
...
https://forum.zdoom.org/viewtopic.php?t=63186
2019-01-23 21:23:35 +01:00
alexey.lysiuk
21eb23ad15
- relaxed caller type check for states modified by Dehacked
...
https://forum.zdoom.org/viewtopic.php?t=63178
2019-01-23 21:23:17 +01:00
Christoph Oelckers
2d90cc288b
- fixed: Strife was missing the move factors.
2019-01-23 21:21:22 +01:00
Magnus Norddahl
c8ba84dc33
- fix black cam texture on HUD
...
# Conflicts:
# src/gl/renderer/gl_scene.cpp
2019-01-23 21:20:52 +01:00
Magnus Norddahl
d3205f46a8
- fix null pointer crash
2019-01-23 21:19:43 +01:00
alexey.lysiuk
7c0633a3e9
- fixed script line numbers after multi-line raw string literal
...
https://forum.zdoom.org/viewtopic.php?t=63210
2019-01-23 21:19:08 +01:00
Christoph Oelckers
f7489976ec
- the sound compatibility flags do not need level support.
...
They are intentionally omitted from both MAPINFO and compatibility settings.
This removes the last place where it still went through the map-modified versions of the compatflags.
# Conflicts:
# src/s_sound.cpp
2019-01-23 21:18:36 +01:00
Marrub
af06d7cb9e
Make LevelLocals::ExecuteSpecial return int
...
# Conflicts:
# wadsrc/static/zscript/base.txt
2019-01-23 21:15:33 +01:00
Marrub
ad5c62da95
Make LevelLocals::ExecuteSpecial return int
2019-01-23 21:15:25 +01:00
alexey.lysiuk
21531c5ddb
- unary minus operator propagates boolean operand to integer
...
https://forum.zdoom.org/viewtopic.php?t=63214
2019-01-23 21:14:29 +01:00
Christoph Oelckers
4126f8ce72
- made OP_NEW a builtin function instead of an opcode.
...
The code was present 3 times due to the JIt, and this is not something that benefits from being a real opcode, even in the interpreted case.
2019-01-23 21:12:23 +01:00
Marrub
cc73449d29
Fix return value of native BuiltinCallLineSpecial
2019-01-23 21:09:34 +01:00
Christoph Oelckers
e90ef4e886
- moved the impact decal counter into FLevelLocals and do the counting in a less problematic fashion.
...
This was yet another piece of code that lived or died with the assumption that there can only be one level, stored in global variables.
# Conflicts:
# src/p_saveg.cpp
2019-01-23 21:05:27 +01:00
Chronos Ouroboros
c64ce0fdfd
Fixed multidimensional array definitions.
2019-01-23 21:02:33 +01:00
alexey.lysiuk
5132119812
- increased range of valid sound positions and velocities
...
https://forum.zdoom.org/viewtopic.php?t=61420
2019-01-23 20:59:38 +01:00
Christoph Oelckers
0fa92d59e2
- same for the ambient sound
...
# Conflicts:
# src/s_advsound.cpp
2019-01-23 20:57:39 +01:00
Christoph Oelckers
36f0ab2ea1
- removed dependency on global time in sound sequence code.
...
This can better use a countdown timer that doesn't depend on external behavior.
2019-01-23 20:56:49 +01:00