Relocated RPF binary search to BinarySearchForm. Added undo operations for audio placements. Removed RPF Browser tools menu entry (it's now obsolete). Renamed MainForm to MenuForm.

This commit is contained in:
dexyfex
2017-12-24 22:49:04 +11:00
Unverified
parent 2a72aec735
commit ad46bc816c
14 changed files with 1608 additions and 178 deletions
+1 -1
View File
@@ -2206,7 +2206,7 @@ namespace CodeWalker.GameFiles
Vehicle = 3,
VehicleEngine = 4,
VehicleEntity = 5, //not sure about this
RadioStation = 6,//possibly, audio "stream"
RadioStream = 6,//possibly, generic audio stream
Helicopter = 8, //maybe
+7 -3
View File
@@ -31,7 +31,7 @@ namespace CodeWalker.GameFiles
public volatile bool IsInited = false;
public void Init(string folder, Action<string> updateStatus, Action<string> errorLog, bool rootOnly = false)
public void Init(string folder, Action<string> updateStatus, Action<string> errorLog, bool rootOnly = false, bool buildIndex = true)
{
UpdateStatus = updateStatus;
ErrorLog = errorLog;
@@ -81,8 +81,12 @@ namespace CodeWalker.GameFiles
}
}
updateStatus("Building jenkindex...");
BuildBaseJenkIndex();
if (buildIndex)
{
updateStatus("Building jenkindex...");
BuildBaseJenkIndex();
}
updateStatus("Scan complete");
IsInited = true;