UltimateZoneBuilder/Source/Core/Config/ScriptDocumentSettings.cs
biwa 5eb438e3ba
Add map scripting capabilities to UDB (#656)
Added map scripting capabilities to UDB (#656). Documentation at https://biwa.github.io/udbscript-docs/
2021-11-28 14:00:24 +01:00

24 lines
622 B
C#
Executable file

using System.Collections.Generic;
namespace CodeImp.DoomBuilder.Config
{
internal struct ScriptDocumentSettings
{
public Dictionary<int, HashSet<int>> FoldLevels; // <fold level, line numbers>
public int CaretPosition;
public int FirstVisibleLine;
public string Filename;
public string ResourceLocation; // Used by ScriptResourceDocumentTab only
public ScriptType ScriptType; // Used by ScriptResourceDocumentTab only
public ScriptDocumentTabType TabType;
public bool IsActiveTab;
public long Hash;
}
public enum ScriptDocumentTabType
{
LUMP,
RESOURCE,
FILE,
}
}