Rectangular Selection: removed direction-based additive/subtractive selection. You can now hold Ctrl to enable subtractive selection, hold Ctrl-Shift to intersect with existing selection.

Point Thing at Cursor action: action now works when used from menu, changed default shortcut to Shift-L. You can now hold Ctrl to point Things away from cursor.
This commit is contained in:
MaxED 2013-04-09 10:56:05 +00:00
parent 8f40e113fe
commit 043590100b
13 changed files with 334 additions and 274 deletions

View file

@ -537,7 +537,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
//move things...
if (!absolutePosition) { //...relatively (that's easy)
int camAngle = (int)Math.Round(General.Map.VisualCamera.AngleXY * 180 / Math.PI);
int sector = (int)(General.ClampAngle(camAngle - 45f) / 90f);
int sector = General.ClampAngle(camAngle - 45) / 90;
direction = direction.GetRotated((float)(sector * Math.PI / 2f));
for (int i = 0; i < coordinates.Length; i++)