Commit graph

3524 commits

Author SHA1 Message Date
biwa
21c8379904 Added action to toggle between picking slope handles or other map elements 2020-02-19 21:59:42 +01:00
biwa
7154dec8c7 Code cleanup, added some comments 2020-02-16 22:07:20 +01:00
biwa
ff1ea95d86 Drawing visual slope handles is (mostly) working now
Also fixed some cases where slopes were applied incorrectly
2020-02-16 20:51:16 +01:00
Magnus Norddahl
ab4dfa0935 Remove DevIL dlls 2020-02-16 19:02:33 +01:00
Magnus Norddahl
c943b07bd0 Fix broken patch loading 2020-02-16 18:57:19 +01:00
Magnus Norddahl
4d3fea0088 Fix inconsistencies between the "file specification" (as documented on zee internetz) and what devteam.pcx from Descent actually contained (the only pcx I have) 2020-02-16 17:10:57 +01:00
Magnus Norddahl
c1130b4c62 Merge remote-tracking branch 'origin/master' into nodevil 2020-02-16 16:48:49 +01:00
ZZYZX
ec9765f004 Fixed: GLDEFS dynamic lights were defaulting to invisible instead of 'normal' 2020-01-25 23:28:27 +02:00
biwa
d9cfc04e2e More trying to get it to work... 2020-01-18 21:10:21 +01: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
Magnus Norddahl
afb79e80d5 Implement tga image loader 2020-01-14 20:39:46 +01:00
Magnus Norddahl
0372b75eea Fix offsetting bug 2020-01-14 18:57:50 +01:00
Magnus Norddahl
4e86765f2a Implement pcx loader (I can't believe I wrote this in 2020...) 2020-01-14 18:49:45 +01:00
Magnus Norddahl
e908ec72e9 Add missing try/catch 2020-01-14 17:29:13 +01:00
Magnus Norddahl
3bbe76b225 Remove DevIL dependency
Remove IImageLoader code duplication
2020-01-14 17:25:35 +01: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
247d3e7a97 Merge branch 'master' of https://github.com/jewalky/UltimateDoomBuilder into visual-slope2 2020-01-09 20:05:34 +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
biwa
2c9235e4ea Trying to figure out matrix black magic 2020-01-07 21:27:37 +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
01ccfa56f3 Merge branch 'master' of https://github.com/jewalky/UltimateDoomBuilder into visual-slope2 2020-01-05 14:27:47 +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
biwa
8aee7fc550 Merge branch 'master' of https://github.com/jewalky/UltimateDoomBuilder into visual-slope2 2020-01-04 22:15:13 +01: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
biwa
0efb786a97 Slopes in 3D floors work again 2020-01-03 01:11:23 +01: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
biwa
7e84883125 Some cleanups 2020-01-02 20:32:37 +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