mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 20:32:34 +00:00
2598389d6b
Snap Map Elements to Grid mode now works much faster and shows a message when completed. Forced default textures are now only used in drawing modes. Exception Dialog: long error descriptions were breaking window layout. Map will no longer be shown in Open Map form if unrelated data is encountered inside of map namespace.
59 lines
1.4 KiB
C#
59 lines
1.4 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.Collections.Generic;
|
|
|
|
#endregion
|
|
|
|
namespace CodeImp.DoomBuilder.Map
|
|
{
|
|
public class BlockEntry
|
|
{
|
|
#region ================== Variables
|
|
|
|
// Members
|
|
private List<Linedef> lines;
|
|
private List<Thing> things;
|
|
private List<Sector> sectors;
|
|
private List<Vertex> verts; //mxd
|
|
|
|
#endregion
|
|
|
|
#region ================== Properties
|
|
|
|
public List<Linedef> Lines { get { return lines; } }
|
|
public List<Thing> Things { get { return things; } }
|
|
public List<Sector> Sectors { get { return sectors; } }
|
|
public List<Vertex> Vertices { get { return verts; } } //mxd
|
|
|
|
#endregion
|
|
|
|
#region ================== Constructor
|
|
|
|
// Constructor for empty block
|
|
public BlockEntry()
|
|
{
|
|
lines = new List<Linedef>(2);
|
|
things = new List<Thing>(2);
|
|
sectors = new List<Sector>(2);
|
|
verts = new List<Vertex>(2); //mxd
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
}
|