public ProjectCompiler() { SoundCache = new RawCache(); ModelCache = new RawCache(); SbspCache = new RawCache(); LtmpCache = new RawCache(); DECRCache = new RawCache(); WeatherCache = new RawCache(); AnimationCache = new RawCache(); BitmapCache = new RawCache(); TagnameCache = new TagnameCache(); IndexCache = new IndexCache(); MetaCache = new MetaCache(); SbspLtmpMetaCache = new StructureMetaCache(); EnglishUnicodeCache = new UnicodeCache(); StringIDsCache = new StringsCache(); valueCache = new Cache<Value>(10000); pointerCache = new Cache<Pointer>(50000); rawCache = new Cache<ResourceReference>(10000); }
public void UpdateIndexCache(IndexCache indexcache) { for (int i = 0; i < TagIndexers.Count; i++) indexcache.Entries[TagIndexers[i]].Address = Entries[i].Offset + VirtualOffset; }