mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2024-11-10 06:41:49 +00:00
Improve Stair Sector Builder controls & fix a few misspelled status messages.
This commit is contained in:
parent
48de314342
commit
c8f83515e4
5 changed files with 36 additions and 17 deletions
|
@ -1738,7 +1738,7 @@ namespace CodeImp.DoomBuilder
|
|||
internal void ToggleFog()
|
||||
{
|
||||
General.Settings.GZDrawFog = !General.Settings.GZDrawFog;
|
||||
General.MainWindow.DisplayStatus(StatusType.Action, "Fog rendering is " + (General.Settings.GZDrawFog ? "ENABLED" : "DISABLED"));
|
||||
General.MainWindow.DisplayStatus(StatusType.Action, "Fog rendering is " + (General.Settings.GZDrawFog ? "ENABLED" : "DISABLED") + ".");
|
||||
General.MainWindow.RedrawDisplay();
|
||||
General.MainWindow.UpdateGZDoomPanel();
|
||||
}
|
||||
|
@ -1747,7 +1747,7 @@ namespace CodeImp.DoomBuilder
|
|||
internal void ToggleSky()
|
||||
{
|
||||
General.Settings.GZDrawSky = !General.Settings.GZDrawSky;
|
||||
General.MainWindow.DisplayStatus(StatusType.Action, "Sky rendering is " + (General.Settings.GZDrawSky ? "ENABLED" : "DISABLED"));
|
||||
General.MainWindow.DisplayStatus(StatusType.Action, "Sky rendering is " + (General.Settings.GZDrawSky ? "ENABLED" : "DISABLED") + ".");
|
||||
General.MainWindow.RedrawDisplay();
|
||||
General.MainWindow.UpdateGZDoomPanel();
|
||||
}
|
||||
|
@ -1767,7 +1767,7 @@ namespace CodeImp.DoomBuilder
|
|||
General.Settings.GZDrawSky = enable;
|
||||
General.Settings.GZDrawLightsMode = (enable ? LightRenderMode.ALL : LightRenderMode.NONE);
|
||||
General.Settings.GZDrawModelsMode = (enable ? ModelRenderMode.ALL : ModelRenderMode.NONE);
|
||||
General.MainWindow.DisplayStatus(StatusType.Action, "Advanced effects are " + (enable ? "ENABLED" : "DISABLED"));
|
||||
General.MainWindow.DisplayStatus(StatusType.Action, "Advanced effects are " + (enable ? "ENABLED" : "DISABLED") + ".");
|
||||
|
||||
General.MainWindow.RedrawDisplay();
|
||||
General.MainWindow.UpdateGZDoomPanel();
|
||||
|
@ -1777,7 +1777,7 @@ namespace CodeImp.DoomBuilder
|
|||
internal void ToggleEventLines()
|
||||
{
|
||||
General.Settings.GZShowEventLines = !General.Settings.GZShowEventLines;
|
||||
General.MainWindow.DisplayStatus(StatusType.Action, "Event lines are " + (General.Settings.GZShowEventLines ? "ENABLED" : "DISABLED"));
|
||||
General.MainWindow.DisplayStatus(StatusType.Action, "Event lines are " + (General.Settings.GZShowEventLines ? "ENABLED" : "DISABLED") + ".");
|
||||
General.MainWindow.RedrawDisplay();
|
||||
General.MainWindow.UpdateGZDoomPanel();
|
||||
}
|
||||
|
@ -1786,7 +1786,7 @@ namespace CodeImp.DoomBuilder
|
|||
internal void ToggleVisualVertices()
|
||||
{
|
||||
General.Settings.GZShowVisualVertices = !General.Settings.GZShowVisualVertices;
|
||||
General.MainWindow.DisplayStatus(StatusType.Action, "Visual vertices are " + (General.Settings.GZShowVisualVertices ? "ENABLED" : "DISABLED"));
|
||||
General.MainWindow.DisplayStatus(StatusType.Action, "Visual vertices are " + (General.Settings.GZShowVisualVertices ? "ENABLED" : "DISABLED") + ".");
|
||||
General.MainWindow.RedrawDisplay();
|
||||
General.MainWindow.UpdateGZDoomPanel();
|
||||
}
|
||||
|
|
|
@ -382,8 +382,8 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
{
|
||||
BuilderPlug.Me.SyncronizeThingEdit = !BuilderPlug.Me.SyncronizeThingEdit;
|
||||
General.Interface.DisplayStatus(StatusType.Info, (BuilderPlug.Me.SyncronizeThingEdit ?
|
||||
"Things editing is SYNCRONIZED" :
|
||||
"Things editing is not syncronized"));
|
||||
"Things editing is synchronized!" :
|
||||
"Things editing is not synchronized."));
|
||||
|
||||
// Update interface
|
||||
BuilderPlug.Me.MenusForm.SyncronizeThingEditButton.Checked = BuilderPlug.Me.SyncronizeThingEdit;
|
||||
|
|
|
@ -227,8 +227,8 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
BuilderPlug.Me.ViewSelectionNumbers = buttonselectionnumbers.Checked;
|
||||
General.Interface.RedrawDisplay();
|
||||
General.Interface.DisplayStatus(StatusType.Info, (buttonselectionnumbers.Checked ?
|
||||
"Show selection numbers" :
|
||||
"Don't show selection numbers"));
|
||||
"Show selection numbers." :
|
||||
"Don't show selection numbers."));
|
||||
}
|
||||
|
||||
//mxd
|
||||
|
@ -237,8 +237,8 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
BuilderPlug.Me.ViewSelectionEffects = buttonselectioneffects.Checked;
|
||||
General.Interface.RedrawDisplay();
|
||||
General.Interface.DisplayStatus(StatusType.Info, (buttonselectioneffects.Checked ?
|
||||
"Show sector tags and effects" :
|
||||
"Don't show sector tags and effects"));
|
||||
"Show sector tags and effects." :
|
||||
"Don't show sector tags and effects."));
|
||||
}
|
||||
|
||||
//mxd
|
||||
|
@ -246,8 +246,8 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
{
|
||||
BuilderPlug.Me.MarqueSelectTouching = buttonMarqueSelectTouching.Checked;
|
||||
General.Interface.DisplayStatus(StatusType.Info, (buttonMarqueSelectTouching.Checked ?
|
||||
"Select map elements touching selection rectangle" :
|
||||
"Select map elements inside of selection rectangle"));
|
||||
"Select map elements touching the selection rectangle." :
|
||||
"Select map elements inside of the selection rectangle."));
|
||||
}
|
||||
|
||||
//mxd
|
||||
|
@ -255,8 +255,8 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
{
|
||||
BuilderPlug.Me.LockSectorTextureOffsetsWhileDragging = buttonTextureOffsetLock.Checked;
|
||||
General.Interface.DisplayStatus(StatusType.Info, (buttonTextureOffsetLock.Checked ?
|
||||
"Lock texture offsets when dragging sectors" :
|
||||
"Don't lock texture offsets when dragging sectors"));
|
||||
"Lock texture offsets when dragging sectors." :
|
||||
"Don't lock texture offsets when dragging sectors."));
|
||||
}
|
||||
|
||||
//mxd
|
||||
|
|
|
@ -477,7 +477,7 @@ namespace CodeImp.DoomBuilder.StairSectorBuilderMode
|
|||
}
|
||||
}
|
||||
|
||||
private void singleseteps_CheckedChanged(object sender, EventArgs e)
|
||||
private void singlesteps_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (singlesteps.Checked)
|
||||
{
|
||||
|
|
|
@ -226,7 +226,10 @@
|
|||
this.spacing.AllowNegative = false;
|
||||
this.spacing.AllowRelative = false;
|
||||
this.spacing.ButtonStep = 8;
|
||||
this.spacing.ButtonStepBig = 16F;
|
||||
this.spacing.ButtonStepFloat = 1F;
|
||||
this.spacing.ButtonStepSmall = 1F;
|
||||
this.spacing.ButtonStepsUseModifierKeys = true;
|
||||
this.spacing.Location = new System.Drawing.Point(81, 33);
|
||||
this.spacing.Name = "spacing";
|
||||
this.spacing.Size = new System.Drawing.Size(56, 24);
|
||||
|
@ -277,7 +280,7 @@
|
|||
this.singlesteps.TabIndex = 0;
|
||||
this.singlesteps.Text = "Single steps";
|
||||
this.singlesteps.UseVisualStyleBackColor = true;
|
||||
this.singlesteps.CheckedChanged += new System.EventHandler(this.singleseteps_CheckedChanged);
|
||||
this.singlesteps.CheckedChanged += new System.EventHandler(this.singlesteps_CheckedChanged);
|
||||
//
|
||||
// groupBox2
|
||||
//
|
||||
|
@ -321,7 +324,10 @@
|
|||
this.sectordepth.AllowNegative = false;
|
||||
this.sectordepth.AllowRelative = false;
|
||||
this.sectordepth.ButtonStep = 8;
|
||||
this.sectordepth.ButtonStepBig = 16F;
|
||||
this.sectordepth.ButtonStepFloat = 1F;
|
||||
this.sectordepth.ButtonStepSmall = 1F;
|
||||
this.sectordepth.ButtonStepsUseModifierKeys = true;
|
||||
this.sectordepth.Location = new System.Drawing.Point(81, 3);
|
||||
this.sectordepth.Name = "sectordepth";
|
||||
this.sectordepth.Size = new System.Drawing.Size(56, 24);
|
||||
|
@ -628,6 +634,10 @@
|
|||
this.floorbase.AllowNegative = true;
|
||||
this.floorbase.AllowRelative = false;
|
||||
this.floorbase.ButtonStep = 8;
|
||||
this.floorbase.ButtonStepBig = 16F;
|
||||
this.floorbase.ButtonStepFloat = 1F;
|
||||
this.floorbase.ButtonStepSmall = 1F;
|
||||
this.floorbase.ButtonStepsUseModifierKeys = true;
|
||||
this.floorbase.ButtonStepFloat = 1F;
|
||||
this.floorbase.Location = new System.Drawing.Point(45, 48);
|
||||
this.floorbase.Name = "floorbase";
|
||||
|
@ -691,7 +701,10 @@
|
|||
this.floorheightmod.AllowNegative = true;
|
||||
this.floorheightmod.AllowRelative = false;
|
||||
this.floorheightmod.ButtonStep = 8;
|
||||
this.floorheightmod.ButtonStepBig = 16F;
|
||||
this.floorheightmod.ButtonStepFloat = 1F;
|
||||
this.floorheightmod.ButtonStepSmall = 1F;
|
||||
this.floorheightmod.ButtonStepsUseModifierKeys = true;
|
||||
this.floorheightmod.Location = new System.Drawing.Point(45, 22);
|
||||
this.floorheightmod.Name = "floorheightmod";
|
||||
this.floorheightmod.Size = new System.Drawing.Size(56, 24);
|
||||
|
@ -846,7 +859,10 @@
|
|||
this.ceilingheightmod.AllowNegative = true;
|
||||
this.ceilingheightmod.AllowRelative = false;
|
||||
this.ceilingheightmod.ButtonStep = 8;
|
||||
this.ceilingheightmod.ButtonStepBig = 16F;
|
||||
this.ceilingheightmod.ButtonStepFloat = 1F;
|
||||
this.ceilingheightmod.ButtonStepSmall = 1F;
|
||||
this.ceilingheightmod.ButtonStepsUseModifierKeys = true;
|
||||
this.ceilingheightmod.Location = new System.Drawing.Point(45, 22);
|
||||
this.ceilingheightmod.Name = "ceilingheightmod";
|
||||
this.ceilingheightmod.Size = new System.Drawing.Size(56, 24);
|
||||
|
@ -896,7 +912,10 @@
|
|||
this.ceilingbase.AllowNegative = true;
|
||||
this.ceilingbase.AllowRelative = false;
|
||||
this.ceilingbase.ButtonStep = 8;
|
||||
this.ceilingbase.ButtonStepBig = 16F;
|
||||
this.ceilingbase.ButtonStepFloat = 1F;
|
||||
this.ceilingbase.ButtonStepSmall = 1F;
|
||||
this.ceilingbase.ButtonStepsUseModifierKeys = true;
|
||||
this.ceilingbase.Location = new System.Drawing.Point(45, 48);
|
||||
this.ceilingbase.Name = "ceilingbase";
|
||||
this.ceilingbase.Size = new System.Drawing.Size(56, 24);
|
||||
|
|
Loading…
Reference in a new issue