Commit graph

2109 commits

Author SHA1 Message Date
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
3d3905e31c Fixed, Visual mode: sector effects should be updated when deleting textures.
Fixed, Visual mode, 3D floors: in some cases 3d floor flags were handled differently than in GZDoom.
2015-02-07 17:52:39 +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
d641c1160c Visual mode, "Raise Floor/Ceiling to adjacent sector", "Lower Floor/Ceiling to adjacent sector": things with "absolutez" flag should be handled differently. 2015-01-30 19:24:06 +00:00
MaxED
666b3486e9 Fixed, Visual mode: in some cases "Raise Floor/Ceiling to adjacent sector" was not working properly when used on things. 2015-01-30 14:16:47 +00:00
MaxED
e687642cca Fixed, Visual mode: a case when thing's height was bigger than distance between floor and ceiling's planes is now handled the same way as in ZDoom. 2015-01-30 08:10:49 +00:00
MaxED
9dc3a7bac3 Fixed, Visual mode: when thing's position is not absolute, it should always be positioned between floor and ceiling planes. 2015-01-30 07:58:09 +00:00
MaxED
2a1cd2c7ae Sound Environment mode: you can now add sound environment things using "Insert Thing" or "Edit Selection" actions (just like you add things in Things mode).
Sound Environment mode: you can now delete currently highlighted sound environment thing by using "Delete" action.
Sound Environment mode: the sidebar panel icons now have the same colors as corresponding sound environments.
Fixed, Sound Environment mode: in some cases several sidebar panel items were highlighted at once (I broke this in r2201).
Fixed, Fit Textures action: lower linedef parts were aligned incorrectly.
Changed, Fit Textures Options form: "Fit across multiple surfaces" checkbox is now disabled when the action is applied to a single surface.
2015-01-29 21:41:16 +00:00
MaxED
12203f1701 Fixed, Sectors Mode, UDMF: "Make Brightness Gradient" action was not working when "Sector Brightness" mode was selected... 2015-01-29 12:14:45 +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
4b01f8e9fb Visual mode, UDMF: renamed "Scale Texture Up/Down (X/Y)" actions to "Increase/Decrease Horizontal/Vertical Scale". These actions can now be used on things. 2015-01-27 14:29:23 +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
e99bad11ac Updated ZDoom_DECORATE.cfg. 2015-01-23 14:46:57 +00:00
MaxED
914f5ec9ba Updated setup and automatic build files. 2015-01-23 12:49:37 +00:00
MaxED
0a7bd9f636 Added Sound Propagation plugin by boris (https://github.com/biwa/soundpropagationmode).
Changes since 5bf51d0:
Large scale cleanup & refactoring.
Sound Propagation Mode: you can now click on doublesided linedefs to toggle sound blocking flag.
Sound Environment Mode: you can now click on doublesided linedefs to toggle sound zone boundary flag.
Sound Propagation Mode: reimplemented the highlighting of non-deaf things. Things are now highlighted using selection color.
Removed "Show tooltips" checkbox. Tooltips are now always enabled.
Fixed, Sound Environment Mode: thing tooltip about multiple active sound environment things was shown even when there was only one active sound environment thing.
Fixed, Sound Environment Mode: "Configure colors" toolbar button was not working because of missing action.
Fixed, cosmetic: "Configure colors" toolbar icon was missing a tooltip.
Fixed, cosmetic: display was not redrawn after changing colors using "Color configuration" window.
2015-01-23 12:36:43 +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
8e61edcad2 ZDoom_misc.cfg: added an empty "spawn_projectile" enumeration to prevent warnings when game-specific enums group doesn't contain this enum.
Game_Chex.cfg was misplaced.
2015-01-17 20:32:45 +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
cc4a599506 Visual mode, "Raise/Lower Sector to Nearest" actions: both floor and ceiling heights of adjacent sectors are now taken into account. 2015-01-15 21:51:38 +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
64e198451d Fixed, Fit Textures action: sidedefs were not sorted properly when trying to use the action on several disconnected sidedef strips with the same texture.
Fixed, Fit Textures action: update was not triggered when toggling "Fit across connected surfaces" check-box.
2015-01-12 18:18:48 +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
8238ae9138 Nodes Viewer plugin: added a sanity check. 2015-01-09 08:34:27 +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