mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-01-17 00:05:07 -05:00
Update interior_layout_utility.java
This commit is contained in:
@@ -229,7 +229,7 @@ public class interior_layout_utility extends script.base_script {
|
||||
fw.write("// ======= Generated by Interior Layout Utility Script ========\n");
|
||||
fw.write("// ======= Created by "+getPlayerFullName(self)+" ("+self+") ========\n");
|
||||
fw.write("// ======= Generated on "+ LocalDateTime.now() +" ========\n\n");
|
||||
fw.write("FORM \"INLF\"\n");
|
||||
fw.write("FORM \"INLY\"\n");
|
||||
fw.write("{\n");
|
||||
fw.write("\tFORM \"0000\"\n");
|
||||
fw.write("\t{\n");
|
||||
@@ -315,7 +315,7 @@ public class interior_layout_utility extends script.base_script {
|
||||
bb.order(ByteOrder.BIG_ENDIAN);
|
||||
bb.get(new byte[4]); // skip FORM (declaration)
|
||||
bb.getInt(); // get form size
|
||||
bb.get(new byte[8]); // skip INLF (form name) and FORM 0000 (declaration)
|
||||
bb.get(new byte[8]); // skip INLY (form name) and FORM 0000 (declaration)
|
||||
final int NodeSize = bb.getInt(); // get size of 0000 form (containing NODE chunks)
|
||||
bb.get(new byte[4]); // skip 0000 (form name)
|
||||
final int endPosition = bb.position() + NodeSize - 4;
|
||||
|
||||
Reference in New Issue
Block a user