dredless 1.1.1 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4498,7 +4498,8 @@
|
|
|
4498
4498
|
}
|
|
4499
4499
|
readFieldDelta() {
|
|
4500
4500
|
const raw = this.readUnsigned();
|
|
4501
|
-
|
|
4501
|
+
const magnitude = Math.floor(raw / 2);
|
|
4502
|
+
return raw % 2 === 0 ? magnitude : -magnitude;
|
|
4502
4503
|
}
|
|
4503
4504
|
readBlob() {
|
|
4504
4505
|
const length = this.readStreamInt();
|
|
@@ -4773,7 +4774,8 @@
|
|
|
4773
4774
|
[21, {
|
|
4774
4775
|
name: "gate_portal",
|
|
4775
4776
|
orderedValues: true,
|
|
4776
|
-
|
|
4777
|
+
// Bit 16 is a numeric gate orientation/state delta, after the blobs.
|
|
4778
|
+
fields: numericFields({ 1: 20, 2: 24, 16: 52 }),
|
|
4777
4779
|
blobs: [{ bit: 4, offset: 28 }, { bit: 8, offset: 40 }]
|
|
4778
4780
|
}],
|
|
4779
4781
|
[24, {
|
|
@@ -4786,7 +4788,11 @@
|
|
|
4786
4788
|
[25, {
|
|
4787
4789
|
name: "zone_label",
|
|
4788
4790
|
orderedValues: true,
|
|
4789
|
-
|
|
4791
|
+
// Wire 88 packs large/target/restricted flags before all field values.
|
|
4792
|
+
packedBeforeValues: true,
|
|
4793
|
+
packedBits: [{ bit: 16, offset: 57 }, { bit: 32, offset: 58 }, { bit: 64, offset: 59 }],
|
|
4794
|
+
defaults: { q28: 100 },
|
|
4795
|
+
fields: numericFields({ 1: 20, 2: 24, 128: 28 }),
|
|
4790
4796
|
blobs: [{ bit: 4, offset: 28 }, { bit: 8, offset: 40 }]
|
|
4791
4797
|
}],
|
|
4792
4798
|
[26, { name: "numeric_single", fields: numericFields({ 1: 20 }) }],
|