mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-29 15:11:56 +00:00
5eb438e3ba
Added map scripting capabilities to UDB (#656). Documentation at https://biwa.github.io/udbscript-docs/
24 lines
622 B
C#
Executable file
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,
|
|
}
|
|
}
|