Commit graph

1600 commits

Author SHA1 Message Date
biwa
ba1abbcb4b Sectors mode: fixed a bug where applying floor and ceiling brightness gradients didn't work correctly 2020-08-04 16:25:49 +02:00
biwa
d0a0479579 Export to image: fixed a problem where exported textures were too bright when an increased texture and flat brightness was set in the preferences 2020-08-01 12:28:23 +02:00
biwa
41b2322ae7 3D Floor Mode: increased performance when switching to 3D Floor Mode (mostly noticeable on complex maps) 2020-07-28 23:33:37 +02:00
biwa
c047b98ba4 Sectors Mode: fixed a bug that could cause a crash when drag-selecting over areas that contained sectors after deleting those sectors 2020-07-27 20:18:33 +02:00
biwa
263c555bb4 Added fallback for event line labels to use the default window font is the one specified for labels couldn't be loaded 2020-07-18 15:49:26 +02:00
biwa
11b586e091 Fixed a crash when highlighting undefined things 2020-07-17 20:35:59 +02:00
biwa
b505fb04d7 Fit Textures: entering floating point numbers in the texture repeat boxes is now less infuriating. Resolves #404. 2020-07-16 23:25:07 +02:00
biwa
f204a17298
Improved associations (#440)
Improved associations and event lines. Refactorings to make the whole thing more sensible (hopefully). Options to display labels on event lines (can be configured in Preferences -> Editing).
2020-07-16 22:01:37 +02:00
biwa
a288629a01 Image Exporter: fixed a bug where the texture scale was not applied
Image Exporter: fixed a bug where it always applied the floor offset, even when exporting the ceiling textures
2020-07-12 11:43:25 +02:00
biwa
9d6244ed65 Fixed a bug where the effective size of scaled textures was too small under certain circumstances 2020-07-11 18:43:49 +02:00
biwa
69e5ba79b7 Color Picker: fixed a bug that prevented all intensity and interval sliders to show up for flicker lights 2020-07-09 22:05:30 +02:00
biwa
9abce031d7 OBJ Exporter: replaced default folder selection dialog with something more convenient (and more consistent with the rest of the program) 2020-07-07 22:27:13 +02:00
biwa
f53c892d3a OJB Exporter: fixed a bug where models were flipped on the y axis when exporting for GZDoom 2020-07-07 22:06:27 +02:00
biwa
5b8dc53e99 OBJ Exporter: fixed a crash when trying to export from an unsaved map 2020-07-07 21:52:07 +02:00
biwa
b290af191f OBJ Exporter: checking the "Solid" checkbox now adds to following flags to the actor: INVULNERABLE, NODAMAGE, SHOOTABLE, NOTAUTOAIMED, NEVERTARGET, DONTTHRUST 2020-07-05 23:04:47 +02:00
biwa
6705f261a6 OBJ Exporter: fixed a crash when trying to export geometry with missing textures 2020-07-05 22:52:10 +02:00
biwa
4b467eeeff OBJ Exporter: improved exporting models for use in GZDoom. It can now export models that can be directly used in GZDoom, and also creates the necessary MODELDEF and ZScript/DECORATE code 2020-07-04 21:26:06 +02:00
biwa
cb0cbe827c Visual Mode: auto-aligning flats does not round the panning anymore, making it more precise 2020-06-25 21:02:56 +02:00
biwa
cc3b6dcd7d Image exporter: added options to use sector brightness for the export, create brightmaps (based on sector brightness), and split the image into 64x64 tiles 2020-06-24 22:10:17 +02:00
biwa
5ddbd73916 Sectors Mode: the sectors things are in are only determined if necessary, which should increase performance when switching into Sectors Mode in very big maps 2020-06-21 12:52:36 +02:00
biwa
0017caa419 3D Floor Mode: fixed a crash when duplicating 3D floor geometry and there was not enough space in the control sector area 2020-06-21 01:22:17 +02:00
biwa
dbe0a7b414 3D Floor Mode: increased performance when creating new 3D floors 2020-06-20 14:39:23 +02:00
biwa
08636d1b18 Enabled PDB generation for all plugins in x64 release mode 2020-06-17 22:57:49 +02:00
biwa
b5b2979c8d Added feature to export the selected sectors as an image 2020-06-17 22:22:00 +02:00
biwa
1d9759aedf Improved interaction of auto-alignment with 3D floors 2020-06-16 19:11:03 +02:00
biwa
f432281ec0 Draw Ellipse Mode: fixed a rounding error that could result in wrong shapes under certain conditions 2020-06-16 10:42:28 +02:00
biwa
5618c2d665 Edit Selection Mode, Flat Align Mode: fixed a bug where snapping occurred to wrong positions on lines when the grid was transformed 2020-06-16 09:59:30 +02:00
biwa
4d28727b6d Draw Rectangle Mode, Draw Grid Mode: fixed a bug where the guidelines were show slightly off 2020-06-15 22:13:54 +02:00
biwa
93bba0ca71 Draw Grid Mode: guidelines are now shown correctly if the grid is transformed 2020-06-15 22:03:28 +02:00
biwa
e4a689fe8a Draw Geometry Mode: guidelines are now rotated if the grid is transformed 2020-06-15 21:57:59 +02:00
biwa
572864ba17 Draw Rectangle Mode: fixed a problem where the guidelines were not displayed correctly under certain conditions 2020-06-15 21:37:47 +02:00
biwa
72169060f9 Things Mode: performing the smart grid transform action will now set the grid origin to the selected or highlighted thing
Sectors Mode: performing the smart grid transform action will now reset the grid transform
2020-06-15 21:25:31 +02:00
biwa
4a693a5a5d Vertices Mode: the preview vertex is now correctly shown on intersections between the closest line and the transformed grid 2020-06-15 00:41:22 +02:00
biwa
d43c4e658c Draw Grid Mode: now works correctly with grid transformation 2020-06-15 00:05:04 +02:00
biwa
323a990144 Draw Rectangle Mode: now works correctly with grid transformation 2020-06-14 22:37:37 +02:00
biwa
57b184a9e6 Merged master into duplicate-3d-floors branch
Added some error handling to duplicating 3D floors
2020-06-13 17:00:12 +02:00
biwa
565f1f885b Changed how performing undo interacts with volatile modes (it will now actually perform the undo instead of just canceling the volatile mode) 2020-06-13 15:56:16 +02:00
biwa
14c65dae5b - Only allow Edit Selection Mode to be cancelled once
- Added preliminary code to remove new 3D floor control sectors when pasting was canceled after duplicating 3D floors
2020-06-13 15:35:20 +02:00
biwa
c43c000109 Draw Grid Mode: fixed a crash that happened when having locking slices to grid enabled 2020-06-13 00:30:58 +02:00
biwa
4fbcc11418 Added functionality to duplicate 3D floor control sectors of selected sectors and paste selected sectors with the new control sectors assigned 2020-06-13 00:24:24 +02:00
biwa
a6dbd2c258 3D Floor Mode: fixed a bug with the "Detach all" and "Split all" that would create (and immediately delete) redundant control sectors 2020-06-11 00:04:20 +02:00
biwa
b5d8985e70 3D Floor Mode: added "Split all" and "Detach all" buttons to 3D floor editing window 2020-06-10 22:54:02 +02:00
biwa
cce50e9376 Hopefully fixed broken auto alignment of certain sloped 3D floors (without breaking anything else) 2020-06-09 22:10:15 +02:00
biwa
0590216c73 Slope Arch Form: added option to invert the arch 2020-06-08 23:45:08 +02:00
biwa
95dd6e284e Draw Grid Mode: number of slices less than 3 will now be remembered correctly
Draw Grid Mode: added option to to draw the slices relative to the origin of the drawing (so that you don't have to change the slice interpolation all the time)
2020-06-08 23:00:14 +02:00
biwa
cb6f6e1d93 Added missing images for arch slope dialog 2020-06-08 21:10:51 +02:00
biwa
5b89a9d4cb Added missing files to the Mono project file 2020-06-08 21:06:39 +02:00
biwa
6e4bb04516 Merge remote-tracking branch 'origin/master' into arching 2020-06-08 20:58:45 +02:00
biwa
d01cbb2c37 Some code cleanup
Added comments to code
2020-06-08 20:58:00 +02:00
biwa
f5d12e06df Improved slope arching form 2020-06-07 18:01:19 +02:00
biwa
d6d579ab76 Some refactoring
Made sloping work more reliably with irregularly shaped sectors
2020-06-06 11:51:09 +02:00
biwa
9855436fa6 3D floor mode: fixed a problem where splitting a 3D floor didn't work correctly when some selected sectors didn't belong to that 3D floor 2020-06-05 19:49:38 +02:00
biwa
f93a13c1f2 Fixed base heights for 3D floors
Improved handling of changing input boxes in slope arching form
2020-06-05 18:37:48 +02:00
biwa
b04cafd016 Added missing file 2020-06-04 17:12:56 +02:00
biwa
2fe9345e76 Updated project file 2020-06-04 15:48:23 +02:00
biwa
aaa252bd35 Moved slope arching code into its own class
Improved functionality
2020-06-03 23:34:22 +02:00
biwa
b4e89974bd Added dialog to modify the slope arch 2020-06-01 21:57:17 +02:00
biwa
4e36099b22 Arching works... kind of 2020-06-01 17:16:13 +02:00
biwa
0a6ee07ba1 3D Floor Mode: fixed a bug that would not increment the sector tags correctly if a tag range is used 2020-06-01 11:54:25 +02:00
biwa
aecb1e67b7 Preliminary code for arching 2020-06-01 09:50:35 +02:00
biwa
e3e76c2b40 Edit Selection Mode: fixed a bug where the control sectors of sloped 3D floors were not updated correctly when one 3D floor was applied to multiple sectors 2020-05-30 17:32:17 +02:00
biwa
82f019b8bd Fixed a potential crash when undoing while having slope handle picking enabled 2020-05-30 16:41:05 +02:00
biwa
c164139d5e Fixed some more places where values given to new UniValue were cast to float instead of double 2020-05-26 18:49:42 +02:00
biwa
342ea4f518 Trying to fix jittery camera when being really far away from the map origin (didn't fix it yet) 2020-05-23 10:37:42 +02:00
biwa
bdc6a23934 Fixed some more cases where UniValues were set to floats. Added throwing exceptions to the UniValue constructor (gasp!) 2020-05-23 10:01:52 +02:00
biwa
9338d1221f Removed lots of unnecessary casts to float of the Math methods. Also removed some other minor implicit casts 2020-05-22 22:30:32 +02:00
biwa
ab81b17554 More conversion from float to double. Doesn't seem to crash anymore. 2020-05-22 21:39:18 +02:00
biwa
91cbcde1eb It's compiling! 2020-05-21 14:20:02 +02:00
biwa
fb3c9e7168 Started conversion from float to double 2020-05-18 18:14:54 +02:00
biwa
66be0af555 Edit Selection Mode: flipping now works on plane equation slopes 2020-05-17 22:45:33 +02:00
biwa
a5a658cc57 Edit Selection Mode: rotating sectors with plane equation slopes now works correctly if the sectors are not rectangular 2020-05-17 15:01:21 +02:00
biwa
bccb1ace56 Some refactoring to remove convoluted code 2020-05-17 12:18:58 +02:00
biwa
caf7477d75 Edit Selection Mode: slopes of 3D floor control sectors are now properly updated when moving/rotating sectors (only when not pasting) 2020-05-17 11:48:58 +02:00
biwa
fd41361f6d Fixed an issue in Edit Selection Mode that could cause Out Of Memory exceptions with vertices that are slightly off grid in the 32 bit version 2020-05-16 13:22:33 +02:00
biwa
4fd976feb9 Using Edit Selection Mode on sectors with plane equation slopes works correctly now (flipping still doesn't work) 2020-05-16 12:26:16 +02:00
biwa
f0bfc74702 Decoupled plane equation slopes from sector heights. This means that changing sector heights will not change those slopes (use the offset box in the "slope" tab of the Edit Sector Dialog instead) 2020-05-16 10:40:24 +02:00
biwa
47cec444b5 Slopes of 3D floor are now preserved when dragging the tagged sectors
Added option to lock texture offsets of 3D floors when dragging the tagged sectors
2020-05-03 17:25:07 +02:00
biwa
c0bdae79b8 Fixed a crash that happened when entering Edit Selection Mode while performing the Edit action 2020-04-30 20:22:26 +02:00
biwa
594fe0403d Removed DebugConsole functionality in non-debug builds 2020-04-26 00:58:42 +02:00
biwa
684e366248 3D Floor Mode: allow pasting for texture names with more than 8 characters in the 3D floor editing window 2020-04-21 22:56:19 +02:00
Magnus Norddahl
8eb522c873 Move vpo native code into BuilderNative as it is easier to manage. The plugins folder doesn't support including native dlls properly anyway.
Fix visplane explorer busy looping when waiting for data and reduce the used core count to 75% of the total available
Made vpo native code thread safe, removing the need for ungodly DLL patching hacks
2020-04-19 15:56:24 +02:00
Magnus Norddahl
db44d411c7 Fix black output from visplane explorer 2020-04-19 14:19:18 +02:00
biwa
f4e9556262 Significantly reduced video memory usage when pasting sectors. Should also significantly increase speed when pasting many sectors. Fixes #400. 2020-04-19 11:58:55 +02:00
biwa
29e96f965f Removed default hotkeys from visual sloping actions 2020-04-11 21:19:08 +02:00
biwa
a5a78aa248 Added paint select to 3D Floor Mode
Fixed multi select in 3D Floor Mode to work when starting to drag inside a sector
2020-04-11 11:52:31 +02:00
biwa
b83467148b Fixed a crash in Edit Selection Mode when visual sloping was previously used to make the slope of a sector perfectly planar 2020-04-11 10:51:25 +02:00
biwa
138c96bb13 Moved smart grid transform into Linedefs Mode and Vertices Mode, so it also works when simply highlighting a linedef or vertex. When doing smart grid transform on a linedef it'll also use the vertex closest to the mouse cursor as the origin instead of always the start vertex 2020-04-11 10:42:41 +02:00
biwa
65eec24af4 3D Floor Mode: using tab in the 3D floor editor window now cycles through the input fields in a sane order 2020-04-10 12:20:01 +02:00
biwa
ac73ca7422 Fixed a crash that would happen when the line slope things (9500/9501) are used but the linedef they are tagged to doesn't have a front sidedef. Fixes #398. 2020-04-10 12:11:42 +02:00
biwa
a09b9b93e4 BuilderModesMono.csproj needs the fix too, of course. 2020-04-10 11:04:00 +02:00
biwa
ff5cea7ba3 Fixed rare potential crash when raising/lowering floors/ceiling to the closed neighbor 2020-04-07 21:18:07 +02:00
biwa
a373421abd Copy'n'paste should now work correctly with plane equation slopes 2020-04-04 22:02:13 +02:00
biwa
560d4a5828 When auto-aligning textures on floors/ceilings they can be scaled independently on slope type
Added option to select behavior (Tools -> Preferences -> Editing) of scaling when auto-aligning textures on floors/ceilings (use base scale of 1 (default), use current scale as base, never scale)
2020-04-04 18:03:40 +02:00
biwa
a3ce81dc2b Merge branch 'master' into visual-slope2 2020-04-04 13:12:20 +02:00
biwa
ef4c763879 Fixed display and auto-align issues when using hires texture replacements with local scaling 2020-04-02 22:46:40 +02:00
biwa
3f4a0a0e23 Aligning textures on the X axis now works correctly with negative scale values when world panning is not enabled. 2020-03-29 12:49:05 +02:00
biwa
91e0f8d56c Fixes for raisesectortonearest and lowersectortonearest action when used on slope handles to account for float rounding errors 2020-03-21 01:19:04 +01:00
biwa
f5baa09684 The raisesectortonearest and lowersectortonearest now work with visual slope handles 2020-03-19 16:16:08 +01:00
biwa
7b0adadbfb Merge branch 'master' into visual-slope2 2020-03-17 22:10:04 +01:00
alexey.lysiuk
127aff5cc4
Fixes for non-Windows platforms (#371 by alexey-lysiuk) 2020-03-17 21:37:58 +02:00
biwa
0282f34324 3D Floor Mode: Don't set valid plane equation when the the surface isn't sloped 2020-03-15 10:39:26 +01:00
biwa
4ae5f32004 3D Floor Mode: splitting/detaching 3D floors now preserves slope equation slopes 2020-03-14 21:31:24 +01:00
biwa
c34b6e310a Rotating sectors with plane equation slopes in Edit Selection Mode works properly now 2020-03-14 20:06:30 +01:00
biwa
e798450abd The sloping between handles action is now a bit more convenient and tries to figure out what the user wants to do even if not exactly two slope handles are selected. 2020-02-24 13:57:26 +01:00
biwa
afef349220 - Slope handles are not shown anymore when showing selection is disabled
- Smart pivot handles are now shown for the highlighted slope handle
2020-02-24 12:54:59 +01:00
biwa
37e8154556 - Some refactoring
- Added action to slope selected floors/ceilings between selected slope handles (default key: Ctrl-F)
- Added Shift-W as default key to toggle visual slope picking
2020-02-23 12:44:59 +01:00
biwa
915d83c92a - If geometry is selected and the geometry the modified slope handle belongs to is not selected it will now also be modified
- Made the slope handles hover closer to the geometry
2020-02-23 11:17:14 +01:00
biwa
631ccc12af Slope handles can now be set as pivot while other surfaces are selected 2020-02-23 00:48:47 +01:00
biwa
9c3d8d46ba It's not possible to have a slope handle be selected and set as pivot at the same time 2020-02-23 00:09:57 +01:00
biwa
1b79d9f6c4 Improved drawing length of slope handles on sloped lines (still too short, possibly because of aspect ratio correction?) 2020-02-19 23:03:32 +01:00
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
Magnus Norddahl
fc7093b959 Load images when they accessed
Load previews when they are accessed
2020-01-12 23:10:57 +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
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
ZZYZX
83d3796da3 Fixed assembly reference issues in 3DFloorMode 2019-12-15 00:11:15 +02:00
ZZYZX
f0aee1e174 Merge branch 'master' into slimgl_merge 2019-12-14 23:50:40 +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
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
7c7d3cbea4 @ Cleaned up some annoying debug messages in 3D Floor Mode 2019-10-31 21:29:55 +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
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
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
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
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
Magnus Norddahl
15a7f02617 Create mono projects for all the plugins 2019-08-31 14:14:25 +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
Magnus Norddahl
21b46010c1 Merge remote-tracking branch 'origin/master' into slimgl 2019-08-08 04:07:00 +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
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
97d4fdd78a @Fixed some compiler warnings 2019-06-15 21:26:43 +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
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
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
a1d28e1e56 Grid rotation and alignment functionality (PR#252 by Volte) 2019-01-14 20:07:08 +02: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
1933b0b6de Changed Resource directory browser to use Win7 folder dialog, not Win9x one (reported by dpJudas) 2018-07-13 07:56:13 +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
ZZYZX
320b5f017f Updated Unreal model loading to the fixed behavior in GZDoom - axes were remapped incorrectly (I blame Marisa_Kirisame) 2018-05-28 11:00:57 +03:00
ZZYZX
8af4a46c5b Actually fixed vertex axes in Unreal models. Fixed the order of rotations in MODELDEF Offsets (this was not releavent to Unreal issues) 2018-05-28 04:06:21 +03:00
ZZYZX
260ffbe57b Fixed skin remapping method 2018-05-27 23:25:17 +03:00
ZZYZX
85f00ab9d7 Added multiple texture support for Unreal models 2018-05-27 21:05:57 +03:00
ZZYZX
db36293462 Added platform information to the saved error report 2018-04-16 03:22:24 +03:00
ZZYZX
e9c83d0646 Fixed: GZDB was built against wrong SlimDX version (including 64-bit which was built against 32-bit SlimDX) - (reported by StrikerMan780, leodoom85, Rockstar Racoon) 2018-04-16 01:51:57 +03:00
ZZYZX
a2a6004a61 Fixed (?): The new .NET 4.6.x JIT method inlining was fucking with GetCallingAssembly-based plugin detection 2018-04-15 01:59:58 +03:00
ZZYZX
d9dfab64a0 Made some edits to the build scripts and auto-update routine to support 64-bit updating 2018-04-14 18:11:40 +03:00
jewalky
0b14bdeec1
GZDB native 64-bit binary support (PR#197 by StrikerMan780) 2018-04-14 16:55:21 +03:00
ZZYZX
0a5a2e81e0 Updated ZDoom ACC to the latest dev build (reported by printz) 2018-04-10 21:07:55 +03:00
ZZYZX
9742a9f7bb Added UDMF desaturation preview in visual modes 2018-04-10 19:41:44 +03:00
ZZYZX
88d98acd49 Fixed: zero-radius point lights would crash upon entering things mode (reported by blood) 2018-03-31 14:13:35 +03:00
ZZYZX
f7c2a577e4 Fixed: made more correct checking for legal file formats; now it should actually validate the format upon loading 2018-03-31 13:38:30 +03:00
ZZYZX
abdacb32df Fixed: flats are now unconditionally detected as Doom Flat if they are exactly 4096 bytes long and inside F_ markers or flats directory. (reported by Chickenlegz) 2018-03-31 13:07:41 +03:00
ZZYZX
efd2ded0b3 Made 2D spotlight projection even more accurate (reported by Gutawer) 2018-02-04 13:20:11 +02:00
ZZYZX
a0ef5209b7 Fixed light color picker to work with spotlights 2018-02-04 09:18:02 +02:00
ZZYZX
f97b0b2ee8 Made 2D spotlight projection more accurate 2018-02-04 07:28:41 +02:00
ZZYZX
4462224aaa Oops quickfix: inherited generic lights did not work 2018-02-04 06:30:50 +02:00
ZZYZX
089906bac0 Removed leftovers of default string value implementation 2018-02-04 02:50:46 +02:00
ZZYZX
d8bee559dc Did some maxcode refactoring about dynamic lights; added initial spotlight support (at least they are recognized as lights now) 2018-02-03 22:31:43 +02:00
ZZYZX
8375ece252 Fixed collection modification inside foreach. (reported by Lud) 2018-01-22 13:20:12 +02:00
ZZYZX
3f35731914 Fixed: allow dotted identifier in array dimensions 2017-09-06 18:57:25 +03:00
ZZYZX
e7328e4caa Added support for non-1.2 pixel ratios if view stretching is enabled (reported by Nash); Fixed: map names in quotes were not recognized properly. 2017-08-27 08:10:22 +03:00
ZZYZX
b8e68083c0 Fixed: BaseVisualMode object was used before fully initialized (reported by Martix10) 2017-08-24 16:24:42 +03:00
Mistranger
7168ad2095 Add "Mouse selection threshold" option (#141 by Mistranger)
* Mouse selection threshold

* Cleanup

* Fix selection bug
2017-08-24 16:24:03 +03:00
ZZYZX
c9162c6f26 Fixed: builtin dynamic lights were rendered at wrong height (reported by +Ku6EPyXOBEPTKA+) 2017-08-10 16:01:22 +03:00
ZZYZX
a122dacf1d Added lights on models 2017-07-26 18:35:22 +03:00
ZZYZX
febc91ad3d Fixed (?) esoteric plugin issue 2017-07-25 20:16:15 +03:00
biwa
131c51d7d2 Added improvements to the "Fit Texture" action: (#124) (by biwa)
- Dialog can't be resized anymore
- Dialog can be canceled by pressing the escape key
- Changed input boxes to the appropriate GZDB version, so steps and modifier key work correctly
- Added checkboxes to automatically fit the textures optimally based on the width/height of the line(s) in respect to the width/height of the texture
- Added input boxes to manually set a width/height pattern size of the texture that will be used when automatically fitting textures
2017-07-18 14:56:27 +03:00
ZZYZX
f14a4bd64a Added new flags for internal dynamic lights (reported by Nash) 2017-06-20 21:30:00 +03:00
ZZYZX
7603e5fa30 Fixed: INHERITACTORPITCH was actually changed along with USEACTORPITCH...doesn't really make sense compatibility-wise but there it is. (reported by alekv) 2017-05-29 06:38:11 +03:00
ZZYZX
d9d8c352a0 Fixed: pitch formula was duplicated and not changed in one of the places. (reported by Ozymandias81) 2017-05-10 22:53:30 +03:00
ZZYZX
0e43985f65 Fixed: flipped +USEACTORPITCH direction for recent GZDoom versions; this can be reverted by putting "buggymodeldefpitch = true;" in the game configuration for your specific projects if they are using old GZDoom versions. Note: already added for Zandronum. 2017-05-10 06:13:33 +03:00
ZZYZX
04324cd140 Fixed (?) cross-thread bitmap usage. (reported by Xane123) 2017-05-09 06:06:21 +03:00
ZZYZX
ad6ae1112e Fixed: render sorting issues with multiple translucent 3D floors next to each other on different heights 2017-04-29 13:56:17 +03:00
ZZYZX
de7445b786 Fixed nested template types handling in ZScript parser 2017-04-17 12:40:58 +03:00
ZZYZX
0c4051a5a0 Fixed 0.5/1.0 second sector light blinking specials (reported by printz) 2017-04-11 04:45:04 +03:00
ZZYZX
3d943f12bc Fixed: Internal: added off-grid vertices check to BuilderModes project 2017-04-11 04:33:41 +03:00
davidxn
08b15cb80c Added error check for vertices with non-integer positions (#94 by davidxn) 2017-04-10 16:52:10 -04:00
ZZYZX
983dea1b8a Fixed: all the old magic in SafeDistanceToSq is now only working for non-UDMF maps 2017-04-04 14:06:08 +03:00
ZZYZX
356eac34e2 Internal: Oops: removed debug leftovers (x2) 2017-04-03 20:45:51 +03:00
ZZYZX
b80c8febff Internal: Oops: removed debug leftovers 2017-04-03 20:42:34 +03:00
ZZYZX
a2c9de393e Fixed: changing flat names around is wrong... (reported by Lud) 2017-04-03 20:40:51 +03:00
davidxn
3013723e91 Improve MakeDoor form - options for line special and tag (PR #91 by davidxn) 2017-04-03 04:20:40 -04:00
ZZYZX
153c63b5d2 Fixed: the model should be Z-scaled to 0.83 even in unstretched view to ensure that models fit the geometry right (reported by Ozymandias81) 2017-03-29 04:11:05 +03:00
ZZYZX
bb650fa679 Updated ZScript parser to support abstract on classes 2017-03-28 15:07:12 +03:00
ZZYZX
10aa7e9493 Fixed translucent sprites. Added visual stencil color preview. (reported by Lud) 2017-03-25 05:19:42 +02:00
ZZYZX
816e61d110 Added: binding actions to horizontal mouse wheel 2017-03-25 03:47:18 +02:00
ZZYZX
480a11529c Fixed: 3D floor with translucent texture but 255 alpha was rendered opaque. 2017-03-19 18:19:14 +02:00
ZZYZX
e9030bd5d8 Readme: devbuilds link should point to the right page. 2017-03-18 19:33:12 +02:00
ZZYZX
814fdd9027 Fixed: texture copy/paste in the visual mode was detected as failed pasting and caused a beep. (reported by DOOMGABR, abbuw, Turret_Master) 2017-03-17 17:48:14 +02:00
ZZYZX
53ce14fc43 Internal: fixed compiler warnings 2017-03-15 08:52:53 +02:00
ZZYZX
579b90a13c Fixed: the old way of checking for GZDB's directory writability would not work in certain versions of WINE/Mono 2017-03-14 20:31:04 +02:00
ZZYZX
dceeed6bee Fixed: removing a thing should also remove it from the visible things list. (reported by DOOMGABR) 2017-03-13 03:26:50 +02:00
ZZYZX
36af342423 Internal: removed debug code from Renderer3D. 2017-03-13 03:12:24 +02:00
ZZYZX
35f8c5e10e Fixed: cutting a thing in visual mode would leave disposed BaseVisualThings in the selection. (reported by DOOMGABR) 2017-03-13 03:10:07 +02:00
ZZYZX
9bd51a0186 Updated ZDoom ACS compiler 2017-03-12 13:26:28 +02:00
ZZYZX
ee28f1d094 Made Skulltag item sprites optional to support default Skulltag+Zandronum config without producing 100 errors 2017-03-09 19:09:08 +02:00
ZZYZX
ce6074fd9f Internal: Oops: removed useless leftover file 2017-03-09 18:01:08 +02:00
ZZYZX
509fb55e62 Fixed field caption for floor glow color. 2017-03-09 01:32:20 +02:00
ZZYZX
957314a9ac Fixed: field name for things is called color_sprites. 2017-03-09 01:24:31 +02:00
ZZYZX
87a2a14d7c Fixed: FAIL medal sprite in zandronum.pk3 was not parsed correctly 2017-03-08 23:34:21 +02:00
ZZYZX
4611aa1bc8 Added more specific debug logging to random NullPointerException crash place 2017-03-08 05:35:56 +02:00
ZZYZX
717e48edbb Fixed: for scaled walls, texture offsets should not be scaled (reported by Tormentor667) 2017-03-07 03:06:15 +02:00
ZZYZX
92825a0870 Updated ZScript parser to the latest syntax 2017-03-06 06:07:19 +02:00
ZZYZX
8c36eafbff Fixed state lookup logic for sprite guessing; it should always prefer SPRITE_CHECK_STATES to using the random first frame. 2017-03-04 16:50:46 +02:00
ZZYZX
522c1e3ff9 Fixed: never pick up POL5 frame definition from Actor::GenericCrush. Ew, blood. 2017-03-04 02:25:10 +02:00
ZZYZX
4b1a31c3ca Fixed: duration 0 frames should be skipped if there are nonzero frames after them (reported by Tormentor667, Ozymandias81). Fixed crash if some actor had a modeldef entry but doesn't anymore. 2017-03-04 02:13:39 +02:00
ZZYZX
52e771fe1d Internal: Fixed: builtin light alteration by actor flags logic in GetGZLightTypeByClass 2017-03-02 00:57:29 +02:00
ZZYZX
61085027c2 Fixed: actor flags with inheritance from GZDoom dynamic lights (i.e. PointLight) 2017-03-02 00:36:33 +02:00
ZZYZX
748fe9e2e5 Fixed: inheritance from game configuration for dynamic lights; Fixed: visual representation of inherited lights (reported by Nash); Fixed: inherited thing arguments from game configuration; Added: //$ClearArgs for clearing inherited arguments. 2017-03-02 00:21:08 +02:00
ZZYZX
125844b308 Fixed: sprite replacements with different rotation count weren't handled correctly. (reported by DOOMGABR) 2017-03-01 18:35:15 +02:00
ZZYZX
6661ed44e3 Fixed: saving a script would reset scrolling to the top 2017-02-26 12:03:39 +02:00
ZZYZX
72352792c9 Changed: just use //$ArgNStr to check if arg0str is supported. If the argument is present, arg0str will be shown. 2017-02-25 11:08:27 +02:00
ZZYZX
1a8b9d404f Added: search&replace support for non-script arg0str 2017-02-25 10:31:25 +02:00
ZZYZX
e7ed533e3a Added: arg0str for non-script specials in Search (only output, matching and replacement not work yet) 2017-02-23 15:10:08 +02:00
ZZYZX
3748ea6398 Fixed: handling of arg0str in non-script specials in info panel; default arg0str. 2017-02-23 15:01:36 +02:00
ZZYZX
3ac39598db Fixed: forgot to add ZDaemon_common.cfg; Fixed: Internal: removed hardcoded arg0str only for scripts 2017-02-23 13:54:42 +02:00
ZZYZX
1cb3682c6b Updated ZDaemon configuration and related files (13.02.2017 by Krawa) 2017-02-20 13:42:12 +02:00
ZZYZX
e2fa70cd0f Internal: Oops: removed debug logging 2017-02-20 08:21:56 +02:00
ZZYZX
dba7088681 Internal: threw out a lot of unoptimized code in TraceSector. Now using Tools.FindPotentialSectorAt. 2017-02-20 08:14:07 +02:00
ZZYZX
6988bae720 Fixed: check for mathing argument lists was doing god-knows-what. Should now be ok. 2017-02-20 07:30:00 +02:00
ZZYZX
679f2eec62 Fixed: check for matching argument lists was severely broken and was resetting or not resetting almost randomly 2017-02-20 07:26:59 +02:00
ZZYZX
271df46f2a Added: script editor will now automatically trim trailing whitespace on save. 2017-02-20 07:07:44 +02:00
ZZYZX
bd00eef8de Fixed: preferences window size was off 2017-02-19 08:40:30 +02:00
Xabis
a886a53e75 * A direct tag-to-tag relationship can now be established between two things, which allows event lines to be properly setup between them. This is intended for interpolation and patrol specials which are linked via a shared tag, instead of an argument. A POSITIVE value represents the parent thing, where a NEGATIVE value represents the child thing.
* Added interpolation and patrol point specials to the persistent event line processing
2017-02-14 12:33:50 -05:00
ZZYZX
4a62478545 Fixed: 'Save into' would detect non-map lumps with the same name as maps and ask if you want to save over... 2017-02-14 17:48:31 +02:00
ZZYZX
780482f429 Fixed: consequential duplicate maps weren't handled properly 2017-02-14 15:39:35 +02:00
ZZYZX
d9eecbdc5e Internal: reverted mysterious MaxED edit in map saving functions 2017-02-14 12:13:53 +02:00
ZZYZX
b996d8a380 Internal: not copying all lumps manually anymore on 'Save As'. The WAD is copied with File.Copy anyway. 2017-02-14 11:56:38 +02:00
ZZYZX
db1db76b4b Fixed: Doom64 lighting was not displayed in 2D modes 2017-02-13 02:06:29 +02:00
ZZYZX
6bb79c1c8b Fixed: Internal: StairSectorBuilder wasn't marked as dependent on Builder project 2017-02-13 00:23:26 +02:00
ZZYZX
946e805138 Added: action numbers in linedef action selection dialog; Fixed: improper usages of 'Window' white color in place of 'Control' gray color in dialogs. 2017-02-12 20:58:19 +02:00
ZZYZX
bffb499ffb Fixed: removed useless rounding to 1px in Draw Curve, Draw Ellipse, Draw Rectangle, Draw Grid tools; this performed incorrectly with grid sizes less than 1px 2017-02-12 18:35:11 +02:00
ZZYZX
251c89f3e9 Supposedly fixed handling of multidimensional arrays in ZScript, as well as specifying array dimensions in the type 2017-02-11 17:47:07 +02:00
ZZYZX
02d5ce4c3b Internal: Oops: missing files 2017-02-10 12:32:35 +02:00
ZZYZX
db9bb4f4fd Info panel might work a bit faster now 2017-02-09 19:14:05 +02:00
ZZYZX
e3ebe7dcdf Fixed: additive-translucent geometry should not be lit 2017-02-09 16:49:58 +02:00
ZZYZX
d47dd9a533 Fixed: slightly incorrect texture name offsets in classic view in the texture browser 2017-02-09 15:45:50 +02:00
ZZYZX
fbbfaad579 Fixed: changing brightness of upper/lower/middle sidedef did not update the whole sidedef brightness until 3D mode restart 2017-02-09 15:20:39 +02:00
ZZYZX
2b69b38e18 Added dynamic light count = 256 for high end users. Fixed: incorrect attenuated<->subtractive light ordering caused invisible subtractive lights. 2017-02-09 13:28:55 +02:00
ZZYZX
e62bbba9ff Internal: ZScript: now using StringBuilder in the internal tokenizer loops, might speed it up a bit 2017-02-09 04:07:27 +02:00
ZZYZX
7f2f51d48d Added: primitive support for ZScript in the script editor (all classes in the current file are listed) 2017-02-09 02:26:25 +02:00
ZZYZX
1382d144fe Added: basic support for automatic user variables from ZScript classes, currently only for int variables (as supported by GZDoom). 2017-02-08 23:55:38 +02:00
ZZYZX
09b8c27dab Merge anotak's optimizations - stage 1 2017-02-08 14:18:01 +02:00
ZZYZX
34d1af9446 Reverted anotak's PR: it causes 'Cancel' button in Edit windows to automatically do undo or something similar, breaking maps completely 2017-02-07 20:02:31 +02:00
anotak
b5f7db1d50 Speedup on opening properties windows 2017-02-06 22:53:00 -06:00
ZZYZX
6971f6dfaf Internal: ~ConfigurationInfo destructor might be called before full construction took place 2017-02-04 22:03:32 +02:00
ZZYZX
5a5c6d0467 Internal: ZScriptTokenizer shouldn't reinitialize static stuff on every construction 2017-02-04 17:25:48 +02:00
ZZYZX
e6ca49581a Fixed: links should now open in the default browser and not what GZDB thinks to be the default browser.
Fixed: ZScript parser should no more crash on severely invalid code.
2017-02-03 09:15:54 +02:00
ZZYZX
7e502a1fa2 Fixed: color_absolute is not actually in GZDoom 2017-02-02 07:34:29 +02:00
ZZYZX
cb8473fa09 Added: 3D floor should be affected by control sector's color_floor and color_ceiling. 2017-02-01 20:16:42 +02:00
ZZYZX
76b2b1be10 Added: an option to display image sizes below names, not over texture previews 2017-02-01 19:10:22 +02:00
ZZYZX
71440fb21e Implemented more reliable dynlight-surface angle clip threshold 2017-02-01 17:29:08 +02:00
ZZYZX
fc7b9ec9a8 Removed dynlight-surface angle clip threshold - it didn't work properly anyway 2017-02-01 16:53:19 +02:00
ZZYZX
469942d263 Fixed: glow should apply before Doom64 coloring 2017-02-01 09:57:00 +02:00
ZZYZX
42c2fc2044 Added: rendering of Doom64 lighting 2017-02-01 09:48:13 +02:00
ZZYZX
b80ead1202 Added custom fields for Doom64 lighting in the ZDoom configuration 2017-02-01 08:29:14 +02:00
ZZYZX
24c8b0497c fixed: First and last texture entires could never be selected using up/down controls 2017-01-30 06:20:48 +02:00
ZZYZX
1cd255fb4e Fixed: autoaligning and limited floodfill didn't work for selection. 2017-01-29 04:56:17 +02:00
ZZYZX
f4947a20be Added: more magic to the autoalign/select neighbours logic; These functions should not anymore wrap around to the opposite side of two-sided linedefs, allowing you to select back and front sides separately using shift+click, and reducing infinite broken autoalign loops. 2017-01-26 15:33:07 +02:00
ZZYZX
dd48b5edfd Fixed: internal images were a bit broken by the previous commit 2017-01-26 12:01:11 +02:00
ZZYZX
7de5d10c0f Fixed: long texture names are no longer activated for Doom flat images (GZDoom doesn't support these) 2017-01-26 09:09:22 +02:00
ZZYZX
5ebdbd12d5 Fixed: 65:Plat_UpByValue had incorrect argument description 2017-01-25 17:31:03 +02:00
ZZYZX
4c636a6d9a ZScript: added support for //$GZDB_SKIP special comment in the root scope. 2017-01-21 04:16:42 +02:00
ZZYZX
8c9514fba5 Fixed: broken previous gitbuild 2017-01-21 03:44:42 +02:00
ZZYZX
a5a942c798 Fixed: lump saving in script editor after editing archive with SLADE.\n Fixed: checking for concurrent modification in script editor while trying to save the lump. 2017-01-21 03:14:21 +02:00
ZZYZX
49f55120ad Added: GLDEFS support for 'attenuate 1' keyword 2017-01-20 00:27:36 +02:00
ZZYZX
30a5edfdfe Added: attenuated dynamic light support 2017-01-20 00:17:43 +02:00
ZZYZX
819ef6490e Fixed: wild exception while replacing ZScript actor from DECORATE 2017-01-19 09:16:55 +02:00
ZZYZX
55b24eef39 Fixed: ZScript: scale property should be expanded into xscale and yscale; Fixed: if actor's Spawn state starts with TNT1, first non-TNT1 frame will be used 2017-01-18 08:35:26 +02:00
ZZYZX
87fdd67fd6 ZScript: himBHcomment arguments should be stripped of whitespace 2017-01-17 20:34:19 +02:00
ZZYZX
7a70ac8c17 Internal: removed parser stuff from ActorStructure, StateStructure, StateGoto classes 2017-01-17 11:40:58 +02:00
ZZYZX
c1387a8e7e Internal: refactored ZScriptTokenizer.ExpectToken for less redundancy 2017-01-17 10:19:48 +02:00
ZZYZX
dc72c533ca ZScript: fixed odd cases of inheritance (class SpecialShotgun : Shotgun replaces Shotgun) causing stack overflow 2017-01-17 07:29:01 +02:00
ZZYZX
05a160b533 ZScript: moved actor inheritance code to separate step; ZScript: ported game configuration inheritance code from DECORATE 2017-01-17 07:13:28 +02:00
ZZYZX
0787f96042 GLDEFS, MODELDEF: Included ZScript actors in missing class check 2017-01-17 06:53:20 +02:00
ZZYZX
3bdfadc1d7 ZScript: implemented 'transient' and 'property' keywords 2017-01-17 06:41:33 +02:00
ZZYZX
17fb9157df Fixed: MAPINFO parser wouldn't take quoted OutsideFogDensity 2017-01-17 04:51:12 +02:00
ZZYZX
76ce87eace Fixed null reference access while searching for superclass state; Fixed incorrect parsing of random() in frame duration; Fixed incorrect parsing of quoted sprite names 2017-01-16 14:10:11 +02:00
ZZYZX
38ffc861cb Internal: started implementing ZScript parser. Nothing works for now, aside from the actual parsing code. 2017-01-16 00:00:45 +02:00
ZZYZX
96ffb78678 Finished upgrading to VS2015 2017-01-15 18:12:49 +02:00
ZZYZX
e0fb41d37f Changed ZDoom/GitHub links so that people can report issues to the correct page 2017-01-15 06:30:53 +02:00
ZZYZX
5e11072970 Added IOException handling to image loading from disk (fixes GZDB Git issue #8) 2017-01-15 05:12:19 +02:00
ZZYZX
8277d7b63c fixed: Classic Texture Select: selected item in white background is supposed to be blue;
fixed: Texture Select: visible items were not clipped correctly;
fixed: 128x128 texture previews were too large for small window size in Texture Set editor
2017-01-15 03:40:11 +02:00
ZZYZX
741897af76 Actually changed the product name 2017-01-15 01:40:19 +02:00
ZZYZX
668cb13794 Updated GIT build batch 2017-01-15 01:22:39 +02:00
ZZYZX
5821152368 Always show the revision number in window title, also renamed to GZDB-Bugfix 2017-01-15 01:14:15 +02:00
ZZYZX
ebd7fb1a57 Upgrade to VS2015 (14.0) 2017-01-15 00:35:40 +02:00
ZZYZX
36381c51bb Should not have used textures category if not having them on top 2017-01-09 07:01:01 +02:00
ZZYZX
819d27885b Initial classic view mode in texture browser 2017-01-09 06:47:58 +02:00
m-x-d
2b24ce3c25 Updated, Textures Browser: texture name length is now taken into account when calculating the width of texture items.
Internal: moved thing helper shapes creation logic from ThingsMode to LinksCollector.
2017-01-09 01:04:55 +03:00
MaxED
1c684f7213 Added, Things mode, Visual mode: added the ability to specify minimum/maximum argument range hint shapes using special DECORATE comments and Game Configuration properties (loosely based on range finder patch by Xabis).
Updated documentation ("Game Configuration - Action Argument Settings" and "DECORATE keys" pages).
2017-01-06 15:59:41 +03:00
MaxED
cd854779e8 Fixed, Classic modes, UDMF: grid size didn't go below 1 mu. when zooming in when "Dynamic grid size" option was enabled.
Internal: restored GridSetup DB2 compatibility.
Updated ZDoom_ACS.cfg (SetFogDensity, SetSectorGlow).
2017-01-06 13:01:59 +03:00
MaxED
a7d2417844 Visual mode, UDMF: added rendering support for fogdensity and floor/ceiling glow properties.
Internal, build tools: use origin/master to get commits count and current hash instead of local master.
2017-01-04 16:28:36 +03:00
MaxED
be7ba0a05d Added: minimum grid size is now 0.125 instead of 1. 2016-12-27 16:59:20 +03:00
MaxED
a8f4f67f22 Internal: rewritten part of NodesViewerMode to use iteration instead of recursion.
Internal: post build event in Builder.csproj worked only in VS 2008.
2016-12-26 13:37:57 +00:00
MaxED
447851e457 Added, Textures Browser: redesigned textures list. Textures preview size can now be changed from the Textures Browser window. Folders are now shown in the textures list.
Fixed, Script Editor: Find and Replace window now sets keyboard focus to the input textbox when opening the window/switching between tabs.
Fixed, Nodes Viewer mode: SEGS overflows were not handled, causing a crash. Also extended SEGS limit is now used.
Updated ZDoom_DECORATE.cfg (A_SetSize).
2016-12-22 15:04:40 +00:00
MaxED
d73ea867a4 Fixed, Script Editor: MD5 hash of text files stored in PK3 was calculated incorrectly, resulting in false warning messages when saving. 2016-12-22 00:03:58 +00:00
MaxED
cfc92d9075 Added, Draw Lines mode: added "Remove First Vertex" action (Ctrl-Backspace). It removes the first drawn vertex from the drawing session. Renamed "Remove Previous Vertex" action to "Remove Last Vertex".
Changed, Classic modes: added a limit on how far the view can be scrolled from the editable map area.
Fixed, Drag geometry modes: in some cases incorrect vertices were removed when using "Replace with dragged geometry" drag mode.
Fixed, Game configurations: sector special 195 ("Hidden Sector") was missing from Hexen/UDMF specials list.
2016-12-16 21:23:37 +00:00
MaxED
a31c6b6652 Fixed, Script Editor: resources navigator was always loading the first WAD lump with matching name when trying to open any of several WAD lumps with matching names.
Reverted, Visual mode: looks like all additional cases of displaying sky hack added in r2755 were actually undefined engine behaviors, not the "proper" shy hack... Reverted implementation to the wiki definition of the sky hack.
2016-11-30 20:12:32 +00:00
MaxED
019e26f1a2 Fixed, Tag Explorer: in some cases Tag Explorer update logic was switching focus from the Script Editor to the main window. 2016-11-28 22:17:42 +00:00
MaxED
1523d06ee3 Updated, Visual mode: some cases when the sky hack must be applied were not handled.
Updated, Script editor: script editor was unable to show error location after double-clicking on it in the Warnings and Errors window when said location was inside of a WAD located in a PK3 file.
Updated, text lumps tracking: already parsed DECORATE/GLDEFS lumps are now added to the text lumps list even when DECORATE/GLDEFS parsing fails, allowing you to fix errors without the need to use external tools.
Fixed: in some cases the editor could stuck in an infinite loop when searching for wad lumps.
2016-11-28 20:01:47 +00:00
MaxED
aecd017b19 Added, Errors and Warnings window: most of warnings/errors related to (G)ZDoom text lump parsing can now be double-clicked to show warning/error source in the Script Editor.
Fixed: some map format conversion errors were never displayed, because errors list was cleared after performing map conversion.
Fixed: 3d floor indicators in 2D modes were not updated after leaving Visual mode.
Fixed: some UDMF-only interface buttons were never removed after converting map format from UDMF.
2016-11-26 00:02:56 +00:00
MaxED
21cab1d134 Added, Game configurations, ZDoom: Ambient sound things (14001 - 14064) were missing arguments definitions.
Fixed, Make Sectors mode: in some cases sector shape detection logic returned incorrect shape, or no shape at all.
2016-11-21 13:03:19 +00:00
MaxED
0cc5374295 Fixed, Things mode: fixed a crash when deleting Light/Ambient Sound things when "Show Dynamic Light Radii" / "Show Ambient Sound Radii" settings were enabled.
Fixed: WAD lump index was not appended to lump name when reporting errors during ZDoom text lumps parsing.
2016-11-19 20:43:42 +00:00
MaxED
c0b46bc6a5 Added, Game configurations, ZDoom: added Line_SetBlocking (55) linedef action.
Fixed, Draw Rectangle mode: fixed a crash caused by incorrectly changing text labels array when accepting the drawing.
Fixed, "Check unknown ACS scripts" error check: named scripts check was performed incorrectly causing it to fail on script names containing uppercase letters.
2016-11-18 17:34:49 +00:00
MaxED
787b78afcf Fixed, Visual mode, UDMF: "lightfloor" sector property was not applied when calculating thing brightness.
Fixed, Directional Shading mode: "lightabsolute" / "lightfloorabsolute" properties were checked incorrectly.
2016-11-17 00:17:34 +00:00
MaxED
6c38ab263c This somehow evaded previous commit... 2016-11-16 20:43:52 +00:00
MaxED
fb937b9e61 Added "Apply Directional Shading" mode. It can be used to apply directional colored flat shading to sloped terrain sectors (line and vertex slopes are supported) and sidedefs.
Updated ZDoom ACC.
Updated ZDoom_ACS.cfg.
2016-11-16 20:31:04 +00:00
MaxED
8349392829 Fixed: copied sidedef settings were not applied when using "Paste properties" and "Paste properties special" actions in Doom/Hexen map formats. 2016-11-11 12:54:38 +00:00
MaxED
437fe9ce86 Updated, GLDEFS parser: updated glowing texture parsing logic to better match GZDoom logic.
Removed, GLDEFS parser: removed GLOOME glow definitions support code.
2016-11-09 10:07:21 +00:00
MaxED
e776952433 Updated, Curve Linedefs mode: distance/angle are now changed using bigger increments when being modified by mouse-dragging. You can hold Shift to enable increments by 1 unit.
Updated, Curve Linedefs mode: changing angle by mouse-dragging when "Fixed circular curve" option is enabled is now performed in a more predictable way.
Updated, Curve Linedefs mode: generated geometry is now merged with existing geometry.
Added, Curve Linedefs mode: a hint label is now displayed when modifying settings using mouse-dragging.
Added, Curve Linedefs mode: number of curve vertices can now be changed using LMB+RMB-drag.
2016-11-01 20:44:40 +00:00
MaxED
9534a20eb3 Optimized map geometry merging performance when creating drawn lines.
Optimized map geometry merging performance when pasting map geometry.
Added, Curve Linedefs mode: added "Flip Curve" button.
Updater: partially rewrote fix from the previous commit.
2016-10-31 18:52:29 +00:00
MaxED
4c2b60926c Silenced some compiler warnings... 2016-10-28 21:32:52 +00:00
MaxED
3e132f1cf2 Changed, Curve Linedefs mode: re-designed the mode UI. Alternative control options are now available (check Help tab while the mode is active).
Changed, Curve Linedefs mode: changed curve generation logic. Setting Distance to 0 will now divide selected linedefs into equal parts.
Changed, Curve Linedefs mode: curve vertices are now drawn.
Updated ZDoom_DECORATE.cfg.
2016-10-26 22:33:36 +00:00
MaxED
9908e41197 Added, Game configurations: added "ignoreddirectories" parameter. It lists directory names to be ignored when loading PK3/PK7/Directory resources.
Added, Game configurations: added "ignoredextensions" parameter. It lists file extensions to be ignored when loading PK3/PK7/Directory resources.
Updated: sector triangulation logic now works ~20% faster.
Changed: a case when a pk3/pk7 archive contains several entries with identical filename is now treated as a warning, not as an error.
Fixed, Visual mode: absolute floor/ceiling brightness should not be affected by brightness transfer effects (like 3d floors).
Fixed, Draw Lines mode: in some cases unclosed sectors were created when several points were successively drawn at the same location.
Updated documentation.
2016-10-24 19:19:11 +00:00
MaxED
70d35bf1d6 Added, Edit Sectors window: added UI for floor/ceiling portals.
Updated ZDoom_DECORATE.cfg.
Updated documentation ("Game Configuration - Sectors Settings" page).
2016-10-11 12:58:35 +00:00
MaxED
91e7809fa0 Added, Things mode: sound radii are now shown for "Custom Ambient Sound" and "Custom Ambient Sound (no gravity)" things. 2016-10-05 20:15:38 +00:00
MaxED
53a317c0dd Updated, Visual mode: updated FLATSPRITE support to match the current GZDoom implementation.
Fixed, Visual mode: things in sectors affected by line slope effect were not updated when sector height was indirectly changed.
Game configurations: added "internalsoundnames" property.
Updated documentation ("Game Configuration - Basic Settings" page).
2016-10-04 09:53:38 +00:00
MaxED
07db2506c5 Added, Things mode: minimum/maximum sound radii can now be displayed for ZDoom's Ambient Sound things.
Added, Things mode: added "Show Light Radii" and "Show Sound Radii" main toolbar and View menu buttons.
Fixed, Action arguments control: invisible splitter between args1-3 and args4-5 is no longer draggable.
Updated ZDoom ACC (SetTranslation).
Updated ZDoom_ACS.cfg (SetTranslation).
2016-10-03 11:42:12 +00:00
MaxED
8c6971a437 Changed, Vertices/Linedefs/Sectors/Things modes: selected map element is no longer deselected after accepting Edit window when it was the only selected map element when the Edit window was opening. 2016-09-27 19:39:46 +00:00
MaxED
8cc47ee1b0 Added: guidelines color is now configurable.
Added: guidelines can now be enabled in Draw Rectangle/Ellipse/Grid modes.
Changed, Draw Lines mode: perpendicular guidelines are now drawn for horizontal/vertical lines.
Updated, Draw Ellipse mode: the shape now always touches all sides of the bounding box.
Updated ZDoom_ACS.cfg.
Updated ZDoom_DECORATE.cfg.
Updated ZDoom ACC.
2016-09-26 12:53:50 +00:00
MaxED
9c4969cc02 Changed, Visplane Explorer mode: calculated data is now fully reset when toggling "Open doors" option.
Changed, Visplane Explorer mode: vpo.dll is now initialized when entering the mode instead of after opening a map.
Fixed inconsistent Hexen Puzzle Gears names between game configuration and spawn numbers list.
Updated ZDoom_DECORATE.cfg (GetMissileDamage).
2016-09-22 20:24:32 +00:00
MaxED
9403028903 Fixed, Linedefs mode: linedef selection labels must be updated when performing undo/redo.
Fixed, Things mode: thing selection labels must be updated when performing undo/redo.
Fixed another case of invalid sectors being created after dragging map elements when using "Merge Dragged Geometry" and "Replace with Dragged Geometry" drag modes.
2016-09-18 23:46:24 +00:00
MaxED
bfd57379bb Added, Map Analysis mode: added "Check unknown ACS scripts" error check.
Added, Map Analysis mode: added "Edit Thing..." option to "Unknown Thing" and "Obsolete Thing" error check results.
Added: a warning is now displayed when a thing has both voxel and model attached.
Changed, Thing/Linedef Info panels: unknown ACS script names/numbers are now shown in red.
Fixed, Edit Things window, UDMF: unneeded undo was created when opening the window.
Re-fixed: in some cases invalid sectors were created after dragging map elements when using "Merge Dragged Geometry" and "Replace with Dragged Geometry" drag modes, when at least one of dragged linedef was facing into an enclosed void area (previous fix entirely disabled the associated logic).
2016-09-12 14:08:45 +00:00
MaxED
8aa355bafe Changed: position/size/state of the editor windows are now stored/applied in a uniform fashion.
Fixed: stored windows positions were not checked against current screen bounds, which may have resulted in windows being shown off-screen.
2016-09-10 11:24:03 +00:00
MaxED
7e622fa26d Fixed, Visual mode, UDMF: only the clicked floor/ceiling surface was dynamically updated when changing texture offsets of multiple floors/ceilings by mouse-dragging. 2016-09-08 19:28:47 +00:00
MaxED
c9f125aade Added Rendering toolbar items to the View menu.
Merged "Toggle models, dynamic lights and fog rendering" and "Toggle Geometry Effects" actions into "Toggle Enhanced Rendering Effects" action.
Removed "Dynamic light size" and "Dynamic light intensity" settings.
Updated documentation ("Rendering toolbar" page).
2016-09-07 15:15:07 +00:00