Commit graph

18191 commits

Author SHA1 Message Date
alexey.lysiuk
1e29444152 - extended level post-processing with specials and arguments 2019-11-10 11:37:02 +02:00
alexey.lysiuk
79880b2bd9 - extended level post-processing with editor numbers and angles 2019-11-10 11:37:02 +02:00
alexey.lysiuk
a2a50f34d5 - 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
2019-11-10 11:37:02 +02:00
alexey.lysiuk
59bdebb20a - added generic level post-processing script class
It was extracted from LevelCompatibility class, and native code was moved accordingly
2019-11-10 11:37:02 +02:00
alexey.lysiuk
6ad965abb5 - 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-10 11:14:08 +02:00
Player701
8c05816378 - Fixed erroneous "Return type mismatch error" when returning value of derived type 2019-11-10 09:58:25 +02:00
alexey.lysiuk
093901a561 - set meaningful defaults on initialization of BaseStatusBar
https://forum.zdoom.org/viewtopic.php?t=66339
2019-11-09 15:00:03 +02:00
Magnus Norddahl
48d0ebab58 Convert some variables to be function local 2019-11-09 05:29:14 +01:00
Magnus Norddahl
b40ffb1d64 Move more texture coordinate variables into ProjectedWallTexcoords 2019-11-09 04:45:39 +01:00
Magnus Norddahl
5c21a6c973 Remove the ProjectedWallTexcoords arrays 2019-11-09 03:16:48 +01:00
Magnus Norddahl
370c185415 Mark FWallTmapVals members as private and make FWallTmapVals part of wallsetup 2019-11-09 02:41:37 +01:00
Magnus Norddahl
7fae5ea905 Remove unused code 2019-11-09 00:07:33 +01:00
drbugbait
0747514f58 Added en dash, figure dash, and ellipsis to Doom smallfont 2019-11-08 21:14:06 +01:00
Magnus Norddahl
62ec165d28 Further isolate texture coordinate calculations to r_wallsetup 2019-11-08 03:46:07 +01:00
Chronos Ouroboros
c64fafc490
Merge pull request #701 from Doom2fan/DirectNativeShape2D
Added direct-native versions of the Shape2D API.
2019-11-07 18:49:53 -03:00
Rachael Alexanderson
20e61ead49 - add Vulkan to the startup box in Windows 2019-11-05 08:57:50 -05:00
alexey.lysiuk
ad89f1381c - fixed missing fullbright for Berserk
https://forum.zdoom.org/viewtopic.php?t=66307
2019-11-05 15:32:00 +02:00
alexey.lysiuk
fd5e8d6e7b - fixed source lump assignment for multipatch textures
It was impossible to detect a WAD that contains a multipatch texture

https://forum.zdoom.org/viewtopic.php?t=66299
2019-11-05 14:47:13 +02:00
Chronos Ouroboros
583d8faf5c Fixed mixins. 2019-11-04 18:31:31 -03:00
Christoph Oelckers
2ae3f6d326 - fixed bad variable name for lump filter 2019-11-04 00:08:06 +01:00
alexey.lysiuk
be8009d9ca - fixed: IfGame else branch was ignored in MENUDEF
https://forum.zdoom.org/viewtopic.php?t=66282
2019-11-03 16:56:24 +02:00
Christoph Oelckers
077d4e08bb - fixed: lump filters without any dot in the name did not work. 2019-11-03 15:53:41 +01:00
Rachael Alexanderson
e55a935220 - implement ccmd 'togglehud' for taking screenshots
- it disables most 2D drawing in order to favor a fullscreen output view for screenshot taking
  - enabling the console or any menu should cancel it
  - it does use several CVARs but their state should be restored when this mode is canceled
