mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-27 22:22:32 +00:00
1ada9addf3
- changed a lot in data management - less memory usage by texture browsers
89 lines
1.9 KiB
C#
89 lines
1.9 KiB
C#
|
|
#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;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Globalization;
|
|
using System.Text;
|
|
using CodeImp.DoomBuilder.Geometry;
|
|
using CodeImp.DoomBuilder.Rendering;
|
|
using SlimDX.Direct3D;
|
|
using System.Drawing;
|
|
using CodeImp.DoomBuilder.Map;
|
|
|
|
#endregion
|
|
|
|
namespace CodeImp.DoomBuilder.Geometry
|
|
{
|
|
/// <summary>
|
|
/// This is used to indicate a side of a line without the need for a sidedef.
|
|
/// </summary>
|
|
public class LinedefSide
|
|
{
|
|
#region ================== Constants
|
|
|
|
#endregion
|
|
|
|
#region ================== Variables
|
|
|
|
private Linedef line;
|
|
private bool front;
|
|
|
|
#endregion
|
|
|
|
#region ================== Properties
|
|
|
|
public Linedef Line { get { return line; } set { line = value; } }
|
|
public bool Front { get { return front; } set { front = value; } }
|
|
|
|
#endregion
|
|
|
|
#region ================== Constructor / Disposer
|
|
|
|
/// <summary>
|
|
/// This is used to indicate a side of a line without the need for a sidedef.
|
|
/// </summary>
|
|
public LinedefSide()
|
|
{
|
|
// Initialize
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// This is used to indicate a side of a line without the need for a sidedef.
|
|
/// </summary>
|
|
public LinedefSide(Linedef line, bool front)
|
|
{
|
|
// Initialize
|
|
this.line = line;
|
|
this.front = front;
|
|
}
|
|
|
|
// Destructor
|
|
~LinedefSide()
|
|
{
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region ================== Methods
|
|
|
|
#endregion
|
|
}
|
|
}
|