@famibee/skynovel 1.32.0 → 1.32.1
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.
- package/dist/app.js +14 -6
- package/dist/app.js.map +1 -1
- package/dist/sn/SoundMng.d.ts.map +1 -1
- package/dist/web.js +14 -6
- package/dist/web.js.map +1 -1
- package/package.json +1 -1
package/dist/app.js
CHANGED
|
@@ -19589,8 +19589,12 @@ Oe = new WeakMap(), yr = new WeakMap(), Vs = new WeakMap(), Jv = new WeakSet(),
|
|
|
19589
19589
|
const n = this.cfg.searchPath(e, hr.EXT_SOUND);
|
|
19590
19590
|
if (n.slice(-4) !== ".bin") {
|
|
19591
19591
|
i.url = n;
|
|
19592
|
-
const s = Ku.from(i)
|
|
19593
|
-
|
|
19592
|
+
const s = Ku.from(i);
|
|
19593
|
+
if (t) {
|
|
19594
|
+
const a = f(this, Oe)[t];
|
|
19595
|
+
a.snd = s, a.pan !== 0 && (s.filters = [new ym.StereoFilter(a.pan)]);
|
|
19596
|
+
}
|
|
19597
|
+
i.loop || Ns.add(e, s);
|
|
19594
19598
|
return;
|
|
19595
19599
|
}
|
|
19596
19600
|
new oi().add({ name: e, url: n, xhrType: Bt.XHR_RESPONSE_TYPE.BUFFER }).use((s, a) => {
|
|
@@ -19598,10 +19602,14 @@ Oe = new WeakMap(), yr = new WeakMap(), Vs = new WeakMap(), Jv = new WeakSet(),
|
|
|
19598
19602
|
s.data = o, a == null || a();
|
|
19599
19603
|
}).catch((o) => this.main.errScript(`Sound \u30ED\u30FC\u30C9\u5931\u6557\u3067\u3059 fn:${s.name} ${o}`, !1));
|
|
19600
19604
|
}).load((s, a) => {
|
|
19601
|
-
var
|
|
19602
|
-
i.source = (
|
|
19603
|
-
const o = Ku.from(i)
|
|
19604
|
-
|
|
19605
|
+
var u;
|
|
19606
|
+
i.source = (u = a[e]) == null ? void 0 : u.data;
|
|
19607
|
+
const o = Ku.from(i);
|
|
19608
|
+
if (t) {
|
|
19609
|
+
const h = f(this, Oe)[t];
|
|
19610
|
+
h.snd = o, h.pan !== 0 && (o.filters = [new ym.StereoFilter(h.pan)]);
|
|
19611
|
+
}
|
|
19612
|
+
i.loop || Ns.add(e, o);
|
|
19605
19613
|
});
|
|
19606
19614
|
}, ff = new WeakMap(), vh = new WeakSet(), Fp = function() {
|
|
19607
19615
|
for (const t in f(this, Oe))
|