mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2024-11-10 06:41:49 +00:00
Actually add move selection by 8 mp actions
This commit is contained in:
parent
0514086933
commit
bd87668555
1 changed files with 48 additions and 0 deletions
|
@ -2184,6 +2184,54 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
||||||
General.Interface.RedrawDisplay();
|
General.Interface.RedrawDisplay();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[BeginAction("moveselectionup8")]
|
||||||
|
public void MoveSelectionUp8()
|
||||||
|
{
|
||||||
|
offset.y += 8;
|
||||||
|
|
||||||
|
// Update
|
||||||
|
UpdateGeometry();
|
||||||
|
UpdateRectangleComponents();
|
||||||
|
General.Map.Map.Update();
|
||||||
|
General.Interface.RedrawDisplay();
|
||||||
|
}
|
||||||
|
|
||||||
|
[BeginAction("moveselectiondown8")]
|
||||||
|
public void MoveSelectionDown8()
|
||||||
|
{
|
||||||
|
offset.y -= 8;
|
||||||
|
|
||||||
|
// Update
|
||||||
|
UpdateGeometry();
|
||||||
|
UpdateRectangleComponents();
|
||||||
|
General.Map.Map.Update();
|
||||||
|
General.Interface.RedrawDisplay();
|
||||||
|
}
|
||||||
|
|
||||||
|
[BeginAction("moveselectionleft8")]
|
||||||
|
public void MoveSelectionLeft8()
|
||||||
|
{
|
||||||
|
offset.x -= 8;
|
||||||
|
|
||||||
|
// Update
|
||||||
|
UpdateGeometry();
|
||||||
|
UpdateRectangleComponents();
|
||||||
|
General.Map.Map.Update();
|
||||||
|
General.Interface.RedrawDisplay();
|
||||||
|
}
|
||||||
|
|
||||||
|
[BeginAction("moveselectionright8")]
|
||||||
|
public void MoveSelectionRight8()
|
||||||
|
{
|
||||||
|
offset.x += 8;
|
||||||
|
|
||||||
|
// Update
|
||||||
|
UpdateGeometry();
|
||||||
|
UpdateRectangleComponents();
|
||||||
|
General.Map.Map.Update();
|
||||||
|
General.Interface.RedrawDisplay();
|
||||||
|
}
|
||||||
|
|
||||||
//mxd. Rotate clockwise
|
//mxd. Rotate clockwise
|
||||||
[BeginAction("rotateclockwise")]
|
[BeginAction("rotateclockwise")]
|
||||||
public void RotateCW()
|
public void RotateCW()
|
||||||
|
|
Loading…
Reference in a new issue