Magnus Norddahl
f216b42790
- avoid creating labels when they are not used
...
- remove variable from class as it is only used locally
- set default values in the class
- remove unused field
2019-04-18 14:22:21 +02:00
Magnus Norddahl
640464ad65
- removed marked code for how to create GDB/LLDB debug info as it will probably never be implemented
2019-04-18 14:22:19 +02:00
Magnus Norddahl
837b3d8bd2
- add missing parameter on unix
2019-04-18 14:22:17 +02:00
Chronos Ouroboros
e0d3a5acae
Add line numbers to JIT stack traces. ( #667 )
2019-04-18 14:22:15 +02:00
Magnus Norddahl
bfccfb5e1b
- don't include the native frames per default
2019-04-18 14:22:13 +02:00
Magnus Norddahl
175b67c088
- fix linking and some linux things
2019-04-18 14:22:11 +02:00
Christoph Oelckers
d2a86a7051
- fixed misnamed macros.
...
# Conflicts:
# src/p_mobj.cpp
2019-04-18 14:22:09 +02:00
Chronos Ouroboros
218b7e95ca
Added a function for triggering use/push specials for usage in custom monster AI.
2019-04-18 14:22:07 +02:00
Chronos Ouroboros
803cb16d99
Exported P_CheckFor3DFloorHit and P_CheckFor3DCeilingHit to ZScript.
2019-04-18 14:22:05 +02:00
drfrag
38e682a267
- Fixed compilation of previous commit.
2019-04-18 14:22:03 +02:00
Christoph Oelckers
4d7e945dc1
- fixed: A powered up weapon which shares its ready state with the parent but is currently in a firing sequence may not force-switch the weapon, because that will cause the sequence to run in the wrong weapon's context.
2019-04-18 14:22:02 +02:00
Christoph Oelckers
0c5ca922ba
- fixed: 'frame' in GLDEFS light definitions was case sensitive.
2019-04-18 14:00:39 +02:00
drfrag
ecf1402274
- Fixed linking with MinGW-w64.
2019-04-18 14:00:37 +02:00
alexey.lysiuk
9aeeb0dc0f
- fixed compilation of POSIX targets
...
Making callstack resolving operational will require a little bit more effort
src/scripting/vm/jit_runtime.cpp:900:31: error: use of undeclared identifier 'frames'
src/scripting/vm/jit_runtime.cpp:903:23: error: use of undeclared identifier 'cnt'
2019-04-18 14:00:35 +02:00
Magnus Norddahl
a01a468ef8
- add support for writing the native call stack
2019-04-18 14:00:34 +02:00
Magnus Norddahl
e1ed87a64f
- improve the stack trace when the jit is active
2019-04-18 14:00:31 +02:00
Christoph Oelckers
77c00d7670
- replaced several explicit allocations with TArrays.
...
# Conflicts:
# src/r_data/models/models_voxel.cpp
# src/textures/formats/jpegtexture.cpp
# src/textures/formats/pcxtexture.cpp
# src/textures/formats/tgatexture.cpp
# Conflicts:
# src/r_data/voxels.cpp
# src/r_data/voxels.h
2019-04-18 13:58:37 +02:00
drfrag
846f53ba1e
- Fixed compilation with MinGW-w64 64 bit.
2019-04-18 13:51:17 +02:00
Christoph Oelckers
f702f6e19e
- use TArrays for MD3 storage.
...
# Conflicts:
# src/r_data/models/models_md3.cpp
2019-04-18 13:15:00 +02:00
Christoph Oelckers
a9ad3a1e52
- fixed two broken ScriptUtil calls in FraggleScript.
2019-04-18 13:14:51 +02:00
Christoph Oelckers
e87d04d843
- added a 'forceworldpanning' map flag.
...
Since unfortunately this cannot be set as a general default, let's at least make it as easy as possible to disable that panning+scaling madness without having to edit the texture data.
# Conflicts:
# src/swrenderer/textures/r_swtexture.h
# src/textures/texture.cpp
# Conflicts:
# src/textures/texture.cpp
2019-04-18 13:14:32 +02:00
Christoph Oelckers
c0e9530fd0
- fixed: The light defaults were not fully deleted on an engine restart.
2019-04-18 13:12:55 +02:00
Christoph Oelckers
7e2540732d
- store UnchangedSpriteNames in Dehacked in a less hacky manner.
2019-04-18 13:12:53 +02:00
Christoph Oelckers
71e77defa3
- use a TArray to store the particles and remove all 16 bit global variables.
...
This means one less exit function to deal with - and these days 16 bit variables are a pointless attempt at saving space.
2019-04-18 13:12:51 +02:00
Christoph Oelckers
cee9f52f2f
- improved error reporting for badly defined translations.
...
This needs to be handled by the caller for all use cases because the translation parser lacks the context to do a proper error report.
# Conflicts:
# src/textures/multipatchtexture.cpp
2019-04-18 13:07:39 +02:00
Christoph Oelckers
ce6b24308e
- fixed: sidedef-less GLWalls may not apply per-sidedef render properties.
...
These always come from open-sector render hacks where the renderer tries to fill in some gaps
# Conflicts:
# src/hwrenderer/scene/hw_walls.cpp
# Conflicts:
# src/gl/scene/gl_walls_draw.cpp
2019-04-18 13:05:44 +02:00
Christoph Oelckers
988e8042bb
- two more places where explicit allocations could be replaced.
2019-04-18 13:02:23 +02:00
Christoph Oelckers
d4611683a6
- let FxNop have a value type, even if it's just TypeError.
2019-04-18 13:02:21 +02:00
Magnus Norddahl
b3cd6f4460
- fix vanilla light mode angle calculation
2019-04-18 12:50:25 +02:00
Magnus Norddahl
bafc5e6a3c
- add vanilla lightmode that behaves exactly as Doom's original light did
...
# Conflicts:
# src/hwrenderer/scene/hw_drawinfo.cpp
# src/hwrenderer/scene/hw_renderstate.cpp
# src/hwrenderer/scene/hw_renderstate.h
# src/hwrenderer/scene/hw_skyportal.cpp
# src/hwrenderer/scene/hw_weapon.cpp
# Conflicts:
# src/g_level.cpp
# src/gl/compatibility/gl_20.cpp
# src/gl/renderer/gl_lightdata.cpp
# src/gl/renderer/gl_renderstate.h
# src/gl/scene/gl_skydome.cpp
# src/gl/scene/gl_weapon.cpp
# src/hwrenderer/scene/hw_weapon.cpp
# src/hwrenderer/utility/hw_lighting.cpp
2019-04-18 12:50:03 +02:00
Rachael Alexanderson
f442d4bd54
- split gl_texture_hqresize into two variables - one for mode, one for multiplier.
...
# Conflicts:
# src/textures/hires/hqresize.cpp
# Conflicts:
# src/gl/textures/gl_hqresize.cpp
# src/r_videoscale.cpp
2019-04-17 21:04:41 +02:00
drfrag666
7e45b40d4b
Revert "- Removed 5x and 6x xBRZ modes from the menu since they require a lot of video memory. They crash on my 1 GB amd card at least with MinGW-w64."
...
This reverts commit 097c2268df24133dc4a48452dabb4c00567545dd.
# Conflicts:
# wadsrc/static/menudef.txt
2019-04-17 21:00:22 +02:00
alexey.lysiuk
77e47087b7
- fixed stuck memory usage warning in options menu
...
https://forum.zdoom.org/viewtopic.php?t=62186
2019-04-17 20:59:49 +02:00
Rachael Alexanderson
301246236c
- added normal5x and normal6x
2019-04-17 20:59:20 +02:00
Rachael Alexanderson
cd126b08ba
- use correct multipliers for the memory warnings for normalNx scalers
2019-04-17 20:58:47 +02:00
drfrag
96f996d8aa
Revert "Revert "- update xBRZ upscaler to version 1.6""
...
This reverts commit 285791622d
.
# Conflicts:
# src/gl/textures/gl_hqresize.cpp
# wadsrc/static/menudef.txt
Goodbye to TDM-GCC.
2019-04-17 20:33:41 +02:00
Christoph Oelckers
c47549c009
- code simplification.
2019-04-17 20:00:29 +02:00
Christoph Oelckers
4cdfd7ff33
- fixed incorrect alignment of scaled world panned textures combined with per-sidedef scaling in the hardware renderer
...
This particular case incorrectly factored in the sidedef's scaling factor for how to calculate the offset.
Fortunately this is a very rare case - a quick check yielded no maps depending on it.
Should any map surface that depends on this bug a compatibility option may be needed but it doesn't seem likely that this may be the case.
2019-04-17 20:00:28 +02:00
alexey.lysiuk
a93807833a
- disable music playback if WinMM stream cannot be opened
...
https://forum.zdoom.org/viewtopic.php?t=62888
2019-04-17 19:59:16 +02:00
Player701
c6ab780555
- Force node rebuild for Plutonia 2 MAP29 to fix BSP glitches
2019-04-17 19:59:14 +02:00
Rachael Alexanderson
c8d545b293
- added a number of darken2.wad maps to rebuild nodes in compatibility.txt
2019-04-17 19:59:13 +02:00
Player701
764e9b552e
- Force node rebuild for Plutonia 2 MAP25 to fix BSP glitches
2019-04-17 19:57:24 +02:00
alexey.lysiuk
ec432beea0
- print VM stack trace on startup abort exception
...
https://forum.zdoom.org/viewtopic.php?t=62650
2019-04-17 19:57:22 +02:00
Christoph Oelckers
f40e5c7edc
- re-added PlayerInfo.BringUpWeapon.
2019-04-17 19:44:12 +02:00
Christoph Oelckers
3a3ae0bcd5
- fixed deprecation warnings for member functions not checking the version.
2019-04-17 19:44:10 +02:00
Christoph Oelckers
8ad73d32b8
- fixed: The JIT compiler crashed on missing ArgFlags.
...
For ad-hoc Dehacked state functions no ArgFlags are created, in this case they can just be assumed to not be relevant here, because none of these function produces reference arguments.
2019-04-17 19:44:07 +02:00
alexey.lysiuk
e6590f6ad9
- fixed return value of native call to dynamic array's Reserve()
...
https://forum.zdoom.org/viewtopic.php?t=62841
2019-04-17 19:44:05 +02:00
alexey.lysiuk
c4aa2c5e46
- server CVARs can be changed only by settings controller
...
Initially, settings controller flag was false by default
It was not touched during construction and destruction of player_t instances though
Now, with all members initialized in class definition, this flag must be saved and restored manually
https://forum.zdoom.org/viewtopic.php?t=62830
2019-04-17 19:44:04 +02:00
Magnus Norddahl
e4502de60b
- workaround pointer truncation bug in asmjit
2019-04-17 19:44:02 +02:00
alexey.lysiuk
651dce449a
- removed erroneous assertion
...
https://forum.zdoom.org/viewtopic.php?t=62815
2019-04-17 19:44:00 +02:00