2019-11-03 03:51:22 -05:00
drfrag
bd90a768f5 - Fixed stretching for 256 and 240 pixels tall skies in software. 2019-11-02 22:57:31 +01:00
alexey.lysiuk
857d0175b5 - fixed broken walkthrough of Restoring Deimos MAP07 2019-11-02 14:38:41 +02:00
Chronos Ouroboros
af17864968 Fixed a bug in the flagdef processing code. 2019-11-01 18:38:19 -03:00
Chronos Ouroboros
e63b6d494a Added mixins for classes. 2019-11-01 18:34:52 -03:00
alexey.lysiuk
4c7c1138aa - 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 12:07:50 +01:00
alexey.lysiuk
958b52d3aa - fixed localization support for intermission texts
https://forum.zdoom.org/viewtopic.php?t=66221
2019-10-27 10:43:09 +02:00
alexey.lysiuk
ae2f7dd892 - fixed radius attack that may inflict damage twice
https://forum.zdoom.org/viewtopic.php?t=66191
2019-10-27 09:34:13 +01:00
Christoph Oelckers
d54a7de284 - sort CVAR output in config alphabetically instead of randomly dumping them in their internal order. 2019-10-27 08:18:03 +01:00
Chronos Ouroboros
8f7e902875 Fixed ZScript's Screen.DrawLine using the wrong color when drawing pure black. 2019-10-26 13:42:24 -03:00
alexey.lysiuk
10078f519a - 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 11:32:27 +03:00
alexey.lysiuk
fb384c6b8d - 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
2019-10-26 11:01:49 +03:00
alexey.lysiuk
dfecc1229f - removed hardcoded width limit for screenshots
https://forum.zdoom.org/viewtopic.php?t=66204
2019-10-24 10:42:39 +03:00
Chronos Ouroboros
3071723a67 Fixed dynamic arrays as function arguments. 2019-10-23 18:38:41 -03:00
alexey.lysiuk
4ae16c27e2 - added Visual Studio debugger visualization for several types 2019-10-23 20:15:55 +02:00
alexey.lysiuk
94e7b6f3b5 - do not accept read-only variable as out argument
https://forum.zdoom.org/viewtopic.php?t=66179
2019-10-22 11:11:22 +03:00
alexey.lysiuk
9a727f6c2f - 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:40:45 +03:00
Chronos Ouroboros
4fa6678fc5 Fixed Vector2/3 out parameters in the ZScript compiler. 2019-10-21 16:30:05 -03:00
alexey.lysiuk
994960627b - 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
2019-10-21 15:54:13 +03:00
Rachael Alexanderson
ed337b3ecc - fixed: Made "Col2RGB8_2" a global variable, since "Col2RGB8_LessPrecision[]" references it by pointer. 2019-10-21 08:45:48 -04:00
Rachael Alexanderson
0c712f2bcc - fixed typo with D'Sparil's serpent attack in lights.pk3. https://forum.zdoom.org/viewtopic.php?f=2&t=66177 2019-10-21 07:19:02 -04:00
Rachael Alexanderson
d20601d65e - fixed: made Col2RGB8_2[] in BuildTransTable() static, the array was originally designed to be used in the global in scope but when it was moved to be local it did not init properly, causing transparency issues in the software renderer. 2019-10-21 05:32:58 -04:00
PaulyB
a601350db6 Scythe MAP22 Compatibility fix 2019-10-21 08:19:17 +02:00
Christoph Oelckers
0ee0034beb - apply the ZMusic mutex a bit more finely grained.
It should only guard the critical parts, like calling Stop() but can let Update and IsPlaying method work unhindered otherwise.
2019-10-20 16:16:40 +02:00
Christoph Oelckers
f014e9cd8c - text update. 2019-10-20 16:16:40 +02:00
Christoph Oelckers
777798ede4 - fixed GetLineX/GetLineY ACS implementation 2019-10-20 14:32:11 +02:00
Christoph Oelckers
8b10d231cd - 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-20 14:02:28 +02:00
Christoph Oelckers
19c7e24d69 - 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-20 12:55:24 +02:00