Commit graph

324 commits

Author SHA1 Message Date
MaxED
7254c62ee0 Draw Rectangle mode, Draw Ellipse mode: fixed a possible crash when restoring bevel/subdivisions values.
Draw Curve mode: added "Reset" button to the toolbar.
Draw Rectangle/Ellipse/Grid modes: "Reset" toolbar buttons didn't have a proper tooltip.
2014-07-02 10:12:53 +00:00
MaxED
8555d75cd2 A r1959 change in ImageSelectorControl prevented inherited classes from showing properly in Visual Studio's designer.
Also made a bunch of methods static.
2014-05-20 09:09:28 +00:00
MaxED
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
9c7b8e4e3c Model rendering (all modes): UDMF scale, pitch and roll are now displayed.
Thing Edit Form, UDMF: added controls for setting pitch, roll, scale, render style, fill color, alpha, health and score.
Visual mode, UDMF: UDMF scale is now applied when rendering sprites.
Added Thing Statistics form (Edit -> View Thing Types...), which shows all loaded thing types with some additional info.
Visual mode: sprites with negative ScaleX and positive ScaleY were not rendered properly.
Classic modes: display was not updated after loading a sprite.
Current testing engine change was not saved on closing the program when no other game configuration settings were changed.
2014-04-30 10:01:22 +00:00
MaxED
4af31e1aba Things mode: you can clone selected/highlighted things by holding "Shift" before starting to drag them. 2014-04-18 11:22:44 +00:00
MaxED
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
7a29d87cb1 "Rotate Clockwise" and "Rotate Counterclockwise" actions now work in Things mode (they will rotate things) and in Sectors mode (they will rotate floor/ceiling textures based on current view mode).
Moved "Rotate Clockwise" and "Rotate Counterclockwise" actions to "Edit" category.
Tag Statistics form: help label was incorrectly aligned.
Some actions in Sectors and Linedefs modes were not used on highlighted map elements.
Some actions in Sectors and Linedefs modes created undo groups incorrectly when used on highlighted map elements.
2014-04-02 10:57:52 +00:00
MaxED
71ad1199d8 The editor no longer locks up while testing the map. 2014-03-23 09:08:51 +00:00
MaxED
ee6faba11c "File -> Export -> Selection as Wavefront .obj" menu command was not working.
"Preferences -> Editing -> When splitting a linedef" setting is now always used when splitting linedefs.
"Preferences -> Editing -> When splitting a linedef": added "Reset X and Y" option.
"Preferences -> Editing -> Auto-align textures of newly created linedefs" option now works in a more intelligent fashion.
2014-03-19 13:03:47 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
46feeb422f I keep forgetting that, unlike protected methods, Actions MUST be implemented in derived classes... 2013-12-26 08:07:40 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
6d717a06ea Sector Edit form, Vertex Edit form: fixed another crash related to realtime update... 2013-07-10 09:57:30 +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
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
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
640b874bd3 "Toggle Full Brightness" action now works in Classic modes. 2013-06-13 11:32:00 +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
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
23efaee1ee Added "Select Things in Selected Sectors" action. 2013-04-25 09:43:24 +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
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
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
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
818a485ec2 Added Draw Curve mode. 2013-04-08 13:28:04 +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
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
591f92cce6 Moving to new SVN... 2013-03-18 13:52:27 +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
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
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
df9c61bd95 Added Redraw Sector mode 2012-09-11 22:33:19 +00:00
MaxED
ddeeadf574 Added linedef direction preview to Draw Geometry mode 2012-09-02 23:37:17 +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
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
MaxED
46642200eb Upper/lower textures are now applied in a more expected manner in Bridge mode. 2012-06-26 21:48:37 +00:00
MaxED
113f9c6039 GZDoom Builder 1.09:
Added UDMF Controls plugin.
Added "Snap selected vertices to grid" mode (Found in Edit menu).
2012-06-26 08:54:25 +00:00
MaxED
998d1d7dde GZDoom Builder 1.08:
Added Bridge mode.
Documented all GZDoom Builder specific features.
Crash fix in 1.07e was not implemented properly...
2012-06-19 13:12:28 +00:00
MaxED
b1df216a29 GZDoom Builder 1.07d:
Added "Test Map from current position" action (default shortcut is Ctrl-F9), which lets you play the game from cursor position, if you are in 2D-Mode, and from camera location if you are in Visual Mode.
Added "Sync camera position between 2D and 3D modes" (found in Preferences -> Interface -> Options), which automatically centers 2D-mode on camera position when you leave Visual Mode, and places camera at cursor position when you toggle from 2D-mode to Visual Mode (unless you have Visual Mode camera thing in your map).
Several improvements in Draw Rectangle and Draw Ellipse modes: added info label with current bevel amount and subdivision level; bevel amount now applied properly when shape size is smaller than it.
2012-06-07 01:06:37 +00:00
MaxED
761b44ca3e GZDoom Builder 1.07c:
Added Draw Ellipse Mode.
2012-06-06 13:37:19 +00:00
MaxED
8b31dd2677 Several improvements in Draw Rectangle mode (rectangles with beveled corners can now be drawn). 2012-06-06 00:38:28 +00:00
MaxED
16d068f831 Added Draw Rectangle Mode.
Fixed minor bug in Drawing Mode when adding second vertex at the same position as first still resulted in valid edit with undo and stuff.
2012-06-04 23:42:13 +00:00
boris_i
f5c8ce9466 Improved "make door" functionality. It now actually creates usable doors in Hexen and UDMF maps. 2012-04-14 12:22:19 +00:00
codeimp
3ab5c83f3b Added option in user preferences for manual line split behavior. 2012-03-19 21:31:10 +00:00
codeimp
b525872808 Added button in toolbar for Edit Selection mode. 2011-12-04 10:34:10 +00:00
codeimp
91ef814d96 Fixed some problems with copy/paste in modes where it can't be used. 2011-12-03 14:49:53 +00:00
codeimp
dd6c8b23bb Fixed a visual glitch which caused incorrect thing colors when selection was cleared from Edit Selection mode. 2011-12-02 21:24:33 +00:00
codeimp
9a625e553d Fixed a crash when accepting Edit Selection mode changes with erroneous overlapping lines. 2011-12-02 21:16:45 +00:00
codeimp
3448e1ff60 Fixed a bug with pasted things when the Things Filter is used.
Fixed a bug with the Things Filter which caused some things to be incorrectly shown.
2011-12-02 21:03:05 +00:00
codeimp
a5cb5fa000 Things are now flipped when the selection in Edit Selection mode is flipped. 2011-12-02 20:41:53 +00:00
codeimp
7874b27615 Fixed bug which sometimes causes the drawing vertex to jump to (0, 0) while drawing geometry. 2010-10-03 13:10:52 +00:00
codeimp
6c68a5635e @ Fixed immediate update of target sector lighting when control sector of ExtraFloor_LightOnly effect is changed.
Fixed some inaccuracy problems with the Edit Selection mode.
2010-09-16 17:07:30 +00:00
codeimp
08e6f30d0f Added source for Tag Range plugin 2010-08-30 13:51:24 +00:00
codeimp
d27ac60a9d @ I will probably never finish this WadAuthor Mode plugin (because I simply don't care for it) but I felt the files were outdated an in the wrong place (BuilderModes) 2010-08-22 12:54:09 +00:00
codeimp
6a685b7678 Exposed more DECORATE information to plugins and Things now have an Actor property (ActorStructure) when they are loaded from DECORATE
Added two new type handlers that can be used in UDMF ('Thing Type' and 'Thing Class')
Polished the browse icons and browse buttons.
Added more events for plugins to intercept.
2010-08-22 11:36:09 +00:00
codeimp
ea3243edb3 Fixed crash when double-clicking a sector in Make Sector Mode 2010-08-16 19:31:56 +00:00
codeimp
27d30072fb Fixed brightness preview when changing sector brightnesses in Brightness Mode 2010-08-16 18:29:56 +00:00
codeimp
7f685b4c77 Added maximum number of map element checks (now you can't corrupt your map when exceeding the format's limits) 2010-08-15 19:43:00 +00:00
codeimp
34bd24505d Added some missing things in ZDoom game configurations
Added Copy and Paste object properties for classic modes
Added some options for toolbar customization
2010-08-15 13:45:43 +00:00
boris_i
aa34d0605e Fixed a bug that allowed to place vertices and things outside the map format grid boundaries 2010-08-13 18:32:21 +00:00
codeimp
19909bac0c Fixed crash in Make Sectors mode when using Undo or Redo actions while a sector is highlighted. 2010-08-13 05:36:06 +00:00
codeimp
299f7a5e1c Fixed sector triangulation issues. 2010-08-11 18:50:37 +00:00
codeimp
7d92d2b343 @ Added some code that I helps fixing some triangulation issues, but now it breaks other shapes. Also added test cases so I can figure this out later. 2010-08-11 14:30:54 +00:00
boris_i
cdddeffa80 - Fixed a problem in the linedef info panel where the linedef numbers was displayed instead of the sidedef number
- Fixed a problem where dragging geometry and things onto the window title bar locked up DB2
- Fixed a problem with wrong texture offsets of hi-res textures
2010-01-02 22:06:40 +00:00
codeimp
ed9f393fb1 - Tools.DrawLines no longer snaps the geometry to map format accuracy. Use General.Map.Map.SnapAllToAccuracy() to compensate. 2010-01-02 21:28:18 +00:00
codeimp
02290d6898 Added Edit Selection Mode docker panel to view and modify transformation values manually 2009-08-21 08:38:24 +00:00
codeimp
b1c23198d9 Fixed bug that caused highlighted objects to join pasted objects in the Edit Selection Mode 2009-08-19 11:42:20 +00:00
codeimp
07b82ce082 Fixed a bug with the combination of "Additive select without shift" and "Automatic clear selection" behavior 2009-08-19 11:09:10 +00:00
codeimp
d75bd6be69 @ Modified the BlockMap class with a template for the BlockEntry class and added custom block size (must be a power of 2 greater than 1)
@ Added BlockMapMode as an example to show how the BlockMap class behaves
2009-08-14 10:45:22 +00:00
codeimp
93bcd61f7b Selection is now kept when leaving Edit Selection mode (also when pasting) 2009-07-23 11:19:50 +00:00
codeimp
7bf248130a @ and a small improvement on that 2009-07-12 11:17:30 +00:00
codeimp
123167461d Added option to drag automatically (without having to press the mouse button) when pasting 2009-07-12 11:14:34 +00:00
codeimp
3400046080 @ some undo/redo fixes
@ working on NumericTextbox versions with up/down buttons and dropdown lists
2009-07-10 13:56:22 +00:00
codeimp
89f8b3542e - Added some error handling for invalid wad files
- Fixed bug that allowed pasting geometry in visual mode (and the geometry becomes erroneous)
2009-07-10 08:25:04 +00:00
codeimp
85fcc2bd25 Added default start mode option to configuration dialog (see Modes tab) 2009-07-09 15:15:49 +00:00
codeimp
ee8d88c3dc Added options for pasting and inserting prefabs 2009-07-09 14:03:47 +00:00
codeimp
c543acd524 Added options for selection behavior in Visual Mode and Classic Modes (see Preferences -> Editing) 2009-07-07 11:29:56 +00:00
codeimp
5a1dfbee72 Edit Selection mode now also highlights Things for snapping 2009-07-06 08:34:14 +00:00
codeimp
55e640b6e1 - Progressive undo/redo system (much faster and up to 1000 undo/redo levels) Please note that several plugin functions and properties have changed.
- Some small optimizations in the classic 2D rendering (cached linedef flags, reduced some unneeded redrawing)
2009-06-11 21:21:20 +00:00
boris_i
f145eebada Fixed a bug where selected lines were deselected when trying to find/replace
Replacing can now be made undone
2009-05-31 12:13:37 +00:00
codeimp
196c6924d1 Added options for editing ranges (highlighting, stitching and splitting) 2009-05-20 15:03:08 +00:00
codeimp
622ff71056 - Fixed Make Door crash when no sector is highlighted or selected
- Added HighlightedObject property to the EditMode class, the object returned depends on the editing mode and the current highlight
- Exposed several properties in the ClassicMode class
2009-05-17 14:00:36 +00:00
codeimp
cffc939c5a Fixed updating used textures when pasting so that they are loaded and displayed on the geometry surface 2009-05-13 10:58:13 +00:00
codeimp
5bebe5087f - Fixed update of geometry surfaces in Edit Selection mode on paste and flip
- Little optimization in MarkSelected... functions
2009-05-13 09:35:13 +00:00
codeimp
953cfbd195 Fixed finding and replacing within current selection 2009-05-11 12:56:30 +00:00
codeimp
1fc8947d29 - Fixed immediate right-click-drag in Brightness mode
- Fixed potential crash and "ghost thing" left-over after cancelling pasted things
2009-05-09 17:38:59 +00:00
codeimp
65521d1ea6 Some drawing/merging behavior cosmetics 2009-05-06 10:06:45 +00:00
codeimp
e26591bd4a Changed a lot in undo/redo system to work better with grouping and plugins 2009-05-05 09:50:23 +00:00
codeimp
d3c87b2a71 - Pixel Shader model 2.0 is now always used when available (regardless of High Quality Display option)
- Edit Selection mode now updates surface geometry when drag is released
2009-05-03 20:21:52 +00:00
codeimp
ad05a43ade @ work in progress (do not use this revision for building/testing) 2009-05-01 20:31:17 +00:00
codeimp
173a2cb055 Added editing mode help on F1 for Make Sector Mode and Visual Mode 2009-04-26 21:21:55 +00:00
codeimp
7e7f24e965 @ re-added source code with new directory structure 2009-04-19 18:07:22 +00:00