mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-14 05:58:29 +08:00
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:
@@ -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
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user