Commit graph

182 commits

Author SHA1 Message Date
MaxED
246ff4ae3b Fixed: some controls had inconsistent auto-scaling mode.
Fixed: PairedFloatControl had incorrect initial link icon.
Internal, AngleControl: rewritten AngleChanged event so it behaves like the rest of custom events.
Updated GZDB icon.
2014-12-24 18:32:24 +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
59f8bea419 Image Selector Control: fixed a crash when clearing an image. 2014-12-19 09:24:22 +00:00
MaxED
a94829b78e Added "Use long texture names" check-box to Map Options and Open Map Options windows.
Resource List Editor: not existing resources are now shown using different color. 
Map Options, Open Map Options, Game Configurations windows: a warning is now shown when a map resource doesn't exist.
Some minor fixes to Resource List Editor's context menu.
Updated ZDoom_DECORATE.cfg.
2014-12-16 09:01:52 +00:00
MaxED
12830020f9 Resource List Editor: fixed potential crash on pasting/replacing resources when there are duplicate resources in the list.
Resource List Editor: duplicate resources are no longer added when adding resources using drag and drop.
2014-12-12 14:14:52 +00:00
MaxED
1648f1628b Several items can now be selected at once in Resource List Editor.
Resource List Editor now has a context menu.
Fixed misleading warning asking user to install DirectX when unable to detect SlimDX.
2014-12-12 13:21:52 +00:00
MaxED
979244a163 A couple of fixes to ScriptDocumentTab.FindPrevious() logic. 2014-12-10 14:22:54 +00:00
MaxED
2f981476e0 Script Editor: added Quick Search panel.
Find and Replace window: added "Find Previous" button.
2014-12-10 13:15:23 +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
f9b5399a39 Added AngleByteHandler (type 22).
Bit Flags form now changes width to show flags with long names without scrolling.
Bit Flags form: flag numbers are now shown as well as names.
Game configurations: updated Hexen and ZDoom linedef definitions. Now they (hopefully) fully match ZDoom ones. 
Action Selector Control: fixed a crash when trying to increase action above maximum value using mouse wheel.
Sector/Linedef/Thing tag lists are now handled by corresponding TypeHandlers (and not by dirty hacks as before).
Linedef info panel: line peggedness labels were obscured by effect label in Doom/Hexen map formats.
2014-12-08 21:06:08 +00:00
MaxED
357f055478 Thing Edit Form: default action arguments were not applied.
Thing\Linedef Edit Form: added some tooltips.
Some cosmetic layout changes in LinedefEditForm.
2014-12-05 21:34:16 +00:00
MaxED
a0898c4e95 Thing/Linedef/Sector Edit forms: added help button to action special selector.
Cosmetic changes in Sector Info Panel and Thing Browser Control.
ArgumentInfo: fixed a crash when enum specified in a game configuration doesn't exist.
Updated Hexen and ZDoom linedef configs.
Updated ZDoom_DECORATE.cfg
2014-12-05 14:33:31 +00:00
MaxED
0ab9f07087 Some cosmetic changes in ThingInfoPanel. 2014-12-03 23:52:36 +00:00
MaxED
b129e9b111 Texture Browser Control: "Long texture names" and "Show image size" values are now stored in program configuration. 2014-12-03 23:30:58 +00:00
MaxED
15b2adfe30 Texture Browser Form: swapped foreground and background colors of texture size labels.
Fixed, Texture Browser Form: well, I broke "Tab" key functionality again (in previous commit)...
Maintenance: changed curly braces style to match DB2 one (hopefully not breaking anything in the process...).
Maintenance: changed private method names casing to match DB2 one.
2014-12-03 23:15:26 +00:00
MaxED
99f3ba2844 Changed long texture names handling. Texture names conversion is no longer required.
Texture browser form: added "Long texture names" check-box. It can be used to toggle between displaying long and short texture names.
Texture browser form: added "Show image size" check-box.
Texture browser form: image size is now shown differently.
Image Selector: added a button to toggle between long and short texture name.
Linedef info panel: long texture names are now displayed properly.
Sector info panel: long texture names are now displayed properly.
Fixed: "Save Screenshot" and "Save Edit Area Screenshot" actions were triggered multiple times when a child window was open.
Fixed: used textures should be always updated after using "Change map in current WAD" action.
Fixed, "Change map in current WAD": fixed a crash when trying to switch from a map with missing game configuration path.
Updated ZDoom_ACS.cfg.
2014-12-03 09:06:05 +00:00
MaxED
6b765f5a27 Added long texture names support (enabled when "longtexturenames" game configuration property is set to true and "Use long texture names" check box is checked in Map Options).
Open Map in Current WAD: resources are now reloaded when current and target map's resources don't match.
Added some boilerplate to UniversalParser and PK3FileImage.
Internal: ImageSelectorControl now has "UsePreviews" property.
Internal: added ConfigurablePictureBox.
Updated ZDoom_DECORATE.cfg.
2014-11-25 11:52:01 +00:00
MaxED
66f75ec7c4 Internal: added a debug console. 2014-11-13 09:43:39 +00:00
MaxED
613e51ce41 Internal: removed GameConfiguration.MapLumpNames, instead GameConfiguration.MapLumps is now used.
Internal: removed some unrelated stuff from NodesViewer.csproj.
2014-11-11 11:47:10 +00:00
MaxED
91f06ad957 Thing Edit form: "Mixed Things" icon is now displayed when several thing types are selected.
Thing Edit form: when selection contains more than one thing, thing types form selected category are now randomly applied to it.  
Fixed, Thing Edit form: selection change was not processed in some cases.
2014-11-10 11:27:37 +00:00
MaxED
42fc2d8c2e Changed: reorganized controls in Thing Edit forms.
Changed: thing sprite is now displayed in ThingBrowserControl.
2014-11-06 12:56:47 +00:00
MaxED
7a3d743650 Fixed, Thing Edit form: double-click on a thing type in the Things list was handled incorrectly in some cases.
Changed, Thing Edit form: multi-select mode is now disabled when only one thing is edited.
Internal: different implementation of MultiSelectTreeview (http://sourceforge.net/projects/mstreeview/) is now used.
2014-10-29 11:35:27 +00:00
MaxED
ab7d4b2054 Renamed "Save Screenshot (editing area only)" action to "Save Screenshot (active window)". It will now save a screenshot of currently active window, or editing area if no windows are open.
Added icons for "Save Screenshot" menu items.
Development: "Save Screenshot (active window)" action will work on a child Form only if it is inherited from DelayedForm.
2014-10-22 13:07:17 +00:00
MaxED
5013720788 Sector Edit form, UDMF: added "Slopes" tab.
Visual mode: "Lower/Raise Floor/Ceiling" actions now work on surfaces with sector slopes.
Cosmetic: numeric textboxes, which support relative values, now have differently colored text and a tooltip.
Internal: renamed Sector.CeilingSlopeOffset to Sector.CeilSlopeOffset, Sector.CeilingSlope to Sector.CeilSlope to match their names with similar sector properties.
2014-10-17 11:55:08 +00:00
MaxED
91152ee69e Changed, Visual mode: "Help" panel is now updated only if it is the active tab.
Internal: added General.Interface.ActiveDockerTabName property.
2014-10-13 22:01:17 +00:00
MaxED
146fc3f4a1 Map Analysis form: fixed a crash caused by running analysis, opening another map then trying to run analysis again.
Map Analysis form: error checks are now alphabetically sorted.
Map Analysis form: added "Toggle All" check box.
Internal: CheckboxArrayControl now has Sort() method.
More fixes in ZDoom_DECORATE.cfg
2014-09-29 08:41:12 +00:00
MaxED
cc1c407756 Action Selector control: actions can now be scrolled using up/down keys and mouse wheel. 2014-09-23 08:54:53 +00:00
MaxED
71a3f1c733 Sector Edit Form (Doom/Hexen): it was possible to set negative Brightness.
Sector Edit Form (UDMF): sector brightness value was processed incorrectly when relative value was entered.
Internal: added "ButtonStepsWrapAround" property to ButtonsNumericTextbox.
Internal, SectorEditFormUDMF: more changes to Slopes tab. Still not operational...
2014-09-15 08:15:22 +00:00
MaxED
9b3b04d895 Map Analysis mode: results list now has a context menu, which allows to hide/show results based on type of selected result and to copy description of selected result to clipboard. 2014-09-12 14:58:00 +00:00
MaxED
c97dd0e401 Map Analysis mode: errors can now be copied to clipboard.
Map Analysis mode: export to file command will now show "Save File" dialog instead of putting the file in the same folder as the map, also added some boilerplate.
Tag Explorer plugin: save to file command will now show "Save File" dialog instead of putting the file in the same folder as the map, also added some boilerplate.
Internal: reformatted GZCrash.log a bit.
2014-09-12 12:19:58 +00:00
MaxED
f596b88376 Proper labels are now displayed for generalized sector effects.
Internal, Edit Sectors form: more changes to "Slopes" tab logic. It's still incomplete...
2014-09-04 12:34:26 +00:00
MaxED
a585db6010 Visual mode, 3d floors: fixed broken 3d floor visibility detection one more time.
Game Configurations: changed default map name for Doom maps to "E1M1".
New Map Form: "E1M1" is now used as a default name for Doom maps.
Thing Browser Control: double-click event is now sent only if user clicked in the node's label area.
Interface: added info messages for several toolbar toggles.
Interface: made Brightness icon more readable when using dark windows themes.
2014-08-26 11:08:34 +00:00
MaxED
c95c26bbbc Fixed: MapSet.GetSectorByCoordinates() returned "false" in some cases when a given coordinate was on top of sector's vertex.
Internal: UDMF sector slopes and offsets are no longer stored in sector.Fields. Use sector.FloorSlope, sector.FloorSlopeOffset, sector.CeilingSlope and sector.CeilingSlopeOffset.
2014-08-25 11:15:19 +00:00
MaxED
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
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
4a1dacc11a Script Editor: functions are now shown in the script selector drop-down. 2014-07-16 09:47:23 +00:00
MaxED
f3f6d62081 ImageBrowserControl was not shown in Visual Studio's Designer view.
Redesigned Texture Set Form a bit.
2014-07-15 08:50:52 +00:00
MaxED
8bfa9a8944 Updated ZDoom_ACS.cfg and BCC.cfg: more info is now shown in helper popups for all ACS functions (not Action specials). Also, 3 functions (namely SpawnDecal, GetActorPowerupTics and CheckFont) were missing form these configs.
Image Browser control: item selection event was triggered twice.
2014-07-15 08:22:45 +00:00
MaxED
00688d4c7c Script type can now be chosen when creating a new map and changed in Map Options form.
BCC script compiler (https://github.com/wormt/bcc/) is now bundled with GZDB.
Main Form, "File" menu: only existing files are now added to the "recent files" list.
2014-07-11 10:13:26 +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
a61bba2536 UDMF map format: increased maximum supported texture name length to 2048.
Preferences: added "Capitalize texture names" option (located in Preferences -> Appearance -> Additional options). When disabled, the casing of displayed texture names will match filenames for textures loaded form TEXTURES or pk3/pk7/folder resources.
Textures Browser: added support for displaying long texture names.
Errors list is now cleared when reloading resources.
Visual mode: added basic support for sector slopes (no UI for that feature yet).
2014-05-19 13:33:38 +00:00
MaxED
abdeb84728 Map compilers are no longer copied to a temporary folder when compiling map lumps.
Script editor: incorrect line numbers were displayed in Errors list.
2014-05-15 13:16:30 +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
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
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
29437409d4 Linedef Info panel: tag text is now set in a more reliable fashion. 2014-03-14 14:21:34 +00:00
MaxED
4fb956cecd Just a couple of cosmetic fixes. Nothing interesting, really... 2014-03-06 11:45:20 +00:00