TextureBase BlockLength fix, ResourceAnalyzer improvement, resource packing improvement

This commit is contained in:
dexy
2020-03-12 00:05:49 +11:00
Unverified
parent b89c707175
commit 65a3435fb9
7 changed files with 224 additions and 133 deletions
+6 -3
View File
@@ -106,7 +106,9 @@ namespace CodeWalker.GameFiles
public YftFile Yft { get; set; }
//public ResourceAnalyzer Analyzer { get; set; }
#if DEBUG
public ResourceAnalyzer Analyzer { get; set; }
#endif
public override void Read(ResourceDataReader reader, params object[] parameters)
{
@@ -197,8 +199,9 @@ namespace CodeWalker.GameFiles
AssignChildrenShaders();
//Analyzer = new ResourceAnalyzer(reader);
#if DEBUG
Analyzer = new ResourceAnalyzer(reader);
#endif
////just testing!!
//if (BoundingSphereRadius <= 0.0f)