Added ResourceAnalyzer to YptFile

This commit is contained in:
dexy 2020-03-19 23:13:42 +11:00
parent 1f75bd8e06
commit 140510c67c

View File

@ -21,6 +21,9 @@ namespace CodeWalker.GameFiles
public string ErrorMessage { get; set; }
#if DEBUG
public ResourceAnalyzer Analyzer { get; set; }
#endif
public YptFile() : base(null, GameFileType.Ypt)
{
@ -60,6 +63,10 @@ namespace CodeWalker.GameFiles
BuildDrawableDict();
BuildParticleDict();
#if DEBUG
Analyzer = new ResourceAnalyzer(rd);
#endif
Loaded = true;
}