mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-27 06:02:11 +00:00
23d2a27dec
Added, Draw Line and Draw Curve modes: added "Auto-finish drawing" setting. When enabled, the modes will automatically finish drawing when currently drawn lines and already existing level geometry form a closed shape. Changed: sector-wise linedef flipping is now done using the new "Align Linedefs" action. "Flip Linedefs" action works the same as in DB2 again. Changed: when a map was already loaded, using "Open Map" action will use that map's directory as the starting directory. Changed: official IWADs can no longer be saved. Changed: disabled lump ranges/duplicate entries checks for official IWADs. Changed: wad type is now preserved when saving a map (previously all wads were saved as PWADs). Changed: moved Updater.exe launch much closer to the editor termination point to avoid any chance of it closing the editor before it properly closes itself. Updated ZDoom_DECORATE.cfg (A_Blast). Updated documentation.
166 lines
5.7 KiB
C#
166 lines
5.7 KiB
C#
namespace CodeImp.DoomBuilder.BuilderModes
|
|
{
|
|
partial class DrawRectangleOptionsPanel
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if(disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Component Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
|
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
|
this.radiuslabel = new System.Windows.Forms.ToolStripLabel();
|
|
this.radius = new CodeImp.DoomBuilder.Controls.ToolStripNumericUpDown();
|
|
this.subdivslabel = new System.Windows.Forms.ToolStripLabel();
|
|
this.subdivs = new CodeImp.DoomBuilder.Controls.ToolStripNumericUpDown();
|
|
this.continuousdrawing = new System.Windows.Forms.ToolStripButton();
|
|
this.reset = new System.Windows.Forms.ToolStripButton();
|
|
this.toolStrip1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// toolStrip1
|
|
//
|
|
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.continuousdrawing,
|
|
this.toolStripSeparator1,
|
|
this.radiuslabel,
|
|
this.radius,
|
|
this.subdivslabel,
|
|
this.subdivs,
|
|
this.reset});
|
|
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
|
|
this.toolStrip1.Name = "toolStrip1";
|
|
this.toolStrip1.Size = new System.Drawing.Size(488, 25);
|
|
this.toolStrip1.TabIndex = 7;
|
|
this.toolStrip1.Text = "toolStrip1";
|
|
//
|
|
// toolStripSeparator1
|
|
//
|
|
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
|
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
|
|
//
|
|
// radiuslabel
|
|
//
|
|
this.radiuslabel.Name = "radiuslabel";
|
|
this.radiuslabel.Size = new System.Drawing.Size(76, 22);
|
|
this.radiuslabel.Text = "Bevel Radius:";
|
|
//
|
|
// radius
|
|
//
|
|
this.radius.AutoSize = false;
|
|
this.radius.Margin = new System.Windows.Forms.Padding(3, 0, 6, 0);
|
|
this.radius.Maximum = new decimal(new int[] {
|
|
2048,
|
|
0,
|
|
0,
|
|
0});
|
|
this.radius.Minimum = new decimal(new int[] {
|
|
0,
|
|
0,
|
|
0,
|
|
0});
|
|
this.radius.Name = "radius";
|
|
this.radius.Size = new System.Drawing.Size(56, 20);
|
|
this.radius.Text = "0";
|
|
this.radius.Value = new decimal(new int[] {
|
|
0,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// subdivslabel
|
|
//
|
|
this.subdivslabel.Name = "subdivslabel";
|
|
this.subdivslabel.Size = new System.Drawing.Size(76, 22);
|
|
this.subdivslabel.Text = "Subdivisions:";
|
|
//
|
|
// subdivs
|
|
//
|
|
this.subdivs.AutoSize = false;
|
|
this.subdivs.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0);
|
|
this.subdivs.Maximum = new decimal(new int[] {
|
|
128,
|
|
0,
|
|
0,
|
|
0});
|
|
this.subdivs.Minimum = new decimal(new int[] {
|
|
0,
|
|
0,
|
|
0,
|
|
0});
|
|
this.subdivs.Name = "subdivs";
|
|
this.subdivs.Size = new System.Drawing.Size(56, 20);
|
|
this.subdivs.Text = "0";
|
|
this.subdivs.Value = new decimal(new int[] {
|
|
0,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// continuousdrawing
|
|
//
|
|
this.continuousdrawing.CheckOnClick = true;
|
|
this.continuousdrawing.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.Repeat;
|
|
this.continuousdrawing.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.continuousdrawing.Name = "continuousdrawing";
|
|
this.continuousdrawing.Size = new System.Drawing.Size(135, 22);
|
|
this.continuousdrawing.Text = "Continuous drawing";
|
|
this.continuousdrawing.CheckedChanged += new System.EventHandler(this.continuousdrawing_CheckedChanged);
|
|
//
|
|
// reset
|
|
//
|
|
this.reset.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.reset.Image = global::CodeImp.DoomBuilder.BuilderModes.Properties.Resources.Reset;
|
|
this.reset.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.reset.Name = "reset";
|
|
this.reset.Size = new System.Drawing.Size(23, 22);
|
|
this.reset.Text = "Reset";
|
|
this.reset.Click += new System.EventHandler(this.reset_Click);
|
|
//
|
|
// DrawRectangleOptionsPanel
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
this.Controls.Add(this.toolStrip1);
|
|
this.Name = "DrawRectangleOptionsPanel";
|
|
this.Size = new System.Drawing.Size(488, 60);
|
|
this.toolStrip1.ResumeLayout(false);
|
|
this.toolStrip1.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.ToolStrip toolStrip1;
|
|
private System.Windows.Forms.ToolStripLabel radiuslabel;
|
|
private CodeImp.DoomBuilder.Controls.ToolStripNumericUpDown radius;
|
|
private System.Windows.Forms.ToolStripLabel subdivslabel;
|
|
private CodeImp.DoomBuilder.Controls.ToolStripNumericUpDown subdivs;
|
|
private System.Windows.Forms.ToolStripButton reset;
|
|
private System.Windows.Forms.ToolStripButton continuousdrawing;
|
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
|
}
|
|
}
|