Commit graph

3058 commits

Author SHA1 Message Date
biwa
30819b3b0c Merge branch 'master' of https://github.com/jewalky/UltimateDoomBuilder 2019-12-29 13:01:25 +01:00
biwa
1786ab525e Changed checkdistance in ThingTypeInfo from int to double so that doesn't overflow 2019-12-29 13:00:10 +01:00
ZZYZX
62cddff505 Use nearest filtering if nearest is specified 2019-12-29 13:02:03 +02:00
biwa
8f9d840aeb Use map boundaries defined in the game's config instead of static values in VisualBlockMap 2019-12-29 11:03:42 +01:00
Magnus Norddahl
5082d7c308 Alter the nearest filter to not have noise in it 2019-12-29 06:52:39 +01:00
Magnus Norddahl
d46c72b04a Refactor the ImageData load code so that the UI thread requires no locks 2019-12-29 03:54:12 +01:00
ZZYZX
f41c5bdd6f Used slightly better approach for executing stuff in the main thread 2019-12-28 22:01:57 +02:00
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
biwa
0ebba7bdb9 Fixed a bug where flats on a 3D floor could not be auto-aligned (auto-aligning the flats of the tagged sector instead). Fixes #338. 2019-12-27 18:49:12 +01:00
biwa
9b256efdbb Fixed an issue where selected objects were unnecessarily cleared in visual mode, resulting in slowdowns. Partly addresses #337. 2019-12-27 17:00:13 +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
b466035bc8 Fix wrong mipmapping filtering and missing anisotropy 2019-12-26 02:02:53 +01:00
Magnus Norddahl
061fa30a45 Improve camera sector search somewhat 2019-12-26 01:10:00 +01:00
Magnus Norddahl
459742c840 Fix double delete bug 2019-12-26 01:09:31 +01:00
Magnus Norddahl
e68da4331a Also clean up textures not created by SetPixels 2019-12-26 00:46:05 +01:00
Magnus Norddahl
9d5f8ec7c1 Rewrite VisualBlockMap to use a quad tree 2019-12-26 00:39:15 +01:00
Magnus Norddahl
994eda4852 Fix shutdown crash caused by C# finalizers deleting texture objects after renderdevice already left the building 2019-12-26 00:37:47 +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
734157256e Improved memory usage by loading textures directly into OpenGL 2019-12-25 19:08:57 +02:00
ZZYZX
60d836dc85 Fixed: redraw grid after window size changes 2019-12-25 17:26:30 +02:00
ZZYZX
a34055a0d3 Fixed: do a bit less radical deallocation in cube textures 2019-12-25 13:43:55 +02:00
ZZYZX
d57d73ce78 Fixed: memory buffer was not cleared after successfully transferring texture data to OpenGL (resolves #327) 2019-12-25 13:39:55 +02:00
ZZYZX
054a30dd1b Fixed: textures of null size should not be allowed (resolves #324) 2019-12-25 13:32:11 +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
61c6903b98 Fixed wrong icon in Updater 2019-12-24 20:06:31 +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
ef6d217623 Rearrange the code slightly so it is easier to add other backends 2019-12-23 20:09:38 +01:00
Magnus Norddahl
84efdad49e Add the license that applies to BuilderNative 2019-12-23 00:13:09 +01:00
Magnus Norddahl
e1ff5fc0da Implement resource cleanup for all resource types 2019-12-22 23:44:58 +01:00
Magnus Norddahl
11aa31452b Remove more dictionaries from the render loop 2019-12-21 05:43:16 +01:00
Magnus Norddahl
848ff8e771 Fix typo 2019-12-21 03:32:59 +01:00
Magnus Norddahl
b0538ac3c8 Move matrix functions to its own file 2019-12-21 03:31:44 +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
236ddd14eb Remove shader references from BuilderNative.vcxproj 2019-12-21 01:36:31 +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
5c5633c1e7 Clearing the current active OpenGL context is apparently very expensive. Only do it if we're destroying an OpenGL context. 2019-12-20 05:30:27 +01: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
Magnus Norddahl
b19ce39abc Only set uniforms if they changed 2019-12-18 04:22:47 +01:00
Magnus Norddahl
de2e336cb1 Use OpenGL sampler objects 2019-12-18 03:24:09 +01:00
Magnus Norddahl
b70b114a6b Place all vertex buffers in the same GPU vertex buffer so that the 3D scene only contains 2 vertex buffer binds per frame 2019-12-18 02:27:49 +01:00
ZZYZX
b3a4f563e9 Call wglMakeCurrent before SwapBuffers in Windows context implementation 2019-12-18 00:36:13 +02:00
ZZYZX
bd967138f2 Return old code for grid drawing on the renderer side 2019-12-16 08:32:01 +02:00
ZZYZX
4cb6d68c45 Use PBO to stream texture data for software rendering 2019-12-16 06:54:44 +02:00
ZZYZX
5fbedaf8fc Fixed: don't reduce alpha twice in 2D render layers 2019-12-16 04:52:42 +02:00
ZZYZX
19718cd464 Fixed: skybox generated from Doom texture was misplaced 2019-12-16 04:18:19 +02:00
ZZYZX
8ac7e40754 Returned CodeImp's software renderer for line plotting 2019-12-16 04:15:53 +02:00
ZZYZX
2433b8eb0d Removed -f suffixes for floats (not supported on AMD) 2019-12-16 01:17:41 +02:00
ZZYZX
81c8cdeec6 Added credit to Talon1024 & dpJ 2019-12-16 00:27:29 +02:00
ZZYZX
bd6d21773e Deleted SlimDX; returned pre-build event to copy appropriate DevIL version 2019-12-16 00:20:48 +02:00
ZZYZX
eafce14a9a Merge remote-tracking branch 'origin/master' into slimgl_merge 2019-12-16 00:00:01 +02:00
ZZYZX
502b641967 Improved error reporting 2019-12-15 23:53:33 +02:00
ZZYZX
7f09dd2aec Reenabled point filtering in visual mode 2019-12-15 22:47:06 +02:00
biwa
4febbdadf6 Zscript bool user variables are now treated as bool instead of int
Added support for int8, int16, uint, uint8, and uint16 user variables
2019-12-15 20:31:13 +01:00
ZZYZX
99a90512f1 Fixed: depth tested FBO did not work 2019-12-15 18:48:38 +02:00
ZZYZX
6f122d28c3 Fixed: alpha in the plotter was applied twice 2019-12-15 08:09:41 +02:00
ZZYZX
d1ff6bcc36 Fixed: line can be either dotted or smoothed 2019-12-15 07:20:54 +02:00
ZZYZX
ca75897bc5 Make grid dotted again 2019-12-15 03:45:21 +02:00
ZZYZX
d843a61d61 Replaced line intersection with something that does not cause infinite loops 2019-12-15 02:32:02 +02:00
ZZYZX
554ccc442f Fixed plotting from plugins, fixed transformed grid 2019-12-15 01:58:11 +02:00
ZZYZX
24c28e921f Fixed untransformed grid being Y-inverted 2019-12-15 01:16:04 +02:00
biwa
8472e0d07a Draw slope mode: by default slope vertices are now placed with the left mouse button, and drawing a slope is finished with the right mouse button 2019-12-14 23:40:20 +01:00
ZZYZX
83d3796da3 Fixed assembly reference issues in 3DFloorMode 2019-12-15 00:11:15 +02:00
ZZYZX
714bb84204 Implemented alternate fix for Linux paths (2) 2019-12-14 23:52:12 +02:00
ZZYZX
f0aee1e174 Merge branch 'master' into slimgl_merge 2019-12-14 23:50:40 +02:00
ZZYZX
5295f7f590 Implemented alternate fix for Linux paths (to-do: add case-insensitive hack later) 2019-12-14 23:43:20 +02:00
ZZYZX
2c3013f74c Make everything build with VS2015 again 2019-12-14 23:42:44 +02:00
biwa
3f8da3fc70 Stair sector builder: renamen "Single sectors" option to "Single steps". Added option to keep distinct sectors when using single steps 2019-12-14 14:32:33 +01:00
biwa
ee4ac1e4a6 Stair sector builder: prefabs can now be loaded by double-clicking them 2019-12-14 12:18:17 +01:00
biwa
31eaf98cbe Using --- and +++ now also works correctly for the height offset in the edit sector properties dialog 2019-12-14 11:52:46 +01:00
biwa
c9e7551ca3 Added ZScript mixin class support 2019-12-08 01:14:21 +01:00
biwa
2699f5793b Fixed an issue where the ZScript parser aborted with a cryptic error message when encountering a number that was too small or big. It now clamps the value to min/max for the data type and prints a warning 2019-12-03 15:23:49 +01:00
biwa
8824a2bb94 Fixed a bug where the wrong texture/flat with the same name would be displayed in the texture browser when they were loaded from a PK3 or directory 2019-11-30 17:49:21 +01:00
biwa
cbaa0c030c Long names can now used for flats (again) 2019-11-30 17:05:00 +01:00
biwa
490fa56749 - 3D Floor Mode: fixed a bug where orphaned managed control sectors would be overwritten by relocating the control sectors 2019-11-15 22:34:39 +01:00
biwa
e09cf546da - 3D Floor Mode: mode is now only available in Hexen format and UDMF
- 3D Floor Mode: removed non-functional "Spline" checkbox from the Edit Slope Vertex dialog
2019-11-15 21:56:25 +01:00
biwa
af3286031c - Added online help for 3D Floor Mode, Draw Slope Mode, and Slope Mode 2019-11-02 14:50:52 +01:00
biwa
9c900ac363 - Fixed a crash when dragging the mouse in 3D floor mode. Fixes #311. 2019-11-02 12:48:29 +01:00
biwa
ceb4555d6c - Fixed a crash when undoing 3D floor plugin actions while being in visual mode. Fixes #309. 2019-11-01 17:23:41 +01:00
biwa
6c05f1daf0 - Fixed a problem in the 3D floor mode plugin that caused an exception when saving the program preferences. Fixes #310. 2019-11-01 00:21:02 +01:00
biwa
75d6214db5 @ Added some missing files for the tools 2019-10-31 21:34:23 +01:00
biwa
7c7d3cbea4 @ Cleaned up some annoying debug messages in 3D Floor Mode 2019-10-31 21:29:55 +01:00
biwa
7dc01a9497 - Updated tools to use .Net 4.6.1 to be in line with GZDB-BF 2019-10-31 21:23:54 +01:00
biwa
b94dd31fdb - Fixed a bug where the wrong sectors and linedefs were highlighted in UDMF under certain conditions. Fixes #307. 2019-10-31 21:16:59 +01:00
biwa
8b98ce09c1 - Added 3D Floor Mode plugin
- Flipped top/bottom in 3D Floor Mode plugin dialogs to be consistent with the edit sector dialog
@ fixed all compiler warnings in 3D Floor Mode plugin
2019-10-23 20:55:41 +02:00
biwa
05a64b4ab8 - Fixed a bug where searching for generalized sector effects was not handled properly in Find & Replace Mode. Fixes 305. 2019-10-19 20:58:30 +02:00
biwa
4b86f5458f - Increased max view distance from 9000 to 64000 map units. Step size increased from 200 to 500 map units
@ Improved performance of VisualBlockMap.GetFrustumRange so that high view distances is actually usable. This does not do anything to the rendering speed, so that's still slow
2019-10-19 16:52:02 +02:00
biwa
560d23894d - Auto-aligning textures now produces more intuitive results and is consistent between UDMF and non-UDMF maps 2019-10-19 00:29:14 +02:00
biwa
ba6dc546ba - (Hopefully) addressed a problem where images failed to load when opening another map in the 64 bit version
@ This is a workaround for #295.
2019-10-13 13:47:29 +02:00
biwa
8fe66886b8 - The Updater is now x64 in the x64 build and can update the x64 version of GZDB-BF 2019-10-07 19:07:22 +02:00
biwa
c255a6e957 - Fixed several issues where slopes were not shown correctly in visual mode 2019-10-06 21:56:55 +02:00
biwa
6aa82e2ad9 - Slope effects related to slope things are now displayed more correctly in visual mode (they were not applied at all). Fixes #160
- Slope effects of UDMF vertex heights are now displayed more correctly in visual mode (they could be overwritten by lower tier slopes)
2019-09-21 14:03:30 +02:00
biwa
67a6818632 - UDMF vertex heights are now preserved in a more sensible way when joining vertices. Fixes #299. 2019-09-20 23:14:53 +02:00
mykola-ambar
c6b879bb1a Fix sector offset transformation in Edit Selection mode (PR#274 by mykola-ambar) 2019-09-20 21:49:30 +03:00
biwa
6e0acdf789 Merge branch 'master' of https://github.com/jewalky/GZDoom-Builder-Bugfix 2019-09-17 20:23:28 +02:00
biwa
e799d882a9 Fixed a crash when manually modifying a sidedef's sector index to a sector with a tag 2019-09-17 20:22:51 +02:00
Kevin Caccamo
b5bd90c0ce Attempt to fix grid being vertically inverted
I don't know exactly where the root cause of the problem lies, but this solution works for me, even if it is a bit of a hack.

Fixes #1
2019-09-10 19:28:43 -04:00
Kevin Caccamo
6e4298660f Fix crash when adding a new sector with the same number of vertices as another
I think it happened because set.buffers[bufferindex] was null.

Fixes #2
2019-09-10 00:17:53 -04:00
Xabis
399e527b5c Support for RenderRadius (PR#297 by Xabis) 2019-09-05 13:37:31 +03:00
Kevin Caccamo
7d3379c6ce Fix textures in 2D mode being clamped
I have no idea why the textures in 2D more ended up being clamped to begin with, but this should fix that.
2019-09-03 22:55:54 -04:00
Kevin Caccamo
b5ad511671 Enable DevIL on Linux
Remove NO_DEVIL defines, and add devil.dll -> libIL.so.1 DLL mapping to app.config
2019-09-03 22:47:59 -04:00
Magnus Norddahl
15a7f02617 Create mono projects for all the plugins 2019-08-31 14:14:25 +02:00
Magnus Norddahl
03e9da365e Misc fixes for mono P/Invoke of BuilderNative 2019-08-30 10:30:28 +02:00
Magnus Norddahl
3cd96fc788 Fix linux compile errors and build the BuilderNative.so library 2019-08-30 08:45:14 +02:00
Magnus Norddahl
51fabae1e7 Turn off updater with mono as it won't work without additional work 2019-08-29 21:45:58 +02:00
Magnus Norddahl
4cfe80f33a GZDB can now boot using mono 2019-08-29 21:04:50 +02:00
Magnus Norddahl
159a2e6d38 Build using msbuild on mono to fix issues with resources and such 2019-08-29 20:24:22 +02:00
Magnus Norddahl
9b300126e9 Disable DEVIL and create build solution specifically for mono 2019-08-29 17:56:12 +02:00
Magnus Norddahl
9f2c9e00d7 Add mono makefile 2019-08-29 16:30:49 +02:00
biwa
64c04f4246 - Fixed a bug where lights defined in GLDEFS wouldn't show up in visual mode. Fixes #294. 2019-08-24 12:45:55 +02:00
Magnus Norddahl
c2157ee24e - fix field of view 2019-08-22 23:28:26 +02:00
Magnus Norddahl
9d02676f8f - fix wrong uniform state 2019-08-22 22:59:27 +02:00
Magnus Norddahl
64cc7d2bc2 - implement the fixed function fog 2019-08-22 18:43:54 +02:00
Magnus Norddahl
808d644c0b - fix visual mode movement not working 2019-08-22 16:26:22 +02:00
Magnus Norddahl
7abcb2a328 - remove unsafe keyword from functions no longer needing it 2019-08-22 15:52:17 +02:00
Magnus Norddahl
1ef7d4a267 - improve performance 2019-08-22 15:46:24 +02:00
Magnus Norddahl
0562dac685 - fix screenverts math and some line drawing bugs 2019-08-20 12:45:23 +02:00
Magnus Norddahl
4c0e6e8fcc - implement plotter as a shader 2019-08-20 11:00:24 +02:00
Magnus Norddahl
e5500f7190 - don't update the texture unless something was drawn 2019-08-18 08:14:14 +02:00
Magnus Norddahl
9b0b6d2687 - clear command list once drawn 2019-08-18 08:11:09 +02:00
Magnus Norddahl
b51270fdfa - Delay plotter drawing until DrawContents is called 2019-08-18 08:07:28 +02:00
Magnus Norddahl
3142437444 - move plotter texture into plotter 2019-08-18 07:43:46 +02:00
Magnus Norddahl
3b2d50cce0 - add the X11 OpenGL init code, even though it is useless until someone repairs mono's winforms implementation 2019-08-18 06:04:15 +02:00
Magnus Norddahl
ebba32e7ba - add the appropriate ifdefs for an unix build 2019-08-18 03:29:33 +02:00
Magnus Norddahl
5ccc225fa8 - fix light pass 2019-08-17 05:21:28 +02:00
Magnus Norddahl
6c9f9b9247 - remove unused code 2019-08-17 03:58:07 +02:00
Magnus Norddahl
c914aadcaa - simplify texture binding 2019-08-17 03:21:11 +02:00
Magnus Norddahl
c88b94e1c9 - render to texture bug fixes 2019-08-17 03:08:34 +02:00
Magnus Norddahl
cea032e025 - remove unused code 2019-08-16 14:06:03 +02:00
Magnus Norddahl
0542bd25ec - convert texturefactor to uniform 2019-08-16 14:01:27 +02:00
Magnus Norddahl
3968206199 - Sending data to Direct3D 9 just to retrieve it is stupid 2019-08-16 13:38:53 +02:00
Magnus Norddahl
149012e8b3 - simplify buffer indexing 2019-08-16 13:23:25 +02:00
Magnus Norddahl
9b53939f0c - simplify vertex buffer and vertex format 2019-08-16 13:07:57 +02:00
Magnus Norddahl
d701987fb4 - don't pass sizes into VertexBuffer and IndexBuffer constructors
- CopyTexture bug fixes
2019-08-16 11:24:22 +02:00
Magnus Norddahl
fb137d46db - draw streamed vertices 2019-08-16 07:45:34 +02:00
Magnus Norddahl
edecd3f7aa - rename draw functions 2019-08-16 07:12:26 +02:00
Magnus Norddahl
5604685770 - remove old fixed function shader as it isn't used 2019-08-16 07:10:46 +02:00
Magnus Norddahl
55c404e689 - add raw mouse input 2019-08-16 06:39:18 +02:00
Magnus Norddahl
e035ff8113 - fix alpha ending up in red channel 2019-08-16 05:37:03 +02:00
Magnus Norddahl
c4dafbedc1 - implement alpha test 2019-08-16 04:10:03 +02:00
Magnus Norddahl
8ea439a5c2 - fix some rendering problems in visual mode 2019-08-15 14:49:49 +02:00
Magnus Norddahl
a292300eaa - use some more sane values for the frame buffer 2019-08-15 09:49:36 +02:00
Magnus Norddahl
e6731115ed - and we have visuals! 2019-08-15 09:40:49 +02:00
Magnus Norddahl
10c06cc662 - minor bug fix 2019-08-15 02:57:09 +02:00
Magnus Norddahl
a542385cd7 - force texture and buffer updating to go through RenderDevice 2019-08-15 02:52:21 +02:00
Magnus Norddahl
b41cb07eaa - Hook up texture creation and binding 2019-08-14 13:51:05 +02:00
Magnus Norddahl
1d09a0f86a - implement ApplyUniforms 2019-08-14 12:36:33 +02:00
Magnus Norddahl
3c44f77b60 - port all the direct3d shaders to glsl 2019-08-14 07:55:21 +02:00
Magnus Norddahl
14fd3c96e1 - remove Things2DShader, World3DShader, Effect and EffectShader 2019-08-13 04:12:04 +02:00
Magnus Norddahl
0b3725e2fa - remove Display2DShader class 2019-08-13 02:43:01 +02:00
Magnus Norddahl
2eaf323ad0 - fix vertex array object binding bug
- add shader program
- fix that alpha color was stored in red channel in Color4
- fix buffer upload bug
2019-08-12 08:33:40 +02:00
Magnus Norddahl
fd37c455d2 - Upload and apply vertex buffers, index bufers and vertex declarations 2019-08-10 07:46:29 +02:00
Magnus Norddahl
d48f032b71 - create OpenGL context 2019-08-10 02:32:08 +02:00
Magnus Norddahl
3fae1e9ef3 - add RenderDevice bindings 2019-08-10 00:46:51 +02:00
Magnus Norddahl
e3740033fc - rename classes with D3D in them 2019-08-09 23:22:16 +02:00
Magnus Norddahl
8ada3862e4 - rename files 2019-08-09 23:20:36 +02:00
Magnus Norddahl
407cc703b8 - implement enough of BuilderNative for GZDB to successfully run without crashing 2019-08-09 23:15:48 +02:00
Magnus Norddahl
37876f6d8a - add BuilderNative library that does the actual rendering 2019-08-09 06:18:08 +02:00
Magnus Norddahl
690a4d2e83 - remove DataStream class 2019-08-08 20:06:35 +02:00
Magnus Norddahl
c665bfca86 - remove SlimDX namespace 2019-08-08 18:24:33 +02:00
biwa
b603cb35c7 - Unused textures error checker doesn't erroneously report textures on 3D floors with the use upper/lower flags set (followup to #269)
@ Refactored texture error checks to reuse code
2019-08-08 15:06:10 +02:00
biwa
c00a8995aa - Fixed a crash when loading OBJ models with faces without normals 2019-08-08 12:17:49 +02:00
Magnus Norddahl
8f15e8d5e7 - Simplify code 2019-08-08 07:10:35 +02:00
Magnus Norddahl
e4b257a89a - remove SlimDX.DirectInput namespace 2019-08-08 04:21:57 +02:00
Magnus Norddahl
21b46010c1 Merge remote-tracking branch 'origin/master' into slimgl 2019-08-08 04:07:00 +02:00
Magnus Norddahl
c8845ae559 - remove SlimDX Stopwatch 2019-08-08 04:02:00 +02:00
Magnus Norddahl
3cff90d716 - remove SlimDX.Direct3D9 namespace 2019-08-08 03:51:21 +02:00
Magnus Norddahl
1be047d316 - Simplify D3DDevice 2019-08-08 03:19:11 +02:00
Magnus Norddahl
90b5c41517 - update solution to .net framework 4.7.2 and add build output files to .gitignore 2019-08-08 00:18:44 +02:00
Magnus Norddahl
4cec56b5d6 - remove SlimDX dependency 2019-08-08 00:05:21 +02:00
biwa
363a07c609 - Fixed a bug where a thread unsafe string length measuring method could cause a crash. Fixes #275. 2019-07-16 20:37:18 +02:00
biwa
2516b97cee - Added option to enable additive paint selecting without holding shift independently from regular additive selecting 2019-06-20 15:38:41 +02:00
biwa
8d75bfc3d2 - The missing textures checker now finds missing upper/lower textures on 3D floors when the appropriate flags of the Sector_Set3dFloor special are used. Fixes #269 2019-06-20 14:53:51 +02:00
biwa
a2567e4df5 - Textures will now wrap correctly in visual mode when the flag of the Line_SetIdentification special is set in Hexen format. Fixes #271 2019-06-18 21:20:14 +02:00
biwa
57054c132f - Fixed a bug where the unknown texture error checker didn't report unknown textures on sidedefs that were never seen. Fixed #270 2019-06-16 20:14:10 +02:00
biwa
34f2c308bd - More model texture loading weirdness is now regarded 2019-06-16 19:31:44 +02:00
biwa
c2b18a913e - Fixed a bug where textures for internal model skin names did not load when "Path" was specified in MODELDEF 2019-06-16 18:40:10 +02:00
biwa
70b2be5e73 - Fixed a crash that happened when there were OBJ elements without parameters 2019-06-16 12:05:03 +02:00
biwa
dc74617820 - Fixed a problem with OBJ models being flipped 2019-06-16 00:03:37 +02:00
biwa
97d4fdd78a @Fixed some compiler warnings 2019-06-15 21:26:43 +02:00
biwa
dde8742ff2 - Added support for Wavefront OBJ models
- Fixed a problem where model textures were not loaded from the textures directory or from TEXTUREx definitions. Fixes #173 and #226
2019-06-15 17:44:02 +02:00
biwa
44745bdbc8 - More speed improvements to the texture browser 2019-05-31 23:11:17 +02:00
biwa
48af52afcf - Improved performance of the texture browser. This should significantly reduce the times it takes to open the texture browser when using large texture sets 2019-05-31 00:20:12 +02:00
biwa
22df516e11 - Fixed a bug where moving the mouse outside the window could crash when pasting a selection while having auto dragging enabled. Fixes #110. 2019-04-20 16:55:20 +02:00
biwa
fbf4b259d6 - Fixed a freeze in the Tag Range plug-in when using the "relative" and "skip used tags" options. Fixes #125. 2019-04-20 13:22:35 +02:00
biwa
36361de889 - Fixed a bug where script compile errors were not shown under certain circumstances. Fixes #161. 2019-04-19 19:58:41 +02:00
biwa
b5e950df89 - Fixed an issue where the current editing mode was not re-initialized properly when opening a map from current WAD 2019-04-19 16:14:30 +02:00
biwa
aafe42c88d - Test map from current mouse position now works properly in Hexen/UDMF maps with multiple player starts. Also works in maps without a valid player start now. Fixes #263. 2019-04-16 18:05:21 +02:00
biwa
03cb5249af Merge branch 'master' of https://github.com/jewalky/GZDoom-Builder-Bugfix 2019-04-14 18:27:34 +02:00
biwa
f2a343e118 - Added support for the ForceWorldPanning MAPINFO option. Fixes #258
- Improved support for auto aligning scaled textures
2019-04-14 18:24:37 +02:00
ZZYZX
95a9d28798 Specify git.exe instead of just 'git' for compatibility with my environment with Cygwin git... 2019-03-29 20:41:01 +02:00
biwa
3d156a3be8 3D floors are now updated in real time in visual mode when their control sector is sloped through the line slope action. Fixes #250. 2019-03-27 21:47:47 +01:00
biwa
b9459419b2 Visplane Explorer is now working in the x64 version 2019-03-27 20:23:17 +01:00
davidxn
838d04e9c7 Missing Activation map check (PR#260 by davidxn)
* Adding check for missing activations on lines that have an activation-requiring action

* Adding skip check if the map isn't UDMF

* Oops, typo in name of check
2019-02-27 19:12:15 +02:00
volte
821016760b Fix for rotated grid algorithm causing a freeze in some circumstances (PR#255 by Volte) 2019-01-28 01:27:14 +02:00
ZZYZX
5c42035731 Fixed unused variable warnings; fixed compilation error in Renderer2D 2019-01-19 10:02:54 +02:00
biwa
eaebf7ec1a Added paint selecting to visual mode (PR#248 by biwa) 2019-01-19 09:56:13 +02:00
volte
5157dafd6a Various fixes for rotated grid functionality (PR#253 by Volte) 2019-01-16 08:44:38 +02:00
volte
a1d28e1e56 Grid rotation and alignment functionality (PR#252 by Volte) 2019-01-14 20:07:08 +02:00
ZZYZX
e1b9f31525 Updated ZDoom ACS definitions; Updated ZScript parser for compatibility with latest GZDoom 2018-12-02 17:51:54 +02:00
ZZYZX
a705dc1e03 Maintenance: added missing FolderSelectDialog.cs 2018-10-08 01:26:51 +03:00
ZZYZX
6fc15a179f Fixed crash while trying to reference nonexistent vertices in Unreal models 2018-07-25 16:03:41 +03:00
ZZYZX
80b7d86cd8 Added: color user variable, //$UserReinterpret for color control on integer user variable 2018-07-24 11:35:52 +03:00
ZZYZX
04dc210db5 Added: string/float user variables, //$UserDefaultValue <value> for specifying default user variable value 2018-07-24 10:27:29 +03:00
ZZYZX
74e31b658b Fixed Builder.exe.config, only this time properly 2018-07-16 21:33:22 +03:00
ZZYZX
a196457f83 Fixed: GZDB wouldn't load plugins on certain paranoid systems due to plugin DLL's being "remote" and unsigned (reported by Lorenzo) 2018-07-16 17:06:49 +03:00
ZZYZX
20f96cd115 Added .iwad, .ipk3, .ipk7 extensions to recognized list (reported by someone somewhere some time ago...) 2018-07-13 08:20:45 +03:00
ZZYZX
1933b0b6de Changed Resource directory browser to use Win7 folder dialog, not Win9x one (reported by dpJudas) 2018-07-13 07:56:13 +03:00
Marisa Kirisame
afd710801f Update .3d support to match coelckers/gzdoom#506 (PR#221 by Marisa_Kirisame) 2018-07-05 12:50:03 +03:00
ZZYZX
50d458f764 Fixed null reference in visual mode when trying to render a thing without a sector (reported by Ozymandias81) 2018-06-23 19:20:39 +03:00
ZZYZX
b026e58a89 Added: MODELDEF #include support 2018-06-09 17:26:03 +03:00
ZZYZX
3c433cfcb8 Fixed scalar in UE1 model reader (was 127, should be 128) 2018-06-07 11:59:52 +03:00
JakeSmokie
6768bc7f37 Added sector raise/lower by 128mp (PR #215 by JakeSmokie) 2018-06-07 11:32:36 +03:00