Commit graph

3353 commits

Author SHA1 Message Date
biwa
d3b90f4f50 Print a warning and skip parsing classes that try to inherit from themselves (instead of going into an infinite loop) 2020-03-14 13:18:45 +01:00
ZZYZX
ec9765f004 Fixed: GLDEFS dynamic lights were defaulting to invisible instead of 'normal' 2020-01-25 23:28:27 +02:00
ZZYZX
973a4b1447 Fixed: CalculateArea was doing some weird shit (resolves #372) 2020-01-18 22:08:48 +02:00
Magnus Norddahl
6e4a02fb2b Add texture format to the Texture class so that render target textures do not have to be in the bgra8 format 2020-01-15 23:28:17 +01:00
William Miller
50668921e8 Extra config block for Large Maps (PR#368 by Zanieon)
This extra block helps ZDBSP building better nodes for maps that are too big and starts generating visual issues with regular nodebuilding.
2020-01-15 06:26:35 +02:00
ZZYZX
42aa6c8832 Fixed: there was no highlight shader for internal sprites for ZDoom effects disabled; Fixed: highlighting of transparent walls/floors was broken 2020-01-14 11:09:33 +02:00
Magnus Norddahl
7ea64f910b Fatal crash (Texture name input) #367 2020-01-13 19:11:10 +01:00
Magnus Norddahl
a2b18f1893 Fix load bug where exactly one image per thread would not get loaded 2020-01-12 23:35:20 +01:00
Magnus Norddahl
fc7093b959 Load images when they accessed
Load previews when they are accessed
2020-01-12 23:10:57 +01:00
Magnus Norddahl
acfd4f5283 LoadImage should not be virtual 2020-01-12 21:12:56 +01:00
Magnus Norddahl
db747d022b Dispose the bitmap as soon as it has been uploaded to a texture. Use a 1 bit alphatest bitmap for those that have transparency in them. 2020-01-12 20:17:18 +01:00
Magnus Norddahl
21d19e2804 Only use GetBitmap for the alpha test 2020-01-12 19:53:50 +01:00
Magnus Norddahl
0abaeaf758 Replace GetBitmap with more descriptive functions and move the alpha test inside ImageData 2020-01-12 19:37:27 +01:00
biwa
a14fc7cafd Fixed an issue where grid background images were drawn upside down and moved in the wrong direction on the Y axis when scrolling 2020-01-07 22:26:21 +01:00
Magnus Norddahl
dfc3089b9f Autodetect platform 2020-01-06 09:00:56 +01:00
Magnus Norddahl
5363fe0717 Produce release build
Disable devil
Support mac build (which is useless as mono doesn't support winforms on modern macOS)
2020-01-06 08:52:59 +01:00
Magnus Norddahl
20f5f01b84 Unix build fixes 2020-01-06 08:07:52 +01:00
biwa
31c7a86758 Merge branch 'master' of https://github.com/jewalky/UltimateDoomBuilder 2020-01-04 23:29:58 +01:00
biwa
b415046694 Fixed nonsensical values being returned when using +++/--- in many fields. 2020-01-04 23:29:35 +01:00
alexey.lysiuk
0298569bb9 Add Continuous Integration via GitHub Actions workflow (PR#359 by alexey-lysiuk) 2020-01-05 00:28:22 +02:00
ZZYZX
0e7875e0ad Fixed: light clipping on back faces was gone 2020-01-03 03:55:34 +02:00
ZZYZX
044dbbcfd0 Rewrote dynamic light support. Resolves #319. Resolves #318. Resolves #233. 2020-01-03 03:22:33 +02:00
Magnus Norddahl
54fb563a9a Merge branch 'master' of https://github.com/jewalky/UltimateDoomBuilder 2020-01-02 20:35:20 +01:00
Magnus Norddahl
c10f70d595 Fix glError returning a null pointer 2020-01-02 20:34:55 +01:00
ZZYZX
7b5d4a03e9 Write uniform data into separate structures 2020-01-02 21:32:08 +02:00
Magnus Norddahl
10702928ae Only call seterror if the context creation fails 2020-01-02 20:21:38 +01:00
Magnus Norddahl
6450bdcc67 Improve error message if OpenGL context creation fails 2020-01-02 19:45:45 +01:00
ZZYZX
0ba5870dfc Merge branch 'shadercompiler' 2020-01-02 20:22:49 +02:00
Magnus Norddahl
d71da60c40 Lower depth bits requirement 2020-01-02 19:07:31 +01:00
Magnus Norddahl
82db74b17a Fix profile not being used 2020-01-02 18:55:53 +01:00
Magnus Norddahl
d49a6e228b Work a little harder to find an usable OpenGL version 2020-01-02 18:53:37 +01:00
ZZYZX
0fbebbe759 Allow functions block in a shader, error out on duplicate functions 2020-01-02 02:56:27 +02:00
biwa
e4e05542ec Fixed a problem where negative Y scales of sidedefs would result in a wrong offset when auto-aligning 2020-01-02 01:32:55 +01:00
ZZYZX
e015cc6fb1 Fixed token position for named tokens 2020-01-02 01:51:54 +02:00
ZZYZX
6374b498ab Added GLSL shader preprocessor 2020-01-01 22:41:04 +02:00
Magnus Norddahl
73364a130e Remove UTF-8 BOM if found 2020-01-01 09:21:41 +01:00
ZZYZX
7b5506363e Fixed F10 key focusing the menu on key release 2019-12-31 15:32:57 +02:00
ZZYZX
c00e2a8074 Fixed F10 key focusing the menu instead of opening the script editor as intended 2019-12-31 14:57:29 +02:00
ZZYZX
e092235262 Removed the remains of resource editing 2019-12-31 14:16:13 +02:00
ZZYZX
961b5fdb33 Actually fixed PK3 synchronization 2019-12-31 13:46:30 +02:00
ZZYZX
fa053bc097 Prevent closing the PK3 stream before read operation has completed 2019-12-31 13:35:43 +02:00
ZZYZX
e61937c7b7 Removed the capability to open any file from the script editor 2019-12-31 13:18:39 +02:00
biwa
d7e259bc7e Compute the length of the line in Plotter.DrawLine3DFloor with a method that actually works on big numbers 2019-12-31 10:57:29 +01:00
Magnus Norddahl
a18e165d99 Fix geometry constantly being rebuilt in some situations 2019-12-31 03:44:36 +01:00
biwa
1e90500a3f Call RedrawSurface in OnRedrawDisplay of NodesViewerMode, SoundPropagationMode and SoundEnvironmentMode so that the map gets updated properly and not being stretched/squished when the windows is resized 2019-12-30 11:28:08 +01:00
Magnus Norddahl
f6dd787f0d Present maps slightly faster to the user 2019-12-30 06:41:52 +01:00
Magnus Norddahl
c95e5af46d Reduce memory usage during preview image loading 2019-12-30 06:22:32 +01:00
Magnus Norddahl
65fdafafd8 Fix TransformPatch using bitmap from the main thread 2019-12-29 23:24:08 +01:00
Magnus Norddahl
03e50615f6 Remove explicit image unloading and fix previews 2019-12-29 22:59:57 +01:00
Magnus Norddahl
f97f2d36b1 Remove preview manager and remove CreateTexture 2019-12-29 20:48:11 +01:00