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
|
|
|
|
{
|
2013-05-02 07:47:22 +00:00
|
|
|
public NullVisualEventReceiver() { }
|
|
|
|
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) { }
|
|
|
|
public void OnChangeTextureOffset(int horizontal, int vertical, bool doSurfaceAngleCorrection) { }
|
Visual mode, UDMF: added "Scale Texture Up (X)", "Scale Texture Down (X)", "Scale Texture Up (Y)", "Scale Texture Down (Y)" actions. Default keys are Num6, Num4, Num8, Num5.
Visual mode, UDMF: renamed "Rotate Thing Clockwise" and "Rotate Thing Counterclockwise" actions to "Rotate Clockwise" and "Rotate Counterclockwise". These actions can now be used to change rotation of floor/ceiling textures.
Visual mode, UDMF: "Reset Texture Offsets" action now also resets sidedef's scale and floor/ceiling's scale and rotation.
Visual mode, UDMF: control line's OffsetX and OffsetY were not taken into account when calculating texture offsets of 3d floors' sides.
Visual mode, UDMF: fixed a ton of bugs in Auto align functions.
Visual mode, UDMF: when using "Move Texture Left/Right/Up/Down by 1" actions texture offsets were not updated properly when texture's scale was < 1.0.
Visual mode, UDMF: OffsetX and OffsetY were not taken into account in "Fit Texture Width/Height" actions.
Dockers Panel: added Pin/Unpin button, which acts the same as "Preferences -> Interface -> Side panels -> Auto hide" checkbox.
Texture size labels can now be disabled by unchecking "Preferences -> Interface -> Show texture and flat sizes in browsers" checkbox.
Texture size labels now are not shown for unknown textures.
Most of texture size labels had incorrect bg color.
ZDoom_linedefs.cfg: action specials 223 and 224 had incorrect Arg0.
2013-06-24 14:21:13 +00:00
|
|
|
public virtual void OnChangeTextureScale(float incrementX, float 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() { }
|
|
|
|
public void OnPasteProperties() { }
|
|
|
|
public void OnTextureAlign(bool alignx, bool aligny) { }
|
|
|
|
public void OnTextureFit(bool fitWidth, bool fitHeight) { } //mxd
|
|
|
|
public void OnTextureFloodfill() { }
|
|
|
|
public void OnToggleUpperUnpegged() { }
|
|
|
|
public void OnToggleLowerUnpegged() { }
|
|
|
|
public void OnProcess(float deltatime) { }
|
|
|
|
public void OnInsert() { }
|
|
|
|
public void OnDelete() { }
|
|
|
|
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
|
|
|
|
public bool IsSelected() { return false; } //mxd
|
2009-07-07 11:29:56 +00:00
|
|
|
}
|
|
|
|
}
|