Commit graph

357 commits

Author SHA1 Message Date
MaxED
e611c9347e Fixed: Drag Geometry Mode: dragged sectors, linedefs or vertices were snapped to 0, 0 in some cases when trying to snap them to a linedef fully inside of a grid cell. 2014-09-22 19:01:51 +00:00
MaxED
ee8e31db37 Fixed: Visual mode: vavoom-type 3d floor sidedefs were not selectable.
Fixed: Visual mode: "Select" action with "with the same textures" / "with the same height" modifiers (Shift/Ctrl + LMB) was not working properly when used on vavoom-type 3d floor sidedefs.
Fixed: Visual mode, UDMF, "Auto-align textures" actions: vertical texture offset was calculated incorrectly for vavoom-type 3d floors.
2014-09-22 14:33:15 +00:00
MaxED
ccc2e00073 Visual mode: "Select" action with "with the same textures" / "with the same height" modifiers (Shift/Ctrl + LMB) now works properly with vavoom-type 3d floors. 2014-09-22 11:51:49 +00:00
MaxED
da00faf278 Visual mode: "Select" action with "with the same textures" / "with the same height" modifiers (Shift/Ctrl + LMB) now works when used on floors and ceilings of a 3d floor. 2014-09-22 09:04:30 +00:00
MaxED
a1f81e6436 Sector slopes were not copied by "Copy Properties" actions and were missing from Paste Properties Options form.
Added several missing flags to ZDoom_DECORATE.cfg.
2014-09-19 22:19:25 +00:00
MaxED
5d8e62f887 Visual mode: "Select" action with "with the same textures" / "with the same height" modifiers (Shift/Ctrl + LMB) now works when used on sides of a 3d floor.
Visual mode: "Select" action with "with the same textures" modifier (Shift + LMB) now selects adjacent sidedefs only when their height intersects with the height of the current sidedef.
Visual mode: "Select" action with "with the same textures" modifier (Shift + LMB) was not selecting connected one-sided sidedefs when used on a sidedef without a texture.
Cosmetic: fixed a couple of action descriptions in BuilderModes' Actions.cfg.
Cosmetic: MainForm.UpdateToolStripSeparators was working incorrectly in some cases.
Cosmetic: ErrorChecksForm's title was not updated when no errors were found.
2014-09-18 22:06:35 +00:00
MaxED
c6b0f38563 Fixed a crash when trying to update a vertex handle geometry.
The editor will fail more gracefully when no D3D device is detected.
In some cases the editor was constantly checking D3D device availability when minimized.
Added more DX-related debug output (only in Debug builds).
2014-09-17 12:46:47 +00:00
MaxED
c7252865be Preferences: added "Vertex scale (3D)" preference, renamed "Vertex scale factor" to "Vertex scale (2D)". 2014-09-16 08:51:27 +00:00
MaxED
cf82e5e10d Map Analysis mode: "Check overlapping vertices" returned false-positive results in some cases.
Map Analysis mode: fixed a couple of minor glitches related to enabling/disabling results list, "fix" buttons and "fix all" checkbox.
2014-09-12 21:36:52 +00:00
MaxED
99f6a9a5a8 Map Analysis mode: results can now be hidden individually.
Updated documentation.
2014-09-12 21:08:11 +00:00
MaxED
9b3b04d895 Map Analysis mode: results list now has a context menu, which allows to hide/show results based on type of selected result and to copy description of selected result to clipboard. 2014-09-12 14:58:00 +00:00
MaxED
c97dd0e401 Map Analysis mode: errors can now be copied to clipboard.
Map Analysis mode: export to file command will now show "Save File" dialog instead of putting the file in the same folder as the map, also added some boilerplate.
Tag Explorer plugin: save to file command will now show "Save File" dialog instead of putting the file in the same folder as the map, also added some boilerplate.
Internal: reformatted GZCrash.log a bit.
2014-09-12 12:19:58 +00:00
MaxED
22c5d6c0b7 Visplane Explorer: added "Open Doors" and "Heat Colors" options. 2014-09-11 11:51:02 +00:00
MaxED
697069e27b Texture Browser Form: some minor logic fixes (no texture groups were selected when initial texture was empty and no texture group was stored in the program configuration).
Texture Browser Form: don't save current texture group when the form was canceled.
Keyboard Shortcut Reference export: generated html will now be saved to program configuration folder if working folder is write-protected.
Internal: added SupportedMapFormats property to EditModeAttribute. A mode with this property specified will be available only in specified map formats.
Interface: Ceiling Align Mode and Floor Align Mode are now enabled by default.
Interface: Ceiling Align Mode and Floor Align Mode are now only available in UDMF map format.
Interface: Visplane Explorer Mode is now available only in Doom map format.
2014-09-08 13:09:14 +00:00
MaxED
bfda0c99e7 Find & Replace Mode: sector effects and linedef actions are now searched on bit by bit basis. That means map elements with partially matching Generalized effect/action can now be found. 2014-09-04 13:48:22 +00:00
MaxED
f596b88376 Proper labels are now displayed for generalized sector effects.
Internal, Edit Sectors form: more changes to "Slopes" tab logic. It's still incomplete...
2014-09-04 12:34:26 +00:00
MaxED
10dd68b8c2 Classic modes: Draw Grid, Rectangle and Ellipse modes were missing "toggle grid snapping" mode (enabled by holding Shift key while drawing). 2014-08-28 11:16:33 +00:00
MaxED
a585db6010 Visual mode, 3d floors: fixed broken 3d floor visibility detection one more time.
Game Configurations: changed default map name for Doom maps to "E1M1".
New Map Form: "E1M1" is now used as a default name for Doom maps.
Thing Browser Control: double-click event is now sent only if user clicked in the node's label area.
Interface: added info messages for several toolbar toggles.
Interface: made Brightness icon more readable when using dark windows themes.
2014-08-26 11:08:34 +00:00
MaxED
6f7af0e234 Visual mode, UDMF: added some boilerplate to prevent invalid sector slopes from showing up/crashing the editor. 2014-08-25 14:13:55 +00:00
MaxED
c95c26bbbc Fixed: MapSet.GetSectorByCoordinates() returned "false" in some cases when a given coordinate was on top of sector's vertex.
Internal: UDMF sector slopes and offsets are no longer stored in sector.Fields. Use sector.FloorSlope, sector.FloorSlopeOffset, sector.CeilingSlope and sector.CeilingSlopeOffset.
2014-08-25 11:15:19 +00:00
MaxED
aee55d497b Visual mode, 3d floors: fixed broken 3d floor visibility detection (which failed in some cases when real floor or ceiling was sloped). 2014-08-25 09:41:21 +00:00
MaxED
4f0cfb1eb5 Map Analysis form: fixed a bug related to window resizing introduced in r2002. 2014-08-19 21:58:53 +00:00
MaxED
2a880920d9 Map Analysis Mode: made several error descriptions more... descriptive.
Map Analysis form is now resize-able.
Map Analysis form: number of found errors is now shown in the form's title.
2014-08-11 10:30:52 +00:00
MaxED
948dda0406 Revision number is now also added to screenshot's filename.
Fixed a typo in the Preferences form.
2014-08-06 14:48:25 +00:00
MaxED
9c17aa4fe8 Sectors mode: things inside of selected sectors can be moved when dragging sectors. This behavior can be toggled by the new button on Sectors mode's toolbar.
Sectors mode: changed Alt-key handling. Now it only enables "snap to grid increment" mode.
Things mode: "snap to grid increment" mode now works in this mode.
Updated documentation.
2014-07-18 15:11:37 +00:00
MaxED
3d7cceaae4 Visual mode: some parts of 3d floor were shown even when it was above real ceiling/below real floor.
Visual mode: real floor was colored by 3d floor's color even when it was below real floor.
Action Browser form: keyboard focus is now set to Filter text box by default.
2014-07-18 11:25:08 +00:00
MaxED
542d3bbfcf Visual mode: unrelated sidedefs were selected when trying to select empty texture using "Select with the same textures" action. 2014-07-17 08:15:06 +00:00
MaxED
f2c0d0a4c8 Classic modes: you can now hold ALT key while dragging map items to lock movement to grid increments relative to initial position. 2014-07-11 10:46:10 +00:00
MaxED
c9cb4ad11f Linedefs Mode: "Flip Sidedefs" action will no longer flip one-sided lines.
Linedefs Mode: "Flip Linedefs" action now tries to align linedefs, so their front (or back) point towards the same sector.
Sectors Mode: "Flip Linedefs" action is now available form this mode, and it will also try to align linedefs, so their front (or back) point towards the same sector.
2014-07-07 14:17:49 +00:00
MaxED
7254c62ee0 Draw Rectangle mode, Draw Ellipse mode: fixed a possible crash when restoring bevel/subdivisions values.
Draw Curve mode: added "Reset" button to the toolbar.
Draw Rectangle/Ellipse/Grid modes: "Reset" toolbar buttons didn't have a proper tooltip.
2014-07-02 10:12:53 +00:00
MaxED
3309a804a2 Map Analysis mode: "Check unknown textures" didn't check middle textures on double-sided linedefs. 2014-06-30 08:17:43 +00:00
MaxED
dacd6d2abb Map Analysis mode: "Check overlapping vertices" was setting incorrect total progress value, which could cause a crash in some cases. 2014-05-27 09:22:44 +00:00
MaxED
8ba1d9c3a7 Visual mode: middle sidedef geometry of single-sided linedefs was rendered differently than in (G)ZDoom in some cases. 2014-05-21 09:22:37 +00:00
MaxED
8555d75cd2 A r1959 change in ImageSelectorControl prevented inherited classes from showing properly in Visual Studio's designer.
Also made a bunch of methods static.
2014-05-20 09:09:28 +00:00
MaxED
e6204be571 UDMF sector slopes: looks like 4-th parameter is used in GZDoom after all :) 2014-05-20 07:45:19 +00:00
MaxED
a61bba2536 UDMF map format: increased maximum supported texture name length to 2048.
Preferences: added "Capitalize texture names" option (located in Preferences -> Appearance -> Additional options). When disabled, the casing of displayed texture names will match filenames for textures loaded form TEXTURES or pk3/pk7/folder resources.
Textures Browser: added support for displaying long texture names.
Errors list is now cleared when reloading resources.
Visual mode: added basic support for sector slopes (no UI for that feature yet).
2014-05-19 13:33:38 +00:00
MaxED
5f6e9ad316 Rearranged controls a bit. "OK/Accept" button is now always the rightmost button on the most of controls.
Also made some controls a bit smaller.
2014-05-08 12:33:10 +00:00
MaxED
98aefb2681 Sectors, Linedefs, Things, Vertices modes: added "Select Similar" action (available in <Mode name> -> "Select Similar..." menu), which lets you select map elements similar to currently selected ones, based on a set of settings.
Some cosmetic fixes in "Filter Selected Things" and "Paste Properties Options" panels.
2014-05-08 09:24:32 +00:00
MaxED
ebd2400cde Things mode: added Filter Selection form (Things -> Filter Selection), which allows to quickly filter selected things by type.
Tag Statistics form, Thing Statistics form: fixed a crash when clicking on table's header cells.
2014-05-06 11:03:52 +00:00
MaxED
0ce2f1c2fa More fixes of 118:Plane_Copy effect implementation...
One of Thing Statistics form's columns was editable for no good reason.
2014-05-06 08:21:10 +00:00
MaxED
0e4419d8ed UDMF: added "transparent" linedef flag.
UDMF: sector, linedef and thing render styles are now defined in Game Configuration.
2014-05-05 14:24:57 +00:00
MaxED
bb368b56ca Visual mode: 118:Plane_Copy effect implementation was broken in many places. 2014-05-05 08:36:15 +00:00
MaxED
9c7b8e4e3c Model rendering (all modes): UDMF scale, pitch and roll are now displayed.
Thing Edit Form, UDMF: added controls for setting pitch, roll, scale, render style, fill color, alpha, health and score.
Visual mode, UDMF: UDMF scale is now applied when rendering sprites.
Added Thing Statistics form (Edit -> View Thing Types...), which shows all loaded thing types with some additional info.
Visual mode: sprites with negative ScaleX and positive ScaleY were not rendered properly.
Classic modes: display was not updated after loading a sprite.
Current testing engine change was not saved on closing the program when no other game configuration settings were changed.
2014-04-30 10:01:22 +00:00
MaxED
4af31e1aba Things mode: you can clone selected/highlighted things by holding "Shift" before starting to drag them. 2014-04-18 11:22:44 +00:00
MaxED
43e50973ff A quick fix to previous commit... 2014-04-09 10:52:31 +00:00
MaxED
dddf91e56e Added "Paste Properties Options" form, which lets you pick properties for 'Copy Properties' and 'Paste Properties' actions.
Removed CopyPasteSectorProperties plugin, because built-in "Copy/Paste Properties" actions do the same job, but better.
2014-04-09 10:16:33 +00:00
MaxED
8132584155 Find and Replace mode: added "Sector Floor Height" and "Sector Ceiling Height" search modes. 2014-04-07 08:48:02 +00:00
MaxED
7a29d87cb1 "Rotate Clockwise" and "Rotate Counterclockwise" actions now work in Things mode (they will rotate things) and in Sectors mode (they will rotate floor/ceiling textures based on current view mode).
Moved "Rotate Clockwise" and "Rotate Counterclockwise" actions to "Edit" category.
Tag Statistics form: help label was incorrectly aligned.
Some actions in Sectors and Linedefs modes were not used on highlighted map elements.
Some actions in Sectors and Linedefs modes created undo groups incorrectly when used on highlighted map elements.
2014-04-02 10:57:52 +00:00
MaxED
71ad1199d8 The editor no longer locks up while testing the map. 2014-03-23 09:08:51 +00:00
MaxED
ee6faba11c "File -> Export -> Selection as Wavefront .obj" menu command was not working.
"Preferences -> Editing -> When splitting a linedef" setting is now always used when splitting linedefs.
"Preferences -> Editing -> When splitting a linedef": added "Reset X and Y" option.
"Preferences -> Editing -> Auto-align textures of newly created linedefs" option now works in a more intelligent fashion.
2014-03-19 13:03:47 +00:00