Replaced BZip2 with Apache Commons Compress

This commit is contained in:
thedaneeffect committed 2021-03-16 01:48:03 -04:00
1 parent 1e7146f208
commit a593dc9a15
30 files changed
+671 -1259

No files matched your search

+4 -3
View File
@@ -4,6 +4,7 @@
import java.awt.*;
import java.awt.image.PixelGrabber;
import java.io.IOException;
public class Image24 extends Draw2D {
@@ -42,9 +43,9 @@ public class Image24 extends Draw2D {
}
}
public Image24(FileArchive archive, String s, int i) {
Buffer buffer = new Buffer(archive.read(s + ".dat", null));
Buffer buffer_1 = new Buffer(archive.read("index.dat", null));
public Image24(FileArchive archive, String s, int i) throws IOException {
Buffer buffer = new Buffer(archive.read(s + ".dat"));
Buffer buffer_1 = new Buffer(archive.read("index.dat"));
buffer_1.position = buffer.get2U();
anInt1444 = buffer_1.get2U();
anInt1445 = buffer_1.get2U();