ZZYZX
bd811aac7d
Fixed deadlock caused by errors displayed by texture loading
2019-12-28 21:37:05 +02:00
ZZYZX
78fe6c306e
Fixed UI thread becoming unresponsible in case of missing textures
2019-12-28 20:12:22 +02:00
ZZYZX
866facf80b
Fixed: not all cases of static FontFamily were addressed
2019-12-28 10:22:32 +02:00
Magnus Norddahl
3cae8740ef
Prevent Image.FromStream from closing the stream if the image isn't recognized
2019-12-28 05:34:38 +01:00
ZZYZX
197f96a059
Unfix MaxED's TGA fix
2019-12-27 12:43:06 +02:00
Magnus Norddahl
af3d74d186
Fix DevIL crash by protecting it with a mutex lock
...
Use the .net framework image loaders if they work. They do for the sane formats (PNG and JPEG) and they are faster, too.
Enable usage of multiple threads for resource loading now that it no longer crashes
2019-12-27 07:45:44 +01:00
Magnus Norddahl
11b5cb4e8f
Fix crash if entering 3D mode early
...
Remove thread priority settings (this is not the right way to do it)
Stop brain dead busy looping and use Monitor.Wait + Monitor.Pulse
Only call Control.Invoke if its a worker thread calling RunOnUIThread
Add the code for running multiple background threads (unfortunately blocked by DevIL apparently not being thread safe, gg!)
2019-12-27 07:21:43 +01:00
Magnus Norddahl
7e0ea54254
Don't use SendMessage when the built-in Invoke function does the same
2019-12-27 04:37:10 +01:00
ZZYZX
24e4c55ed0
Fixed logos in the About form
2019-12-26 15:15:13 +02:00
ZZYZX
624c5ea1d3
Fixed: don't use full Renderer2D pipeline while updating the grid after resize (fixes debug build)
2019-12-26 14:33:23 +02:00
ZZYZX
cbe8abbc9a
Fixed: 3D mode linedefs were completely broken -- reverted 718405b580
2019-12-26 10:08:11 +02:00
ZZYZX
3491bdccea
Fixed: lines in 2D mode had random gray pixels with high quality enabled ( resolves #331 )
2019-12-26 08:16:38 +02:00
ZZYZX
1cbfddd367
Oops.
2019-12-26 07:10:01 +02:00
ZZYZX
607ac7751e
Fixed: use application default font family for rendered labels if user-selected font is not available
2019-12-26 07:09:28 +02:00
ZZYZX
76bfd79bd6
Merged remote...
2019-12-26 04:17:24 +02:00
ZZYZX
8320402201
Fixed background in About form for larger fonts
2019-12-26 04:16:23 +02:00
Magnus Norddahl
061fa30a45
Improve camera sector search somewhat
2019-12-26 01:10:00 +01:00
Magnus Norddahl
9d5f8ec7c1
Rewrite VisualBlockMap to use a quad tree
2019-12-26 00:39:15 +01:00
Magnus Norddahl
718405b580
Remove the remaining dictionary lookups when culling
2019-12-25 18:57:39 +01:00
NickZ
1aa020b2d0
Added test configuration option to use Linux paths, added different font for text labels (PR#268 by NickZ)
...
* Add Linux Path option to test config
* make shortpaths and linuxpaths mutually exclusive
2019-12-25 19:45:19 +02:00
ZZYZX
60d836dc85
Fixed: redraw grid after window size changes
2019-12-25 17:26:30 +02:00
biwa
33b888e5d2
Renderer2D.PlotLine now transforms the y coordinate so that linedefs in nodes viewer, automap/sound environment/sound propagation mode are not flipped upside down anymore. Fixes #325 .
2019-12-25 01:54:05 +01:00
ZZYZX
d559ba30d7
Added error reporting to Update Checker; Fixed update checking failure in certain setups
2019-12-24 23:32:37 +02:00
ZZYZX
842d4a6668
Fixed: full sector highlight would not show in 2D mode
2019-12-24 23:06:13 +02:00
ZZYZX
96f2b4e94e
Fixed TGA texture loading
2019-12-24 21:33:16 +02:00
ZZYZX
99b1770004
Fixed references to GZDB in the setup
2019-12-24 20:43:55 +02:00
ZZYZX
f3c60ac5e5
Corrected Git Issues link for error dialog
2019-12-24 20:13:18 +02:00
ZZYZX
8b682a658c
Fixed wrong icon in auto-update Newsflash
2019-12-24 20:04:20 +02:00
ZZYZX
6419cc04b0
Merged OpenGL UDB dev branch
2019-12-24 19:49:43 +02:00
ZZYZX
e1f3dfda87
Changed link to UDB
2019-12-24 19:47:07 +02:00
ZZYZX
81df5e858f
Removed remaining DirectX references, fixed setup
2019-12-24 19:45:23 +02:00
biwa
37c52b4d70
Code folding in the script editor works again. Fixes #115 .
2019-12-24 15:58:20 +01:00
ZZYZX
4b86389a5c
Clarified credits a bit
2019-12-24 15:28:31 +02:00
ZZYZX
cd9da4b4a1
Changed splash image and icons
2019-12-24 11:59:58 +02:00
ZZYZX
d995f983fc
Rebranding
2019-12-24 09:14:28 +02:00
Magnus Norddahl
11aa31452b
Remove more dictionaries from the render loop
2019-12-21 05:43:16 +01:00
Magnus Norddahl
28406cf1a7
Declare the uniform variables in C#
2019-12-21 02:14:42 +01:00
Magnus Norddahl
a21edf78da
Misc adjustments to make the cherry-picked 'C# shader resources' commit work
2019-12-21 01:47:27 +01:00
Magnus Norddahl
3de2427e7c
Removed -f suffixes for floats (not supported on AMD)
2019-12-21 01:34:51 +01:00
Magnus Norddahl
7f6ff8929d
Move the shaders to C# resources
2019-12-21 01:26:58 +01:00
ZZYZX
da57945db7
Merge branch 'master' into slimgl_merge
2019-12-20 16:41:38 +02:00
ZZYZX
e187872553
Add fps counter in visual mode
2019-12-20 16:39:01 +02:00
ZZYZX
5d3e78ad8f
Add FPS counter for visual mode
2019-12-20 16:17:32 +02:00
Magnus Norddahl
c8237b0e64
Speed up linedef processing by not relying on a hashmap
2019-12-20 05:12:39 +01:00
Magnus Norddahl
28f01517d3
Trade some memory for speed
2019-12-20 04:50:43 +01:00
Magnus Norddahl
80f815cad9
Fix the error handling: only create one call unless there's an error and only check for errors in functions that can fail
2019-12-20 03:39:06 +01:00
biwa
9c8f8916e6
Fixed a crash that would happen in the texture set editor when double-clicking on the last texture
2019-12-19 15:46:02 +01:00
Magnus Norddahl
4274ee2893
Use C++ and SSE code to do matrix math
...
Avoid copying by passing matrices by reference to RenderDevice
Use fasttrig from GZDoom for faster cos/sin
Don't set matrices unless they changed. Even though the memcmp prevents it from being pushed to OpenGL it is still a waste.
2019-12-19 03:12:44 +01:00
ZZYZX
2bce3f06a4
Flip GDI bitmap in model loading before feeding it to OpenGL
2019-12-18 21:27:09 +02:00
ZZYZX
4de0d96d13
Only set uniform for world matrix if it was the only one that changed
2019-12-18 15:24:54 +02:00