Commit graph

18220 commits

Author SHA1 Message Date
Magnus Norddahl
7168466c28 Calculate all light in RenderWallPart 2019-11-15 05:45:52 +01:00
Magnus Norddahl
82855ab1fd Calculate light closer to where it is used 2019-11-15 05:21:10 +01:00
Magnus Norddahl
3428b50924 Fix type typo 2019-11-15 03:46:21 +01:00
Magnus Norddahl
608895dae7 Fix fog boundary drawing for 3d floors and add a few helper functions to RenderDrawSegment 2019-11-15 03:41:10 +01:00
Rachael Alexanderson
4d66e9a8bb - remove SetLineSideRefs - this actually cannot be exported right now, due to the fact that both sides and lines have backreferences to themselves and their ancestry, and that linedefs have forward references to the sectors on their respective sides.
- made FlipLineSideRefs native, due to the SetLineSideRefs removal
- fixed a bug with FlipLineSideRefs that rendered upper and lower textures incorrectly due to incorrect sector references
- FlipLineSideRefs now should only work on single-sided lines
2019-11-14 14:32:20 -05:00
Rachael Alexanderson
b0751db552 - add native SetLineSideRefs(line, side1idx, side2idx)
- add scripted FlipLineSideRefs(line)
2019-11-14 09:20:16 -05:00
Magnus Norddahl
642cd2b160 Fix 3d floor rendering bug 2019-11-14 02:28:53 +01:00
PaulyB
a74be69371 Added 'NoKeyboardCheats' option to IWADINFO
This is useful for IWADs that do not want to use the hardcoded engine cheats. This can still be overriden with the 'allcheats' CVAR
2019-11-13 17:34:42 +01:00
Rachael Alexanderson
26dd900b3e - cl_blockcheats added to 'nocheat' check 2019-11-13 04:45:57 -05:00
Magnus Norddahl
88848f1d59 Add some helpers on DrawSegmentClipInfo 2019-11-13 04:17:46 +01:00
Christoph Oelckers
5cc75af295 - changed secret message handling so that the debug output of the sector number is only printed to the console but not the centered message. 2019-11-12 23:39:05 +01:00
Magnus Norddahl
72bba914ce Move drawseg clipping variables to DrawSegmentClipInfo 2019-11-12 19:46:45 +01:00
Magnus Norddahl
879fae7cd0 Also calculate wallsprite and decal texture coordinates in ProjectedWallTexcoords 2019-11-12 18:44:17 +01:00
Rachael Alexanderson
37fdf14422 - add calc indices before running level postprocessor 2019-11-12 09:46:14 -05:00
Rachael Alexanderson
21a74dfb13 - new zscript function 'SetLineVertexes(line, v1, v2)'
- scriptify 'FlipLine' completely using new function, remove native version
2019-11-12 08:08:35 -05:00
3saster
a4b6a8f093 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-12 07:29:16 -05:00
Magnus Norddahl
fa3e5e34a8 Move all ProjectedWallTexcoords calculations to that class 2019-11-12 02:22:30 +01:00
Magnus Norddahl
e388abbb77 Clarify that 'fake wall' means a 3d floor wall 2019-11-11 23:41:14 +01:00
Magnus Norddahl
fec280a5fc Remove the sprite drawer from wall drawing 2019-11-11 05:37:02 +01:00
Magnus Norddahl
3944ee5b67 - Calculate drawseg texture coordinates in r_line 2019-11-11 04:10:08 +01:00
Magnus Norddahl
6410bc81cc - merge top/mid/bottom texture coordinate calculations 2019-11-11 03:19:00 +01:00
Christoph Oelckers
81753e5ffb - moved the level postprocessor to its own source file. 2019-11-10 21:28:01 +01:00
Marisa Kirisame
12bbb5b6f9 Localize level/author strings on intermission startup, fixes misalignments. 2019-11-10 18:14:42 +01:00
Rachael Alexanderson
57eb1a82d6 - oops - add rangecheck to 'FlipLine' 2019-11-10 10:01:17 -05:00
Rachael Alexanderson
1098a13fdb - add 'FlipLine' to 'LevelPostProcessor' 2019-11-10 09:04:30 -05:00
alexey.lysiuk
82c248854d - extended level post-processing with special string arguments 2019-11-10 11:37:02 +02:00
alexey.lysiuk
00ff4083d2 - extended level post-processing with thing IDs 2019-11-10 11:37:02 +02:00
alexey.lysiuk
098b1c5973 - level post-processor cleanup 2019-11-10 11:37:02 +02:00
alexey.lysiuk
c5237ce58f - level post-processor can now add new things 2019-11-10 11:37:02 +02:00
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