cache: update indextype names
This commit is contained in:
@@ -72,8 +72,8 @@ public class FrameDumper
|
||||
store.load();
|
||||
|
||||
Storage storage = store.getStorage();
|
||||
Index frameIndex = store.getIndex(IndexType.FRAMES);
|
||||
Index framemapIndex = store.getIndex(IndexType.FRAMEMAPS);
|
||||
Index frameIndex = store.getIndex(IndexType.ANIMATIONS);
|
||||
Index framemapIndex = store.getIndex(IndexType.SKELETONS);
|
||||
|
||||
for (Archive archive : frameIndex.getArchives())
|
||||
{
|
||||
|
||||
@@ -66,7 +66,7 @@ public class FramemapDumper
|
||||
store.load();
|
||||
|
||||
Storage storage = store.getStorage();
|
||||
Index index = store.getIndex(IndexType.FRAMEMAPS);
|
||||
Index index = store.getIndex(IndexType.SKELETONS);
|
||||
|
||||
for (Archive archive : index.getArchives())
|
||||
{
|
||||
|
||||
@@ -67,8 +67,8 @@ public class TrackDumperTest
|
||||
store.load();
|
||||
|
||||
Storage storage = store.getStorage();
|
||||
Index index = store.getIndex(IndexType.TRACK1);
|
||||
Index index2 = store.getIndex(IndexType.TRACK2);
|
||||
Index index = store.getIndex(IndexType.MUSIC_TRACKS);
|
||||
Index index2 = store.getIndex(IndexType.MUSIC_JINGLES);
|
||||
|
||||
for (Archive archive : index.getArchives())
|
||||
{
|
||||
|
||||
@@ -66,7 +66,7 @@ public class WorldMapDumperTest
|
||||
store.load();
|
||||
|
||||
Storage storage = store.getStorage();
|
||||
Index index = store.getIndex(IndexType.WORLDMAP);
|
||||
Index index = store.getIndex(IndexType.WORLDMAP_OLD);
|
||||
Archive archive = index.getArchive(0); // there is also archive 1/2, but their data format is not this
|
||||
|
||||
byte[] archiveData = storage.loadArchive(archive);
|
||||
|
||||
Reference in New Issue
Block a user