Commit graph

1898 commits

Author SHA1 Message Date
MaxED
15bcea9417 Added "Allman-style bracing in snippets" setting (located in Preferences -> Appearance -> Script Editor).
Snippets: changed token syntax from $XX to [XX]
[LB] (Line Break) marker can now be used in snippets.
Game Configurations: added "enabledbydefault" parameter. When set to true, a game configuration will be available by default (e.g. when an user starts the editor for the first time).
GZDB will no longer throw an exception when trying to update default value in a TypeHandler, which doesn't implement default value handling.
2014-05-15 08:32:08 +00:00
MaxED
9401828f73 Script Editor: function arguments helper pop-up was obscuring the text cursor in some cases.
Reverted some changes from previous commit.
Updated documentation.
2014-05-14 15:17:14 +00:00
MaxED
b4b0b4cc33 Script Editor: added Visual Studio-like snippet expanding (type the name of a snippet, then press the Tab key to expand it).
Script Editor: added snippets to auto-complete list (currently they aren't inserted properly though...).
Script Editor: auto-indentation now works a bit smarter.
ScintillaControl.GetLine() was retrieving incorrect line.
2014-05-13 14:41:51 +00:00
MaxED
3c6a9547fa Script Editor: added a simple snippets system.
Updated documentation.
2014-05-13 09:43:58 +00:00
MaxED
076d0cfe4b Tag Explorer was not showing map elements with negative tag. 2014-05-12 07:33:36 +00:00
MaxED
b6c0aeea42 Removed Statistics plugin. Statistics are now shown in info panel when nothing is highlighted. 2014-05-08 12:34:24 +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
40bba55599 Last used map folder path is now stored in program configuration. It is used in "Open Map" dialog. 2014-05-05 09:59:20 +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
cf4b2d1935 Renamed Jitter mode to Randomize mode.
Randomize mode: randomized pitch, roll and scale can now be applied to things.
Randomize mode: removed "Relative" option, because results with this option enabled were almost the same as without it.
Classic modes, model rendering: selected models are now rendered using highlight color, so they no longer blend with thing rectangle/circle.
Model rendering, UDMF: scale was applied incorrectly to models with pitch or roll.
Updated documentation.
2014-05-03 14:44:59 +00:00
MaxED
5e205d3b73 Thing Edit forms: angle/pitch/roll change events were triggered twice when changing a value.
Thing Edit form, UDMF: default value of pitch and roll angle controls is now up.
Angle control: direction line is not displayed when showing mixed values.
2014-05-02 11:37:37 +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
26e3d53140 Added a separate ThingEditForm for UDMF map format. 2014-04-21 09:30:00 +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
0d6f9a2594 WADReader: another fix to patches outside of patch ranges detection logic. 2014-04-08 11:09:05 +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
0314490c17 WADReader: patches outside of patch ranges were not detected in some cases. 2014-04-03 12:57: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
f68e61e0fe Woops! Terrible bugs! 2014-03-23 09:24:42 +00:00
MaxED
71ad1199d8 The editor no longer locks up while testing the map. 2014-03-23 09:08:51 +00:00
MaxED
82b868e5f5 Fixed: .dbs map configuration was not loaded when loading a map by dragging a wad file on top of GZDB shortcut/executable. 2014-03-20 13:04:28 +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
MaxED
29437409d4 Linedef Info panel: tag text is now set in a more reliable fashion. 2014-03-14 14:21:34 +00:00
MaxED
417cdde4be In some cases, texture offsets were adjusted when it wasn't required when splitting linedefs.
Replicated Doom texture vertical offset glitch when front and back sector's ceilings are sky.
2014-03-12 10:39:24 +00:00
MaxED
e0179f79a6 GLDEFS parser: made dynamic light attaching rules a bit stricter. Now a light is attached to an actor if frame length is 4 chars or 5-th char is 'A' in GLDEFS object definition. 2014-03-11 12:35:26 +00:00
MaxED
abb77e4aab Angle control: in some cases angle was set to 360 instead of 0 when clicking on the control.
GLDEFS parser: added a warning when the interval of animated dynamic light is 0.
Visual mode: fixed a crash when an angle of animated dynamic light was set to 0 and light animation was enabled.
Tag explorer: removed unnecessary mode switching when selecting map elements of the same type.
2014-03-11 09:44:39 +00:00
MaxED
fb19f62fdb Angle in now set in 0..359 range when clicking on Angle control.
+ couple of cosmetic fixes.
2014-03-10 14:35:38 +00:00
MaxED
0717e19599 Updated documentation. 2014-03-07 12:37:47 +00:00
MaxED
4fb956cecd Just a couple of cosmetic fixes. Nothing interesting, really... 2014-03-06 11:45:20 +00:00
MaxED
6de11ea3b1 Make Door action: door texture can now be defined in a game configuration.
Make Door action: door and track textures are now stored while the editor is running.
Edit Selection Mode: pasted geometry was not merged with the rest of the map if the selection was not modified before applying the mode.
2014-03-06 09:08:21 +00:00
MaxED
f7f8c1e894 Make Door action: added missing activation properties for maps in Hexen and UDMF map formats.
Make Door action: made Make Door form a bit smaller.
Make Door action: sector highlight was not updated after performing the action when a single sector was selected.
2014-03-05 12:26:09 +00:00
MaxED
7faf6bc13e Linedef Edit Form, Sector Edit Form: when several map elements with different textures are selected, the "texture stack" icon is shown in the texture selectors instead of the "missing texture" icon.
Error Checker mode: added "Check missing flats" check.
Error Checker mode: fixed several descriptions. 
Sprite patches for sprites defined in TEXTURES are now loaded from Sprites namespace.
Some of my older texture alignment code didn't work properly when strict texture/flat handling ("mixtextureflats" game configuration flag set to false) was enabled.
Fixed some incorrect checks for missing texture ("-").
2014-03-05 09:21:28 +00:00
MaxED
8599f18f4c "Reset" button was missing from "Draw Grid" settings.
Buttons order was messed up in editing modes toolbar after performing "Reload Resources" action.
Fixed editing modes toolbar layout.
2014-03-04 09:04:43 +00:00
MaxED
2d874973bf Renamed "Reload MODELDEF" action and "Tools" menu item to "Reload MODELDEF/VOXELDEF".
Fixed a crash when using "Reload GLDEFS" and "Reload (Z)MAPINFO" actions when GLDEFS / MAPINFO file was moved or renamed after opening the map in the editor.
2014-03-03 13:40:29 +00:00
MaxED
a851036818 Script Editor: added "Find and Replace" toolbar button. 2014-03-03 11:45:03 +00:00
MaxED
9a50b38f78 Added "Full Brightness" toolbar button and "View" menu item. These call "Toggle Full Brightness" action.
Added "Make Door" menu item to "Sectors" menu.
A warning is now displayed when "Make Door" action is called without a selection.
2014-03-03 09:52:55 +00:00
MaxED
7d4ac20b0f Fixed button states for "Draw [stuff]" modes in the modes toolbar.
Moved settings for "Draw [stuff]" modes to the top toolbar.
Added hints for Draw Grid mode.
Fixed a status message update bug introduced in previous commit.
2014-02-28 14:32:20 +00:00
MaxED
4ad9ad78eb Added Doom and Doom 2 game configurations for vanilla Doom and Boom engines.
When you try to change floor/ceiling texture offsets in Doom/Hexen map formats, a warning is displayed in status bar (instead of spamming you with message windows).
Mode actions toolbar is now auto-hidden when there are no buttons to display.
2014-02-27 10:08:31 +00:00
MaxED
0369c969d1 According to dotnetperls.com, "new Dictionary<string, [anything]>(StringComparer.Ordinal)" works 17% faster than "new Dictionary<string, [anything]>()", so let's stick that everywhere and see what happens :)
Draw Curve Mode: added settings panel.
Sectors mode: added "Make Door" button to the toolbar.
Swapped Side panel and Info panel z-order. 
Interface: split toolbar into 3 separate toolbars. All toolbar buttons are now viewable at 1024x768.
Interface: grouped stuff in "Modes" menu a bit better.
Interface: added "Draw [stuff]" buttons to modes toolbar.
Interface: reorganized main menu. Hope it makes more sense now.
API: added General.Interface.AddModesButton() and General.Interface.AddModesMenu(), which can be used to add buttons to specific group in "Modes" toolbar and menu items to specific group in "Modes" menu, so actions, which behave like an editing mode, but are not part of one can be added there.
2014-02-26 14:11:06 +00:00
MaxED
21889a98e7 Default thing arguments were not set when creating a new thing, only when changing thing type in Edit Things window. 2014-02-21 15:24:54 +00:00
MaxED
3e5f85dc8f Game configurations: added "fixedrotation" property to dynamic lights, which use the angle property as a parameter.
Maintenance: removed a ton of redundant stuff.
2014-02-21 14:42:12 +00:00
MaxED
d9e53f2899 Game Configurations: added support for new property "fixedrotation", which keeps thing's angle constant when a thing is rotated in Edit Selection mode.
Game Configurations: added "fixedrotation" property to "Polyobject Anchor" (9300), "Polyobject Start Spot" (9301), "Polyobject Start Spot (crush)" (9302) and "Polyobject Start Spot (hurts to touch)" (9303) actors.
Color Picker plugin: moved plugin button to "Modes" toolbar group.
API: added ToolbarSection.Modes property, which can be used in MainForm.AddButton() to add a button to Modes group.
Removed a bunch of unused variables.
2014-02-20 12:36:09 +00:00
MaxED
c04a2e7c11 Game Configurations window: "enabled" status was not saved if the configuration was not changed.
When no configuration is enabled, a message was supposed to be shown after startup. Now it actually shows up.
Several configurations were missing from the "Configurations" folder.
2014-02-19 09:55:05 +00:00
MaxED
8c2bd281a3 Interface: you can click on X,Y map coordinates in the right-bottom corner of interface to open "Go to coordinates" window. 2014-02-18 14:14:32 +00:00
MaxED
592887a086 Configurations: increased game configuration loading speed (in previous builds it took ~650 ms. to load a single game configuration, now it takes ~120 ms. to load all 64 of them). As a side effect, New\Open Map Options, Map Options and Game Configurations windows are now opened noticeably faster. The editor starts up a bit faster as well.
Configurations: all 64 game configuration are now available by default.
Game Configurations window: game configurations can now be disabled. This setting is mostly cosmetic. When a game configuration is disabled, it won't be shown in "game configuration" dropdowns in New\Open Map Options and Map Options windows. If a map's .dbs file specifies a disabled configuration, it will be picked as a map configuration anyway.
Linedefs mode: vertex insert preview logic used Highlight range instead of Stitch range (which is used when draw mode engages).
Visual mode: double-sided middle textures were not selected when using "Select" action with "with same texture" modifier.
Textures: some optimizations in patch blending code.
ZDoom ACS script configuration: added definitions for StrLeft, StrMid and StrRight functions.
2014-02-18 14:04:14 +00:00
MaxED
8b36f6113e Map coordinates are now drawn on edit area screenshots. In classic modes, map coordinates at the cursor location are used when the cursor is inside the view and the coordinates at the center of the view are used when it is not. In visual mode, camera location is used. 2014-02-10 10:16:47 +00:00
MaxED
8229cb8b71 Added "Go To Coordinates" action (available in "View" menu and via Ctrl-Shift-G shortcut). It will center the view on given coordinates in classic modes and place camera at given coordinates in visual mode. 2014-02-10 09:26:13 +00:00
MaxED
2787034d1d Updated zdefs.acs and ZDoom_ACS.cfg. GetLineActivation and SetLineActivation action specials should work now.
Made hints group higher in Draw Grid mode's side panel.
2014-02-07 12:07:23 +00:00
MaxED
48fef89ed7 Map Analysis mode: "Check overlapping lines" logic was broken on maps in Doom and Hexen map formats.
Map Analysis mode: "Check overlapping lines" now finds duplicate linedefs (e.g. when 2 lines have the same start and end positions).
Map Analysis mode: added "Check overlapping vertices" check. This will check if a vertex is on top of a linedef or another vertex.
Some cosmetic changes in Tools and BaseVisualMode.
Updated zspecial.acs
2014-02-07 09:10:55 +00:00
MaxED
1367c37b8d Visual mode: when changing height of a triangular sector all vertices of which have height offset, vertex heights will be changed instead of sector's floor/ceiling height (this allows to edit terrain without the use of vertex handles).
Visual mode: "Copy Texture", "Copy Texture Offsets" and "Copy Properties" actions now always copy properties from currently highlighted surface (previously they copied properties from the first selected surface when something was selected).
Draw Rectangle mode: nothing was drawn in some cases.
Drag Things mode: grid was not updated when grid size was changed in this mode.
2014-02-03 11:19:12 +00:00
MaxED
79dcaca457 Added Import Terrain mode (Create -> Terrain from Wavefront .obj)
Draw Settings panel: added "All" buttons to "Fill Selection with Textures" and "Remove Textures form Selection" groups
Export to .obj: fixed a crash when trying to export an unsaved map.
Texture preview are now created ~25% faster.
2014-01-30 14:52:08 +00:00
MaxED
cd75b4e30e Sector info panel: rearranged controls a bit, so tag labels and long effect names can be displayed (more) properly.
Linedefs mode: event arrows were not redrawn after updating vertex insert indicator.
Configurations: some titles were too long to be displayed properly in the interface.
2014-01-27 11:18:24 +00:00
MaxED
93ae3e8c7c Texture Browser: added "Show -> By selection type" option. When this option is selected, the browser will show textures or flats based on selected/highlighted surfaces. 2014-01-24 08:09:57 +00:00
MaxED
bdcaa2b1f2 Linedefs mode: insert vertex preview is now shown. 2014-01-23 13:55:03 +00:00
MaxED
88b12750c1 Linedef info panel: tag is no longer shown in Hexen map format.
Numeric textbox: in addition to '++NN' and '--NN', you can use '*NN' and '/NN' to multiply or divide the values.
Configurations, ZDoom_linedefs.cfg: some linedef action arguments were missing a proper type.
Rewritten parts of hints system. Hints are now loaded from "Hints.cfg" file.
2014-01-23 13:36:51 +00:00
MaxED
a697cbfd0f Added ThingSlope patch by Boris (adds support for Sector tilt things (9502 and 9503) in Visual mode). 2014-01-20 11:44:41 +00:00
MaxED
ec2303ca9f Missing and Unknown textures were incorrectly scaled in classic modes.
Fixed an update logic error in PairedIntControl.
2014-01-20 08:47:49 +00:00
MaxED
7303cbd185 Cursor is now drawn on screenshots. 2014-01-17 14:41:38 +00:00
MaxED
9ac9b18e2d Hints and Draw Settings panels were not removed during map closing/switching, which resulted in duplicate panels.
The way things were rendered during dragging is now used by default in Things mode.
2014-01-17 13:48:06 +00:00
MaxED
e83da37f14 Draw Grid mode: added "Lock slices to grid" option. 2014-01-17 09:44:08 +00:00
MaxED
f3e4cf06b8 Visual mode, "Select" action with "With the same texture" modifier: sidedefs are no longer selected when matching part has zero height. 2014-01-17 07:55:15 +00:00
MaxED
88a6f5a46c Thing Info panel, Linedef info panel: tag labels are now displayed for action arguments. 2014-01-16 13:08:41 +00:00
MaxED
e487a9c80a Added Draw Grid mode.
When Draw Rectangle or Draw Ellipse mode is enabled, it's settings are now shown in side panel.
Draw Ellipse mode: increased maximum number of sides to 512.
Changed the way tags are shown in Tag Selector controls. Tags without labels are now shown as a number (not "Tag N"), and tags with label are now shown as "N (label)", not "label (N)".
Tag labels are now shown in Thing, Sector and Linedef info panels.
Once again changed the way things are rendered while dragged.
Rearranged the label in PairedIntControl and PairedFieldControl (it is now behind numeric controls).
Optimized MapSet.GetSectorByCoordinates().
2014-01-16 09:32:05 +00:00
MaxED
75114595ed Sectors mode: hold Alt while (de)selecting sectors to (de)select things inside of them.
Sectors mode, rectangular selection: you can now hold Alt to select things inside of selected sectors.
Sector highlight is now shown when selecting sectors in Tag Explorer.
2014-01-13 12:49:54 +00:00
MaxED
fabf8031a1 Some enhancements in auto-generated keyboard shortcuts reference. 2014-01-13 09:51:23 +00:00
MaxED
0e55f26fda Visual mode: using "Select" action with "select with the same texture" modifier in some cases selected middle texture when it shouldn't have. 2014-01-13 08:44:31 +00:00
MaxED
c087d014a1 Selected things are now dragged while dragging vertices, linedefs and sectors.
Error checks: added "Check unused textures" option.
Replaced MissingTexture3D and UnknownTexture3D.
Sectors mode: restored "Lower/Raise Floor/Ceiling by 8 mp" actions.
Visual mode: in some cases sidedefs were rendered as selected when they were not.
Existing linedefs were not split while drawing new lines in some cases.
Texture and height overrides were not applied correctly in some cases.
Preferences form: "Ctrl+Alt+ScrollUp" and "Ctrl+Alt+ScrollDown" dropdown items were setting the shortcut to "Ctrl+Shift+ScrollUp" and "Ctrl+Shift+ScrollDown".
2014-01-13 08:06:56 +00:00
MaxED
f7085bd201 Edit area auto-focusing is now disabled when any form except Edit forms is open.
Nodes Viewer: ZNODES were properly shown only on freshly opened maps.
2014-01-11 10:23:42 +00:00
MaxED
2e88f8f4a5 Nodes Viewer now supports ZNODES in "XNOD", "XGLN", "XGL2" and "XGL3" formats.
Sector highlight is now shown in many more places.
Edit area auto-focusing is now disabled when any form is open.
2014-01-10 15:08:39 +00:00
MaxED
c3a12ad137 Full brightness mode is now synchronized between Visual and Classic modes 2014-01-09 13:52:25 +00:00
MaxED
70102f1420 Changed mode buttons order in the toolbar.
Fixed a crash when enabling Nodes Viewer mode in an unsaved map.
2014-01-09 13:09:43 +00:00
MaxED
1adf313a91 Fixed: side panel was not auto-collapsed when Help tab was selected.
Fixed: texture size label's visibility was inconsistent in ImageSelectorControls.
2014-01-09 11:31:34 +00:00
MaxED
d27ae9c518 Added a bath file, which can be used to make an SVN build of GZDB.
Program version, including revision number, is now updated and handled properly.
2014-01-08 15:20:56 +00:00
MaxED
c561617704 We should copy middle texture to upper/lower parts regardless of whether they are actually required when AutoClearSidedefTextures is disabled, I suppose (aaaaand there was a logic error there). 2014-01-08 09:59:57 +00:00
MaxED
a91c0b9cd2 Forgot to add default key... 2014-01-08 09:51:47 +00:00
MaxED
013865e27d Voxels can now be loaded from WAD resources.
Reverted "Delete Item" action to the way it worked in DB2.
Added "Dissolve Item" action, which works the way "Delete Item" worked in previous revisions of GZDB.
Added "Auto Clear Sidedef Textures" action, "Edit" menu and toolbar button, which toggle automatic removal of sidedef textures when floor or ceiling height is changed or when geometry is drawn, copied or pasted.
Draw Settings panel: upper/lower texture overrides can now be used.
Draw Settings panel: added 2 sets of buttons, which allow to quickly set or clear textures in current selection.
Things are now rendered behind AND on top of the grid/linedefs/vertices when they are dragged.
Redesigned hints system. They are now shown in a side panel.
Edit area auto-focusing is now disabled when script editor is open.
Texture Browser form: no texture group was selected when opening the form in some cases.
Fixed several strange/misleading text messages.
2014-01-08 09:46:57 +00:00
MaxED
ae79ed4e19 Alt key can now be bound to mouse button/scroll wheel combination.
Action descriptions: added "disregardalt" parameter.
2014-01-03 12:54:52 +00:00
MaxED
47a84ad20f Added VOXELDEF support.
Visual mode: added "Match Brightness" action.
DECORATE parser: actor names, which contain "+" and "-" symbols, are now parsed correctly.
Fixed an error in lump ranges creation logic.
Cosmetic fixes in various warning/error messages.
Updated documentation.
2014-01-03 10:33:45 +00:00
MaxED
46feeb422f I keep forgetting that, unlike protected methods, Actions MUST be implemented in derived classes... 2013-12-26 08:07:40 +00:00
MaxED
5d2237b026 Fixed 2 more bugs in Tools.DrawLines() introduced while optimizing it... 2013-12-24 09:21:18 +00:00
MaxED
87ff11cc0f Things are now rendered behind grid and linedefs/vertices when they are dragged.
Added hints for Drag Geometry modes.
2013-12-23 12:02:58 +00:00
MaxED
6a51cc7c01 Classic modes: bilinear filtering was used in full brightness mode regardless of preferences setting.
Classic modes: "Paint Selection" and "Toggle Full Brightness" actions can now be used from any plugin.
Fixed possible crash in DECORATE actor color override logic.
2013-12-23 09:51:52 +00:00
MaxED
a118e53e55 DECORATE: actors can now override category color using "//$color <color index>" key.
Added info about DECORATE keys to documentation (Configurations -> DECORATE keys).
2013-12-23 09:25:09 +00:00
MaxED
940a5f6183 Fixed a bug in Line2D.GetIntersection(), introduced in r1854 (SHOULD... OPTIMIZE... MORE... CAREFULLY!!!11).
A couple of minor optimizations in Renderer3D.
2013-12-23 08:00:19 +00:00
MaxED
4e93bc71d3 Linedef Edit Form: added "Subtractive" render style (no Visual mode support yet).
Fixed a misleading hint.
2013-12-20 13:41:57 +00:00
MaxED
2dee709ed6 Wad file can now be loaded by dragging them on top of GZDB's main window.
Open Map Options and Map Options forms: resources can be added by dragging them on top of resources list.
2013-12-20 11:40:33 +00:00
MaxED
0366f13c9a Flat textures were loaded incorrectly in some cases.
UDMF map parser should work ~35% faster now.
Texture browser form: keyboard focus was not updated when switching between textures using Tab key.
"Graphics" folder is now checked when searching for texture patches.
Various cosmetic changes here and there.
2013-12-20 09:24:43 +00:00
MaxED
ae56aad3b7 Hints panel was improperly resized in some cases.
Info panel was not updated after leaving Visual mode.
Moved hints logic to ClassicMode, so hints can be displayed by any plugin.
Visual mode: dynamic light animation was not working.
Minor performance improvements in Actor, Configuration, UDMF and TEXTURES parsers.
2013-12-18 09:11:04 +00:00
MaxED
b1b3dda28b Increased performance when creating new map geometry (for example, when applying changes made by "Draw Line", "Draw Rectangle" etc. actions). 2013-12-17 13:18:44 +00:00
MaxED
9df67e8b22 Thing Info panel: thing action is no longer shown in Doom map format.
Sector and Thing Info panels: fixed possible crash when trying to show unknown thing/sector flag.
Hints were not shown properly when multiselection was started while highlighting a map element.
Copy/Paste actions work much faster now.
Classic modes: rendered grid size in now adjusted to current zoom level.
2013-12-17 08:19:40 +00:00
MaxED
1bd58bab4b Increased performance when deleting things in Things mode, linedefs in Linedefs mode and sectors in Sectors mode.
Increased performance when canceling Edit mode after pasting.
"Export to Wavefront .obj" function: current selection is now converted to sectors before running the function (previously it would export selected sectors when there were sectors selected, or the whole map when no sectors were selected).
2013-12-13 09:31:18 +00:00
MaxED
d03787f48c Sectors mode: selection info was not updated after performing undo 2013-12-12 09:40:20 +00:00
MaxED
ab4d8c2776 "Export to Wavefront .obj" action should work much faster now.
Things mode: selection info was not updated when selection was cleared.
2013-12-12 09:07:30 +00:00
MaxED
871776e319 "Export to Wavefront .obj" action should work approx. 60% faster now. 2013-12-11 13:28:26 +00:00
MaxED
894a2069e8 Fixed/reverted some of optimizations from r1845... 2013-12-11 09:47:35 +00:00
MaxED
47cebd9b20 Sectors mode: selected sectors geometry cache was not updated after undo/redo.
Updated hint system.
Corrected 2 typos in action names.
2013-12-11 08:47:11 +00:00
MaxED
0b622c5f73 Thing Edit form: the logic of thing position controls was broken.
Info panel: current mode name was shown when in shouldn't have been.
2013-12-10 13:01:27 +00:00
MaxED
4e52d9bb9c Sectors mode: optimized rectangular selection logic.
Sectors mode: optimized sector highlight rendering logic.
Sectors mode: optimized sector effect/tag labels update logic.
Geometry tools: optimized several core functions.
Hints for current editing mode can now be displayed when nothing is highlighted (currently the hints are shown only in Draw Geometry mode).  
GZDB is now build with LARGEADDRESSAWARE flag, which increases amount of RAM GZDB can use from 1.4 to 2.8 GB.
2013-12-10 12:19:27 +00:00
MaxED
a99811a106 Linedef info panel, UDMF: activation flags were not shown in flags panel and were causing exception.
Linedef info panel, Hexen map format: activation is now shown.
2013-12-06 11:21:10 +00:00
MaxED
890fd10b7f Linedef info panel: linedef flags are now shown.
Removed 15 Mb of unused files (3 DB2 splash screen sources).
2013-12-05 14:04:25 +00:00
MaxED
0ca7135121 Fixed a crash when user cancels engine launch during Test Map action.
These changes were made in previous commit. I just forgot to write info about them:
Classic modes: going to Draw modes when Edit button is pressed when nothing is highlighted can be disabled in Preferences -> Editing -> "Start drawing when Edit pressed over empty space in Classic modes".
Classic modes: removed Preferences -> Editing -> "Try to align horizontal tex. offset of dragged geometry", because it was more confusing than helpful...
2013-12-05 09:42:29 +00:00
MaxED
ca03109006 Info panels: thing and sector flags are now displayed.
Visual mode: changed "Move Texture Left/Right/Up/Down by 8" actions to "Move Texture Left/Right/Up/Down by cur. grid size"
Visual mode: holding Ctrl-Shift while dragging texture with the mouse will snap texture offsets to current grid size.
Classic modes: interiors of highlighted sectors are now highlighted when the action target of currently highlighted map element is sector.
Unhandeled exceptions infos are now written to the event log.
2013-12-05 09:24:55 +00:00
MaxED
44bf0b9588 New angle control logic was behaving incorrectly in some cases.
Angle control (the newer, photoshop-like one): left-clicking inside the control now clamps angle to 45-degree increments. Right-clicking inside the control sets precise angle.
Thing Edit Form: replaced angle control with newer one.
Classic modes: fixed minor rendering artifacts when drawing thing direction arrow.
2013-12-04 13:27:34 +00:00
MaxED
b27716ce6b Classic modes: event lines were rendered inconsistently while panning the view.
Sectors mode: event lines were not rendered for things targeting highlighted sector.
Added "DropItem" and "CheckFlag" definitions to ACS and DECORATE script configurations.
2013-12-03 14:40:40 +00:00
MaxED
55fb9f872d "Raise" and "Lower Floor/Ceiling to adjacent sector" actions: when the action is not able to find suitable height from the elements of the same type, element of opposite type is used instead (damn that's cryptic :) ). Example: when no ceiling lower than lowest in selection was found while lowering selected ceilings, highest floor height of sectors, selected ceilings belong to, will be used instead. Even shorter: these actions can now be used to "close" and "open" doors quickly. 2013-12-03 13:12:12 +00:00
MaxED
bf2f520a8e Fixed a crash when opening Thing Filters form when non-UDMF map was loaded.
Fixed a possible crash when rendering thing arrows in classic modes caused by incorrect vertex buffer size calculation.
Reverted changes to texture\flat access when "mixtexturesflats" option is set to true in game configuration.
2013-12-03 10:50:33 +00:00
MaxED
d9439850f7 Error checks: PlaneAlign action is now taken into account when checking for missing upper/lower textures.
Several fixes in flat/texture/patch loading and precedence. Texture loading will no longer fail when there's a texture and a flat with the same name.
2013-12-02 15:02:01 +00:00
MaxED
cd50592cd5 Classic modes: hopefully fixed a thread-related exception while loading sprites.
Visual mode: direction arrows are no longer rendered for non-directional things.
Actions log is now saved to GZCrash.txt
2013-12-02 09:26:09 +00:00
MaxED
e4a924eb14 Sectors and Linedefs modes: rectangular selection now checks for intersections between linedefs and itself when "select touching" is enabled. 2013-11-29 14:45:29 +00:00
MaxED
c4130499fc Edit forms: current selection is no longer cleared when the edit is canceled.
Updated documentation.
2013-11-29 12:24:47 +00:00
MaxED
898c8e6166 Open Map Form was unable to pick game configuration when selected wad contained maps in several map formats.
Texture selector control: fixed a crash when trying to refresh current image when the map was no longer available.
2013-11-27 15:38:03 +00:00
MaxED
f482aebfb0 Classic modes: thing sprites are now rendered in classic modes.
Classic modes: models no longer disappear when the thing the model is attached to is no longer visible.
2013-11-27 12:45:28 +00:00
MaxED
ac6e7f07e7 Hm... Don't know how this got screwed... 2013-11-22 09:35:25 +00:00
MaxED
9b39598501 Forgot to commit these two files... I'm sorry :( 2013-11-22 09:23:59 +00:00
MaxED
52985db127 Some fixes to sector brightness/heights override logic added in previous commit. 2013-11-21 11:51:48 +00:00
MaxED
e8f52aecb9 Added Draw Settings side panel, which replaces Set Default Textures Form and allows to set textures, brightness and floor/ceiling heights to use when drawing sectors. Used settings are now saved in the map's .dbs file.
Location and active tab of all Edit Forms are now stored while GZDB is running.
Focus management between editing window and the rest of the interface should work better now.
Tag Explorer plugin: editing window was not updated properly when Edit forms were opened from Tag Explorer.
Tag Explorer plugin, UDMF: comment editing was incorrectly initialized in some cases.
2013-11-21 10:53:11 +00:00
MaxED
c441c5640a Visual mode, UDMF: "nofakecontrast", "smoothlighting" and "lightabsolute" flags are now taken into account when calculating fake contrast/smooth lighting brightness values for walls. 2013-11-20 14:59:31 +00:00
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
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
a8aa277faa Classic modes: 3D floor indicators can be disabled in preferences (Preferences -> Appearance -> Mark 3D floors in classic modes).
Updated documentation.
2013-08-21 11:20:00 +00:00
MaxED
7ba352216d Visual mode: fixed a crash when trying to load non existing sprite, defined in configuration or via "//@sprite" parameter in DECORATE.
MissingThing icon is now used when the editor is unable to load thing sprite.
An error is added to error logger when the editor is unable to load thing sprite.
2013-08-21 10:45:54 +00:00
MaxED
2b14e5b8d0 Preferences form: script font preview now works. 2013-08-20 10:20:48 +00:00
MaxED
76dc4574ab Linedef and Thing arguments are new set to 0 when converting a map to Doom map format.
Fixed a crash when executing "Toggle Geometry Effects" (Tab).
2013-08-20 08:21:20 +00:00
MaxED
5853624dc5 Updated documentation.
Increased maximum zoom level in Classic modes to 3000%.
Added "1 mp" option in grid size menu.
Added "400%" option in zoom menu.
Renamed "Toggle GZDoom rendering effects" action to "Toggle Geometry Effects".
Sync camera position: Visual Camera height is now changed only if camera is above or below current sector.
Classic modes: view was not redrawn after "Test map from current position" action.
"Test map from current position" action: incorrect player start was used when a map had several Player 1 Start things.
2013-08-19 12:12:31 +00:00
MaxED
1e9a08fc96 Removed newly created sectors coloring (because it was more slow than helpful).
Some cosmetic changes in Linedef Edit form.
Link, Unlink and Reset icons can now be properly seen on dark backgrounds.
2013-08-14 09:02:37 +00:00
MaxED
53b13a4096 Tag and script number/name drop downs in Edit forms are now resized to match the width of the longest entry.
Jitter mode: view was not updated when "Relative" option was toggled.
2013-08-13 09:49:29 +00:00
MaxED
3e31c39c20 Sector edit form, UDMF: added "Use line angles" floor/ceiling rotation option.
Some cosmetic changes in uifields management.
2013-08-12 10:15:08 +00:00
MaxED
4dc80538ec Sector Edit form, UDMF: sector flags were not shown properly.
Color picked plugin: plugin used incorrect default "lightcolor" value after r1758.
2013-08-10 11:42:18 +00:00
MaxED
6ce9043ff6 Removed UDMFControls plugin.
UDMF fields, handled by UI, had broken field types after r1758.
Removed some redundant type casts.
2013-08-10 11:28:51 +00:00
MaxED
0123e8df6e UDMF: added "waterzone" sector flag.
UDMF: added "gravity" thing property to UI.
MAPINFO parser: removed unneeded error notification.
2013-08-10 09:06:24 +00:00
MaxED
a347afaf66 Made map detection logic a bit more strict. If BEHAVIOUR lump is present, a map can no longer be detected as a map in Doom map format. 2013-08-09 08:39:45 +00:00
MaxED
457cfc8221 "Look Through Selection" action: InterpolationPoint can be handled the same way as SecurityCamera or AimingCamera. 2013-08-08 11:31:06 +00:00
MaxED
724709e435 Visual mode: added "Look Through Selection" action (default key is "Y"). This action places visual camera at the same position as selected/highlighted thing and rotates it to match thing's angle. Special handling is available if targeted thing is AimingCamera, MovingCamera or SecurityCamera.
Script editor: pressing "F1" now opens keyword help instead of program manual.
Linedef edit form, Thing edit form: rewritten script support logic. It should now work in the same manner as the rest of controls.
Thing info panel: thing arguments now have proper labels.
Edit forms, UDMF: fields, which are handled by UI, are no longer shown in "Custom" tab.
Visual mode: fixed a crash when loading a model on a video card without Shader model 2.0 support.
Fixed incorrect argument number and changed most of labels in "Cameras and interpolation" section of zdoom_things.cfg.
2013-08-08 11:04:13 +00:00
MaxED
0a5ff0bdaf Visual mode: fixed incorrect vertical texture offsets of middle parts of double sided linedefs.
ACS support: script numbers/names without space between them and script arguments (like 'script 999(void)' or 'script "test"(void)') were not parsed.
2013-08-07 09:25:37 +00:00
MaxED
f35e39de01 Linedef info panel: texture preview was not updated in some cases.
Visual mode: fixed major slowdowns and possible out of memory exceptions when viewing a map with lots of missing textures.
2013-08-05 13:46:43 +00:00
MaxED
3890c4a7c8 Fixed a crash when reloading resources after removing a resource.
Visual mode: rendering was broken on video cards without Shader Model 2.0 support.
Engines list was not updated after changing engine in Test button's drop down.
2013-08-05 13:03:08 +00:00
MaxED
82722e546c Visual mode: fixed incorrect sidedef texture mouse dragging when texture was scaled in TEXTURES.
Visual mode: texture offsets are now clamped to texture size when dragging textures with mouse.
Visual mode, UDMF: when gravity is enabled, sector gravity now affects camera movement.
2013-08-02 12:50:53 +00:00
MaxED
b39dcdcb9a Main form, warnings indicator: fixed a redraw bug when showing more than 999 errors/warnings.
Sector/Linedef edit form: float values were incorrectly formatted in some cases.
2013-07-31 13:57:02 +00:00
MaxED
993328b57b Textures with names starting with "-" were not processed correctly.
Textures were not loaded properly from PK3/PK7 archives.
Visual mode: restored ability to remove textures using Delete action.
Visual mode: fixed several bugs in Cut/Copy/Paste things actions.
Visual mode: vavoom style 3d floors were not displayed properly.
Visual mode, 3d floors: added support for "RestrictLighting" (2) flag.
Visual mode, 3d floors: inner sides of 3d floors with "swimmable"/"render inside" flags used incorrect brightness value.
2013-07-31 12:38:47 +00:00
MaxED
12d9e1b08f Fixed several crashes when trying to load not existing images and models from folder/pk3/pk7 resources. 2013-07-30 09:25:27 +00:00
MaxED
e0b7af81a4 Visual mode: fixed a crash while changing 3d floor texture offsets when visual sector was not created for 3d floor's control sector.
Visual mode: Info/Warning/Error status messages were not displayed properly when nothing was selected.
Sector Edit form, UDMF: Reset and Link buttons were overlapped in Floor/Ceiling scale controls.
2013-07-29 12:01:06 +00:00
MaxED
ca49587ed1 Err... Forgot to add this 2013-07-29 09:01:02 +00:00
MaxED
cf3d416967 Renderer now works much faster in 2D modes.
Textures now load up to 2x faster when "mix textures and flats" flag is set in game configuration.
TEXTUREx/TEXTURES: texture will now be created if at least one of it's patches is loaded.
Visual mode: fixed a crash when "Slope floor to here" (9500) or "Slope ceiling to here" (9501) things were not inside sector.
Fixed: flats were not loaded form wads inside Directory and PK3/PK7 resources.
Sector Info Panel, Linedef Info Panel: texture size was shown for unknown textures.
2013-07-29 08:50:50 +00:00
MaxED
b3713489d3 Fixed a compilation error in MapManager.cs when building solution in Release mode. 2013-07-26 09:36:32 +00:00
MaxED
b8900b36dd "Open Map in current WAD" action now works much faster. 2013-07-25 12:39:40 +00:00
MaxED
3a4876704a ModelReader: fixed a crash when trying to load a model without extension. 2013-07-24 13:11:50 +00:00
MaxED
e5a9bac2ad Added "File -> Open Map in current WAD" command (default shortcut is Ctrl-Shift-O).
Fixed some errors in non-UDMF <-> UDMF map conversion.
Updated ISS setup script (not tested).
Removed some unused variables.
2013-07-23 14:25:03 +00:00
MaxED
bafb8ed511 UDMF: sidedef flags are now defined in game configuration instead of being hardcoded.
Texture scale controls now have "Link" button. 
Thing, Sector (UDMF) and Linedef edit forms now work in realtime mode.
Some more fixes in Edit form realtime update stuff.
Removed some unused variables and functions.
2013-07-19 15:30:58 +00:00
MaxED
7f3461209a MD3: Vertex indices were incorrectly assigned when a model had several surfaces with same skin. 2013-07-15 08:32:32 +00:00
MaxED
0a13799142 Fixed a couple inaccuracies in game configurations. 2013-07-12 09:58:36 +00:00
MaxED
eaca9eec22 Thing Edit form: several thing types can now be selected at once. In this case, a type randomly chosen from selected ones will be assigned to each selected thing.
Thing Edit form: you can now double-click on thing type to apply the changes and close the form.
2013-07-11 11:43:49 +00:00
MaxED
8de9ad6b24 Added RandomFloat Universal field type. To use it, change Filed type to "Decimal (random)" and enter a value as 'min max'. 2013-07-10 13:40:18 +00:00
MaxED
354be81d27 Added RandomInteger Universal field type. To use it, change Filed type to "Integer (random)" and enter a value as 'min max'. 2013-07-10 12:41:49 +00:00
MaxED
6d717a06ea Sector Edit form, Vertex Edit form: fixed another crash related to realtime update... 2013-07-10 09:57:30 +00:00
MaxED
ecbf9fd743 UDMF: sector flags are now defined in game configuration instead of being hardcoded.
Sector Edit form, Vertex Edit form: fixed a crash when updating sector/vertex properties in Visual mode.
Reorganized game configurations.
2013-07-10 08:59:17 +00:00
MaxED
4b018957aa Sector Edit form, UDMF: sectors were not updated properly after closing the form because of changes in Doom/Hexen Sector Edit form. 2013-07-09 13:13:00 +00:00
MaxED
7a35751100 Deleted, I said... 2013-07-09 11:30:40 +00:00
MaxED
6326adc9ed Sector Edit form now works in realtime mode in Doom/Hexen map formats.
Status text now displays info about current selection.
Removed StairSectorBuilder plugin. The version form doombuilder.com works fine with current version of GZDB.
2013-07-09 11:29:10 +00:00
MaxED
d3a6e49960 Aaaaand yet another fix in VerticesMode.DeleteItem()! Yay! 2013-07-08 13:52:07 +00:00
MaxED
1b2ee24bf3 Fixed ButtonsNumericTextbox.StepSize value type inconsistency with DB2. 2013-07-08 13:39:06 +00:00
MaxED
883527c37c Sector Edit form and Linedef Edit form now support float texture offsets.
Tag Statistics form: you can now double click on Sectors, Linedefs or Things cell to select them, and right click to open their properties.
Texture size labels were displayed incorrectly in some cases.
Rewritten VerticesMode.DeleteItem() once again...
Vertex Edit form now works in realtime mode.
Vertex Edit form: ceiling and floor vertex offsets can now be cleared.
Added StairSectorBuilder plugin (I suppose some external plugins will stop working in GZDB because I've changed ButtonStep to float in ButtonsNumericTextbox a couple revisions ago...).
Preferences form: action description is now scrollable.
Changed background color of Sector Edit form.
Vertex' ZCeiling and ZFloor properties are now managed internally.
2013-07-08 13:13:28 +00:00
MaxED
392f7f6eca Sector Edit form, UDMF: floor brightness input was setting ceiling brightness.
Sector info panel: floor/ceiling brightness should be always shown when "lightabsolute" flag is set.
2013-07-05 11:04:53 +00:00
MaxED
fd0a5d0f87 Rewrote VerticesMode.DeleteItem function. It was still not working properly after previous commit (proper vertex deletion can become surprisingly complicated in some cases)... 2013-07-05 09:07:49 +00:00
MaxED
3e9cee0e04 Vertices mode: vertex deletion process (hopefully) is less buggy now. 2013-07-04 12:28:41 +00:00
MaxED
27248a82d7 Visual mode: in some cases solid 3d floors were clipped by translucent ones. 2013-07-01 10:51:23 +00:00
MaxED
985705d8ca Visual mode: you can hold Shift while dragging a texture to lock movement to horizontal axis, and Ctrl to lock it to vertical axis.
Color Picker: fixed a crash when entered float values were not in 0.0 - 1.0 range.
2013-07-01 09:34:17 +00:00
MaxED
a130311f8d Visual mode, UDMF: fixed another bug in Auto align functions.
Visual mode, UDMF: OffsetX and OffsetY were not properly taken into account in "Fit Texture Width/Height" actions.
UDMF: different Sector Edit Form is now used in UDMF map format.
Some fixes in Linedef edit form.
Added missing icons.
2013-06-25 12:35:13 +00:00
MaxED
b77b8e61d9 Visual mode, UDMF: added "Scale Texture Up (X)", "Scale Texture Down (X)", "Scale Texture Up (Y)", "Scale Texture Down (Y)" actions. Default keys are Num6, Num4, Num8, Num5.
Visual mode, UDMF: renamed "Rotate Thing Clockwise" and "Rotate Thing Counterclockwise" actions to "Rotate Clockwise" and "Rotate Counterclockwise". These actions can now be used to change rotation of floor/ceiling textures.
Visual mode, UDMF: "Reset Texture Offsets" action now also resets sidedef's scale and floor/ceiling's scale and rotation.
Visual mode, UDMF: control line's OffsetX and OffsetY were not taken into account when calculating texture offsets of 3d floors' sides.
Visual mode, UDMF: fixed a ton of bugs in Auto align functions.
Visual mode, UDMF: when using "Move Texture Left/Right/Up/Down by 1" actions texture offsets were not updated properly when texture's scale was < 1.0.
Visual mode, UDMF: OffsetX and OffsetY were not taken into account in "Fit Texture Width/Height" actions.
Dockers Panel: added Pin/Unpin button, which acts the same as "Preferences -> Interface -> Side panels -> Auto hide" checkbox.
Texture size labels can now be disabled by unchecking "Preferences -> Interface -> Show texture and flat sizes in browsers" checkbox.
Texture size labels now are not shown for unknown textures.
Most of texture size labels had incorrect bg color.
ZDoom_linedefs.cfg: action specials 223 and 224 had incorrect Arg0.
2013-06-24 14:21:13 +00:00
MaxED
8ebd348e44 TagExplorer: incorrect sector index was used. 2013-06-19 11:36:20 +00:00
MaxED
16cc4d8a8d Linedef edit form, UDMF: front sidedef's Fields button was not shown.
Visual mode: fixed a crash after disabling GZDoom rendering effects (Tab key) when visual sector was not created for sector with 3d floor's control linedef.
2013-06-19 11:18:13 +00:00
MaxED
962ea2b80e Texture browser form: texture size was not updated after loading a texture.
+ some fixes to previous commit.
2013-06-17 14:09:29 +00:00
MaxED
806db41ced Texture size is now shown in Linedef and Sector info panels and in Linedef and Sector edit forms. 2013-06-17 13:17:53 +00:00
MaxED
776c357265 Visual mode: fixed a freeze when sectors with sector effects were recursively updating each other. 2013-06-17 09:42:49 +00:00
MaxED
f419db1518 DECORATE Scale actor property is now taken into account when rendering models.
Fixed several bugs in Engine selector dialog ("Game configurations -> Testing").
2013-06-14 11:40:18 +00:00
MaxED
640b874bd3 "Toggle Full Brightness" action now works in Classic modes. 2013-06-13 11:32:00 +00:00
MaxED
b703a6569e Linedef edit form: action arguments were set to zero when settings were applied to several lines with different argument values (instead of being kept unchanged). 2013-06-12 11:36:51 +00:00
MaxED
8ddcccf067 Linedef edit form: all linedef UDMF properties are now editable via user interface + some fixes in sidedef UDMF controls. 2013-06-11 08:05:32 +00:00
MaxED
a0b4ce71b5 Fixed a null reference exception when saving an empty comment in TagExlorer plugin. 2013-06-10 15:05:59 +00:00
MaxED
832e1a4201 UDMF, Linedef edit form: All sidedef properties are now editable via user interface.
Fixed a typo in one of Visplane Explorer messages.
Small fixes here and there.
2013-06-10 14:04:23 +00:00
MaxED
08dd4c19b6 Fixed a crash when saving a screenshot on systems with specific date-time formats.
Increased screenshot jpeg quality to 90.
2013-06-06 15:58:48 +00:00
MaxED
869411b7aa Added an icon to "Keyboard Shortcuts Reference" menu item. 2013-06-06 12:55:22 +00:00
MaxED
82c547f673 GZDB can now save keyboard shortcuts reference to html file (Help -> Keyboard Shortcuts Reference).
"Clear Group" 2-10 actions had incorrect default shortcuts.
2013-06-06 12:37:37 +00:00
MaxED
aea360adb9 Added "defaultlinedefactivation" setting to configuration.
Added some boilerplate to SaveScreenshot function.
2013-06-06 10:22:58 +00:00
MaxED
a938453703 Default flag ("playercross") was not set when a map was converted to UDMF map format (because there are no default flags in UDMF).
Linedef activation now translates a bit more accurately when converting a map to/from UDMF.
2013-06-05 11:12:44 +00:00
MaxED
be3f71c2e7 Screenshots of GZDB window and edit area can now be saved (Tools -> Save Screenshot and Tools -> Save Screenshot (edit area)).
NumericTextbox now uses NumberDecimalSeparator instead of CurrencyDecimalSeparator.
2013-06-05 08:08:56 +00:00
MaxED
cebd3a4780 Map Analysis mode: only a single undo is now created when multiple similar errors are fixed using "Apply to all errors of this type" checkbox, which greatly reduces errors fixing time. 2013-06-04 14:43:26 +00:00
MaxED
f1df0c2d94 Vertex edit form: it was impossible to enter fractional position and zOffset values even if map format supported it. 2013-06-04 13:59:24 +00:00
MaxED
d42a7459d7 MD2 models with more than 32768 vertices were not loaded properly. 2013-06-03 11:55:55 +00:00
MaxED
e90473e7d9 "thingflagstranslation" block was missing from UDMF game configuration, so thing flags were dropped when map format was changed to UDMF. 2013-06-03 11:32:29 +00:00
MaxED
9d985393ee A map was not saved properly when user saved it right after changing map format.
Removed some unused "using" directives.
2013-05-31 13:57:49 +00:00
MaxED
c67331eaf6 Map Analysis mode can now check the map for unconnected vertices. 2013-05-30 15:50:46 +00:00
MaxED
e5dd1fa9c5 Linedefs mode: added "Align Floor Texture to Front Side", "Align Floor Texture to Back Side", "Align Ceiling Texture to Front Side" and "Align Ceiling Texture to Back Side" actions (available in Linedefs -> Align Textures menu). 2013-05-30 12:52:27 +00:00
MaxED
0cb36302ce Visual mode, UDMF: we shouldn't auto-align floors/ceilings with different textures. 2013-05-30 09:34:44 +00:00
MaxED
70b88bd47d Visual mode, UDMF: "Auto-align textures" actions now work for floors and ceilings. Textures are aligned to a linedef of highlighted floor/ceiling, which is closest to 3d-cursor position. 2013-05-29 14:18:49 +00:00
MaxED
7f6c6a1122 Linedef flags were not translated properly when a map format was changed to/from UDMF.
Linedef colors were not updated properly when a map format was changed and were causing an exception in some cases.
Vertices mode: linedef in split linedefs range was redreawn incorrectly in some cases.
Updated "Sector 3D Floor" (160) action: set default Type to Solid (1), added "Use Arg5 as Line ID" flag to Types, changed arg5 name to "Line ID / Hi-Tag".
Added "GetUserCVar", "SetCVar" and "SetUserCVar" functions to ACS configuration.
Set width and height of several actors to 0 in game configutrations (non-zero sizes were added as a workaround when GZDB was not displaying actors with 0 width and height in Visual mode).
Added several sprites to game configurations.
2013-05-27 12:20:15 +00:00
MaxED
ae8780f4ea Classic Modes: added 3D floor indication (color can be changed in Preferences -> Appearance -> 3D Floors).
Sector_Set3dFloor action (160): added hi-tag/line ID check.
2013-05-20 10:43:34 +00:00
MaxED
e4751dfaf1 Visual Mode, UDMF, Visual Vertices: heights of vertices without z-offset was incorrect in some cases.
Visual Mode, UDMF, Visual Vertices: vertices without z-offset are now rendered using Vertex color (Preferences -> Appearance -> Vertices).
2013-05-02 11:03:16 +00:00
MaxED
6b4d03baaa Visual Mode, UDMF: added "Fit Texture", "Fit Texture's Width" and "Fit Texture's Height" Actions.cfg
Visual Mode, UDMF, Visual Vertices: you can now press "Delete" key to clear z-offsets of selected vertices.
Visual Mode, UDMF, Visual Vertices: the logic, which decides whether z-offset should be kept or removed, was not working properly.
Visual Mode, UDMF: Auto-align Textures (Y) action was not working properly when targeted texture was lower wall without "Lower Unpegged" flag.
2013-05-02 07:47:22 +00:00
MaxED
c3c7490231 Visual Mode: added "Toggle Slope" action.
Visual Mode, UDMF: "Auto Align Textures" actions now work on slopes.
Visual Mode, UDMF: Floor/ceiling texture rotation is now taken into account when moving texture offsets with arrow keys.
Visual Mode, UDMF: Fixed a bug in floor/ceiling texture dragging by mouse.
2013-04-26 12:32:51 +00:00
MaxED
23efaee1ee Added "Select Things in Selected Sectors" action. 2013-04-25 09:43:24 +00:00
MaxED
817cb2a7a4 DECORATE: When an actor inherits from an actor, defined in Game configuration, values from Game configuration are used if an actor doesn't define them.
UDMF Controls plugin: changes made using plugin were not properly undoable.
2013-04-19 11:35:56 +00:00
MaxED
29d11b170e Plane Copy effect (118) is now shown in Visual mode.
UDMF: Reset texture offsets action now works on floors and ceilings.
Vertices mode: when a linedef is within Split Linedefs range, it's now highlighted using Info line color.
2013-04-16 12:52:40 +00:00
MaxED
559d568642 Some cosmetic changes in Hexen and ZDoom linedef configurations.
Some cosmetic changes in Bit flags form.
2013-04-15 13:52:54 +00:00
MaxED
83ee9aed4d DECORATE: fixed parsing error when whole "States" block is on one line.
Fixed: Incorrect articles were sometimes used in Draw Geometry/Curve/Rectangle/Ellipse info messages.
2013-04-15 10:54:55 +00:00
MaxED
50c004bb2c Fixed: tall patches higher than 508 pixels were read incorrectly. 2013-04-12 12:53:26 +00:00
MaxED
4fe2676e11 Looks like first 3 bytes of JPG image can be treated as signature, not 4. 2013-04-12 11:06:57 +00:00
MaxED
a150931bb2 Removed a metric ton of unused "using" directives from BuilderModes plugin. 2013-04-11 11:26:57 +00:00
MaxED
8cf9e651cc Removed a metric ton of unused "using" directives from Core. 2013-04-11 11:04:16 +00:00
MaxED
8f47c316b9 Classic modes, UDMF: floor/ceiling texture offsets can now be locked in place while sector is dragged.
Fixed another bug in Tools.autoAlignTexturesOnSidesUDMF()
Replaced Math.PI-related equations with stuff from Angle2D class.
2013-04-11 09:27:16 +00:00
MaxED
043590100b Rectangular Selection: removed direction-based additive/subtractive selection. You can now hold Ctrl to enable subtractive selection, hold Ctrl-Shift to intersect with existing selection.
Point Thing at Cursor action: action now works when used from menu, changed default shortcut to Shift-L. You can now hold Ctrl to point Things away from cursor.
2013-04-09 10:56:05 +00:00
MaxED
8f40e113fe Added "Point Thing to cursor" action. 2013-04-08 14:37:37 +00:00
MaxED
ee6430c922 Bridge mode - removed 2 duplicate functions. 2013-04-08 13:43:02 +00:00
MaxED
c49980383a Forgot to add default key... 2013-04-08 13:32:12 +00:00
MaxED
818a485ec2 Added Draw Curve mode. 2013-04-08 13:28:04 +00:00
MaxED
466ff329df Tag Explorer, UDMF: when item's comment editing was canceled, item's comment was removed instead of leaving it unaltered. 2013-04-08 09:13:15 +00:00
MaxED
27f90d079d Fixed a crash after drawing a sector when a newly drawn line completely matches already existing one.
Fixed a typo in documentation.
Fixed a typo in actions description.
2013-04-08 09:01:27 +00:00
MaxED
0243c8c3c8 Small fix in Align Things to Linedef action. 2013-04-05 12:23:50 +00:00
MaxED
f8c8b71dfa Paint Selection, Sectors mode: when selection is started over a sector, it's selected state is now toggled properly.
Several small fixes in "Raise/Lower sector to nearest" action.
2013-04-05 10:56:07 +00:00
MaxED
a0ae887a72 Thing Edit form: things can now be filtered.
Preferences form: list of actions already using current shortcut was not updated properly when actions list was filtered.
2013-04-04 12:04:52 +00:00
MaxED
d582d9b9a1 Visual mode, "Lower/Raise Floor/Ceiling to adjacent sector" actions: you can now hold Ctrl to lower/raise sectors to lowest/highest sector inside selection.
Visual mode: added "Align Textures X and Y" action (default key is Ctrl-A).
Preferences Form: Actions can now be filtered.
2013-04-04 10:14:44 +00:00
MaxED
b104e88a1d Visual Mode, UDMF: "Auto-align Textures Y" action now takes surface peg type into account.
Visual Mode, UDMF: "Auto-align Textures Y" action now applies vertical scale of first (highlighted) surface to the rest of aligned surfaces.
Linedef Edit Form, UDMF: lower sidedef texture offsets were never displayed.
Some more changes in auto texture alignment of newly drawn lines.
BuilderEffects plugin should compile now.
2013-04-03 14:50:41 +00:00
MaxED
60682dab1c Some more changes in auto texture alignment of newly drawn lines. 2013-04-02 13:42:55 +00:00
MaxED
4a6897a6ed Visual Mode: added "Lower Floor/Ceiling to adjacent sector" and "Raise Floor/Ceiling to adjacent sector" actions.
UDMF texture offsets are now used when splitting a linedef in UDMF map format.
Some changes in auto texture alignment of newly drawn lines.
2013-04-02 12:19:25 +00:00
MaxED
c6378809d5 Visual Mode: You can now Shift-Select (usually Select = LMB) to select all adjacent surfaces with same texture, Ctrl-Select to select all adjacent surfaces with same height.
Added Selection Groups options to Edit menu.
Selection Groups can now be cleared using either Edit -> Clear Group or Ctrl-Shift-[group number] shortcut.
Toolbar button groups can now be toggled using context menu. Hold "Shift" to toggle several button groups at once.
2013-04-01 11:06:01 +00:00
MaxED
e243450f74 Added Xabis' ACS includes patch (well, most of it) 2013-03-29 11:24:30 +00:00
MaxED
1afd4febb6 Woops... 2013-03-28 12:36:59 +00:00
MaxED
bb9e2ffc8a Brightness Mode now uses the same selection methods as other classic modes (e.g. Paint Selection and Subtractive Selection) 2013-03-28 12:31:37 +00:00
MaxED
5bae932013 Fixed: Assigning new tag using "New tag" button when selection already had a tag was not working.
Fixed: "Automatic clear selection in classic modes" option was broken.
2013-03-28 11:37:08 +00:00
MaxED
c04a65f104 Even more fixes in Vertex and Linedef deleting process.
Texture browser can now show flats/textures only.
2013-03-26 12:31:07 +00:00
MaxED
6462ff5edb More fixes in Vertex and Linedef deleting process and also Visual Vertex handles. 2013-03-25 14:49:03 +00:00
MaxED
4abcca3cf8 Fixed incorrect behavior when sector had 2 or less sidedefs after vertices or linedefs removal.
Fixed incorrect behavior when 2 linedefs are merged into one after deleting a vertex, when a newly created linedef overlaps existing geometry.
Visual Vertex handles were not updated when sector's floor or ceiling height was changed.
2013-03-22 12:53:34 +00:00
MaxED
0e7a74158f We should save LastUsedConfigName only when creating a new map... 2013-03-21 11:28:50 +00:00
MaxED
46818663f3 Last used configuration is now selected when creating a new map.
Fixed a possible bug in Visual vertex handles rendering code.
2013-03-21 11:23:29 +00:00
MaxED
7f19cd3d62 Let's see if that fixes Vertex Handles rendering in Visual mode... 2013-03-20 10:25:32 +00:00
MaxED
dcaa60f1fb Moving to new SVN (Part II)... 2013-03-18 13:59:05 +00:00
MaxED
591f92cce6 Moving to new SVN... 2013-03-18 13:52:27 +00:00
MaxED
ad46513126 Added "Apply to all errors of this type" checkbox to Map Analysis window.
Updated ZDoom ACC to r3889.
2012-11-30 14:43:11 +00:00
MaxED
94dce70ada UDMF: vertical offsets of a vertex can now be edited in Vertex Edit form and are shown in Vertex Info panel.
Bridge mode: when source sidedefs don't have upper/lower textures, their middle textures are used instead.
2012-11-27 23:04:49 +00:00
MaxED
a3f28cfe94 Merged Visual mode and GZDoom Visual mode into GZDB Visual mode. GZDoomEditing.dll is no longer required. 2012-11-27 21:12:20 +00:00
MaxED
c018e05805 UDMF vertex offsets ("zfloor" and "zceiling") were rendered incorrectly.
Rendering of (G)ZDoom rendering effects (slopes, 3D-floors etc.) can now be toggled in GZDoom Visual mode (default key is "Tab", action is Visual modes -> Toggle GZDoom rendering effects)
2012-11-26 14:23:48 +00:00
MaxED
323c098b17 Increased view distance in Visual modes to 9000 map units. 2012-11-25 20:17:38 +00:00
MaxED
c767b41631 UDMF: Vertex height offsets ("zfloor" and "zceiling") are now shown in GZDoom Visual mode. 2012-11-22 15:32:27 +00:00
MaxED
082bb87c3c Doom/Hexen map formats: texture offsets of walls can now be edited properly in GZDoom Visual mode. 2012-11-22 13:12:35 +00:00
MaxED
c0c36eabbc Added an option to enable DB2-style surface highlighting in Visual modes (when enabled, selected surfaces stay highlighted even if "Show Highlight" is set to OFF) 2012-11-22 09:37:57 +00:00
MaxED
5283989bf2 Fixed incorrect UV mapping on MD2 models in Visual modes. 2012-11-20 22:08:34 +00:00
MaxED
a9d6eb5ce2 Fixed a crash when trying to load a model with more than 32767 vertices. 2012-11-20 14:53:54 +00:00
MaxED
7a952a2e5e Added some boilerplate to UDMF map format reader. If a property value is Integer and expected property type is Float, a value will be casted to float. In other cases of type mismatch, the property will be ignored and a warning will be added to Errors and Warnings window. 2012-11-19 09:44:05 +00:00
MaxED
f731000db3 UDMF Controls form's close using [x] button wasn't handled properly.
Linedef and Sector Edit forms were saving default UDMF texture offsets (which led to increased map size).
2012-11-13 21:11:53 +00:00
MaxED
436bc14a86 Line angle is now displayed when a line is drawn in Draw Geometry mode.
TranslucentLine (208) action's "additive" property values were inverted.
2012-11-11 21:52:08 +00:00
MaxED
42368ae530 Error checks mode: UDMF Thing skill flags are now also taken into account.
Some more tweaks in ZDoom_misc.cfg
2012-11-09 17:40:47 +00:00
MaxED
8f8e529373 Changed sprites of puzzle items in Hexen_things.cfg to proper ones. 2012-11-06 12:52:17 +00:00
MaxED
8b91176fb0 Restored "Texture offset" input in Linedef edit and Linedef info panels for UDMF format.
Added several UDMF properties to ZDoom configuration.
2012-11-05 21:53:45 +00:00
MaxED
f81aad796d Changed "Bottom offset" label to "Lower offset" in Linedef edit form 2012-11-05 14:15:53 +00:00
MaxED
3218dcee10 "Texture/Upper offset" label in Linedef edit form wasn't aligned properly. 2012-11-05 12:47:14 +00:00
MaxED
b8d3ed0ccb Added "lightfog" flag support.
UDMF: UDMF texture offsets can now be edited in Sector and Linedef edit forms.
Floor and ceiling textures are now dragged properly in GZDoom Visual mode.
2012-11-05 12:31:24 +00:00
MaxED
6b62b4f3d2 Added multiple engine support for any game configuration.
Floor and ceiling textures are now moved more predictably by arrow keys in GZDoom Visual mode.
Walls texture coordinates are always rounded when moved by arrow keys in Visual modes.
Linedef info panel: relative UDMF light values are now shown like this: 16 (128), which means "UDMF light value" ("total surface brightness (UDMF light value + sector brightness)")
Player is now spawned at camera height when testing from current location in Visual modes.
Focus is now properly restored after testing from current location in Visual modes.
Updated Heretic_sectors.cfg and Heretic_things.cfg as described here: http://www.doombuilder.com/forums/viewtopic.php?f=11&t=357
Changed sprites of artifacts in Hexen_things.cfg to proper ones.
Renamed Skulltag configs to Zandronum
2012-11-02 23:11:38 +00:00
MaxED
dd0ecf1b96 [WIP] Some more work on Properties Dock plugin... 2012-10-11 14:59:12 +00:00
MaxED
12a7256c29 [WIP] Some more work on Properties Dock plugin... 2012-10-10 15:39:18 +00:00
MaxED
9aa5e27425 Started working on Properties Dock plugin 2012-10-09 15:17:52 +00:00
MaxED
4632fdbe99 Visual modes: selected objects are not highlighted when "Toggle highlight" (H key) option is set to off.
Error Checks Mode: added linedef index to message text of all linedef-related errors.
UDMF: wall texture offsets are now rounded when user edits them via cursor keys or mouse dragging (because they are stored as integers anyway).
2012-10-08 13:07:56 +00:00
MaxED
ca9c464526 UDMF light editing in GZDoom Visual mode: sector brightness is changed instead of "lightceiling" property if targeted ceiling is part of 3D-floor.
UDMF Controls: increased precision of position and scale controls numeric inputs to 2 decimal places.
Sector/Linedef info panels: in some cases incorrect default values were shown for scale.
Sector/Linedef info panels: numbers are formatted more properly.
2012-10-05 13:16:38 +00:00
MaxED
1b6f8c97f9 Builder 1.13:
UDMF: changing brightness of a wall or ceiling in GZDoom Visual mode will change brightness of selected surface, not sector brightness.
Sector and Sidedef info panels show additional info if a map is in UDMF format.
Fixed: GZDoom menu panel wasn't updated when a map was opened via "recent files" item click.
2012-10-03 18:46:13 +00:00
MaxED
5e52082409 Event lines are now shown for ActorMover.
Event lines for "event activators" (ActorMover, Camera and things with Thing_SetGoal special) are now drawn with different color.
Fixed a crash when a Thing with arguments is pasted in Visual modes.
Several other small fixes.
Fixed config error in ZDoom_things.cfg.
Fixed config error in ZDoom_ACS.cfg
2012-09-26 00:04:17 +00:00
MaxED
95702dbf48 Added event lines.
Added toolbar button to toggle event lines on and off.
2012-09-17 21:57:08 +00:00
MaxED
3beaade48e Order, in which patrol points and interpolation points are connected can now be shown in Things and Visual modes. 2012-09-17 15:41:18 +00:00
MaxED
9e6cd07adc Z-height of a thing can now be changed in absolute and relative mode in Thing Edit form.
Lower and Upper portal icons were swapped.
2012-09-16 19:54:16 +00:00
MaxED
df9c61bd95 Added Redraw Sector mode 2012-09-11 22:33:19 +00:00
MaxED
7d9b846d20 Dynamic lights had 0 width and height in Skulltag config, so they weren't shown in Visual modes.
Now only the root node of Folder/PK3/PK7 resource is expanded in Textures browser.
2012-09-09 19:14:03 +00:00
MaxED
59a7f315e9 Actions and Effects can now be filtered (useful when you remember action/effect name, but don't remember it's number or category) 2012-09-07 14:04:32 +00:00
MaxED
59ade165e7 Vertex scale can now be set in Preferences (controls the size of vertex handles in 2D Modes). 2012-09-07 10:45:49 +00:00
MaxED
f2b42d1329 Fixed severe lags during Texture Browser opening when resource wad for current texture had lots of textures.
Texture groups weren't created properly in soma cases.
Added Monster/Hate Target sprite.
2012-09-05 10:31:32 +00:00
MaxED
ddeeadf574 Added linedef direction preview to Draw Geometry mode 2012-09-02 23:37:17 +00:00
MaxED
bf1e9480ed Tiny fixes in Color Picker plugin 2012-08-29 10:39:59 +00:00
MaxED
879cbacd93 Added unknown things check to Error Checker 2012-08-29 10:09:02 +00:00
MaxED
a45b1dd3b9 Floor and ceiling brightness levels of 3d-floors can now be edited properly in GZDoom Visual mode.
Updated to Doom Builder 2 r1604:
Stuck thing error checker now also regards thing flags.
2012-08-27 11:39:14 +00:00
MaxED
4d26e1acdc Added palette size check to prevent crash if palette is corrupted 2012-08-24 01:18:25 +00:00
MaxED
91080d618a For some reason, folders in Texture browser were sorted in descending order.
Color Picker plugin: color can now be displayed as HEX or Float.
2012-08-20 10:44:27 +00:00
MaxED
b477309168 UDMF Controls plugin:
Relative mode is set to false by default.
Limits of Brightness slider were set after setting it's value, so values greater than 100 were set to 100.
Fixed a bug when a plugin tried to access 3d-floor-specific stuff of walls, which weren't part of 3d-floor.

Color Picker plugin: added float representation of current color (like 1.0 0.54 0.29). Should make editing of GLDEFS light definitions easier.
2012-08-20 01:08:18 +00:00
MaxED
e308d2ff15 Updated to Doom Builder 2 r1599:
Find and Replace Mode: can now find things and linedefs by their flags
2012-08-14 20:10:59 +00:00
MaxED
89fad3ee65 GZDoom Builder 1.12e:
Fixed: inability to change 3d-floor height when control sector is too far away (further than current View distance).
Fixed: "Frame" property wasn't red by MODELDEF parser.
Fixed: PK3 archives are no longer locked when GZDB is running, so you can change their contents without closing the editor.
2012-08-14 12:47:27 +00:00
MaxED
eb86ab60af GZDoom Builder 1.12d:
TEXTURES patches can now be loaded from anywhere inside resource.
Configs: things from "Cameras and Interpolation" and "Boom Items" categories weren't rendered in Visual modes.
Configs: several new icons are now used for things.
Reverted sectors rendering from 1.12b, because it was done in too hackish way and was causing more and more problems. Models rendered height is now 25% lower instead.
Models rendering height can be toggled between normal and 85% in Preferences->Appearance->"Scale models in Visual modes"
Fixed several small bugs here and there.
2012-08-10 12:08:08 +00:00
MaxED
508a3f2772 GZDoom Builder 1.12b:
Things can now be rotated in visual mode.
Added JPG and TGA image format support.
Fixed: TEXTURES files with names other than "textures.ext" will now be loaded (as an example, files named like "textures.something.txt" or "textures_walls.ccp" will be loaded by (G)ZDoom, but not by Doom Builder 2 or previous versions of GZDB).
Fixed: textures defined in TEXTURES have higher priority in (G)ZDoom than images with the same name in "textures" folder.
Fixed another possible crash when MODELDEF is reloaded.
2012-08-05 19:18:05 +00:00
MaxED
4ac5162714 Sectors height is now stretched 120% to match (G)ZDoom's way of rendering. 2012-07-31 17:17:53 +00:00
MaxED
2006cdc7bb GZDoom Builder 1.12a:
AngleOffset, PitchOffset and RollOffset MODELDEF properties are now supported.
Fixed a crash when editor tries to display a model for an actor without a valid sprite in Visual mode.
Fixed a possible crash when MODELDEF is reloaded from 2d-mode.
Fixed several things in Doom2_things.cfg.
UDMF Controls plugin:
Fixed several bugs in plugin's sliders logic.
2012-07-28 20:36:28 +00:00
MaxED
122e5d8e1b Set PlatformTarget of ColorPicker, UDMFControls, TagExplorer and VisplaneExplorer to x86 (this should make Siberian_Tiger's work a little bit easier, I suppose...)
VisplaneExplorer: fixed a crash when user tries to enable Visplane Explorer mode in a map created via New Map command.
2012-07-24 18:09:28 +00:00
MaxED
70ea0658ed GZDoom Builder 1.12:
GZDoom Builder now uses SharpCompress.dll instead of SharpZip.dll.
Added PK7 archive support.
PK3 archives now load aprox. 40% faster.
Textures browser now shows Folder/PK3/PK7 folder structure.
TextureBrowserForm is now used to display both Textures and Flats.
ACS scripts from #include and #import directives are now shown in Script name/number dropdowns.
Fixed several cases when ACS scripts lists used in Edit Thing and Edit Linedef forms wasn't updated when they should've (i.e. after compiling a script).
2012-07-23 21:28:23 +00:00
MaxED
cc6424fb1c Fixed an error when a setting in configuration is outside of PreferencesForm's slider range.
Fixed another potential Decorate parser error while parsing one line actors.
Added info about GZDoom Builder to About form.
2012-07-17 22:51:55 +00:00
MaxED
2a6a381dbd Fixed Decorate parser error while parsing one line actors.
Fixed a typo in variable name.
2012-07-17 12:22:17 +00:00
MaxED
87731c9650 GZDoom Builder 1.11a:
Things can now be cut, copied and pasted in Visual modes.
Sector geometry was not updated properly after Undo/Redo in GZDoom Visual mode.
Fixed an error when user selects multiple things and attempts to view their properties in Doom map format.
Added Decorate and Modeldef syntax hilighting, autocompletion and item recognition to Script editor.
Script Editor can now autodetect several script types when you open them (currently ACS, Decorate and Modeldef scripts are recognized).
Tag Explorer: fixed a bug when Tag Explorer update can block keyboard keys release detection logic.
2012-07-16 09:45:21 +00:00
MaxED
8891395b3a Fixed incorrect dragging of floor/ceiling textures with "rotationfloor" / "rotationceiling" UDMF property set in GZDoom Visual Mode.
Replaced all doubles with floats.
Script Editor: 
Navigator drop-down now updates automatically.
Navigator drop-down now also works for external files.
Added Navigator drop-down support for Decorate and Modeldef.
2012-07-12 22:34:12 +00:00
MaxED
fb0db718a0 Removed some unused functions.
Tag Explorer: comments can now be edited properly.
2012-07-10 14:14:53 +00:00
MaxED
5cb573d938 GZDoom Builder 1.11:
Enhanced scripting workflow.
Thing and linedef arguments can now have default value in configuration files.
Fixed laggy visual camera movement on systems with big uptime.
Fixed incorrect alignment of Things with "hangs" flag in GZDoom Visual mode.
Fixed Editor crash when nodebuilder fails to build map. A window with error description will be shown instead.
Doom light levels were used even in maps in non-doom map format.

Tag Explorer plugin:
Elements list wasn't updated when map element was deleted.
Pugin wasn't disposed properly, which may led to Doom Builder 2 crash on map close.
Fixed plugin crash after opening another map.
Fixed unresponsive text entry in Filter text box.
Fixed plugin crash when Doom Builder can't determmine thing category ("UNKNOWN" category will be used instead).
2012-07-10 10:20:45 +00:00
MaxED
fcd29375c8 Things can now be moved, insterted and deleted in Visual modes.
"Place thing at cursor position" Action places Things much more precisely now.
2012-07-05 13:48:08 +00:00
MaxED
24e1fcad6a Tag Explorer plugin: don't try to update tree when editor is closing! 2012-07-05 07:42:07 +00:00
MaxED
c86d92ce63 3d-floor's floor and ceiling can be dragged properly in GZDoom Visual mode.
Things with "hangs" flag are now aligned to ceiling properly in GZDoom Visual mode.
Things can now be added and deleted in GZDoom Visual mode.
Several fixes in Doom, Doom 2, Heretic and Hexen configs (based on Doom Builder 2 SVN 1553 and 1560)
Added "countsecret" thing UDMF flag to configs.

UDMF Controls plugin:
Scale of 3d-floor's sidedefs textures is now applied properly.
Translation of 3d-floor's sidedefs textures is now applied properly. 
Added "hidden" UDMF flag.

Tag Explorer plugin:
TreeView is now updated when thing is deleted.
Tag Explorer plugin is now compatible with Doom Builder 2.
2012-07-05 00:03:40 +00:00
MaxED
ce60749092 GZDoom Builder 1.10:
Finished Tag Explorer plugin.
Added "ZDBSP - UDMF Normal (no reject)", "ZDBSP - UDMF Normal (zero reject)" and "ZDBSP - Compress nodes (UDMF)" nodebuilder configurations.
2012-07-02 23:20:56 +00:00
MaxED
ea312a6e22 Started working on Tag Explorer plugin 2012-06-30 12:55:47 +00:00
MaxED
254ffeb610 GZDoom Builder 1.09b:
Added X and Y position controls to Edit Thing menu.
Added "Place selected Things at cursor's position" action.
2012-06-29 18:58:18 +00:00
MaxED
62bd1a6b43 Things can now be moved horizontally in Visual Modes 2012-06-29 14:03:35 +00:00
MaxED
afb8c61f9e Added center of map indicator (rendered using Highlight color) 2012-06-28 21:19:32 +00:00
MaxED
7c93fad714 GZDoom Builder 1.09a:
Added drawing modes to Mode menu, so they are much easier to spot now.
Warnings notify panel blinks much more noticeable when there are warnings.
UDMF Controls plugin:
3D-floor surfaces can be edited now.
Relative mode is now enabled by default.
Scale control now works properly in relative mode.
Angle control's angle indicator in now drawn properly when value is changed using numeric control.
2012-06-28 20:27:48 +00:00