Commit graph

1712 commits

Author SHA1 Message Date
MaxED
7a2aafbb6b Visual mode, UDMF: we shouldn't render fade when sector brightness is 248 or higher.
Plugins: fixed a crash caused by inability to find referenced assembly when loading a plugin, which depends on other plugin(s).
Undo-redo, UDMF: undo information was not created properly for several types of UDMF fields for the last map element in the selection when the selection contained more that 1 element.
Updated documentation.

Maintenance stuff:
Core/Plugins/Plug: made current display location and size information properly available to plugins.
Made Core/Controls/ColorControl available to be used by plugins.
2013-11-20 13:29:41 +00:00
MaxED
7c8370b9d3 Script editor: fixed a crash when trying to compile one-line script. 2013-11-18 12:36:42 +00:00
MaxED
aa4fbd8b43 Texture browser form: Tab key behavior was broken when the window was opened in maximized state.
Texture browser form: last window location is now restored when the window is opened.
2013-11-08 10:51:35 +00:00
MaxED
0654cec075 Visual mode, auto align textures: actually, it won't break anything if we vertical clamp texture offsets of a 3d floor sidedef while auto-aligning (this reverts a part of previous commit)...
Classic modes: event lines are drawn once again while panning the view (I've disabled this a while ago trying to fix performance problems in Classic modes).
2013-11-08 08:18:33 +00:00
MaxED
766e4d46f3 Visual mode, auto align textures: vertical texture offsets of middle sidedefs are no longer clamped by texture height when said sidedefs are parts of 3d floor or are double-sided and not wrapped. 2013-11-06 13:07:48 +00:00
MaxED
1be5a9e2ab UDMF, Custom Fields: fixed a crash when trying to create undo snapshot for a custom field of type bool or string when the map's .dbs file is not present or it doesn't contain type info about said field. 2013-11-06 09:34:47 +00:00
MaxED
9c63c617d8 Texture Browser form: fixed Tab key behavior yet again. 2013-11-04 11:17:16 +00:00
MaxED
4698280418 We should only snap pasted selection to grid when snap to grid setting is enabled... 2013-11-01 11:14:42 +00:00
MaxED
6c639c029b "Select Things in Selected Sectors" action now works from any classic mode.
Selection is now snapped to grid when pasted.
2013-11-01 09:13:40 +00:00
MaxED
5c19a12ab7 Visual mode: (hopefully) fixed a crash during Ctrl- and Shift-selecting wall surfaces.
Visual mode: "Select adjacent walls with the same height" (Ctrl-Select) logic was not working properly in some cases.
2013-10-21 10:19:31 +00:00
MaxED
76dba9cd87 Bridge mode: some float values were not rounded leading to curve position errors in some cases. 2013-09-27 10:56:44 +00:00
MaxED
ec9d829916 Texture Browser: textures can now be filtered by size.
Visual mode: offsets of double-sided middle textures were still clamped when not required in some cases.
Updated documentation.
2013-09-26 12:43:39 +00:00
MaxED
5c1fb38454 Find/Replace form: replaced "find" and "replace" TextBoxes with AutoSelectTextboxes. 2013-09-24 10:26:35 +00:00
MaxED
0c1c44c14b Visual mode: "Reset Texture Offsets" now resets "global" texture offsets in all map formats.
Visual mode: added "Reset Local Texture Offsets (UDMF)" action (default key is Ctrl-Shift-R). It will reset upper/middle/lower texture offsets in UDMF and will act exactly as "Reset Texture Offsets" action in other map formats.
2013-09-19 09:17:49 +00:00
MaxED
3f66656b3b Sector edit forms: sector height label was showing incorrect values when relative values were used. 2013-09-17 08:21:12 +00:00
MaxED
7f775bbbd2 Warning about missing DECORATE actors was shown twice. 2013-09-16 14:07:12 +00:00
MaxED
735447edbe Default sector brightness can now be set in Preferences.
Default sector ceiling height can now be set in Preferences.
Default sector floor height can now be set in Preferences.
Maximum number of recent files can now be changed in Preferences.
UDMF, Custom fields: a warning is now shown when a user tries to manually add a managed filed.
UDMF: "Translucent" linedef flag is now marked as obsolete.
2013-09-16 13:41:00 +00:00
MaxED
e2802b2712 Sectors mode: added "View Tags and Effects" button.
Sectors mode: effect and tag overlay can now be toggled separately from selection numbers.
Sectors mode: "View Tags and Effects" and "View Selection Numbering" settings are now saved to program configuration.
Sectors mode: removed "Lower Floor by 8 mp", "Raise Floor by 8 mp", "Lower Ceiling by 8 mp" and "Raise Ceiling by 8 mp" actions.
"Increase Brightness by 8" and "Decrease Brightness by 8" actions now work in Sectors mode.
Moved "Increase Brightness by 8" and "Decrease Brightness by 8" actions to "Edit" category. 
"Toggle Highlight" action now works in Sectors mode.
Moved "Toggle Highlight" action to "Tools" category.
Removed Brightness mode.
Updated documentation.
2013-09-16 11:44:47 +00:00
MaxED
ed75933d60 Sectors mode: sector tags are now shown on top of unselected sectors (works only if "View Selection Numbering" option is enabled).
Some cosmetic fixes here and there.
2013-09-13 14:54:43 +00:00
MaxED
fd47cb4cd7 Sectors mode: selected and highlighted sectors are now highlighted in the same-ish way as in Visual mode.
Sectors mode: sector effect labels were not aligned properly.
2013-09-12 15:40:15 +00:00
MaxED
dcc063f008 Sectors mode: sector effects are now shown on top of unselected sectors (works only if "View Selection Numbering" option is enabled).
Updated documentation.
2013-09-12 15:02:08 +00:00
MaxED
261811cc57 Fixed a crash when updating engine selector dropdown after removing engines when selected engine index was greater than engines count.
Some code simplifications in MapinfoParser, also it can now read fade/outsidefog color defined as "XXXXXX"
2013-09-12 09:51:56 +00:00
MaxED
ebf5a3961b Probably fixed a D3D-related crash after testing the map in GZDoom. Or not. 2013-09-11 15:01:55 +00:00
MaxED
ae1b2153ef Sector Edit form, UDMF: floor and ceiling rotation angles can now be entered as decimals.
Visual mode: removed unrelated message when copying textures using "Copy Selection" action.
2013-09-11 14:22:11 +00:00
MaxED
038ab51058 Event lines: sector label position is now used as end point when targeting sectors. 2013-09-11 13:57:27 +00:00
MaxED
117e5e5911 Added "Place Things" action (available in Sectors/Linedefs/Vertices menus). When used from Linedefs or Vertices mode, it will place things on top of vertices. When used from Sectors mode, it will place things inside of selected sectors.
Updated documentation.
2013-09-11 13:14:45 +00:00
MaxED
fc57c3e331 Replaced massive amount of spaces with (massive amount of tabs / 4) 2013-09-11 09:47:53 +00:00
MaxED
ead2521451 Sectors mode, UDMF: Create Brightness Gradient action can now work in "Light" and "Fade" modes.
Visual mode: added support for "fogdensity" and "outsidefogdensity" MAPINFO properties.
Sector Info panel now shows the number of sector's sidedefs as well as light and fade colors (UDMF only).
UDMF: Sector and sidedef flags are now copied/pasted when using "Copy Properties" and "Paste Properties" actions.
Fixed: in some cases default texture overrides were used even when corresponding option was disabled.
Sector Edit form: light and fade values were not saved when a value was pasted/entered into text box.
Sector Edit form: "reset value" button was not shown for light and fade values when selected sectors had different light/fade colors.
Reverted Open Map form changes from previous commit (my assumption that map marker is always empty was not correct...)
Updated documentation.
2013-09-11 08:49:45 +00:00
MaxED
2598389d6b Sector Info panel now shows how many sidedefs highlighted sector has.
Snap Map Elements to Grid mode now works much faster and shows a message when completed.
Forced default textures are now only used in drawing modes.
Exception Dialog: long error descriptions were breaking window layout.
Map will no longer be shown in Open Map form if unrelated data is encountered inside of map namespace.
2013-09-09 14:03:02 +00:00
MaxED
0469592bf5 "Copy Texture Offsets" and "Paste Texture Offsets" actions now work in Doom and Hexen map formats. 2013-09-06 07:55:02 +00:00
MaxED
0fe02bd3d3 Visual mode: fixed a couple of bugs in Visual vertex logic. 2013-09-05 13:30:59 +00:00
MaxED
b80bc3f811 Manual linedef splitting: UDMF texture coordinates were incorrectly interpolated in some cases.
Manual linedef splitting: "Duplicate texture coordinates" and "Reset X coordinate, copy Y coordinate" settings now affect UDMF texture offsets.
2013-09-05 13:03:17 +00:00
MaxED
e04105dcde Updated documentation. 2013-09-03 10:32:15 +00:00
MaxED
cd9be560d8 Updated FAQ section of documentation. 2013-09-03 10:20:12 +00:00
MaxED
8a0ca0e650 Visual mode: added "Auto-align Textures to Selection (X)", "Auto-align Textures to Selection (Y)" and "Auto-align Textures to Selection (X and Y)" actions.
"Snap Map Elements to Grid" mode now tries to fix invalid geometry after vertex snapping.
Vertices mode: in some cases not all vertices were removed when deleting vertices.
Removed "Load GZDoom light definitions" from preferences. If you want to use GZDoom's GLDEFS definitions, add "lights.pk3" as a resource.
Visual mode: fixed a crash when toggling GZDoom Geometry Effects (Tab)
Fixed sector bounding box calculation error.
Renamed "Edit -> Grid Setup..." to "Edit -> Grid and Backdrop Setup..."
Updated documentation
2013-09-03 09:34:28 +00:00
MaxED
0ea1056b44 Error Checking: renamed "Check unclosed sectors" to "Check invalid sectors". Now it also finds sectors with less than 3 sidedefs and sectors, which area is 0. 2013-08-30 15:00:44 +00:00
MaxED
c6170f644b Changed the way sector bounding box is calculated. This fixes major slowdowns when a sector with invalid geometry (e.g. without triangulation) is highlighted in Classic modes and a crash in Visual mode when such sector is rendered. 2013-08-29 12:07:54 +00:00
MaxED
6f23311167 Replaced Unhandled exception dialog with custom one 2013-08-29 10:05:50 +00:00
MaxED
4b9f2d886c Visual mode: vertical texture offsets of double sided middle textures are no longer clamped.
Visual mode: fixed a crash when trying to move texture offsets of invisible sidedef.
2013-08-28 14:53:21 +00:00
MaxED
b84b613d4b Added a way to assign new tags, which finds a tag unused by current map element type. 2013-08-28 08:29:06 +00:00
MaxED
a6ee7a5ca2 Copy/Paste logic was broken in Doom and Hexen map formats since r1758... 2013-08-27 14:22:19 +00:00
MaxED
25c0f0dd1f Classic modes: missing floor/ceiling textures are now rendered using proper texture.
Sector Info panel: in soma cases texture size was shown for unknown/missing textures.
2013-08-26 11:09:37 +00:00
MaxED
04ee4717b4 Set Default Textures: empty textures can now be used as default ones.
Sector Edit forms: floor/ceiling textures can be cleared with right-click on texture selectors.
2013-08-26 10:51:33 +00:00
MaxED
3e11ae734d Vertices mode: fixed an exception when "DeleteItem" action tried to delete already deleted vertex.
Renamed "Set current textures" to "Set default textures" (I hope that makes more sense now).
Fixed and updated documentation.
2013-08-26 09:31:43 +00:00
MaxED
e1050775b3 Error Checks mode: connected lines with decimal positions were reported as overlapping in some cases. 2013-08-23 14:22:40 +00:00
MaxED
71b0d0754d Fixed: acs script was not complied when the map was located in the root directory.
Fixed "Snap Map Element to Grid" documentation.
2013-08-23 13:28:55 +00:00
MaxED
9080f8885c "Snap Selected Vertices to Grid" mode: renamed to "Snap Selected Map Elements to Grid". Now it aligns things as well.
Edit forms: some realtime controls were applying relative values incorrectly.
2013-08-22 15:30:50 +00:00
MaxED
710a1227ce Updated documentation (thanks to Kappes Buur for proofreading/fixing it). 2013-08-22 11:17:09 +00:00
MaxED
14910efce9 Replaced editor sprite for "Teleport (Z Height and Gravity)" and "Teleport (Z Height)" things with internal one, because old sprite was Doom-specific and was not shown properly in other game configurations. 2013-08-21 15:01:56 +00:00
MaxED
97b4150c7c Fixed 2 non existent sprites in ZDoom_things.cfg (yay previous commit is working :) ). 2013-08-21 12:09:40 +00:00