2009-07-07 11:29:56 +00:00
|
|
|
|
|
|
|
#region ================== Copyright (c) 2007 Pascal vd Heiden
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Copyright (c) 2007 Pascal vd Heiden, www.codeimp.com
|
|
|
|
* This program is released under GNU General Public License
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
#region ================== Namespaces
|
|
|
|
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
namespace CodeImp.DoomBuilder.BuilderModes
|
|
|
|
{
|
|
|
|
// This doesn't do jack shit.
|
|
|
|
internal class NullVisualEventReceiver : IVisualEventReceiver
|
|
|
|
{
|
2016-05-12 11:32:10 +00:00
|
|
|
public bool Selected { get { return false; } } //mxd
|
|
|
|
|
2013-05-02 07:47:22 +00:00
|
|
|
public void OnSelectBegin() { }
|
|
|
|
public void OnSelectEnd() { }
|
|
|
|
public void OnEditBegin() { }
|
|
|
|
public void OnEditEnd() { }
|
|
|
|
public void OnMouseMove(MouseEventArgs e) { }
|
|
|
|
public void OnChangeTargetHeight(int amount) { }
|
|
|
|
public void OnChangeTargetBrightness(bool up) { }
|
2023-09-29 18:44:04 +00:00
|
|
|
public bool OnChangeTextureOffset(int horizontal, int vertical, bool doSurfaceAngleCorrection) { return true; }
|
Fixed, Draw Lines/Rectangle/Circle/Curve modes: line length labels displayed incorrect length.
Changed, Drag Linedefs/Vertices/Sectors/Things modes: line length labels are now displayed the same way as in Draw modes.
Changed, Drag Linedefs/Vertices/Sectors/Things modes: "lock movement to cardinal directions" mode (Alt-Shift-Drag) now locks movement in 4 directions instead of 8 and doesn't snap map elements to nearest grid intersections when they are not aligned to it.
Added, Visual mode, GZDoom, DECORATE: FORCEXYBILLBOARD flag is now supported.
Added, Visual mode, GLOOME, DECORATE: FLOORSPRITE, CEILSPRITE, WALLSPRITE, ROLLSPRITE and STICKTOPLANE flags are now supported (implementation is somewhat broken ATM and probably doesn't work the same way as in GLOOME, because Windows build with most these features is nowhere to be found...).
Fixed, Visual mode: in some cases Thing brightness was calculated incorrectly.
Updated ZDoom_DECORATE.cfg.
2015-08-25 22:05:14 +00:00
|
|
|
public void OnChangeScale(int incrementX, int incrementY) { } //mxd
|
2013-05-02 07:47:22 +00:00
|
|
|
public void OnResetTextureOffset() { }
|
2013-09-19 09:17:49 +00:00
|
|
|
public void OnResetLocalTextureOffset() { } //mxd
|
2013-05-02 07:47:22 +00:00
|
|
|
public void OnSelectTexture() { }
|
|
|
|
public void OnCopyTexture() { }
|
|
|
|
public void OnPasteTexture() { }
|
|
|
|
public void OnCopyTextureOffsets() { }
|
|
|
|
public void OnPasteTextureOffsets() { }
|
|
|
|
public void OnCopyProperties() { }
|
Removed "Paste Properties Options" action.
Added "Paste Properties Special" actions in "Classic" and "Visual" categories. They work the same way as "Paste Special" action.
Added: "Copy Properties", "Paste Properties" and "Paste Properties Special" options are now shown in the Edit menu if current classic mode supports them.
Changed, Paste Properties Special window: only options relevant to current map format are now displayed.
Changed, Paste Properties Special window, UDMF: all UI-managed options are now available.
Fixed: MAPINFO parser was unable to process "include" directives.
Fixed, General interface: selection info was reset to "Nothing selected" after few seconds regardless of current selection.
Fixed, Visual mode: thing bounding boxes were not updated when changing things positions using Randomize mode.
Fixed, Visual mode: event lines were displayed at incorrect height when entering Visual mode for the first time.
Fixed, Texture Browser window: when MixTexturesFlats Game Configuration option is disabled, textures/flats are no longer shown in the Used group when flats/textures with the same names are used in the map.
Fixed(?): probably fixed an exception some users reported when trying to initialize a Classic mode after switching from Visual mode with "Sync cameras" option enabled.
Changed, Game configurations, Thing Categories: a block must have at least one thing category property to be recognized as a thing category.
Changed, Visplane Explorer: the plugin now outputs more info when it fails to initialize vpo.dll.
Cosmetic, Thing Edit window, Doom/Hexen map format: adjusted UI layout so thing flags control no longer displays scrollbars in Hexen map format.
Internal: merged methods from UDMFTools into UniFields, removed UDMFTools.
Updated Inno Setup script (added VC++ 2008 SP1 distributive).
Updated ZDoom_DECORATE.cfg (A_CheckBlock).
Updated documentation (added "System Requirements" page).
2015-10-09 12:38:12 +00:00
|
|
|
public void OnPasteProperties(bool useoptions) { } //mxd. Added "useoptions"
|
2013-05-02 07:47:22 +00:00
|
|
|
public void OnTextureAlign(bool alignx, bool aligny) { }
|
2014-12-22 21:36:49 +00:00
|
|
|
public void OnTextureFit(FitTextureOptions options) { } //mxd
|
2013-05-02 07:47:22 +00:00
|
|
|
public void OnTextureFloodfill() { }
|
|
|
|
public void OnToggleUpperUnpegged() { }
|
|
|
|
public void OnToggleLowerUnpegged() { }
|
2016-03-14 10:25:27 +00:00
|
|
|
public void OnProcess(long deltatime) { }
|
2013-05-02 07:47:22 +00:00
|
|
|
public void OnInsert() { }
|
|
|
|
public void OnDelete() { }
|
2019-01-19 07:56:13 +00:00
|
|
|
public void OnPaintSelectBegin() { } // biwa
|
|
|
|
public void OnPaintSelectEnd() { } // biwa
|
2013-05-02 07:47:22 +00:00
|
|
|
public void ApplyTexture(string texture) { }
|
|
|
|
public void ApplyUpperUnpegged(bool set) { }
|
|
|
|
public void ApplyLowerUnpegged(bool set) { }
|
|
|
|
public string GetTextureName() { return ""; }
|
2013-04-01 11:06:01 +00:00
|
|
|
public void SelectNeighbours(bool select, bool withSameTexture, bool withSameHeight) { } //mxd
|
2009-07-07 11:29:56 +00:00
|
|
|
}
|
|
|
|
}
|