Commit graph

1695 commits

Author SHA1 Message Date
MaxED
88ae568836 Added: Map Analysis: added "Check texture alignment" check. Currently it works only in Doom/Hexen map formats. 2014-09-23 21:34:50 +00:00
MaxED
cc1c407756 Action Selector control: actions can now be scrolled using up/down keys and mouse wheel. 2014-09-23 08:54:53 +00:00
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
e6b997a7da MODELDEF parser: fixed a crash when trying to add a model definition when another one was already created for the same actor.
ZDoom_DECORATE.cfg: added A_SetSpeed definition.
2014-09-22 00:16:42 +00:00
MaxED
786caf3b34 ZDoom_ACS.cfg: added "DropInventory" function definition.
Visual mode: vertex handle size is now updated after closing the Preferences form.
2014-09-20 22:05:23 +00:00
MaxED
a6e44dc941 Preferences Form: renamed "Scale models in visual modes" to "Stretched view in visual modes". When enabled, this setting now increases vertical scale of the world and sprites in visual mode instead of decreasing vertical scale of models. 2014-09-20 18:34:06 +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
3c116da322 Reformatted debug output from previous commit so it no longer generates compilation warnings when compiling in Release mode. 2014-09-17 13:16:11 +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
2d9c439325 Sidedef texture offsets are now translated when pasting map elements from UDMF to non-UDMF maps.
Fixed: certain UDMF-only properties were not cleared when pasting map elements from UDMF to non-UDMF maps.
Fixed a bug introduced in r2043: helper objects were not updated in some cases.
2014-09-16 20:26:42 +00:00
MaxED
145e92eaf0 Cosmetic: reformatted screenshot labels a bit.
More changes to Hexen_linedefs.cfg and ZDoom_linedefs.cfg.
2014-09-16 15:22:32 +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
33ec020dca Game Configurations: added "requiresactivation" linedef property (defaults to "true").
Linedef Edit Form, UDMF: missing activation flags warning is now displayed only for linedef actions with "requiresactivation" property set in a game configuration.
Game configurations: fixed a couple of property names, added more enums & default values.
Updated BCC compiler to rev. 20140818r2.
2014-09-15 23:37:55 +00:00
MaxED
70db005f12 Linedef Edit Form: activation flags check was not updated properly. 2014-09-15 14:49:11 +00:00
MaxED
032c8aaae1 Split Linedef Edit Form into 2 versions: one for Doom/Hexen, and the other for UDMF map format.
Linedef Edit Form, UDMF: added less annoying warning about missing activation flags (no checks if an action actually requires activation yet...)
2014-09-15 14:12:31 +00:00
MaxED
2056febb82 Flags Form: added special handling for flag with zero value. 2014-09-15 09:35:11 +00:00
MaxED
7b735dc898 Sector Edit Form (Doom/Hexen): ermm... negative sector brightness is actually a thing... 2014-09-15 08:35:10 +00:00
MaxED
71a3f1c733 Sector Edit Form (Doom/Hexen): it was possible to set negative Brightness.
Sector Edit Form (UDMF): sector brightness value was processed incorrectly when relative value was entered.
Internal: added "ButtonStepsWrapAround" property to ButtonsNumericTextbox.
Internal, SectorEditFormUDMF: more changes to Slopes tab. Still not operational...
2014-09-15 08:15:22 +00:00
MaxED
f9cedc23a0 Sector Edit Form: added "height offset" input. It can be used to change floor and ceiling height by given value. Also added some tooltips. 2014-09-13 21:57:56 +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
ad403de812 Classic modes: changed tinting of selected sprites from multiply to modulate.
Internal: more info is now displayed when a shader fails to compile.
2014-09-11 21:53:31 +00:00
MaxED
814bf4704b Linedef Edit Form: disabled missing activation flags warning. 2014-09-11 17:49:44 +00:00
MaxED
d916e54686 Comments Panel: probably fixed a possible crash when UpdateList() is triggered during map unloading. 2014-09-11 17:37:20 +00:00
MaxED
22c5d6c0b7 Visplane Explorer: added "Open Doors" and "Heat Colors" options. 2014-09-11 11:51:02 +00:00
MaxED
a7488939af Updated Visplane Explorer plugin to v1.0. Visplanes of Hexen maps can now be explored.
Map Options Form: example map name now uses current game's naming scheme.
2014-09-11 08:26:01 +00:00
MaxED
422c605bc7 Linedef Edit Form, UDMF: missing activation flags warning was shown even when action was 0... 2014-09-10 16:56:29 +00:00
MaxED
7b70316b86 Internal: optimized WAD.FindLump() and WAD.FindLumpIndex() functions. They should work ~30x faster now (although, overall performance increase because of this change is fairly noticeable). 2014-09-09 13:54:59 +00:00
MaxED
5e7de03847 View projection is now updated when engaging Visual mode. This means no more distorted visuals after disproportionately changing window size. 2014-09-09 12:16:26 +00:00
MaxED
359cea1ce8 Game Configurations Form: added a help item to "Testing" tab, which displays info about command line placeholders when mouseovered.
Added some missing flags to ZDoom_DECORATE.cfg.
2014-09-09 09:49:28 +00:00
MaxED
1521f9ba20 Linedef Edit Form, UDMF: a waring is now shown when trying to apply a non-zero action without any activation flags.
Program Configuration: selected test engine index was not saved when applying the form.
Program Configuration: selected test engine index was not pasted when pasting a game configuration or test engines.
Program Configuration: in some cases current test engine name was not saved when applying the form.
Program Configuration: fixed broken logic when trying to add a test engine with the same file name as already existing one.
2014-09-08 21:26:30 +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
daf8c44327 Screenshots: message about missing save folder should not be displayed when using the default save path.
Screenshots: added wad and map names to info text of edit area screenshots.
2014-09-04 07:57:30 +00:00
MaxED
8ea8c154f1 Thing Edit form: position changes were handled differently than other similar properties.
Thing Edit form: absolute thing height was calculated incorrectly in some cases.
General: added a generic update logic when current editing mode doesn't handle OnEditFormValuesChanged event.
Internal, AngleControl: added "AngleOffset" property.
2014-09-03 14:07:08 +00:00
MaxED
50c136fbfe Import .obj as Terrain: created terrain was horizontally flipped when importing a model with up axis set to X or Z.
Also, I would like to use this opportunity to thank Siberian Tiger from DTD Team for helping me with SVN builds for more than two years. You made my constant wrestling with the code a much less tedious process.
2014-09-02 20:44:58 +00:00
MaxED
3819eb561b Import .obj as Terrain: vertex order was incorrect when creating sectors from a model with up axis set to Z. 2014-09-02 18:52:26 +00:00
MaxED
90689ad1dc Fixed a crash when saving a map after changing map format. 2014-08-30 18:12:07 +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