2009-04-19 18:07:22 +00:00
|
|
|
|
|
|
|
#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
|
|
|
|
|
2013-08-08 11:04:13 +00:00
|
|
|
using System.Collections.Generic;
|
Removed "Paste Properties Options" action.
Added "Paste Properties Special" actions in "Classic" and "Visual" categories. They work the same way as "Paste Special" action.
Added: "Copy Properties", "Paste Properties" and "Paste Properties Special" options are now shown in the Edit menu if current classic mode supports them.
Changed, Paste Properties Special window: only options relevant to current map format are now displayed.
Changed, Paste Properties Special window, UDMF: all UI-managed options are now available.
Fixed: MAPINFO parser was unable to process "include" directives.
Fixed, General interface: selection info was reset to "Nothing selected" after few seconds regardless of current selection.
Fixed, Visual mode: thing bounding boxes were not updated when changing things positions using Randomize mode.
Fixed, Visual mode: event lines were displayed at incorrect height when entering Visual mode for the first time.
Fixed, Texture Browser window: when MixTexturesFlats Game Configuration option is disabled, textures/flats are no longer shown in the Used group when flats/textures with the same names are used in the map.
Fixed(?): probably fixed an exception some users reported when trying to initialize a Classic mode after switching from Visual mode with "Sync cameras" option enabled.
Changed, Game configurations, Thing Categories: a block must have at least one thing category property to be recognized as a thing category.
Changed, Visplane Explorer: the plugin now outputs more info when it fails to initialize vpo.dll.
Cosmetic, Thing Edit window, Doom/Hexen map format: adjusted UI layout so thing flags control no longer displays scrollbars in Hexen map format.
Internal: merged methods from UDMFTools into UniFields, removed UDMFTools.
Updated Inno Setup script (added VC++ 2008 SP1 distributive).
Updated ZDoom_DECORATE.cfg (A_CheckBlock).
Updated documentation (added "System Requirements" page).
2015-10-09 12:38:12 +00:00
|
|
|
using CodeImp.DoomBuilder.Map;
|
2013-08-10 11:28:51 +00:00
|
|
|
using CodeImp.DoomBuilder.Types;
|
2013-08-08 11:04:13 +00:00
|
|
|
|
2009-04-19 18:07:22 +00:00
|
|
|
#endregion
|
|
|
|
|
|
|
|
namespace CodeImp.DoomBuilder.IO
|
|
|
|
{
|
|
|
|
public interface IMapSetIO
|
|
|
|
{
|
|
|
|
int MaxSidedefs { get; }
|
|
|
|
int VertexDecimals { get; }
|
|
|
|
string DecimalsFormat { get; }
|
|
|
|
int MaxVertices { get; }
|
|
|
|
int MaxLinedefs { get; }
|
|
|
|
int MaxSectors { get; }
|
|
|
|
int MaxThings { get; }
|
|
|
|
int MinTextureOffset { get; }
|
|
|
|
int MaxTextureOffset { get; }
|
|
|
|
bool HasLinedefTag { get; }
|
|
|
|
bool HasThingTag { get; }
|
|
|
|
bool HasThingAction { get; }
|
|
|
|
bool HasCustomFields { get; }
|
|
|
|
bool HasThingHeight { get; }
|
|
|
|
bool HasActionArgs { get; }
|
|
|
|
bool HasMixedActivations { get; }
|
|
|
|
bool HasPresetActivations { get; }
|
|
|
|
bool HasBuiltInActivations { get; }
|
2009-07-31 11:00:11 +00:00
|
|
|
bool HasNumericLinedefFlags { get; }
|
|
|
|
bool HasNumericThingFlags { get; }
|
|
|
|
bool HasNumericLinedefActivations { get; }
|
2009-04-19 18:07:22 +00:00
|
|
|
int MaxTag { get; }
|
|
|
|
int MinTag { get; }
|
|
|
|
int MaxAction { get; }
|
|
|
|
int MinAction { get; }
|
2010-08-14 10:21:38 +00:00
|
|
|
int MaxArgument { get; }
|
|
|
|
int MinArgument { get; }
|
2009-04-19 18:07:22 +00:00
|
|
|
int MaxEffect { get; }
|
|
|
|
int MinEffect { get; }
|
|
|
|
int MaxBrightness { get; }
|
|
|
|
int MinBrightness { get; }
|
|
|
|
int MaxThingType { get; }
|
|
|
|
int MinThingType { get; }
|
2012-07-12 22:34:12 +00:00
|
|
|
float MaxCoordinate { get; }
|
|
|
|
float MinCoordinate { get; }
|
2010-10-05 08:31:27 +00:00
|
|
|
int MaxThingAngle { get; }
|
|
|
|
int MinThingAngle { get; }
|
Removed "Paste Properties Options" action.
Added "Paste Properties Special" actions in "Classic" and "Visual" categories. They work the same way as "Paste Special" action.
Added: "Copy Properties", "Paste Properties" and "Paste Properties Special" options are now shown in the Edit menu if current classic mode supports them.
Changed, Paste Properties Special window: only options relevant to current map format are now displayed.
Changed, Paste Properties Special window, UDMF: all UI-managed options are now available.
Fixed: MAPINFO parser was unable to process "include" directives.
Fixed, General interface: selection info was reset to "Nothing selected" after few seconds regardless of current selection.
Fixed, Visual mode: thing bounding boxes were not updated when changing things positions using Randomize mode.
Fixed, Visual mode: event lines were displayed at incorrect height when entering Visual mode for the first time.
Fixed, Texture Browser window: when MixTexturesFlats Game Configuration option is disabled, textures/flats are no longer shown in the Used group when flats/textures with the same names are used in the map.
Fixed(?): probably fixed an exception some users reported when trying to initialize a Classic mode after switching from Visual mode with "Sync cameras" option enabled.
Changed, Game configurations, Thing Categories: a block must have at least one thing category property to be recognized as a thing category.
Changed, Visplane Explorer: the plugin now outputs more info when it fails to initialize vpo.dll.
Cosmetic, Thing Edit window, Doom/Hexen map format: adjusted UI layout so thing flags control no longer displays scrollbars in Hexen map format.
Internal: merged methods from UDMFTools into UniFields, removed UDMFTools.
Updated Inno Setup script (added VC++ 2008 SP1 distributive).
Updated ZDoom_DECORATE.cfg (A_CheckBlock).
Updated documentation (added "System Requirements" page).
2015-10-09 12:38:12 +00:00
|
|
|
Dictionary<MapElementType, Dictionary<string, UniversalType>> UIFields { get; } //mxd. Element type (like "sector"), list of uifields.
|
|
|
|
string GetElementName(MapElementType elementtype); //mxd
|
|
|
|
MapElementType GetElementType(string elementname); //mxd
|
2009-04-19 18:07:22 +00:00
|
|
|
}
|
|
|
|
}
|