forked from matortheeternal/xedit-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
XEditLib.dpr
100 lines (93 loc) · 4.25 KB
/
XEditLib.dpr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
library XEditLib;
uses
SysUtils,
xeHelpers in 'src\xeHelpers.pas',
xeTypes in 'src\xeTypes.pas',
xeStackTrace in 'src\xeStackTrace.pas',
xeMessages in 'src\xeMessages.pas',
xeConfiguration in 'src\xeConfiguration.pas',
xeMeta in 'src\xeMeta.pas',
xeSetup in 'src\xeSetup.pas',
xeResources in 'src\xeResources.pas',
xeFiles in 'src\xeFiles.pas',
xeMasters in 'src\xeMasters.pas',
xeElements in 'src\xeElements.pas',
xeElementValues in 'src\xeElementValues.pas',
xeErrors in 'src\xeErrors.pas',
xeRecords in 'src\xeRecords.pas',
xeSerialization in 'src\xeSerialization.pas',
xeConflict in 'src\xeConflict.pas',
xeFilter in 'src\xeFilter.pas',
wbImplementation in 'lib\xedit\wbImplementation.pas',
wbInterface in 'lib\xedit\wbInterface.pas',
wbBSA in 'lib\xedit\wbBSA.pas',
wbSort in 'lib\xedit\wbSort.pas',
wbDefinitionsFNV in 'lib\xedit\wbDefinitionsFNV.pas',
wbDefinitionsFO3 in 'lib\xedit\wbDefinitionsFO3.pas',
wbDefinitionsFO4 in 'lib\xedit\wbDefinitionsFO4.pas',
wbDefinitionsTES3 in 'lib\xedit\wbDefinitionsTES3.pas',
wbDefinitionsTES4 in 'lib\xedit\wbDefinitionsTES4.pas',
wbDefinitionsTES5 in 'lib\xedit\wbDefinitionsTES5.pas',
wbHelpers in 'lib\xedit\wbHelpers.pas',
wbLocalization in 'lib\xedit\wbLocalization.pas',
wbStreams in 'lib\xedit\wbStreams.pas',
Argo in 'lib\Argo\Argo.pas',
ArgoTypes in 'lib\Argo\ArgoTypes.pas';
{$R *.RES}
{$MAXSTACKSIZE 2097152}
const
IMAGE_FILE_LARGE_ADDRESS_AWARE = $0020;
exports
// META METHODS
InitXEdit, CloseXEdit, GetResultString, GetResultArray, GetResultBytes,
GetGlobal, GetGlobals, SetSortMode, Release, ReleaseNodes, Switch,
GetDuplicateHandles, CleanStore, ResetStore,
// MESSAGE METHODS
GetMessagesLength, GetMessages, ClearMessages, GetExceptionMessageLength,
GetExceptionMessage, GetExceptionStackLength, GetExceptionStack,
// LOADING AND SET UP METHODS
GetGamePath, SetGamePath, GetGameLanguage, SetLanguage, SetBackupPath,
SetGameMode, GetLoadOrder, GetActivePlugins, LoadPlugins, LoadPlugin,
LoadPluginHeader, BuildReferences, GetLoaderStatus, UnloadPlugin,
// RESOURCE HANDLING METHODS
ExtractContainer, ExtractFile, GetContainerFiles, GetFileContainer,
GetLoadedContainers, LoadContainer, BuildArchive, GetTextureData,
// FILE HANDLING METHODS
AddFile, FileByIndex, FileByLoadOrder, FileByName, FileByAuthor, NukeFile,
RenameFile, SaveFile, GetRecordCount, GetOverrideRecordCount, MD5Hash,
CRCHash, SortEditorIDs, SortNames, GetFileLoadOrder,
// MASTER HANDLING METHODS
CleanMasters, SortMasters, AddMaster, AddMasters, AddRequiredMasters,
GetMasters, GetRequiredBy, GetMasterNames,
// ELEMENT HANDLING METHODS
HasElement, GetElement, AddElement, AddElementValue, RemoveElement,
RemoveElementOrParent, SetElement, GetElements, GetDefNames, GetAddList,
GetContainer, GetElementFile, GetElementGroup, GetElementRecord, GetLinksTo,
SetLinksTo, ElementCount, ElementEquals, ElementMatches, HasArrayItem,
GetArrayItem, AddArrayItem, RemoveArrayItem, MoveArrayItem, CopyElement,
FindNextElement, FindPreviousElement, GetSignatureAllowed,
GetAllowedSignatures, GetIsModified, GetIsEditable, SetIsEditable,
GetIsRemoveable, GetCanAdd, SortKey, ElementType, DefType, SmashType,
ValueType, IsSorted, IsFixed,
// PLUGIN ERROR METHODS
CheckForErrors, GetErrorThreadDone, GetErrors, RemoveIdenticalRecords,
// SERIALIZATION METHODS
ElementToJson, ElementFromJson, DefToJson,
// ELEMENT VALUE METHODS
Name, LongName, DisplayName, Path, PathName, Signature, GetValue, GetRefValue,
SetValue, GetIntValue, SetIntValue, GetUIntValue, SetUIntValue, GetFloatValue,
SetFloatValue, GetFlag, SetFlag, GetEnabledFlags, SetEnabledFlags,
GetAllFlags, GetEnumOptions, SignatureFromName, NameFromSignature,
GetSignatureNameMap,
// RECORD HANDLING METHODS
GetFormID, SetFormID, GetRecord, GetRecords, GetREFRs, GetOverrides,
GetReferencedBy, GetMasterRecord, GetPreviousOverride, GetWinningOverride,
GetInjectionTarget, FindNextRecord, FindPreviousRecord, FindValidReferences,
ExchangeReferences, IsMaster, IsInjected, IsOverride, IsWinningOverride,
GetRecordDef, GetNodes, GetConflictData, GetNodeElements,
// FILTERING METHODS
FilterRecord, ResetFilter;
begin
SysUtils.FormatSettings.DecimalSeparator := '.';
IsMultiThread := True;
end.