Commit graph

1138 commits

Author SHA1 Message Date
biwa
50a73b6af2 Pivot handles can now be set with the normal action to edit objects (no additional hotkey needed) 2020-02-19 22:43:41 +01:00
biwa
e4644b7cab The slope handle closes to the mouse cursor will now always be picked (no minimum distance required anymore) 2020-02-19 22:14:29 +01:00
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
biwa
d9cfc04e2e More trying to get it to work... 2020-01-18 21:10:21 +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
2c9235e4ea Trying to figure out matrix black magic 2020-01-07 21:27:37 +01:00
Magnus Norddahl
20f5f01b84 Unix build fixes 2020-01-06 08:07:52 +01:00
biwa
8aee7fc550 Merge branch 'master' of https://github.com/jewalky/UltimateDoomBuilder into visual-slope2 2020-01-04 22:15:13 +01:00
biwa
0efb786a97 Slopes in 3D floors work again 2020-01-03 01:11:23 +01:00
biwa
7e84883125 Some cleanups 2020-01-02 20:32:37 +01: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
biwa
55135f2982 - Handles on floor are shown
- Fixed a problem where the wrong plane was assigned to ceiling surfaces
2020-01-01 21:47:33 +01:00
biwa
4bfbe567c1 Merge branch 'master' of https://github.com/jewalky/UltimateDoomBuilder into visual-slope2 2019-12-31 23:46:56 +01:00
Magnus Norddahl
a18e165d99 Fix geometry constantly being rebuilt in some situations 2019-12-31 03:44:36 +01:00
biwa
ba713f7a25 Ported visual sloping to UDB 2019-12-31 00:08:17 +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
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
ZZYZX
58d2d67e77 Do not try to continuously reload failed textures 2019-12-29 14:25:53 +02: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
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
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
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
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
8b682a658c Fixed wrong icon in auto-update Newsflash 2019-12-24 20:04:20 +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
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
ZZYZX
5d3e78ad8f Add FPS counter for visual mode 2019-12-20 16:17:32 +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
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
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
d1ff6bcc36 Fixed: line can be either dotted or smoothed 2019-12-15 07:20:54 +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