Refactored loading resource files from raw byte array code

This commit is contained in:
dexyfex
2018-03-08 12:15:28 +11:00
Unverified
parent bfddaada31
commit 68273e7dca
7 changed files with 69 additions and 220 deletions
+1 -1
View File
@@ -4220,7 +4220,7 @@ namespace CodeWalker.Project
{
byte[] data = File.ReadAllBytes(filename);
ymt.LoadRSC(data);
ymt.Load(data);
}
+1 -1
View File
@@ -3775,7 +3775,7 @@ namespace CodeWalker
{
byte[] data = File.ReadAllBytes(filename);
ymt.LoadRSC(data);
ymt.Load(data);
}
private void LoadScenarioTreeNodes(YmtFile ymt, TreeNode node)