Commit graph

118 commits

Author SHA1 Message Date
MaxED
5668cfec10 Fixed, portable mode: fixed a possible crash when trying to check write permissions for GZDB folder.
Fixed, Texture Browser, High-DPI: bottom panel of ImageSelectorControl had incorrect height when using DPI scaling.
Changed, SplitterControl, High-DPI: DPI scaling is now used when drawing expand/collapse area.
Documentation: fixed typos, filled "Compiling GZDoom Builder" page.
2015-04-03 12:05:37 +00:00
MaxED
5147d0b8f5 Added "-portable" command line parameter. With this parameter, the editor will use the "GZBuilder.cfg" located in the program directory to load and save program settings. Log and crash report files will be also created in the program directory.
Renamed the default program configuration file from "GZBuilder.cfg" to "GZBuilder.default.cfg".
Changed the default keys of "Move Thing Left\Right\Forward\Back" actions to arrow keys (was Ctrl + arrow keys).
Updated documentation: added "Command Line Parameters" topic.
2015-04-02 10:57:08 +00:00
MaxED
c742684bf8 Fixed documentation typos reported by Overwatch-C-17.
A couple of cosmetic fixes in ZDoom_linedefs.cfg.
2015-03-31 18:39:49 +00:00
MaxED
a58f35227e Added, Visual mode, UDMF: added "Change Pitch Clockwise", "Change Pitch Counterclockwise", "Change Roll Clockwise" and "Change Roll Counterclockwise" actions.
Added, Visual mode, UDMF: added "Increase Scale" and "Decrease Scale" actions.
Added, Visual mode, UDMF: "Reset Texture Offsets" action now resets scale when used on things.
Added, Visual mode, UDMF: "Reset Local Texture Offsets" action now resets scale, pitch and roll when used on things.
Changed, Visual mode, UDMF: "Reset Texture Offsets" action now only resets texture offsets (previously it also reset texture scale).
Changed, Visual mode, UDMF: "Reset Local Texture Offsets" action now resets texture offsets, scale and brightness of sidedefs and also rotation of floors/ceilings.
Changed, Visual mode, UDMF: thing box arrow now displays pitch and roll for things, which have attached model and appropriate MODELDEF flags.
Changed, Thing Edit Form, UDMF: negative pitch and roll can now be entered.
Updated documentation.
2015-03-30 21:44:04 +00:00
MaxED
791914a5db Game configurations: added "locksprite" thing property.
Updated documentation.
2015-03-30 14:29:15 +00:00
MaxED
c5a4c1987a High-DPI: main menu and toolbar icons are now scaled to match current DPI settings.
High-DPI: the width of status labels is now scaled to match current DPI settings.
Updated documentation.
2015-03-30 11:22:46 +00:00
MaxED
0359974e0f Fixed, Models, Classic and Visual mode: UDMF scale and rotation transforms were applied in incorrect order.
Fixed, Cosmetic, Script Editor: fixed a typo.
Internal, ImageBrowserControl: removed now unused KeyDown event.
Updated documentation.
2015-03-26 11:30:36 +00:00
MaxED
fa4dd4e399 Added, Thing Edit form: thing class is now displayed.
Added, Game configurations: added "thingclasshelp" property. It's used to open a website when thing class name is clicked in the Thing Edit form.
Changed, "Raise/Lower sector to nearest" action: 3d floors are now taken into account when using the action on things.
Updated documentation.
2015-03-17 12:28:42 +00:00
MaxED
c3ba37404f DECORATE parser: added "//$GZDB_SKIP" special comment. Parsing of the file is stopped after this comment is encountered.
Updated documentation.
2015-03-05 08:51:12 +00:00
MaxED
518d3db5ae TEXTURES parser: "optional" texture definition keyword was not supported.
TEXTURES parser: part of a TEXTURES filename is now used as a path in Image Browser. For example, textures from "textures.stuff" will be located in "[TEXTURES]/stuff" in the Image Browser.
TEXTURES parser: added "//$GZDB_SKIP" special comment. Parsing of the file is stopped after this comment is encountered.
Updated documentation.
2015-03-04 09:37:30 +00:00
MaxED
e4d872536a DECORATE: added "$argN" special comment. It can be used to specify default argument names.
Updated documentation.
2015-02-04 18:02:03 +00:00
MaxED
deb43343bb Visual mode: "Fit Textures" action can now fit textures across multiple selected surfaces. A number of times to repeat a texture can now be specified.
Visual mode: removed "Fit Texture's Width" and "Fit Texture's Height" actions.
Visual mode: "Auto-align texture offsets" actions were incorrectly aligning double-sided middle walls in some cases.
Visual mode: "Auto-align texture offsets" actions now align non-wrapped double-sided middle walls to vertical offset closest to their initial vertical offset.
Visual mode: middle parts of double-sided walls were ignored when Shift-selecting walls.
Nodebuilders/Game configurations: GL nodes definitions were missing from game configurations.
Nodebuilders/Game configurations: "~MAP" wildcard can now be a part of a lump name. 
Nodebuilders: GL nodes were not properly handled by the editor.
Main Window: the window is now moved into the view when stored position is ouside of screen bounds. 
Classic and Visual modes: changing thing pitch was ignored in some cases.
Visual mode: raising and lowering a thing with "+SPAWNCEILING" flag now works the same way as when raising/lowering a regular thing.
Visual mode: using "Raise/Lower Floor/Ceiling to adjacent sector" actions on a thing with "+SPAWNCEILING" flag now works the same way as when using them on a regular thing.  
Rendering: even more fixes to MODELDEF and UDMF properties-related model rendering logic.
Internal, ResourceListEditor: rewritten resource validation check in a more OOP-ish way.
Configurations: fixed an infinite loop crash when a file was trying to include() itself.
UDMF thing flags: added Skill 6-8 to the flags list (because there are thing filters for these).
ZDoom_ACS.cfg: added definitions for SetTeleFog and SwapTeleFog.
ZDoom_DECORATE.cfg: added definitions for A_SetTeleFog and A_SwapTeleFog.
Updated ZDoom ACC.
Updated documentation.
2014-12-22 21:36:49 +00:00
MaxED
e6e74478db Script Editor: expanding snippet by pressing the Tab key now works only when the text cursor is at the end of a keyword.
Updated ZDoom ACC.
Updated ZDoom_things.cfg.
Updated documentation.
2014-12-10 08:21:15 +00:00
MaxED
ec1cf802d1 Updated ZDoom_DECORATE.cfg. Now it hopefully has nearly all DECORATE functions and flags.
Updated documentation.
2014-11-05 14:31:00 +00:00
MaxED
3e4fe14fbe Randomize Sectors form: floor/ceiling height controls now have "Offset mode" drop-downs. Available modes are "Raise and lower" (default), "Raise only" and "Lower only".
Consistency, Randomize Sectors form: persistent settings are now saved only when applying changes done in the form (e.g. in the same conditions as in Randomize Things / Vertices forms).
2014-10-29 14:51:30 +00:00
MaxED
5eba596a02 Randomize Sectors form: added "Use vertex heights" check-boxes. When enabled and used on triangular sectors, it can be used to create a terrain-like look.
Updated ZDoom_DECORATE.cfg.
Updated documentation, rearranged contents a bit.
2014-10-28 14:35:59 +00:00
MaxED
c90d10c08c General interface: dynamic lights rendering mode and model rendering mode are now selected via drop-downs.
Renamed "Toggle dynamic lights rendering" action to "Show dynamic lights".
Changed: "Show dynamic lights" action now toggles between available dynamic light rendering modes.
Renamed "Toggle models rendering" action to "Show models".
Changed: "Show models" action now toggles between available model rendering modes.
Removed "Toggle dynamic lights animation" and "Render selected/all models" actions.
Fixed, Randomize Sectors form: selection highlight was not updated after applying the changes when the form was shown in Sectors mode.
Consistency: selection is now cleared after applying changes done in Randomize Things and Randomize Vertices forms.
Fixed, Classic modes: sprites of things with attached models were not rendered when model rendering was disabled.
Updated documentation.
2014-10-20 12:16:51 +00:00
MaxED
fccb810662 Updated documentation. 2014-10-17 13:43:32 +00:00
MaxED
99f6a9a5a8 Map Analysis mode: results can now be hidden individually.
Updated documentation.
2014-09-12 21:08:11 +00:00
MaxED
1da7e446d8 Generalized sector effects were not enabled in Boom game configurations.
Updated documentation a bit.
2014-09-03 07:50:14 +00:00
MaxED
9802b653d8 Tag Range plugin: custom increment can now be set.
Tag Range plugin: tags can be set in relative mode (when this mode is enabled, generated values are added to existing tags instead of replacing them).
Updated documentation.
2014-08-12 08:13:46 +00:00
MaxED
450ee02e49 Tag Selector, changed: tag ranges are now set using ">=N" and "<=N" syntax.
Tag Selector: tags can now be set relatively using "++N" and "--N" syntax.
2014-08-11 08:35:39 +00:00
MaxED
95a57dc72a Revision number is now printed on screenshots. 2014-08-06 14:24:23 +00:00
MaxED
47717e937e Linedef Edit Form: fixed a crash when setting a flag to "indeterminate" state when said flag was not present in a linedef's Flags dictionary.
CheckboxArrayControl's OnValueChanged event was not fired if a check-box was in the ThreeState mode.
Minor fixes in the documentation.
2014-08-06 10:21:12 +00:00
MaxED
bed613694d Sector, Linedef, Thing Edit forms: when several map elements are selected, you can set a tag range by entering "++N" or "--N" as a tag. 2014-08-05 11:03:55 +00:00
MaxED
9c17aa4fe8 Sectors mode: things inside of selected sectors can be moved when dragging sectors. This behavior can be toggled by the new button on Sectors mode's toolbar.
Sectors mode: changed Alt-key handling. Now it only enables "snap to grid increment" mode.
Things mode: "snap to grid increment" mode now works in this mode.
Updated documentation.
2014-07-18 15:11:37 +00:00
MaxED
d2b1351a4c Game Configurations form: game configurations can now be copied and pasted (a context menu is now available in the game configurations list).
Updated documentation.
2014-07-16 13:40:42 +00:00
MaxED
c8510b7b0f Script type can now be chosen when opening a map.
Updated documentation.
2014-07-12 13:10:41 +00:00
MaxED
755a554964 When "MixTexturesFlats" flag is set in a game configuration, textures defined in TEXTURES or placed between TX_START and TX_END markers must override "regular" flats (ZDoom behavior).
Updated documentation.
2014-07-07 14:48:29 +00:00
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
3c6a9547fa Script Editor: added a simple snippets system.
Updated documentation.
2014-05-13 09:43:58 +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
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
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
9220d5df3b Updated documentation. 2014-03-19 13:05:29 +00:00
MaxED
0717e19599 Updated documentation. 2014-03-07 12:37:47 +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
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
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
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
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
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
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
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