Commit graph

16047 commits

Author SHA1 Message Date
3saster
7b454ef6c2 Added 'nocheats' CVAR (#969)
This CVAR disables all classic cheats (i.e. keyboard cheats). This prevents keypresses from being eaten due to attempting to read cheats
2019-11-13 19:34:34 +01:00
Marisa Kirisame
50a7db6fa3 Localize level/author strings on intermission startup, fixes misalignments.
# Conflicts:
#	wadsrc/static/zscript/ui/statscreen/statscreen.zs
2019-11-13 19:34:31 +01:00
drfrag
44aeb56932 - add 'FlipLine' to 'LevelPostProcessor'
(patch by Rachael)
2019-11-13 19:34:28 +01:00
alexey.lysiuk
05f36cafc8 - extended level post-processing with special string arguments
# Conflicts:
#	src/maploader/maploader.cpp
2019-11-13 19:34:26 +01:00
alexey.lysiuk
dca15d56c8 - extended level post-processing with thing IDs
# Conflicts:
#	src/maploader/maploader.cpp
2019-11-13 19:34:23 +01:00
alexey.lysiuk
814483f5b8 - level post-processor cleanup
# Conflicts:
#	src/maploader/maploader.cpp
2019-11-13 19:34:21 +01:00
alexey.lysiuk
7f1166e833 - level post-processor can now add new things
# Conflicts:
#	src/maploader/maploader.cpp
2019-11-13 19:34:18 +01:00
alexey.lysiuk
05f0b76f8e - extended level post-processing with specials and arguments
# Conflicts:
#	src/maploader/maploader.cpp
2019-11-13 19:34:16 +01:00
alexey.lysiuk
09e7fe5fb4 - extended level post-processing with editor numbers and angles
# Conflicts:
#	src/maploader/maploader.cpp
2019-11-13 19:34:13 +01:00
alexey.lysiuk
20098ca90b - added things related getters to level post-processing
New functions cover existing interface only
Unsigned integers are now used instead signed for indices and bitfields

# Conflicts:
#	src/maploader/maploader.cpp
2019-11-13 19:34:11 +01:00
drfrag
91859bc6fa - added generic level post-processing script class
It was extracted from LevelCompatibility class, and native code was moved accordingly
(original patch by _mental_)

# Conflicts:
#	src/compatibility.cpp
2019-11-13 19:33:49 +01:00
drfrag
033f0ca43e Revert "- add 'flipline' function to levelcompatibility"
This reverts commit 1a85206983.

Revert "- implement the following functions under LevelCompatibility:"

This reverts commit 6537eca669.
2019-11-13 19:31:42 +01:00
alexey.lysiuk
29e4f34de6 - improved handling of return value mismatches
Prohibit returning more values than declared in function
The exception is a void function returning one value, but only for compatibility with old scripts

https://forum.zdoom.org/viewtopic.php?t=66341
2019-11-13 19:29:45 +01:00
Player701
f2202cca4f - Fixed erroneous "Return type mismatch error" when returning value of derived type 2019-11-13 19:29:42 +01:00
alexey.lysiuk
81010b4fbf - fixed missing fullbright for Berserk
https://forum.zdoom.org/viewtopic.php?t=66307
2019-11-06 17:51:03 +01:00
Chronos Ouroboros
7bc42a30be Fixed mixins. 2019-11-06 17:51:00 +01:00
alexey.lysiuk
4e5ffb5db9 - fixed: IfGame else branch was ignored in MENUDEF
https://forum.zdoom.org/viewtopic.php?t=66282
2019-11-06 17:50:57 +01:00
Christoph Oelckers
a487829932 - fixed bad variable name for lump filter 2019-11-06 17:50:54 +01:00
Christoph Oelckers
fb14f39d88 - fixed: lump filters without any dot in the name did not work. 2019-11-06 17:50:51 +01:00
alexey.lysiuk
c41a44176f - fixed broken walkthrough of Restoring Deimos MAP07 2019-11-02 21:22:19 +01:00
drfrag
2e336b756a - Fixed stretching for 256 and 240 pixels tall skies in software. 2019-11-02 21:13:15 +01:00
Chronos Ouroboros
9403fa2f48 Fixed a bug in the flagdef processing code. 2019-11-02 10:48:09 +01:00
Chronos Ouroboros
8b52477cd5 Added mixins for classes. 2019-11-02 10:48:05 +01:00
alexey.lysiuk
85fe6c5aaa - adjusted collision detection for item pickups
Use vanilla condition for a thing with MF_SPECIAL flag to fix inability to grab it when item's top is at the same height as sector's floor from it can be picked up

https://forum.zdoom.org/viewtopic.php?t=60181&start=88#p1122935
2019-10-31 17:40:03 +01:00
drfrag
3e0fa5cc1b - Bumped ZScript version to be the same as in GZDoom as Graf suggested. 2019-10-31 17:37:54 +01:00
drfrag
9ea43c4b14 - Fixed taking screenshots in menus with Space when Sys_Rq is set as screenshot key.
Thanks randi!
2019-10-31 17:05:33 +01:00
alexey.lysiuk
015eb3404a - fixed radius attack that may inflict damage twice
https://forum.zdoom.org/viewtopic.php?t=66191
2019-10-28 12:14:32 +01:00
drfrag
46ebeeb7d5 - After the ill-fated 3.83 this is 3.83a. 2019-10-27 19:45:24 +01:00
Christoph Oelckers
2ec4331afe - sort CVAR output in config alphabetically instead of randomly dumping them in their internal order. 2019-10-27 14:07:04 +01:00
Chronos Ouroboros
2351ae8317 Fixed ZScript's Screen.DrawLine using the wrong color when drawing pure black. 2019-10-26 23:09:25 +02:00
alexey.lysiuk
edcc0dc4ab - fixed usage of uninitialized object in BlockLinesIterator
DBlockLinesIterator::check was used by FMultiBlockLinesIterator before it was constructed

https://forum.zdoom.org/viewtopic.php?t=66224

# Conflicts:
#	src/scripting/vmiterators.cpp
2019-10-26 12:15:00 +02:00
alexey.lysiuk
941a5f37a5 - fixed missing frames for axe attack without mana
The target state to jump is S_FAXEATK_5 in the original Hexen, but we were jumping to S_FAXEATK_7
5329fb5d75/src/hexen/info.c (L1298-L1299)

https://forum.zdoom.org/viewtopic.php?t=66216
2019-10-26 12:14:58 +02:00
drfrag
919f9b403b - Remove the IgnoreTitlePatches flag. 2019-10-25 16:37:45 +02:00
drfrag
0907972c2f Revert "- allow the language table to supersede the title patches, if appropriate"
This reverts commit 2b51e8d5dd.

# Conflicts:
#	src/g_hub.cpp
#	src/g_level.cpp
#	src/p_setup.cpp
#	src/wi_stuff.cpp
#	src/wi_stuff.h
#	wadsrc/static/zscript/ui/statscreen/types.zs

Revert "- fixed: The wbstartstruct that gets passed to the level summary screen needs to be static"

This reverts commit 4a563f449d.

# Conflicts:
#	src/g_level.cpp

Revert "- Fixed compilation."

This reverts commit 149a294a49.

# Conflicts:
#	src/g_level.cpp

Revert "- Fixed game finales not being shown after the intermission."

This reverts commit 55af0b11c6.

All this didn't make sense without localization and caused problems with intermissions and endings, it was incompatible with the old code without the level refactor.
2019-10-25 16:23:42 +02:00
alexey.lysiuk
d2fe30cd93 - added Visual Studio debugger visualization for several types 2019-10-24 13:25:22 +02:00
alexey.lysiuk
cde65bbfe9 - removed hardcoded width limit for screenshots
https://forum.zdoom.org/viewtopic.php?t=66204
2019-10-24 13:25:19 +02:00
Chronos Ouroboros
632708bccb Fixed dynamic arrays as function arguments. 2019-10-24 13:25:16 +02:00
drfrag
68569d14c3 - Change how the 'randi' cheat works. 2019-10-23 11:52:49 +02:00
alexey.lysiuk
62d3f61bac - do not accept read-only variable as out argument
https://forum.zdoom.org/viewtopic.php?t=66179
2019-10-22 10:59:34 +02:00
alexey.lysiuk
c9641ce335 - fixed variable's stack offset for implicit dynarray clearing
https://forum.zdoom.org/viewtopic.php?t=66187
https://forum.zdoom.org/viewtopic.php?t=66189
https://forum.zdoom.org/viewtopic.php?t=66198
2019-10-22 10:59:31 +02:00
Chronos Ouroboros
93d111ef29 Fixed Vector2/3 out parameters in the ZScript compiler. 2019-10-22 10:59:28 +02:00
alexey.lysiuk
ef06ef5977 - added explicit clearing of global VM stask
When exception is thrown from JITed code, VM stask isn't cleared during unwinding
It needs to be clear explicitly to avoid memory leaks and references to destructed objects on shutdown

https://forum.zdoom.org/viewtopic.php?t=66172

# Conflicts:
#	src/dthinker.cpp
2019-10-22 10:59:25 +02:00
Rachael Alexanderson
4584dd6719 - fixed typo with D'Sparil's serpent attack in lights.pk3. https://forum.zdoom.org/viewtopic.php?f=2&t=66177 2019-10-22 10:59:21 +02:00
PaulyB
c9075cc481 Scythe MAP22 Compatibility fix 2019-10-22 10:59:19 +02:00
Christoph Oelckers
5ded0aadf0 - fixed GetLineX/GetLineY ACS implementation
# Conflicts:
#	src/p_acs.cpp
2019-10-22 10:59:16 +02:00
Christoph Oelckers
f15a52b1e7 - when adding some minmum lateral movement to trigger collision detection, do not just set Vel.X but actually use a vector pointing in the proper facing direction of the actor. 2019-10-22 10:59:13 +02:00
Christoph Oelckers
1170e07124 - fixed: MF8_RECREATELIGHTS must be processed in pause mode as well.
When issuing a netevent from the console the game is in pause mode, and if this removes a light it would have crashed the game.
2019-10-22 10:59:09 +02:00
alexey.lysiuk
9aff83cfdc - implicitly clear local dynamic arrays
https://forum.zdoom.org/viewtopic.php?t=62710
2019-10-20 12:30:00 +02:00
drfrag
b52ac9b556 Revert "AsmJit update"
This reverts commit 275ecb2623.

This had to be reverted because it breaks exception handling which is a critical problem.
With the updated code any exception thrown inside code that had a JITed call stack would crash.
2019-10-20 11:34:23 +02:00
alexey.lysiuk
af3fce739d - fixed broken walkthrough of Skulldash MAP04 2019-10-20 11:31:57 +02:00