Commit graph

1053 commits

Author SHA1 Message Date
MaxED
35fd6e1dcc Fixed, Thig Edit Form, UDMF: Scale x/y linking status was not stored when closing the form.
Fixed, Engine Launcher: "%AP" test parameters placeholder was replaced with "" when current map was newly created and never saved.
2015-06-14 19:29:44 +00:00
MaxED
487e1478dd Fixed, DECORATE: quoted //$category definitions were processed differently than unquoted ones.
Fixed, Thing Categories: in some cases several subcategories with the same name were created.
2015-06-08 14:37:20 +00:00
MaxED
9498753cff Visual mode: highlight was nearly invisible in low-brightness areas when fog rendering was enabled. 2015-06-08 10:09:27 +00:00
MaxED
2945c258d3 Visual mode: looks like things lit by dynamic lights are not affected by light fading in GZDoom. 2015-06-08 09:48:25 +00:00
MaxED
4034bd4c0c Fixed, Visual mode: in some cases info lines for polyobject setup things were not shown.
Fixed, Visual mode: z position of info lines for polyobject setup things was calculated incorrectly.
Updated ZDoom_DECORATE.cfg.
2015-06-03 13:20:06 +00:00
MaxED
922404bf10 We can use settings from parent when creating a child thing category. 2015-06-01 22:10:15 +00:00
MaxED
5a7b599a46 Added: nested thing categories can now be defined in DECORATE using "//$Category" special comment. Syntax is the same as in SLADE 3.
Added: thing categories defined in Game Configurations can now be nested.
Changed, Thing Edit window: thing categories now use different icons.
Fixed: Thing Edit and Vertex edit windows had incorrect help links.
Fixed: Sound Propagation and Sound Environment modes had incorrect help links.
Documentation: updated "DECORATE keys" and "Things Settings" pages.
2015-06-01 21:46:28 +00:00
MaxED
efd9ba09a7 DECORATE: added "//$Angled" and "//$NotAngled" special comments (same usage as in SLADE).
Documentation: updated "DECORATE keys" page.
2015-06-01 10:59:46 +00:00
MaxED
1843ffc5a7 DECORATE: added "//$ArgNDefault" special comment. It can be used to specify the default argument value.
Visual mode, 3d floors: sloped 3d floors are now always rendered as opaque (just like in GZDoom).
Fixed a crash when creating a new unknown thing (introduced in r2324).
Documentation: updated "Action Argument Settings" and "DECORATE keys" pages.
2015-05-31 21:11:21 +00:00
MaxED
f832fb85f9 DECORATE: added "//$ArgNType" special comment. It can be used to specify argument type.
DECORATE: added "//$ArgNEnum" special comment. It can be used to specify an enum to use with the argument.
Documentation: updated "Action Argument Settings" and "DECORATE keys" pages.
2015-05-30 12:42:55 +00:00
MaxED
35cd4068ff Game Configurations: added "Thing Radius" (23) and "Thing Height" (24) action argument types. When non-zero, arguments of these types will affect the size of associated thing in Classic and Visual modes.
Game Configurations: updated things in ZDoom "Bridges" category to use argument types 23 and 24.
Documentation: added "Action Argument Settings" page, updated "Basic Settings", "Map Format Settings", "Linedefs Settings" and "Things Settings" pages in Configurations -> Game Configurations group.
Documentation: updated "DECORATE keys" page.
2015-05-30 10:26:16 +00:00
MaxED
84059749bb Fixed: looks like manually disposing the brush in ColoredComboBox.OnDrawItem() can cause crashes...
Replaced Hourglass3D.png with the one, which matches the style of MissingTexture3D.png and UnknownTexture3D.png.
2015-05-29 19:31:16 +00:00
MaxED
4f65588d1a Changed, ButtonsNumericTextbox: turns out this problem can be solved without manual focus shifting. 2015-05-28 21:27:47 +00:00
MaxED
93c239103f Changed, ButtonsNumericTextbox: made keyboard focus shifting a bit less intrusive. 2015-05-28 15:00:32 +00:00
MaxED
91e1fbbd53 Internal: added SNDSEQ parser.
Sector Edit Form, UDMF: Sound Sequence selector is now a drop-down populated by values parsed from SNDSEQ.
Documentation: updated "(G)ZDoom text lumps support" page.
Updated udmf_zdoom.txt.
2015-05-28 13:45:01 +00:00
MaxED
118551c70d Fixed(?), PK3: SharpCompress doesn't like it when several threads try to read PK3 archive entries at the same time.
Fixed, Visual mode, 3d floors: floor and ceiling alpha calculation was broken.
2015-05-28 10:04:42 +00:00
MaxED
eb17a8fe8a Fixed several places where KeyNotFoundException can potentially occur in ThingFlagsCompare.Compare(). 2015-05-27 21:55:15 +00:00
MaxED
1b9f94f3f7 More code sanity changes (constructors of abstract classes should not be public or internal). 2015-05-27 12:38:03 +00:00
MaxED
1d988b087c Fixed, Visual Mode: voxel models were not rendered in full brightness mode. 2015-05-27 11:05:57 +00:00
MaxED
cfae82afe4 Added some disposers here and there. 2015-05-27 10:34:25 +00:00
MaxED
28f306489a Fixed, Game Configurations window: current configuration was not marked as changed when changing nodebuilders or engine test parameters.
Fixed, Game Configurations window: current map is marked as changed when applying changes done in the window.
Changed, UDMF saving: removed extra line break between map elements.
2015-05-26 21:08:12 +00:00
MaxED
d71b5814e1 Fixed, "Flip Linedefs" action: in some cases my sector based flipping logic was behaving incorrectly. 2015-05-26 20:10:09 +00:00
MaxED
42dbec728c Fixed: we don't need to reload ResourceImages, because they can't be unloaded and reloading them can cause problems when trying to display them in PictureBoxes.
Removed Sector Brightness Mode keyboard binding from the default program configuration file.
2015-05-25 22:55:28 +00:00
MaxED
8257c6869b Added, MAPINFO parser: we can also get "skyflatname" gameinfo property while we at it. 2015-05-23 21:40:21 +00:00
MaxED
e381ba9295 Added: thing and linedef action arguments can now have tooltips defined in both Game Configuration (using "tooltip" action argument definition property) and DECORATE (using "$argNtooltip" special comment).
Removed "Sectors Brightness Mode" action, because the mode itself was removed long ago...
Documentation: updated "DECORATE keys", "Things Settings" and "Linedefs Settings" pages.
2015-05-23 21:01:44 +00:00
MaxED
2fe402b165 Fixed, MAPINFO parser: properties, written like '667=CuteCaco' were not parsed, while '667 = CuteCaco' worked fine.
Changed, Classic modes: increased maximum zoom level to 9000% (was 3000%).
Added, General interface: added "800%" zoom level to the bottom toolbar zoom menu.
Added, General interface: added "400%" and "800%" zoom levels to "View -> Zoom" menu.
2015-05-18 18:49:15 +00:00
MaxED
f30c1ba0c6 Fixed, MAPINFO parser: the parser was unable to handle DoomEdNum block's action special definitions.
Fixed, DoomEdNum handling: in some cases ThingTypeInfo was not assigned a proper DoomEdNum and was not placed in a ThingCategory.
2015-04-29 08:36:10 +00:00
MaxED
c2b3e92673 Fixed, ACS script names parser: we should skip inner scopes of scripts and functions.
Updated ZDoom_DECORATE.cfg.
2015-04-28 08:31:06 +00:00
MaxED
7de6dcc780 Fixed, Map Analysis mode, Check Stuck Things: in some cases the check returned false-negative results. 2015-04-17 13:46:55 +00:00
MaxED
2dff39b8bc Changed, Visual mode, Auto-align textures actions, UDMF: aligned texture coordinates are no longer rounded to integer values.
Changed, Things, Sectors, Linedefs, Vertices modes: we shouldn't select highlighted map element during the copy action when no map elements are selected.
Internal: removed some debug stuff from CheckTextureAlignment and ResultTexturesMisaligned.
2015-04-16 13:03:12 +00:00
MaxED
84b2fee819 Changed, Thing Edit Form: floor slopes are now taken into account when changing thing's absolute Z position (currently, only slopes, created using sector planes, vertex height offsets and "Plane_Align" (181) action are supported).
Changed, Thing Info panel: floor slopes are now taken into account when showing thing's Z position (same plane type limitations as above).
Changed, Thing Info panel: thing position is now shown as "X, Y, Z (abs. Z)".
2015-04-15 12:49:28 +00:00
MaxED
9c959d21d1 Edit forms: added Preferences -> Interface -> "Edit windows remember selected tabs" option. 2015-04-15 07:41:18 +00:00
MaxED
76559ae881 Added GZDoom's glowing flats (http://www.zdoom.org/wiki/GLDEFS#Glowing_flats) support to Classic and Visual modes.
MAPINFO: added "DoomEdNum" and "SpawnNums" blocks support.
MAPINFO: added "#include" directive support.
MAPINFO: added "$gzdb_skip" special comment support.
DECORATE: "spawnthing" Game Configuration block is now updated using "SpawnID" actor property.
Game configurations: added "class" property to the most of ZDoom things.
Actions: removed "Reload MAPINFO" action.
Documentation: merged "GLDEFS and MODELDEF support", "(Z)MAPINFO support" and "TEXTURES support" topics into "(G)ZDoom text lumps support", added info about the other text lumps GZDB can use.
2015-04-14 11:33:57 +00:00
MaxED
56f9ad8469 More fixes for MODELDEF fixes from previous commit...
Updated InnoSetup config file.
2015-04-13 10:37:08 +00:00
MaxED
6565dd9384 MODELDEF parser: a model should be skipped when it's FrameIndex is -1. 2015-04-13 09:50:17 +00:00
MaxED
45dca2be46 Fixed, Thing, Linedef, Sector info panels: flags panel resize logic was a bit incorrect... 2015-04-12 22:29:22 +00:00
MaxED
ddd057950f Changed, Thing, Linedef, Sector info panels: flags are now shown in the same order as in corresponding Edit forms.
Changed, Linedef info panel: activation flags are now displayed before "regular" flags and using different color.
Added, Linedef info panel: sidedef flags are now displayed.
2015-04-12 21:05:09 +00:00
MaxED
c7d61c22ba Fixed, internal: in some cases it was possible to get incorrect resource when using Plug.GetResourceStream(). 2015-04-10 21:48:12 +00:00
MaxED
4aa31a67c1 Fixed, Open Map Options window: when everything else fails, we should also check game configurations without resources.
Documentation: fixed a couple of typos.
2015-04-05 21:39:45 +00:00
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
5fe89efc7c Visual mode: added support for "Transfer Brightness Level" (50) effect type parameter (arg 1).
Visual mode: added support for "Transfer Floor Brightness" (210) effect.
Visual mode: added support for "Transfer Ceiling Brightness" (211) effect.
Visual mode: changed the way thing brightness is calculated. Should be closer to GZDoom now.
Sector Edit Form: you can now enter "++" or "--" into "Height Offset" input to raise or lower sectors by their height.
Cosmetic fix in ZDoom_linedefs.cfg.
2015-04-01 12:51:26 +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
487c0f8df7 Changed, Linedef Edit form, non-UDMF: reduced window height (on Windows 7 it's 667 -> 639 pixels in Doom map format, 736 -> 698 pixels in Hexen map format).
Added inner highlight on mouse over to ImageSelectorControl.
2015-03-27 09:51:19 +00:00
MaxED
8af084187e Fixed, Models, Classic and Visual mode: MODELDEF scale and rotation transforms were applied in incorrect order.
Changed, Visual mode: things with "NOINTERACTION" DECORATE flag can now be rendered above ceiling / below floor.
2015-03-26 21:31: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
1bd8c5cef5 Fixed, Texture Browser: restored Tab key functionality yet again...
Changed, Numeric Textbox: we should not change focus when "usemodifierkeys" is false.
2015-03-25 22:13:40 +00:00
MaxED
25b68aa7e2 Fixed(?), Texture Browser: possibly fixed Texture Browser not showing up / locking edit forms when current map has a ton of textures (like 2000 or more) in a single texture group.
Internal: replaced CollapsibleSplitter with CollapsibleSplitContainer.
2015-03-25 21:17:12 +00:00
MaxED
123170a85e Fixed, Game Configurations window: fixed a crash when manually entering test engine name then choosing it's location. 2015-03-24 14:21:38 +00:00
MaxED
1b1546ae6a Fixed(?), Texture Browser: possibly fixed Texture Browser not showing up / locking edit forms when current map has a ton of textures (like 2000 or more) in a single texture group.
Changed, cosmetic, Sector Info panel, Visual mode: info about currently highlighted surface is now shown using different color.
Changed, cosmetic, Linedef Info panel, Visual mode, non-UDMF: texture offset labels for currently highlighted sidedef are now shown using different color.
Changed, cosmetic, Vertex Info panel, UDMF: floor and ceiling offset labels are now grayed out when they have default values.
2015-03-23 22:39:31 +00:00
MaxED
fcac2d12f3 Fixed, Thing/Linedef/Sector info panels: "Flags" group width was calculated incorrectly when showing the control for the first time. 2015-03-23 20:16:14 +00:00
MaxED
4f5c2064fd Looks like I've missed some stuff in the previous commit... 2015-03-23 14:21:32 +00:00
MaxED
dd5689766d Changed, Numeric textboxes: you can now hold Ctrl or Shift keys while clicking a textbox buttons or using mouse wheel on a textbox to change value increment step.
Changed, Numeric textboxes: trailing zeros are no longer displayed to reduce visual noise.
Fixed, paired numeric controls: in some cases culture-specific decimal separator was not used.
Fixed, map loading: inability to initialize D3D device is now handled a bit more gracefully.
Fixed, main toolbar context menu: we should suppress context menu closing only when user clicks on a menu item while holding Shift key.
Fixed, Game configurations: several Skulltag things were not included in many Zandronum game configurations.
2015-03-23 14:19:23 +00:00
MaxED
46509b5442 Added, Texture Browser: wad resources now have subgroups.
Fixed, Texture Browser: we should not skip items with the same texture name when they belong to different imagegroups.
2015-03-22 20:43:05 +00:00
MaxED
d0f82170d9 Changed, Textures Browser: "[TEXTURES]" sub-entry should be shown for wads too. 2015-03-21 20:08:47 +00:00
MaxED
d72e642dce Fixed, Script Editor, Script names parser, DECORATE actor names parser: in some cases (for example, when entering utter garbage instead of proper acs), parsers could get stuck in an infinite loop...
Updated ZDoom_ACS.cfg.
2015-03-21 19:41:54 +00:00
MaxED
8cf084fc41 Fixed, Open Map Option window: a warning message is now displayed when the editor fails to find any maps in the wad being open.
Fixed, Open Map Option window: fixed a crash when switching to a map configuration with long texture names support enabled when the wad being open has no maps (this will probably never happen because of previous change, but let's be on the safe side...).
2015-03-18 18:49:46 +00:00
MaxED
8643d2dd82 Added, Internal, Sidedef: LowRequired() and HighRequired() checks now take UDMF slopes into account.
Updated ZDoom ACC.
Updated ZDoom_ACS.cfg.
Updated ZDoom_DECORATE.cfg.
2015-03-17 14:54:49 +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
2d02e9b539 Changed, Texture Browser: "Used Textures" group is now collapsible. 2015-03-16 08:54:31 +00:00
MaxED
81522c3283 All Texture Browser controls should have TabStop disabled to make Tab key work as intended... 2015-03-13 12:39:55 +00:00
MaxED
c40d054949 Changed, Texture Browser: texture groups list can now be collapsed.
Fixed, Texture Browser: restored Tab key functionality yet again (I broke this in r2248...).
Added a bit of boilerplate to some of Tag Explorer's settings.
Internal: added CollapsibleSplitter control.
2015-03-13 11:06:00 +00:00
MaxED
369e39dbc6 Added: Tag Explorer now has polyobjects display mode.
Changed, Tag Explorer: several wildcards can now be used at once. For example, entering "#12 $9" will show only map elements with tag 12 and action 9.
Changed, Tag Explorer: you can now filter list by polyobject number by entering "^NN" in the Filter field.
Changed, cosmetic: reduced map resizing caused by UI resizing during map loading.
2015-03-11 11:38:25 +00:00
MaxED
141a4bdaff Fixed, DB2 bug, Dockers Control: in many cases previously selected tab was not reselected after removing current tab when "Collapse Dockers" setting was enabled. 2015-03-09 12:56:07 +00:00
MaxED
1ff2a2cb81 Fixed, Dockers Control: fixed incorrect control width when showing control for the first time with "Collapse Dockers" setting enabled.
Internal: MapSet.ConvertSelection no longer selects sectors with no sidedefs when converting selection to sectors (unless those sectors were already selected).
2015-03-09 09:17:46 +00:00
MaxED
08e5599638 Fixed, Texture Browser form: "All" texture set was always selected when opening the form after closing it with this set selected.
Changed, Texture Browser form: texture groups list can now be resized.
Changed, Texture Browser form: selected group in texture groups list is now highlighted using highlight color even when not focused.
Changed, Linedef Info panel cosmetic: changed vertical position of texture name labels to match with the ones in the Sector Info panel.
2015-03-07 21:38:58 +00:00
MaxED
1d06e57750 Preferences -> Interface: added "Select texture group when opening image browsers" option. When enabled, the group current texture belongs to will be selected when opening image browsers (DB2 behavior). When disabled, "All" texture group will be selected.
Event lines: added event lines for polyobject anchor -> polyobject start spot pairs.
Fixed, Things mode: event lines were not drawn after finishing panning.
2015-03-06 19:12:12 +00:00
MaxED
0993c189ea Changed, cosmetic: info panel, sidebar and most of the main toolbar buttons are now shown only when a map is loaded.
Fixed, cosmetic: fixed disappearing toolbars separators.
2015-03-05 23:19:10 +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
7dc4aefdd6 GLDEFS parser: added "//$GZDB_SKIP" special comment. Parsing of the file is stopped after this comment is encountered.
Updated ZDoom_DECORATE.cfg.
2015-03-04 20:05:54 +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
52ab917179 Visual Mode, UDMF: Change texture scale actions now try to change scale by one texture/sprite pixel at a time. Action info now also shows scaled texture/sprite size.
Info panels: float values are now formatted regardless of current CultureInfo (e.g. decimal separator is now always dot). Also, they are no longer clamped to 2 decimal places.
Updated ZDoom_ACS.cfg.
2015-03-03 09:42:54 +00:00
MaxED
f60dc25d9f Edit forms: tag lists are now sorted in descending order. 2015-02-27 14:32:29 +00:00
MaxED
bdadc36347 Added, Thing Edit Form (UDMF): added random angle/pitch/roll checkboxes.
Changed, Thing Edit Form (UDMF): rearranged Action and Identification groups to match the rest of the Edit forms. 
Changed: Classic Thing Edit form no longer has tabs.
2015-02-27 10:55:18 +00:00
MaxED
7c8c36a01b Thing Info panel: thing class is now displayed. 2015-02-26 08:49:13 +00:00
MaxED
5f37b315d4 Visual mode: Sector_Set3dFloor and ExtraFloor_LightOnly effects now affect sidedef brightness more similarly to GZDoom.
Visual mode, Linedef info panel: info for currently highlighted side is now shown using a different color.
Updated ZDoom_ACS.cfg.
2015-02-25 19:59:17 +00:00
MaxED
e84f7d1fe8 Linedefs Mode, UDMF: rewritten "Make Gradient Brightness" action. Fixed some logic errors, added interpolation modes support. 2015-02-24 20:25:42 +00:00
MaxED
c07df8f596 Changed, Thing and Linedef Edit Forms, script selector drop-downs: scripts from include files are now shown using different color and after the map scripts.
Fixed, Visual mode, UDMF: sector geometry cache was not updated after using "Match Brightness" and "Change Brightness" actions on ceilings, so the changes made by them were not visible when using Classic modes in "View Ceiling Textures" mode.
Fixed, Visual mode, UDMF: "Match Brightness" and "Change Brightness" actions set brightness incorrectly in some cases.
Fixed: ACS script names gathering logic was unable to process relative #include and #import paths (like '#import "..\acs\qtilt.acs"').
Updated ZDoom_DECORATE.cfg.
2015-02-24 13:38:35 +00:00
MaxED
0ba6490b8a Changed, "Make Brightness Gradient" action: MAPINFO FadeColor and OutsideFogColor properties are now used when first or last sector doesn't have "fadecolor" property when making a fade gradient.
Fixed (probably), D3DDevice: looks like CreatePresentParameters() can also throw "D3DERR_DEVICELOST" error in some cases...
2015-02-20 13:22:43 +00:00
MaxED
e06a764d50 Fixed a typo in one of the Preferences window's tool-tips.
Updated ZDoom_DECORATE.cfg.
2015-02-19 20:50:03 +00:00
MaxED
25ca6f4e9b Fixed, MODELDEF parser: looks like INHERITACTORPITCH and INHERITACTORROLL flags affect only pitch/roll set in the map editor, not "PitchOffset" and "RollOffset" MODELDEF properties... 2015-02-19 17:59:45 +00:00
MaxED
aed233d249 Fixed, TEXTURES parser: fixed incorrect stream rewinding when reading "Blend" patch property without a tint amount. 2015-02-19 13:50:17 +00:00
MaxED
0ea022fa4e Fixed, Visual mode: "Paste Texture Flood-Fill" action used long texture names regardless of current setting in Map Options.
Internal: "uselongtexturenames" setting is now stored in map settings file, not in the program configuration file.
Fixed, Color Picker plugin: in some cases mouse movement was processed incorrectly.
Fixed, Color Picker plugin: float color value output was culture settings-dependant.
2015-02-19 13:00:19 +00:00
MaxED
321a56a850 Interface: changed OK / Cancel buttons order. 2015-02-15 20:16:01 +00:00
MaxED
ec964e9db0 Sector Edit form, UDMF: it was impossible to remove a sound sequence if it was set previously.
Error Check form: number of selected items is now shown in the window's title.
Error Check form: fixed slowdowns when trying to select many (like 1000) results at once.
2015-02-14 18:15:11 +00:00
MaxED
133e1367d8 Sector drawing: basic properties (textures, brightness, floor and ceiling height) are now taken from the nearest sector when a new isolated sector (e.g. a sector, which doesn't not intersect with already existing map geometry and is not inside of it) is drawn.
Visual mode: when "Synch camera position" setting is enabled, and the cursor was outside of a sector when entering Visual mode, camera height is now adjusted based on nearest sector (previously the height was adjusted only when the cursor was inside of a sector).  
"Auto-align textures X", "Auto-align textures X and Y" actions, UDMF: alignment source sidedef part's horizontal scale is now applied to all aligned sidedefs.
Visual mode, UDMF: 'lightfog' flag is now automatically updated when changing sidedef brightness or using "Match Brightness" action. 
Linedefs mode: added "Update 'lightfog' flag" menu item.
Game configurations: cosmetic changes in UDMF linedef flag names.
Updated ZDoom_DECORATE.cfg.
2015-02-12 22:04:49 +00:00
MaxED
cde97f2cfe Fixed, Edit Selection: in some cases thing angles were updated incorrectly when things with "FixedRotation" game configuration property were among selected things.
Fixed, Visual mode: floor brightness was calculated incorrectly when "Disable Light Effects"/"Restrict light inside" 3d floor flags were used and the floor had "lightfloor" property.
Fixed: "lightabsolute" flag was accessed incorrectly in previous commit.
2015-02-06 21:03:20 +00:00
MaxED
54fccb73e7 Fixed, Scale control (UDMF): in some cases default values were shown when displaying mixed values.
Fixed, long texture names support: in some cases long texture names were not processed correctly when pasting map geometry.
Fixed, Visual mode: in some cases combined sidedef brightness was calculated incorrectly. Also, MAPINFO FadeColor and OutsideFogColor properties are now taken into account.
Hexen_linedefs.cfg: "Door Raise" and "Door Locked Raise" used incorrect enums for "Close Delay".
2015-02-06 09:01:33 +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
dc6076496a Linedefs mode, UDMF: added "Apply 'lightfog' flag" action.
ZDoom_linedefs.cfg: "Plane" actions don't require activation.
2015-02-01 18:44:30 +00:00
MaxED
3575ffc0a3 Added some more boilerplate to MapManager.CompileLump() 2015-01-29 08:18:11 +00:00
MaxED
3c9ea89d4d Changed ZDoom/GZDoom/Zandronum configuration names to avoid confusion. 2015-01-29 08:00:41 +00:00
MaxED
ed2a832c5a Added some boilerplate to MapManager.CompileLump(). 2015-01-28 23:33:56 +00:00
MaxED
aca13330a8 Fixed, DECORATE parser: "scale", "xscale" and "yscale" properties are now parsed the same way as in ZDoom.
Fixed, DECORATE parser: parser was unable to parse negative numeric properties.
2015-01-27 13:27:49 +00:00
MaxED
844ad7db79 Fixed, Texture previews: texture size labels were displaying incorrect size or no size at all when showing TEXTURES textures with negative scale.
Fixed, Visual mode, UDMF: when several wall parts were selected, only one could be dragged with the mouse.
Fixed, Visual mode, Auto-align textures, UDMF: TEXTURES scale is now taken into account when aligning textures.
Fixed, Visual mode, Auto-align textures (Y), UDMF: nearest height matching is now applied to non-wrapped middle backsides.
Cosmetic changes in ZDoom_ACS.cfg.
2015-01-27 11:40:25 +00:00
MaxED
b047dc4ae1 Changed, UDMF: rearranged linedef activation flags to make their order more logical.
Linedef/Thing Edit forms: cosmetic changes to named/numbered script drop-down locations.
2015-01-26 09:45:27 +00:00
MaxED
0374a0bf90 Changed, Edit Sector/Linedef/Thing/Vertex forms: undo is now created either when user changes a value using a real-time control or when applying changes, not when opening a form. 2015-01-26 08:53:05 +00:00
MaxED
9a5709cf69 ReverbsParser: added duplicate reverbs ID check.
Updated ZDoom_DECORATE.cfg.
2015-01-26 08:26:52 +00:00
MaxED
637cd69cbb Changed, Sound Environment mode: on second thought, we don't need to scan all map things to find one to highlight... 2015-01-25 23:44:10 +00:00
MaxED
1c769eec3f Core, internal: added ReverbsParser. Reverbs can be accessed using General.Map.Data.Reverbs.
Sound Environment Mode: sound environments can now be picked by editing sound environment things.
Sound Environment Mode: detected sound environments names are now used as item names in the tree view.
Fixed, Classic modes: incorrect texture was used as unknown floor/ceiling texture (I broke this in r2199).
Fixed, MainForm: reverted MainForm.UpdateToolStripSeparators. By making it look simpler I made it work more buggy...
Updated ZDoom_DECORATE.cfg.
2015-01-25 23:22:42 +00:00
MaxED
7bacccf3a1 Program configuration: added some sanity checks to "currentengineindex" property. 2015-01-23 23:09:03 +00:00
MaxED
43d4f80ba3 Fixed: flats and textures defined in TEXTURES should override regular ones (adding long texture names support broke this).
Removed unused references from all projects.
2015-01-23 21:51:11 +00:00
MaxED
1f3ebad9b7 UDMF: rearranged linedef flags to make their order more logical.
Fixed, Thing Browser Control: "Multiple Things" icon was assigned to BackgroundImage instead if Image.
Updated ZDoom_DECORATE.cfg.
2015-01-23 12:02:35 +00:00
MaxED
38d2b14570 Fixed, Script Editor: named scripts were not shown in the script navigator drop-down when current map was not in UDMF. 2015-01-22 20:34:27 +00:00
MaxED
3343f6d2c7 Fixed, Script Editor: in some cases script navigator drop-down was not updated when required.
Changed, Script Editor: changed text cursor behavior when selecting an item in the script navigator drop-down to Visual Studio-like.
2015-01-22 19:03:21 +00:00
MaxED
3080841766 Fixed, GLDEFS parser: we should check for duplicate entries within current resource, not globally.
Moved stuff around a bit in PK3Reader. Will it fix random crashes? I dunno, a least I was no longer able to trigger them...
Recompiled SharpCompress library using VS 2008, so it no longer references .net 4.0 stuff. Will it fix random crashes? See above.
2015-01-20 12:20:35 +00:00
MaxED
3676bd1a9b Visual mode: "Auto-align textures" actions now align mixed textures when used on a selection (helpful if you want to align several different textures, which can tile into each other).
Cosmetic: errors and warnings are now cleared when reloading resources.
2015-01-20 07:58:47 +00:00
MaxED
40a35d399e Script Editor: fixed an exception when a script configuration contained identical keyword and constant.
ZDoom_DECORATE.cfg: added a bunch of actor properties.
2015-01-19 19:53:58 +00:00
MaxED
7c0711f21e Thing Info panel: sprite preview image is no longer smoothed.
PK3Reader: probably fixed a random sharpcompress crash when trying to access a closed file (totally unsure, need more testing).
ZDoom_linedefs.cfg: fixed a typo.
2015-01-18 19:51:36 +00:00
MaxED
43f191872a Draw Grid mode: added "Horizontal Interpolation" and "Vertical Interpolation" toolbar menus.
Fixed, Sectors mode, UDMF: surface cache was not updated after applying floor/ceiling brightness gradients.
Cosmetic, Sectors mode, UDMF: brightness gradient modes now have more descriptive names.
Internal, InterpolationTools: replaced EaseInOutSine equation with one, which actually works.
2015-01-16 23:37:20 +00:00
MaxED
b8c871916b Sectors mode: added "Light and Fade" brightness gradient mode.
Sectors mode: "Gradient Interpolation Mode" toolbar menu.
Internal: extracted easing functions from Bridge Mode into InterpolationTools class.
+a couple of cosmetic changes.
2015-01-16 21:38:42 +00:00
MaxED
290231070a Fixed: texture coordinates interpolation during linedef splitting was failing in UDMF map format when target sidedef's texture was in a sub-folder of a PK3 or Folder resource. 2015-01-16 13:14:57 +00:00
MaxED
f06387bd32 Fixed (DB2 bug): the first texture of every TEXTURE1 lump should be ignored, not the first texture loaded from the first map resource. Also, said texture(s) are no longer shown in the Textures browser.
Cosmetic update in ZDoom_DECORATE.cfg.
2015-01-15 20:48:57 +00:00
MaxED
b08f64accb Draw Settings panel: added "Get From Selection" buttons.
+a couple of cosmetic changes.
2015-01-14 13:12:23 +00:00
MaxED
e4cad3e06c Map Analysis mode: multiple results can now be selected (and fixed) at once.
Map Analysis mode: selection color is now used when rendering affected things.
Fixed, Map Analysis mode, "Check unused things" check: checker returned false-positive results when used in Doom map format.
2015-01-12 12:27:10 +00:00
MaxED
8218a5d906 UDMF: raised sector slope precision to 7 decimal places when saving a map.
Nodes Viewer mode: added more boilerplate to classic nodes reader.
Thing Filters Form: program configuration was not marked as changed when saving thing filters.
Cosmetic layout fixes in Thing/Linedef/Sector Info panels.
Cosmetic text fixes in several Map Analysis results.
Internal: debug console is now cleared when creating a new map.
Updated ZDoom_DECORATE.cfg.
2015-01-11 19:42:57 +00:00
MaxED
c325d7ec14 Changed, "Snap selected map elements to grid" action: the action now works on any selected map element type.
Fixed, Sectors mode: holding Alt to (de)select things inside of sectors worked only in band selection mode. Now it also works when selecting individual sectors and when using paint selection mode.
Fixed, Statistics Control: forgot to remove some test code in r2176...
Internal: removed several unused icons.
2015-01-10 23:12:19 +00:00
MaxED
f98fb4ed8c Statistics control: relevant labels now turn red when current number of given map elements exceeds current map format's maximum.
Statistics control: things count was not updated when adding or deleting things.
Map Analysis mode: "Check texture alignment" is now disabled by default.
Updated Inno Setup script and images.
Added DirectX web installer to Builder\Setup.
Updated MakeRelease.bat.
Updated ZDoom_DECORATE.cfg.
2015-01-10 11:45:25 +00:00
MaxED
1b911628ac Fixed, Linedef Edit form (classic): it was impossible to enable disabled front/back sides, because corresponding check-boxes were inside of corresponding groups.
Fixed, Nodes Viewer Mode: the mode was unable to handle missing node lumps properly.
Fixed, Nodes Viewer Mode: the mode no longer builds nodes when unable to find both classic nodes and ZNODES at the same time.
Removed SlimDX installer, because it's no longer required.
Internal: debug console is now cleared when opening a map.
2015-01-09 13:56:54 +00:00
MaxED
a531e41a50 High-Dpi: redesigned Docker control's Pin button. Now it is rendered properly when using high-dpi display settings. 2015-01-09 08:11:42 +00:00
MaxED
c34d07c506 Fixed: apparently, adding dpiAware as asmv1 element broke Windows XP compatibility... 2015-01-08 15:01:57 +00:00
MaxED
d2f7fb8a2e DECORATE parser: added multiple actions per frame (http://zdoom.org/Changelog/7d0faa5bd5f39f1b5c721e8287f94dc04811a355/files) support. 2015-01-08 09:45:04 +00:00
MaxED
86031291dc High-Dpi: fixed most of alignment errors. 2015-01-06 11:49:06 +00:00
MaxED
c788802c44 High-DPI: fixed alignment issues in Sector, Thing, Linedef and Vertex Edit Forms, also in Open Map Options and Map Options Forms.
Changed: Thing Browser Form is now resizeable.
Changed: made default Texture Browser Form size smalled, so it properly fits the screen when using low display resolution.
2015-01-05 14:56:44 +00:00
MaxED
a91227e962 Linedef Edit Form (Doom/Hexen map formats): fixed incorrect window size when using low display resolution (like 1024x768). 2015-01-05 10:30:32 +00:00
MaxED
9c11d7e682 DECORATE parser: added special handling for ZDoom's special sprite names (namely TNT1, "####" and "----").
Internal: changed the way apppath is acquired. It should no longer fail when launching the editor from a shared network folder.
Main Form: changed some labels of dynamic light and model rendering selectors to be less confusing.
Updated ZDoom_DECORATE.cfg.
2015-01-03 18:43:37 +00:00
MaxED
be14f852ec Internal: moved TNT1A0 ignoring logic to a more adequate place (why these "proper implementation" ideas always occur right AFTER I commit stuff?..) 2014-12-30 20:39:45 +00:00
MaxED
17564a96bc Fixed: patches named TNT1A0 should be skipped when creating a texture.
Updated ZDoom_DECORATE.cfg.
2014-12-30 20:14:53 +00:00
MaxED
704ec15ce6 Added more thorough map name validation logic to New/Open/Switch Map forms.
High-DPI: added app.manifest, which enables application DPI-awareness.
High-DPI: ExceptionDialog is now displayed properly.
2014-12-30 13:21:01 +00:00
MaxED
ec69eb5dfd Also, we should not switch to a map named "MAP"... 2014-12-29 21:44:25 +00:00
MaxED
de43f4f959 Apparently, we can no longer load a map named "MAP" after r2151. Let's warn a user about this unfortunate event. 2014-12-29 19:38:24 +00:00
MaxED
858bffd64a Added more checks and fixed incorrect flag assignment in UDMF -> Hexen action conversion from r2155. 2014-12-29 18:15:53 +00:00
MaxED
8491993bf4 Updated SharpCompress library from 0.8.1 to 0.10.3. This fixes inability to load certain PK7 files and grants a 2x performance boost when loading PK3 and PK7 files. 2014-12-29 12:28:40 +00:00
MaxED
4f7e2298f4 Added Hexen -> UDMF and UDMF -> Hexen action conversion as described in "Universal Doom Map Format ZDoom extensions" (udmf_zdoom.txt). It is used when changing map format form Hexen to UDMF and from UDMF to Hexen.
Game configurations, Line Identification action: added "Front side only" (128) flag to arg1.
Game configurations, Line Identification action: renamed arg1 flags to match corresponding UDMF flag names.
Updated udmf_zdoom.txt.
2014-12-29 09:19:20 +00:00
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
716d9d26f4 Rendering: MODELDEF "offset" property is now supported.
Rendering: mode fixes to MODELDEF and UDMF properties-related model rendering logic.
2014-12-11 12:55:35 +00:00
MaxED
4d9c551790 Fixed, Rendering: MODELDEF RollOffset, AngleOffset, Scale and ZOffset properties were applied incorrectly.
Fixed, Rendering: VOXELDEF Scale property was applied incorrectly.
2014-12-10 22:50:16 +00:00
MaxED
33a35e2148 Import Wavefront .obj as Terrain mode now works in all map formats.
Import Wavefront .obj as Terrain mode: floor height of each created sector is now set to the average height of an .obj polygon it was created from.
Import Wavefront .obj as Terrain Settings window: added "Use slopes" checkbox. When enabled, the mode will create slopes using vertex height offsets (UDMF) or Floor Vertex Height things (1504).
Fixed, Visual Mode: things were rendered at wrong height after using "Lower/Raise Height" actions in sectors with sloped floor (or ceiling for ceiling-aligned things) 
Fixed: info panel was not updated after switching to another Edit Mode.
2014-12-10 21:11:56 +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
868d1f50eb Woops... 2014-12-05 21:43:12 +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
2667f9b5cb Thing, Sector, Linedef edit forms, UDMF: fixed more cases when missing game configuration blocks crashed the forms.
Thing and Sector edit forms, UDMF: fixed some minor layout issues.
2014-12-04 10:06:44 +00:00
MaxED
1e421bda7e Fixed, Texture Browser form: we should not save "Long texture names" value when Map.Config.UseLongTextureNames is disabled.
Fixed, Linedef Edit form (UDMF): fixed a crash on opening the form when "linedefrenderstyles" block was missing from game configuration.
2014-12-04 07:50:01 +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
f3bd56f3cd Fixed: GZDB was not shown in alt-tab list when "Errors and Warnings" window was open. 2014-11-17 01:41:15 +00:00
MaxED
18e52226fd Linedef Edit Form, UDMF: "Lock number" now has a drop-down with supported key types (no LOCKDEFS support (yet?)). You can still type lock number manually. 2014-11-15 20:25:16 +00:00
MaxED
66f75ec7c4 Internal: added a debug console. 2014-11-13 09:43:39 +00:00
MaxED
2b7eee8d1a Draw modes: linedef length labels no longer overlap linedefs. 2014-11-12 11:22:14 +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
6c1dbc0bf3 Find and Replace mode:
"Find Any Texture or Flat", "Find Sector Flat" and "Find Sidedef Texture" options now support "*" (match any number of characters) and "?" (match any single character) wildcards.
"Find Any Texture or Flat" is now available any game configuration (previously it was disabled when "MixTexturesFlats" game configuration option was disabled, now only "Replace" functionality is disabled).
"Find Thing Flags" and "Find Linedef Flags" can now replace flags.
Added "Find Sidedef Flags" and "Find Sector Flags" search options.
2014-11-05 12:32:48 +00:00
MaxED
7a790f2d56 Hmm... 2014-11-03 23:06:02 +00:00
MaxED
580eb49283 Err... 2014-11-03 23:03:13 +00:00
MaxED
27d021887e A slightly better implementation of previous commit... 2014-11-03 14:03:47 +00:00
MaxED
720b4e01ec Fixed, "OpenMapInCurrentWad" action: we should not switch to already opened map.
Fixed, Open Map form: a warning is now displayed when no map is selected when accepting the form.
2014-11-03 13:58:19 +00:00
MaxED
f986f5c98d Fixed, game configurations: Boom game configurations used incorrect "thingflagscompare" block.
Fixed, Thing edit form: implemented overcomplicated required flags check (which should work as expected this time. probably.).
2014-11-03 13:02:59 +00:00
MaxED
06163d4611 Fixed, Change Map form: keyboard focus was not properly updated after selecting current map in the maps list. 2014-11-02 19:32:08 +00:00
MaxED
840cdf66bc Fixed: when switching to a different map format, all nodes with "nodebuild" property set to true in the "maplumpnames" block of current game configuration are now removed. 2014-11-02 19:02:01 +00:00
MaxED
77ba424fdd Fixed: it's now impossible to set grid size smaller than 1. 2014-11-02 17:15:04 +00:00
MaxED
cefb66ca16 A warning is now displayed when an unclosed marker range is found in a WAD (e.g. when there's a S_START, but no S_END after it). 2014-10-31 13:53:43 +00:00
MaxED
ecaf9331d9 Fixed: SaveScreenshots method was called several times when child windows were open.
Fixed incorrect screenshot size when a window was maximized.
Fixed: more than one screenshot per second can now be saved.
Changed screenshot filename date format to yyyy.mm.dd.
2014-10-31 09:52:07 +00:00
MaxED
8defbb42e3 Fixed: in some cases incorrect window bounds were used when saving active window screenshot when several child windows were open. 2014-10-31 07:42:53 +00:00
MaxED
5e59c38da6 Fixed: Randomize Sectors / Vertices, UDMF: vertex handles were not updated.
Fixed: Randomize Sectors, UDMF: vertex height changes were not undone properly after using the mode (I broke it in r2101).
Fixed: Randomize Sectors: floor/ceiling textures can not be used as lower/upper textures when "MixTexturesAndFlats" is disabled. In this case the corresponding option is now changed to "Use default texture".
2014-10-29 13:11:35 +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
eba7dabf18 DECORATE parser: let's not use LANGUAGE keywords as actor titles. 2014-10-28 21:50:34 +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
601280bb64 Game configurations, UDMF: added "midtex3dimpassible" linedef flag.
Linedef Edit form: resized controls to show all flags without scrolling.
Updated ACS and DECOTARE ZDoom configurations.
2014-10-28 09:31:37 +00:00
MaxED
0d90d9b297 Visual mode: regular walls are now clipped by solid 3d floors (this should eliminate z-fighting).
Fixed, WavefrontExporter: floor and ceiling textures were not exported when using "classic" game configurations (ones with disabled "MixTexturesAndFlats" option). This should also fix incorrect flats on exported model when there are flats and textures with the same name.
Fixed, WavefrontExporter: 3d floors geometry and wall geometry around them was created incorrectly.
Fixed, WavefrontExporter: floor and ceiling textures of non-Vavoom 3d floors were swapped on exported geometry.
2014-10-28 09:23:21 +00:00
MaxED
698f57b2f1 Fixed: since we are now using Dictionary in WADReader.GetDecorateData, all names should be unique. 2014-10-26 20:11:07 +00:00
MaxED
d4cfdd78c6 Fixed, DECORATE parser: we should use full path when reporting wad DECORATE parse errors. 2014-10-23 13:27:20 +00:00
MaxED
05d097a713 Internal: removed ambiguous method override. 2014-10-23 13:04:01 +00:00
MaxED
6df641564c DECORATE parser: parse errors are more detailed now.
Fixed, DECORATE parser: error status was not cleared when switching to different resource.
Fixed, DECORATE parser: fixed a parse error when DB2-specific actor properties (like "//$category") were located outside of actor's scope.
2014-10-23 12:48:31 +00:00
MaxED
badd7dcea8 Fixed: undo list must be cleared during "Switch map in current wad" action.
Fixed incorrect non-UDMF <-> UDMF skills translations in Strife_misc.cfg.
2014-10-23 08:18:14 +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
1ae9481a03 Fixed: regular and block comment parsing was broken in TEXTMAP parser.
Updated MissingThing icon.
More changes in ZDoom_linedefs.cfg and Hexen_linedefs.cfg.
2014-10-21 13:35:44 +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
558cd6f23e Changed FormBorderStyle from FixedToolWindow to FixedDialog. GZDB should no longer disappear from the alt-tab list when a child form is opened. 2014-10-17 12:50:26 +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
25a8365057 Updated some icons. The new ones should be more visible when using dark Windows themes. 2014-10-17 11:19:10 +00:00
MaxED
eb9781b339 Optimization, PK3: approximately 2x performance increase during background resource loading (~7 seconds vs ~16 seconds in r2083, tested on Enjay's Genetech MAP01).
Fixed, PK7: fixed a potential crash when using several PK7 resources with overlapping files.
2014-10-15 08:36:17 +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
7a9e01c098 Changed, Directory/PK3/PK7: on second thought, we don't need to load textures/flats from all possible locations (does anyone really needs to see sprites and graphics in the texture browser?), so this logic now only works when looking for patches.
Game Configurations: added "Custom Ambient Sound (no gravity)":14067, added a couple of missing parameters to other sound-related things.
2014-10-13 09:32:55 +00:00
MaxED
0cfb0207fb Fixed, Directory/PK3/PK7 image loading: we should use DoomTexture as expected format when loading flats from non-"Flats" folders. 2014-10-12 22:22:36 +00:00
MaxED
10da128475 Changed: both DoomTexture and DoomFlat formats should be checked when determining an image format if "Mix textures and flats" flag is set.
Changed: "imgz" images are now skipped while loading textures.
2014-10-12 21:59:16 +00:00
MaxED
8b0f973b94 Fixed: it was possible to add the same Docker several times using General.Interface.AddDocker(). 2014-10-09 19:29:17 +00:00
MaxED
d8df65b2c1 More fixes to PK3/Directory patch and texture search/creation logic. 2014-10-07 09:56:36 +00:00
MaxED
7c048ece38 More fixes to PK3/Directory patch and texture search logic.
Fixed, Textures Browser form: fixed another case of the blank textures list after opening the form.
2014-10-07 08:56:21 +00:00
MaxED
88e5e790e7 Textures Browser form: empty texture sets are no longer shown when mixed textures & flats is disabled in the current game configuration.
Textures Browser form: PK3/Directory TEXTURES images are now shown in a separate folder in the resources tree.
Fixed, Textures Browser form: fixed a logic error when trying to select initial flat when mix textures & flats was disabled in the current game configuration (this resulted in the blank textures list after opening the form).
Fixed, Textures Browser form: resources tree showed textures count even when browsing flats.
Fixed, Textures Browser form: PK3/Directory textures took precedence even when browsing flats (this means when there were a flat and a texture with the same name, a texture was displayed when browsing flats).
Fixed, Classic modes: actor's scale set in DECORATE was ignored when rendering models.
Fixed, MODELDEF parser: in some cases, several model definitions were skipped when trying to skip the current one.
Fixed, resource management: flat and sprite TEXTURES definitions were loaded only from TEXTURES files named "TEXTURES".
Fixed/added, PK3/folder resource management: patch locations for sprites defined in TEXTURES are now checked the same way as in ZDoom (previously only the "sprites" folder was checked).
Fixed/added, PK3/folder resource management: patch locations for textures defined in TEXTURES are now checked the same way as in ZDoom (previously only the "textures" folder was checked).
Fixed, PK3/folder resource management: flats defined in TEXTURES were not added to the global Flats image list.
Fixed, PK3/folder resource management: in some cases, the image search algorithm could find flats, textures, patches or sprites in incorrect folders (for example, it could find a flat in "flats_backup" folder).
2014-10-07 00:23:02 +00:00
MaxED
6bc4325b36 Fixed: VirtualSectorField was cleared from sector properties when pasting map geometry in Doom/Hexen map formats leading to incorrect sector assignment [I broke this in r2009, so it seems]. 2014-10-03 21:55:38 +00:00
MaxED
9d69448cad Reverted r2025 changes, because performance improvement was not worth the trouble... 2014-10-01 08:17:14 +00:00
MaxED
ae7d6dd3c1 Fixed a broken lookup update logic in WAD.Remove() and WAD.RemoveAt() again.
MakeSVNRelease.bat: changed log start revision from 1 to 1496 (GZDB's second commit).
2014-09-30 22:31:18 +00:00
MaxED
f924dbcbbb Fixed a broken lookup update logic in WAD.Remove() and WAD.RemoveAt(). 2014-09-30 20:14:44 +00:00
MaxED
bc1c32d52e Map Analysis: added "Check unused things" check.
Map Analysis, internal: some ErrorCheckers and ErrorResult had inconsistent namespaces.
Thing Edit forms, internal: optimized missing flags check a bit.
2014-09-30 12:02:41 +00:00
MaxED
b90b7b8a79 Thing Edit Form: a warning is now displayed when a thing doesn't have any skill or class or game mode flags.
Game Configurations: moved "thingflagscompare" from Game to Map format blocks. "Check stuck things" check now works properly in Doom/Boom game configurations.
Map Analysis: fixed a possible crash during "Check texture alignment" check.
Map Analysis: ResultStuckThingInLine now highlights both thing and line.
Map Analysis: ResultStuckThingInThing now highlights both things and allows to delete any of them.
Internal, Map Analysis: rewritten parts of "Check stuck things" class.
Internal, Map Analysis: changed the way processed stuff is stored in "Check texture alignment" class.
Internal: changed CurrentDomainOnUnhandledException, so ExceptionDialog with proper info shows up even if adding exception to the Event Log failed.
Internal: changed format, in which thingflagscompare info is stored.
2014-09-29 20:49:41 +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
e849c04112 Changed: when using "Save map" action, only .dbs file is saved when map was not changed.
Cosmetic: changed Angle Control's outline color.
2014-09-24 11:47:52 +00:00
MaxED
7235fa6394 Cosmetic: Angle Control now has angle marks. 2014-09-24 08:48:13 +00:00
MaxED
88ae568836 Added: Map Analysis: added "Check texture alignment" check. Currently it works only in Doom/Hexen map formats. 2014-09-23 21:34:50 +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
e6b997a7da MODELDEF parser: fixed a crash when trying to add a model definition when another one was already created for the same actor.
ZDoom_DECORATE.cfg: added A_SetSpeed definition.
2014-09-22 00:16:42 +00:00
MaxED
786caf3b34 ZDoom_ACS.cfg: added "DropInventory" function definition.
Visual mode: vertex handle size is now updated after closing the Preferences form.
2014-09-20 22:05:23 +00:00
MaxED
a6e44dc941 Preferences Form: renamed "Scale models in visual modes" to "Stretched view in visual modes". When enabled, this setting now increases vertical scale of the world and sprites in visual mode instead of decreasing vertical scale of models. 2014-09-20 18:34:06 +00:00
MaxED
5d8e62f887 Visual mode: "Select" action with "with the same textures" / "with the same height" modifiers (Shift/Ctrl + LMB) now works when used on sides of a 3d floor.
Visual mode: "Select" action with "with the same textures" modifier (Shift + LMB) now selects adjacent sidedefs only when their height intersects with the height of the current sidedef.
Visual mode: "Select" action with "with the same textures" modifier (Shift + LMB) was not selecting connected one-sided sidedefs when used on a sidedef without a texture.
Cosmetic: fixed a couple of action descriptions in BuilderModes' Actions.cfg.
Cosmetic: MainForm.UpdateToolStripSeparators was working incorrectly in some cases.
Cosmetic: ErrorChecksForm's title was not updated when no errors were found.
2014-09-18 22:06:35 +00:00
MaxED
3c116da322 Reformatted debug output from previous commit so it no longer generates compilation warnings when compiling in Release mode. 2014-09-17 13:16:11 +00:00
MaxED
c6b0f38563 Fixed a crash when trying to update a vertex handle geometry.
The editor will fail more gracefully when no D3D device is detected.
In some cases the editor was constantly checking D3D device availability when minimized.
Added more DX-related debug output (only in Debug builds).
2014-09-17 12:46:47 +00:00
MaxED
2d9c439325 Sidedef texture offsets are now translated when pasting map elements from UDMF to non-UDMF maps.
Fixed: certain UDMF-only properties were not cleared when pasting map elements from UDMF to non-UDMF maps.
Fixed a bug introduced in r2043: helper objects were not updated in some cases.
2014-09-16 20:26:42 +00:00
MaxED
145e92eaf0 Cosmetic: reformatted screenshot labels a bit.
More changes to Hexen_linedefs.cfg and ZDoom_linedefs.cfg.
2014-09-16 15:22:32 +00:00
MaxED
c7252865be Preferences: added "Vertex scale (3D)" preference, renamed "Vertex scale factor" to "Vertex scale (2D)". 2014-09-16 08:51:27 +00:00
MaxED
33ec020dca Game Configurations: added "requiresactivation" linedef property (defaults to "true").
Linedef Edit Form, UDMF: missing activation flags warning is now displayed only for linedef actions with "requiresactivation" property set in a game configuration.
Game configurations: fixed a couple of property names, added more enums & default values.
Updated BCC compiler to rev. 20140818r2.
2014-09-15 23:37:55 +00:00
MaxED
70db005f12 Linedef Edit Form: activation flags check was not updated properly. 2014-09-15 14:49:11 +00:00
MaxED
032c8aaae1 Split Linedef Edit Form into 2 versions: one for Doom/Hexen, and the other for UDMF map format.
Linedef Edit Form, UDMF: added less annoying warning about missing activation flags (no checks if an action actually requires activation yet...)
2014-09-15 14:12:31 +00:00
MaxED
2056febb82 Flags Form: added special handling for flag with zero value. 2014-09-15 09:35:11 +00:00
MaxED
7b735dc898 Sector Edit Form (Doom/Hexen): ermm... negative sector brightness is actually a thing... 2014-09-15 08:35:10 +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
f9cedc23a0 Sector Edit Form: added "height offset" input. It can be used to change floor and ceiling height by given value. Also added some tooltips. 2014-09-13 21:57:56 +00:00
MaxED
99f6a9a5a8 Map Analysis mode: results can now be hidden individually.
Updated documentation.
2014-09-12 21:08:11 +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
ad403de812 Classic modes: changed tinting of selected sprites from multiply to modulate.
Internal: more info is now displayed when a shader fails to compile.
2014-09-11 21:53:31 +00:00
MaxED
814bf4704b Linedef Edit Form: disabled missing activation flags warning. 2014-09-11 17:49:44 +00:00
MaxED
a7488939af Updated Visplane Explorer plugin to v1.0. Visplanes of Hexen maps can now be explored.
Map Options Form: example map name now uses current game's naming scheme.
2014-09-11 08:26:01 +00:00
MaxED
422c605bc7 Linedef Edit Form, UDMF: missing activation flags warning was shown even when action was 0... 2014-09-10 16:56:29 +00:00
MaxED
7b70316b86 Internal: optimized WAD.FindLump() and WAD.FindLumpIndex() functions. They should work ~30x faster now (although, overall performance increase because of this change is fairly noticeable). 2014-09-09 13:54:59 +00:00
MaxED
5e7de03847 View projection is now updated when engaging Visual mode. This means no more distorted visuals after disproportionately changing window size. 2014-09-09 12:16:26 +00:00
MaxED
359cea1ce8 Game Configurations Form: added a help item to "Testing" tab, which displays info about command line placeholders when mouseovered.
Added some missing flags to ZDoom_DECORATE.cfg.
2014-09-09 09:49:28 +00:00
MaxED
1521f9ba20 Linedef Edit Form, UDMF: a waring is now shown when trying to apply a non-zero action without any activation flags.
Program Configuration: selected test engine index was not saved when applying the form.
Program Configuration: selected test engine index was not pasted when pasting a game configuration or test engines.
Program Configuration: in some cases current test engine name was not saved when applying the form.
Program Configuration: fixed broken logic when trying to add a test engine with the same file name as already existing one.
2014-09-08 21:26:30 +00:00
MaxED
697069e27b Texture Browser Form: some minor logic fixes (no texture groups were selected when initial texture was empty and no texture group was stored in the program configuration).
Texture Browser Form: don't save current texture group when the form was canceled.
Keyboard Shortcut Reference export: generated html will now be saved to program configuration folder if working folder is write-protected.
Internal: added SupportedMapFormats property to EditModeAttribute. A mode with this property specified will be available only in specified map formats.
Interface: Ceiling Align Mode and Floor Align Mode are now enabled by default.
Interface: Ceiling Align Mode and Floor Align Mode are now only available in UDMF map format.
Interface: Visplane Explorer Mode is now available only in Doom map format.
2014-09-08 13:09:14 +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
daf8c44327 Screenshots: message about missing save folder should not be displayed when using the default save path.
Screenshots: added wad and map names to info text of edit area screenshots.
2014-09-04 07:57:30 +00:00
MaxED
8ea8c154f1 Thing Edit form: position changes were handled differently than other similar properties.
Thing Edit form: absolute thing height was calculated incorrectly in some cases.
General: added a generic update logic when current editing mode doesn't handle OnEditFormValuesChanged event.
Internal, AngleControl: added "AngleOffset" property.
2014-09-03 14:07:08 +00:00
MaxED
50c136fbfe Import .obj as Terrain: created terrain was horizontally flipped when importing a model with up axis set to X or Z.
Also, I would like to use this opportunity to thank Siberian Tiger from DTD Team for helping me with SVN builds for more than two years. You made my constant wrestling with the code a much less tedious process.
2014-09-02 20:44:58 +00:00
MaxED
3819eb561b Import .obj as Terrain: vertex order was incorrect when creating sectors from a model with up axis set to Z. 2014-09-02 18:52:26 +00:00
MaxED
90689ad1dc Fixed a crash when saving a map after changing map format. 2014-08-30 18:12:07 +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