Commit graph

1688 commits

Author SHA1 Message Date
biwa
895053ec26 Fixed indentation in ImageBrowserItem 2020-04-05 20:21:35 +02:00
volte
9693321590 Further performance improvement to image browser 2020-04-05 11:40:14 -04:00
volte
b1f4cdcd1c Fixed slowdown in ImageBrowser due to repeated queries for system font 2020-04-05 09:15:34 -04:00
biwa
8115d12b6c Custom types for user defined UDMF fields could cause problems when fields with the same name used different types, so they are disabled for the time being (only bool, int, float and string are allowed now) 2020-03-29 21:44:29 +02:00
biwa
1fc503fa24 Update things before adding their geometry in visual mode so things don't go awry when realtime editing them. Fixes #393. 2020-03-29 17:31:20 +02:00
biwa
e07a3170ac Made drop down items for ambient sounds more descriptive 2020-03-29 16:29:53 +02:00
biwa
1d5867333c There can be multiple different ambient sounds with the same sound name, so add the index to the name to differentiate them. Fixes #390. 2020-03-29 11:53:12 +02:00
biwa
a4466ba01b Added support for helper messages in version/deprecated modifier in ZScript 2020-03-19 20:14:57 +01:00
Magnus Norddahl
3346c00fab Keep stream open so that the image loaders can be chained 2020-03-19 19:54:54 +01:00
Magnus Norddahl
44d972c876 Fix crash when tga image loader succeeds in loading a 0x0 image
Copy resource bitmaps before using them on a worker thread
2020-03-19 15:46:04 +01:00
Magnus Norddahl
e19b2912f3 Update mono project file 2020-03-17 21:07:51 +01:00
Magnus Norddahl
6492a2b3ff Merge branch 'nodevil' 2020-03-17 21:06:10 +01:00
Magnus Norddahl
29b30a3dcc This joke isn't funny when half the racists in the US is saying this 2020-03-17 20:09:34 +01:00
biwa
e8cc2f9801 Self-inheritance of ZScript classes is now considered an error and not a warning 2020-03-14 15:46:00 +01:00
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
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
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
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
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
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
b415046694 Fixed nonsensical values being returned when using +++/--- in many fields. 2020-01-04 23:29:35 +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
ZZYZX
7b5d4a03e9 Write uniform data into separate structures 2020-01-02 21:32:08 +02: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
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