@cimplify/sdk 0.109.0 → 0.111.0
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/CHANGELOG.md +54 -0
- package/README.md +18 -0
- package/dist/advanced.d.mts +4 -4
- package/dist/advanced.d.ts +4 -4
- package/dist/advanced.js +22 -22
- package/dist/advanced.mjs +3 -3
- package/dist/{audio-XU2sFNyO.d.mts → audio-DhvyjqdA.d.mts} +2 -2
- package/dist/{audio-8Igdy2WK.d.ts → audio-m0w8cnxq.d.ts} +2 -2
- package/dist/avatars.js +21 -21
- package/dist/avatars.mjs +3 -3
- package/dist/{backend-L4d_Ha0J.d.mts → backend-gUCzs5Kg.d.mts} +16 -2
- package/dist/{backend-L4d_Ha0J.d.ts → backend-gUCzs5Kg.d.ts} +16 -2
- package/dist/{catalogue-DLLsfuNg.d.ts → catalogue-1QcoGDO6.d.ts} +2 -2
- package/dist/{catalogue-BeBFWlHF.d.mts → catalogue-FdFQiWrU.d.mts} +2 -2
- package/dist/{chunk-HF2MZKP2.mjs → chunk-22BD3RHN.mjs} +6 -3
- package/dist/{chunk-B54P6RL2.js → chunk-2AQ237Y4.js} +30 -30
- package/dist/{chunk-W3VVG4NL.js → chunk-2O2CG465.js} +14 -2
- package/dist/{chunk-UPHTPBNQ.mjs → chunk-2QTQ6BUH.mjs} +1 -1
- package/dist/{chunk-BS65NRDW.js → chunk-3S6WPBZL.js} +16 -16
- package/dist/{chunk-PEZYNYJE.js → chunk-3TUOUP5T.js} +3 -3
- package/dist/{chunk-EB6EAOM5.mjs → chunk-3VEH23I5.mjs} +7 -10
- package/dist/{chunk-SYEO2WV4.mjs → chunk-42JTCWIE.mjs} +3 -3
- package/dist/{chunk-FB6YH2WW.js → chunk-4C7I3ELN.js} +4 -4
- package/dist/{chunk-UQYO3OM7.js → chunk-4ZDR72SG.js} +1 -2
- package/dist/{chunk-HPKKCUHU.js → chunk-52YS45RR.js} +13 -13
- package/dist/{chunk-6YVELDFK.mjs → chunk-5BYDGGWO.mjs} +1 -1
- package/dist/{chunk-YN24DET4.js → chunk-5HFMY3D7.js} +10 -10
- package/dist/{chunk-4CVB2ZTC.js → chunk-5LH2QN3T.js} +32 -29
- package/dist/{chunk-4A24F4ZV.mjs → chunk-5YFBGGCK.mjs} +4 -1
- package/dist/{chunk-NLAT3DB2.mjs → chunk-6DAEZKIG.mjs} +1 -1
- package/dist/{chunk-F6CHJXXK.mjs → chunk-6DATW7TB.mjs} +3 -3
- package/dist/{chunk-4RYATNVK.mjs → chunk-6H254EVP.mjs} +6 -11
- package/dist/{chunk-32U4BVJA.mjs → chunk-6PJWXIFX.mjs} +1 -1
- package/dist/{chunk-OMTVH334.js → chunk-6QANXRUM.js} +203 -186
- package/dist/{chunk-BHAGIIBI.js → chunk-6WUBSMTX.js} +82 -85
- package/dist/{chunk-EPYFN2A3.js → chunk-7AAIAVAA.js} +24 -20
- package/dist/{chunk-HZC27ICH.mjs → chunk-7BHW5GTC.mjs} +3 -3
- package/dist/{chunk-MB425DVA.mjs → chunk-7IQQQENP.mjs} +2 -2
- package/dist/{chunk-DJUUL67Z.js → chunk-7KFTYENS.js} +296 -296
- package/dist/{chunk-XLQSNQMP.js → chunk-7SM6XSPZ.js} +339 -339
- package/dist/{chunk-NBH64BDP.mjs → chunk-A33OORT7.mjs} +13 -1
- package/dist/{chunk-G2SXLGFY.js → chunk-A7BU3BK4.js} +7 -7
- package/dist/{chunk-ZNWS7NOW.mjs → chunk-A7V4L2IT.mjs} +2 -2
- package/dist/{chunk-O3SITS4R.mjs → chunk-AGV33FWC.mjs} +4 -4
- package/dist/{chunk-Z2DE3EHS.js → chunk-AHNR3BXI.js} +7 -7
- package/dist/{chunk-UQ4BHMLS.mjs → chunk-AQ5RLBU2.mjs} +5 -5
- package/dist/{chunk-J4HU2YQB.js → chunk-AQOE6WCG.js} +2 -2
- package/dist/{chunk-X57B7VQC.js → chunk-AYJPHKYV.js} +22 -22
- package/dist/{chunk-6XTWY6MH.js → chunk-AZAXD44P.js} +126 -42
- package/dist/{chunk-6ETDAU62.mjs → chunk-B45X3HPO.mjs} +98 -39
- package/dist/{chunk-QDW4EPWS.mjs → chunk-BBGKQIJJ.mjs} +1 -1
- package/dist/{chunk-NHYTO4VU.js → chunk-BP4JLSUA.js} +111 -120
- package/dist/{chunk-7INQVOHY.mjs → chunk-BU6OK542.mjs} +25 -8
- package/dist/{chunk-MKIJQL5Q.js → chunk-CJVEJPIG.js} +69 -69
- package/dist/{chunk-W23VX5MY.js → chunk-CVSRWM6W.js} +5 -5
- package/dist/{chunk-A7DK7QAG.mjs → chunk-CYBMFMJD.mjs} +1 -1
- package/dist/{chunk-BOTUAHP2.mjs → chunk-DS2VU4WW.mjs} +5 -20
- package/dist/{chunk-HMMFNLXZ.js → chunk-DSAG7T5P.js} +2 -2
- package/dist/{chunk-7GG4KNTL.mjs → chunk-E65WCTIG.mjs} +8 -4
- package/dist/{chunk-WXDVEXTW.mjs → chunk-ECDK6QBF.mjs} +1 -1
- package/dist/{chunk-5IRV36MS.mjs → chunk-EIB4OWVQ.mjs} +1 -1
- package/dist/{chunk-JLJ4FD5H.js → chunk-EQUZYCGO.js} +18 -18
- package/dist/{chunk-Q2Y3VMKH.js → chunk-ETZDIISN.js} +151 -151
- package/dist/{chunk-AKTWH3KJ.mjs → chunk-F3UJ6ZRM.mjs} +2 -2
- package/dist/{chunk-J6HRY5EQ.js → chunk-F63N2ZTQ.js} +232 -232
- package/dist/{chunk-MUEFTPNN.js → chunk-FE6VCE4K.js} +34 -34
- package/dist/{chunk-GCKWKLZF.mjs → chunk-FT6GFYJL.mjs} +17 -3
- package/dist/{chunk-2UYTS7SL.mjs → chunk-GCX7TY4D.mjs} +16 -16
- package/dist/{chunk-QDLMIHUH.js → chunk-GDB6TCSD.js} +7 -7
- package/dist/{chunk-7S7LDFGH.js → chunk-GDZT5LZ5.js} +12 -12
- package/dist/{chunk-TB2LS4CE.mjs → chunk-GHS6MIL6.mjs} +7 -11
- package/dist/{chunk-7OHZ56N7.mjs → chunk-GXKI64OT.mjs} +4 -4
- package/dist/{chunk-HRSIIDOZ.js → chunk-H3OQKK6X.js} +41 -41
- package/dist/{chunk-56BM75QX.js → chunk-H5DFSCJ6.js} +2 -2
- package/dist/{chunk-LMK775I4.mjs → chunk-HAGEIC2L.mjs} +1 -1
- package/dist/{chunk-6FZDMICK.js → chunk-HAJ4JRFO.js} +15 -15
- package/dist/{chunk-AWR2G5QN.js → chunk-HDR72GB6.js} +6 -11
- package/dist/{chunk-PTT6KIM6.js → chunk-HSEO6TPU.js} +9 -9
- package/dist/{chunk-CQSA2D2O.js → chunk-I5FOHCLH.js} +4 -31
- package/dist/{chunk-TMFB55IR.js → chunk-J2U6PJSO.js} +3 -30
- package/dist/{chunk-W77VO6LP.js → chunk-J5AJNY2N.js} +13 -13
- package/dist/{chunk-UKA7LHIT.js → chunk-JR3TNEQC.js} +98 -98
- package/dist/{chunk-P2O34BIO.mjs → chunk-JURRXY2J.mjs} +1 -1
- package/dist/{chunk-PKMVOVUA.mjs → chunk-K3HW5I2A.mjs} +1 -1
- package/dist/{chunk-BXUGKBMK.mjs → chunk-KDQOR4QQ.mjs} +1 -14
- package/dist/{chunk-KVZSYGTX.mjs → chunk-KGHJH5KJ.mjs} +1 -1
- package/dist/{chunk-3AKWZF3X.mjs → chunk-KK6HYVBI.mjs} +1 -1
- package/dist/{chunk-K6GK5B5J.js → chunk-KMKWGXMK.js} +6 -6
- package/dist/{chunk-EH4UG7IL.mjs → chunk-KU7O4IXU.mjs} +4 -4
- package/dist/{chunk-IHRMR3WV.mjs → chunk-KVFNRJOR.mjs} +9 -9
- package/dist/{chunk-A36JRXXH.mjs → chunk-KWZHIPRN.mjs} +26 -9
- package/dist/{chunk-HBZQ5HSV.mjs → chunk-LIV3KXJG.mjs} +1 -1
- package/dist/{chunk-S75PBSSL.mjs → chunk-ME6HGG4I.mjs} +92 -8
- package/dist/{chunk-SNNEOS5Z.js → chunk-MHDUUSG6.js} +75 -75
- package/dist/{chunk-FKYZCXFM.js → chunk-MIPO6F72.js} +3 -3
- package/dist/{chunk-MFWIHTEN.js → chunk-MTIHEW2M.js} +5 -5
- package/dist/{chunk-UCR5HRYM.js → chunk-NFXCKTE2.js} +17 -3
- package/dist/{chunk-M53GR3ZV.mjs → chunk-NHJUGZUR.mjs} +43 -5
- package/dist/{chunk-FAYK2MN6.js → chunk-NZTKLY2W.js} +14 -18
- package/dist/{chunk-EQW6PFC2.js → chunk-O2ICABUD.js} +2 -2
- package/dist/{chunk-5PW6DVHF.js → chunk-OIVVQQ22.js} +55 -37
- package/dist/{chunk-GBJ5CW3A.js → chunk-PKOZXD2Q.js} +30 -30
- package/dist/{chunk-NGN3JE5A.js → chunk-PQTQKNKD.js} +16 -7
- package/dist/{chunk-DFZWHNRG.js → chunk-QOCHWR4V.js} +105 -42
- package/dist/{chunk-PCVVQNBD.js → chunk-QS6TRHMR.js} +5 -5
- package/dist/{chunk-DXZZ27CV.js → chunk-RKBLPGPV.js} +245 -207
- package/dist/{chunk-765P2G7G.mjs → chunk-RUVGVNOF.mjs} +1 -1
- package/dist/{chunk-NJ7ZWH4U.mjs → chunk-SAFJIGYB.mjs} +1 -1
- package/dist/{chunk-AOPH2IZV.js → chunk-SKQFLBDD.js} +60 -22
- package/dist/{chunk-BUUA5XJV.js → chunk-TWM6DLYF.js} +2 -2
- package/dist/{chunk-YPL5TKI4.mjs → chunk-U6UVWEAK.mjs} +1 -1
- package/dist/{chunk-6YQDHXPL.mjs → chunk-UCEPNO6N.mjs} +46 -9
- package/dist/{chunk-U7RULAEP.mjs → chunk-UG5BTOTF.mjs} +2 -2
- package/dist/{chunk-MITGBWV7.mjs → chunk-UGH37BQW.mjs} +1 -1
- package/dist/{chunk-IZDWAL53.mjs → chunk-UJDQQTBS.mjs} +8 -8
- package/dist/{chunk-URRZ2SMI.mjs → chunk-V7ZRH3PY.mjs} +2 -2
- package/dist/{chunk-3H76N7G5.mjs → chunk-VBGHBL3E.mjs} +8 -17
- package/dist/{chunk-AZC2LTUI.js → chunk-VVE3Y76O.js} +2 -2
- package/dist/{chunk-BRAA7U3I.mjs → chunk-W65JIRI4.mjs} +1 -1
- package/dist/{chunk-KU4EDEKA.js → chunk-WKWTDZS7.js} +9 -9
- package/dist/{chunk-BTUSVHIE.mjs → chunk-WLSU5QJT.mjs} +2 -2
- package/dist/{chunk-NTTHAXHI.js → chunk-X5A5FOWW.js} +11 -8
- package/dist/{chunk-ODL55PYL.mjs → chunk-XD2PMH46.mjs} +16 -7
- package/dist/{chunk-OADW5BSV.js → chunk-XK6UDWJS.js} +2 -2
- package/dist/{chunk-7ZTEVNXO.mjs → chunk-Y65LXQGA.mjs} +8 -8
- package/dist/{chunk-Z3PGQRTX.mjs → chunk-Y66WVMO5.mjs} +3 -30
- package/dist/{chunk-VZAJDN5C.mjs → chunk-Y7JWLB25.mjs} +1 -1
- package/dist/{chunk-ZJGPD42I.js → chunk-YCDXAJKU.js} +3 -3
- package/dist/{chunk-NCTLCSLE.mjs → chunk-Z3A3AFVU.mjs} +1 -1
- package/dist/{chunk-AEEF3T2E.mjs → chunk-ZCY6YKKP.mjs} +3 -3
- package/dist/{chunk-M5FWHML6.js → chunk-ZMIL4ZOA.js} +5 -18
- package/dist/{chunk-D3JMTFOX.mjs → chunk-ZR5ULMN2.mjs} +1 -1
- package/dist/{client-C9hsiaki.d.ts → client-CChON4-x.d.ts} +2 -2
- package/dist/{client-CO8lw80Q.d.mts → client-EeuGm5gj.d.mts} +2 -2
- package/dist/{courier-CJasuxTU.d.ts → courier-Cnn-edJ4.d.ts} +5 -5
- package/dist/{courier-C2Vo2VlH.d.mts → courier-FmGfkvIN.d.mts} +5 -5
- package/dist/{crowd-D1ljcic8.d.ts → crowd-DdHFbqKK.d.ts} +1 -1
- package/dist/{crowd-B37S1apB.d.mts → crowd-hOVSAmA3.d.mts} +1 -1
- package/dist/{danfo-BsaPzhGi.d.mts → danfo-BEBapFlX.d.mts} +3 -3
- package/dist/{danfo-CCv23CPy.d.ts → danfo-UQ_PTIIx.d.ts} +3 -3
- package/dist/{elements-Bsfk7CPw.d.ts → elements-ss9xZgRg.d.mts} +47 -1
- package/dist/{elements-Bsfk7CPw.d.mts → elements-ss9xZgRg.d.ts} +47 -1
- package/dist/engines/godot.d.mts +1 -1
- package/dist/engines/godot.d.ts +1 -1
- package/dist/engines/wasm.d.mts +1 -1
- package/dist/engines/wasm.d.ts +1 -1
- package/dist/fallback-KDB4Y2CE.mjs +6 -0
- package/dist/fallback-Y26TQENE.js +19 -0
- package/dist/{five-a-side-DP84gMuh.d.mts → five-a-side-Bv1AOUy3.d.mts} +4 -4
- package/dist/{five-a-side-DO8SDqMb.d.ts → five-a-side-EC51SJY1.d.ts} +4 -4
- package/dist/{fluid-BkxNBD2t.d.ts → fluid-ARr0qUIL.d.ts} +168 -4
- package/dist/{fluid-BZ42EMds.d.mts → fluid-DLlEj2cs.d.mts} +168 -4
- package/dist/game/conformance.d.mts +7 -7
- package/dist/game/conformance.d.ts +7 -7
- package/dist/game/conformance.js +39 -41
- package/dist/game/conformance.mjs +17 -19
- package/dist/game/heap.d.mts +3 -3
- package/dist/game/heap.d.ts +3 -3
- package/dist/game/heap.js +13 -15
- package/dist/game/heap.mjs +4 -6
- package/dist/game/kit/canvas.d.mts +33 -34
- package/dist/game/kit/canvas.d.ts +33 -34
- package/dist/game/kit/canvas.js +569 -570
- package/dist/game/kit/canvas.mjs +52 -53
- package/dist/game/kit/courier.d.mts +9 -9
- package/dist/game/kit/courier.d.ts +9 -9
- package/dist/game/kit/courier.js +20 -20
- package/dist/game/kit/courier.mjs +17 -17
- package/dist/game/kit/danfo.d.mts +7 -7
- package/dist/game/kit/danfo.d.ts +7 -7
- package/dist/game/kit/danfo.js +30 -30
- package/dist/game/kit/danfo.mjs +15 -15
- package/dist/game/kit/engine.d.mts +12 -12
- package/dist/game/kit/engine.d.ts +12 -12
- package/dist/game/kit/engine.js +40 -41
- package/dist/game/kit/engine.mjs +11 -12
- package/dist/game/kit/five-a-side.d.mts +7 -7
- package/dist/game/kit/five-a-side.d.ts +7 -7
- package/dist/game/kit/five-a-side.js +24 -24
- package/dist/game/kit/five-a-side.mjs +14 -14
- package/dist/game/kit/frontier.d.mts +7 -7
- package/dist/game/kit/frontier.d.ts +7 -7
- package/dist/game/kit/genesis.d.mts +7 -7
- package/dist/game/kit/genesis.d.ts +7 -7
- package/dist/game/kit/ludo.d.mts +8 -8
- package/dist/game/kit/ludo.d.ts +8 -8
- package/dist/game/kit/ludo.js +24 -24
- package/dist/game/kit/ludo.mjs +14 -14
- package/dist/game/kit/runner.d.mts +8 -8
- package/dist/game/kit/runner.d.ts +8 -8
- package/dist/game/kit/runner.js +22 -22
- package/dist/game/kit/runner.mjs +14 -14
- package/dist/game/kit/shootout.d.mts +9 -9
- package/dist/game/kit/shootout.d.ts +9 -9
- package/dist/game/kit/shootout.js +33 -34
- package/dist/game/kit/shootout.mjs +18 -19
- package/dist/game/kit/tycoon.d.mts +9 -9
- package/dist/game/kit/tycoon.d.ts +9 -9
- package/dist/game/kit/tycoon.js +38 -38
- package/dist/game/kit/tycoon.mjs +14 -14
- package/dist/game/kit/word.d.mts +7 -7
- package/dist/game/kit/word.d.ts +7 -7
- package/dist/game/kit/word.js +22 -22
- package/dist/game/kit/word.mjs +14 -14
- package/dist/game/kit/worlds.d.mts +10 -10
- package/dist/game/kit/worlds.d.ts +10 -10
- package/dist/game/kit/worlds.js +22 -22
- package/dist/game/kit/worlds.mjs +17 -17
- package/dist/game/kit.d.mts +31 -32
- package/dist/game/kit.d.ts +31 -32
- package/dist/game/kit.js +523 -524
- package/dist/game/kit.mjs +38 -39
- package/dist/game/prepared.d.mts +6 -7
- package/dist/game/prepared.d.ts +6 -7
- package/dist/game/prepared.js +23 -24
- package/dist/game/prepared.mjs +12 -13
- package/dist/{game-BZAfgKV6.d.mts → game-Bx8onkhX.d.mts} +5 -97
- package/dist/{game-UoJWopvD.d.ts → game-fgQy2YIm.d.ts} +5 -97
- package/dist/game.d.mts +56 -18
- package/dist/game.d.ts +56 -18
- package/dist/game.js +922 -927
- package/dist/game.mjs +16 -17
- package/dist/{graphics-DNIAV5Mi.d.ts → graphics-C6YjWYvP.d.ts} +1 -1
- package/dist/{graphics-CGJDdtdT.d.mts → graphics-Dk2yQnYN.d.mts} +1 -1
- package/dist/{guest-CMCZeyh5.d.mts → guest-DrsA00XD.d.mts} +2 -7
- package/dist/{guest-CB458Hgw.d.ts → guest-wIdfoT05.d.ts} +2 -7
- package/dist/{hit-stop-D2Ca-i9-.d.mts → hit-stop-BKkVwTq7.d.mts} +1 -1
- package/dist/{hit-stop-Ca1OYk15.d.ts → hit-stop-D-8pPYnM.d.ts} +1 -1
- package/dist/{hot-B9BTmDz6.d.ts → hot-Crn9XpHJ.d.ts} +1 -1
- package/dist/{hot-B_L-GEHZ.d.mts → hot-DH3nOhQD.d.mts} +1 -1
- package/dist/{index-DPeyo938.d.ts → index-B8ybCKJI.d.ts} +3 -3
- package/dist/index-BB2gjVvA.d.mts +153 -0
- package/dist/index-BEfmBDAH.d.ts +153 -0
- package/dist/{index-D8ZDzms9.d.mts → index-DHjNHb1c.d.mts} +3 -3
- package/dist/{index-DFDeJxFQ.d.ts → index-DQK8sTfu.d.ts} +2 -2
- package/dist/{index-C76o9Pj4.d.mts → index-DSVkhRmW.d.mts} +2 -2
- package/dist/index.d.mts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +189 -177
- package/dist/index.mjs +8 -8
- package/dist/interactives-authoring.js +12 -1
- package/dist/interactives-authoring.mjs +12 -1
- package/dist/interactives-canvas.global.js +14 -39
- package/dist/interactives-guest.d.mts +2 -2
- package/dist/interactives-guest.d.ts +2 -2
- package/dist/interactives-guest.js +10 -10
- package/dist/interactives-guest.mjs +6 -6
- package/dist/interactives-jsc.global.js +4 -23
- package/dist/interactives-meters.d.mts +11 -11
- package/dist/interactives-meters.d.ts +11 -11
- package/dist/interactives-meters.js +65 -66
- package/dist/interactives-meters.mjs +17 -18
- package/dist/interactives-production.d.mts +5 -5
- package/dist/interactives-production.d.ts +5 -5
- package/dist/interactives-production.js +15 -16
- package/dist/interactives-production.mjs +3 -4
- package/dist/interactives-record.d.mts +3 -9
- package/dist/interactives-record.d.ts +3 -9
- package/dist/interactives-record.js +45 -65
- package/dist/interactives-record.mjs +19 -39
- package/dist/interactives-runtime.d.mts +3 -3
- package/dist/interactives-runtime.d.ts +3 -3
- package/dist/interactives-runtime.js +101 -105
- package/dist/interactives-runtime.mjs +6 -6
- package/dist/interactives-studio-kernel.global.js +1 -1
- package/dist/interactives-studio.d.mts +7 -7
- package/dist/interactives-studio.d.ts +7 -7
- package/dist/interactives-studio.js +136 -82
- package/dist/interactives-studio.mjs +65 -11
- package/dist/interactives-web.d.mts +14 -14
- package/dist/interactives-web.d.ts +14 -14
- package/dist/interactives-web.js +201 -198
- package/dist/interactives-web.mjs +33 -34
- package/dist/interactives.d.mts +7 -28
- package/dist/interactives.d.ts +7 -28
- package/dist/interactives.js +267 -313
- package/dist/interactives.mjs +26 -24
- package/dist/{juice-Dfgc1B1q.d.ts → juice-CoHxlpKA.d.ts} +1 -1
- package/dist/{juice-CsnrmTOk.d.mts → juice-DQztFS43.d.mts} +1 -1
- package/dist/{launch-CCsmv8HC.d.mts → launch-T2f4_Di4.d.mts} +6 -6
- package/dist/{launch-8W_Tojpz.d.ts → launch-d6oreMzR.d.ts} +6 -6
- package/dist/{local-DA_HpPOj.d.mts → local-D8_I6UeL.d.mts} +0 -5
- package/dist/{local-_mD0x-p_.d.ts → local-VZkqsCzR.d.ts} +0 -5
- package/dist/{ludo-BVHycBP-.d.ts → ludo-B8ClkDqr.d.ts} +4 -4
- package/dist/{ludo-BRaTcI3E.d.mts → ludo-BOuohQ-M.d.mts} +4 -4
- package/dist/mock/cli.mjs +25 -10
- package/dist/mock/library.js +25 -10
- package/dist/mock/library.mjs +25 -10
- package/dist/mock/msw.js +25 -10
- package/dist/mock/msw.mjs +25 -10
- package/dist/{native-CcMUV7rL.d.mts → native-BodxSh03.d.mts} +2 -2
- package/dist/{native-3f4Ht82c.d.ts → native-DUHMT8gA.d.ts} +2 -2
- package/dist/{online-CCy8pwOn.d.ts → online-XeymeM9s.d.ts} +1 -1
- package/dist/{online-smW2BO3Y.d.mts → online-d7W_Al9a.d.mts} +1 -1
- package/dist/{play-BhHHX1jD.d.ts → play-BRRlfLhX.d.ts} +5 -5
- package/dist/{play-Bn7NfGNE.d.mts → play-ClrMd_e8.d.mts} +5 -5
- package/dist/{policy-Dvnzg8ki.d.mts → policy-CCw8tXLm.d.mts} +19 -19
- package/dist/{policy-b3MVXMQu.d.ts → policy-CMqOSQIu.d.ts} +19 -19
- package/dist/{ports-CNeZdgVm.d.mts → ports-B_0v_P3A.d.mts} +1 -1
- package/dist/{ports-Vno6MDaR.d.ts → ports-CGU_3e_0.d.ts} +1 -1
- package/dist/{prefetch-BFg6lJyD.d.ts → prefetch-BHnicOQj.d.ts} +3 -3
- package/dist/{prefetch-BOoKX3qx.d.mts → prefetch-CBXgYacv.d.mts} +3 -3
- package/dist/{price-BIKJla_G.d.mts → price-B-w4PwHm.d.mts} +1 -1
- package/dist/{price-D1gE7Ek6.d.ts → price-BEvQFNJv.d.ts} +1 -1
- package/dist/react.d.mts +35 -27
- package/dist/react.d.ts +35 -27
- package/dist/react.js +276 -248
- package/dist/react.mjs +147 -119
- package/dist/{runner-BAG8EglP.d.ts → runner-CQcLL7By.d.ts} +6 -6
- package/dist/{runner-CKtKtIzc.d.mts → runner-D46Yj-wE.d.mts} +6 -6
- package/dist/{runtime-DfZp1Kwg.d.mts → runtime-BRWfkf_q.d.mts} +1 -8
- package/dist/{runtime-yHPgIJV-.d.ts → runtime-DyuBMkKM.d.ts} +1 -8
- package/dist/{scheduling-CnRAhWQL.d.ts → scheduling-D9WwOxbo.d.ts} +1 -1
- package/dist/{scheduling-lHyYoCa7.d.mts → scheduling-DDmrYCr-.d.mts} +1 -1
- package/dist/{server-DxcxjER1.d.ts → server-BiKwxvnf.d.ts} +2 -2
- package/dist/{server-lU3Sznd4.d.mts → server-DPdtl2dd.d.mts} +2 -2
- package/dist/server.d.mts +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/server.js +10 -10
- package/dist/server.mjs +4 -4
- package/dist/{shootout-rK-oblpb.d.ts → shootout-BJZeX6FG.d.ts} +6 -6
- package/dist/{shootout-D998OWa-.d.mts → shootout-tcZd1Rxt.d.mts} +6 -6
- package/dist/styles.css +1 -1
- package/dist/{template-Byaueo34.d.mts → template-AhCdB1kW.d.mts} +3 -3
- package/dist/{template-BXE2L654.d.ts → template-BkEGVTQj.d.ts} +3 -3
- package/dist/{terrain-vgYkJPNx.d.ts → terrain-BMxEc6Oc.d.ts} +3 -3
- package/dist/{terrain-CR0NQZPl.d.mts → terrain-C-XC1Oui.d.mts} +3 -3
- package/dist/testing/msw.d.mts +3 -3
- package/dist/testing/msw.d.ts +3 -3
- package/dist/testing/msw.js +3 -3
- package/dist/testing/msw.mjs +2 -2
- package/dist/testing/suite.d.mts +6 -6
- package/dist/testing/suite.d.ts +6 -6
- package/dist/testing/suite.js +25 -25
- package/dist/testing/suite.mjs +6 -6
- package/dist/testing.d.mts +5 -5
- package/dist/testing.d.ts +5 -5
- package/dist/testing.js +117 -117
- package/dist/testing.mjs +7 -7
- package/dist/{tick-transport-Q_8syS8J.d.mts → tick-transport-C8QEh8Uw.d.mts} +1 -1
- package/dist/{tick-transport-xpMcMTs2.d.ts → tick-transport-UjHY3xK1.d.ts} +1 -1
- package/dist/{tree-BsXFWKQ6.d.mts → tree-C-Io2Hbx.d.mts} +1 -1
- package/dist/{tree-DW9x29Vv.d.ts → tree-CP_qSW4H.d.ts} +1 -1
- package/dist/{tycoon-BMAE5Wea.d.mts → tycoon-B5KHk2Xx.d.mts} +5 -5
- package/dist/{tycoon-dWvWTbE4.d.ts → tycoon-hmHo-3HX.d.ts} +5 -5
- package/dist/{types-AkQEePZo.d.mts → types-BQkxPwZP.d.mts} +1 -1
- package/dist/{types-BWaZJDla.d.ts → types-D_f6UUxM.d.ts} +1 -1
- package/dist/utils.d.mts +3 -3
- package/dist/utils.d.ts +3 -3
- package/dist/utils.js +44 -32
- package/dist/utils.mjs +2 -2
- package/dist/{weave-delivery-3G03LdMM.d.mts → weave-delivery-CW-Kstut.d.mts} +10 -1
- package/dist/{weave-delivery-3G03LdMM.d.ts → weave-delivery-CW-Kstut.d.ts} +10 -1
- package/dist/{web-C8B9uVx_.d.ts → web-Dss74a7v.d.ts} +7 -7
- package/dist/{web-BqSEfX2o.d.mts → web-f9ZQPoyw.d.mts} +7 -7
- package/dist/{weight-BDABC8cN.d.ts → weight-CPGjsgjV.d.ts} +3 -3
- package/dist/{weight-Cee73u3d.d.mts → weight-tF1ODR1p.d.mts} +3 -3
- package/dist/{word-DB2CcI9q.d.mts → word-BcX9Jcmv.d.mts} +3 -3
- package/dist/{word-C1Q8oXuy.d.ts → word-C7sVPLHm.d.ts} +3 -3
- package/dist/{world-Bmh7K4tQ.d.ts → world-PvILHDR1.d.ts} +1 -1
- package/dist/{world-CPEjuctH.d.mts → world-qekkXjJv.d.mts} +1 -1
- package/dist/{worlds-ShY5h6Z_.d.ts → worlds-Br2Pb0Cs.d.ts} +6 -6
- package/dist/{worlds-CQgN3GnR.d.mts → worlds-D5ydYr7d.d.mts} +6 -6
- package/package.json +5 -3
- package/registry/cart-summary.json +1 -1
- package/registry/chat-widget.json +1 -1
- package/registry/price.json +1 -1
- package/registry/product-customizer.json +1 -1
- package/registry/search-input.json +1 -1
- package/dist/chunk-2LKAOU3L.mjs +0 -96
- package/dist/chunk-UWPQL2IQ.js +0 -104
- package/dist/fallback-Q5YYIMVJ.js +0 -20
- package/dist/fallback-XGBE3RXC.mjs +0 -7
- package/dist/index-C3KORE2U.d.mts +0 -86
- package/dist/index-Cv_rL5X0.d.ts +0 -86
- package/dist/split-Di9wBpNx.d.mts +0 -68
- package/dist/split-Di9wBpNx.d.ts +0 -68
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkNYWNA5CF_js = require('./chunk-NYWNA5CF.js');
|
|
4
|
-
var
|
|
4
|
+
var chunk5LH2QN3T_js = require('./chunk-5LH2QN3T.js');
|
|
5
5
|
var chunkYV52DGSA_js = require('./chunk-YV52DGSA.js');
|
|
6
6
|
var chunkG3EEC44R_js = require('./chunk-G3EEC44R.js');
|
|
7
7
|
var chunkRCQ2MPBV_js = require('./chunk-RCQ2MPBV.js');
|
|
@@ -638,7 +638,7 @@ var STICK_MOVE = 0, STICK_AIM = 1, MAX_STICKS = 2, MAX_TOUCH_BUTTONS = 8, KIND_S
|
|
|
638
638
|
for (let k = 0; k < (4); k++) out[offset + k] = this.stickZone[index * (4) + k];
|
|
639
639
|
}
|
|
640
640
|
filterPointer(phase, id, stage) {
|
|
641
|
-
let r = this.reg, px = stage[
|
|
641
|
+
let r = this.reg, px = stage[chunk5LH2QN3T_js.STAGE_X] * r[(5)], py = stage[chunk5LH2QN3T_js.STAGE_Y] * r[(6)], time = stage[chunk5LH2QN3T_js.STAGE_TIME];
|
|
642
642
|
r[(0)] = px, r[(1)] = py, r[(2)] = time;
|
|
643
643
|
let input = this.input, inputStage = input.stage;
|
|
644
644
|
if (phase === "down") {
|
|
@@ -687,9 +687,9 @@ var STICK_MOVE = 0, STICK_AIM = 1, MAX_STICKS = 2, MAX_TOUCH_BUTTONS = 8, KIND_S
|
|
|
687
687
|
else {
|
|
688
688
|
this.buttonPointer[index2] = id, this.buttonLast[index2 * (2)] = px, this.buttonLast[index2 * (2) + 1] = py;
|
|
689
689
|
let doubleSlot = this.buttonDoubleSlot[index2];
|
|
690
|
-
if (doubleSlot !== (-1) && time - this.buttonLastUpMs[index2] <= (280) && (inputStage[
|
|
690
|
+
if (doubleSlot !== (-1) && time - this.buttonLastUpMs[index2] <= (280) && (inputStage[chunk5LH2QN3T_js.STAGE_X] = 1, inputStage[chunk5LH2QN3T_js.STAGE_TIME] = time, input.virtualStaged(doubleSlot), inputStage[chunk5LH2QN3T_js.STAGE_TIME] = time, input.virtualStaged(doubleSlot), this.buttonLastUpMs[index2] = -1 / 0), this.buttonCooldownLeft[index2] <= 0) {
|
|
691
691
|
let on = 1;
|
|
692
|
-
this.buttonMode[index2] === (1) && (on = this.buttonToggled[index2] === (1) ? (0) : (1), this.buttonToggled[index2] = on), inputStage[
|
|
692
|
+
this.buttonMode[index2] === (1) && (on = this.buttonToggled[index2] === (1) ? (0) : (1), this.buttonToggled[index2] = on), inputStage[chunk5LH2QN3T_js.STAGE_X] = on, inputStage[chunk5LH2QN3T_js.STAGE_TIME] = time, input.virtualStaged(this.buttonSlot[index2]), this.buttonCooldownTotal[index2] > 0 && (this.buttonCooldownLeft[index2] = this.buttonCooldownTotal[index2]);
|
|
693
693
|
}
|
|
694
694
|
}
|
|
695
695
|
return true;
|
|
@@ -705,7 +705,7 @@ var STICK_MOVE = 0, STICK_AIM = 1, MAX_STICKS = 2, MAX_TOUCH_BUTTONS = 8, KIND_S
|
|
|
705
705
|
if (kind === (0)) this.stickMove(index);
|
|
706
706
|
else if (kind === (1)) {
|
|
707
707
|
let sensitivity = r[(7)], dx = (px - this.lookLast[0]) * sensitivity, dy = (py - this.lookLast[1]) * sensitivity;
|
|
708
|
-
this.lookLast[0] = px, this.lookLast[1] = py, (dx !== 0 || dy !== 0) && (inputStage[
|
|
708
|
+
this.lookLast[0] = px, this.lookLast[1] = py, (dx !== 0 || dy !== 0) && (inputStage[chunk5LH2QN3T_js.STAGE_X] = dx, inputStage[chunk5LH2QN3T_js.STAGE_Y] = dy, inputStage[chunk5LH2QN3T_js.STAGE_TIME] = time, input.lookStaged());
|
|
709
709
|
let elapsed = time - r[(9)];
|
|
710
710
|
if (elapsed > 0) {
|
|
711
711
|
let v = this.lookVelocity;
|
|
@@ -713,13 +713,13 @@ var STICK_MOVE = 0, STICK_AIM = 1, MAX_STICKS = 2, MAX_TOUCH_BUTTONS = 8, KIND_S
|
|
|
713
713
|
}
|
|
714
714
|
} else if (this.buttonLookThrough[index] === (1)) {
|
|
715
715
|
let o = index * (2), sensitivity = r[(7)] > 0 ? r[(7)] : (1), dx = (px - this.buttonLast[o]) * sensitivity, dy = (py - this.buttonLast[o + 1]) * sensitivity;
|
|
716
|
-
this.buttonLast[o] = px, this.buttonLast[o + 1] = py, (dx !== 0 || dy !== 0) && (inputStage[
|
|
716
|
+
this.buttonLast[o] = px, this.buttonLast[o + 1] = py, (dx !== 0 || dy !== 0) && (inputStage[chunk5LH2QN3T_js.STAGE_X] = dx, inputStage[chunk5LH2QN3T_js.STAGE_Y] = dy, inputStage[chunk5LH2QN3T_js.STAGE_TIME] = time, input.lookStaged());
|
|
717
717
|
}
|
|
718
718
|
if (phase === "move") return true;
|
|
719
719
|
if (this.pointerId[slot] = (-1), this.pointerOwner[slot] = (-1), kind === (0)) {
|
|
720
720
|
this.stickPointer[index] = (-1);
|
|
721
721
|
let tap = this.stickSlotTap[index];
|
|
722
|
-
tap !== (-1) && this.stickMoved[index] === (0) && time - this.stickDownMs[index] <= (220) && (inputStage[
|
|
722
|
+
tap !== (-1) && this.stickMoved[index] === (0) && time - this.stickDownMs[index] <= (220) && (inputStage[chunk5LH2QN3T_js.STAGE_X] = 1, inputStage[chunk5LH2QN3T_js.STAGE_TIME] = time, input.virtualStaged(tap), inputStage[chunk5LH2QN3T_js.STAGE_TIME] = time, input.virtualStaged(tap));
|
|
723
723
|
let io = this.stickIo;
|
|
724
724
|
io[0] = 0, io[1] = 0, io[2] = 0, this.publishStick(index);
|
|
725
725
|
} else if (kind === (1)) {
|
|
@@ -727,13 +727,13 @@ var STICK_MOVE = 0, STICK_AIM = 1, MAX_STICKS = 2, MAX_TOUCH_BUTTONS = 8, KIND_S
|
|
|
727
727
|
let v = this.lookVelocity, fresh = time - r[(9)] <= (60);
|
|
728
728
|
this.lookCoasting = r[(8)] > 0 && fresh && v[0] * v[0] + v[1] * v[1] > (30) * (30), this.lookCoasting || (v[0] = 0, v[1] = 0);
|
|
729
729
|
} else
|
|
730
|
-
this.buttonPointer[index] = (-1), this.buttonLastUpMs[index] = time, this.buttonMode[index] === (0) && (inputStage[
|
|
730
|
+
this.buttonPointer[index] = (-1), this.buttonLastUpMs[index] = time, this.buttonMode[index] === (0) && (inputStage[chunk5LH2QN3T_js.STAGE_X] = 0, inputStage[chunk5LH2QN3T_js.STAGE_TIME] = time, input.virtualStaged(this.buttonSlot[index]));
|
|
731
731
|
return true;
|
|
732
732
|
}
|
|
733
733
|
accessibleActivate(button, timeMs) {
|
|
734
734
|
if (button < 0 || button >= this.buttonCount || !this.enabledState || this.buttonCooldownLeft[button] > 0) return;
|
|
735
735
|
let input = this.input, stage = input.stage, slot = this.buttonSlot[button];
|
|
736
|
-
this.buttonMode[button] === (1) ? (this.buttonToggled[button] = this.buttonToggled[button] === (1) ? (0) : (1), stage[
|
|
736
|
+
this.buttonMode[button] === (1) ? (this.buttonToggled[button] = this.buttonToggled[button] === (1) ? (0) : (1), stage[chunk5LH2QN3T_js.STAGE_X] = this.buttonToggled[button], stage[chunk5LH2QN3T_js.STAGE_TIME] = timeMs, input.virtualStaged(slot)) : (stage[chunk5LH2QN3T_js.STAGE_X] = 1, stage[chunk5LH2QN3T_js.STAGE_TIME] = timeMs, input.virtualStaged(slot), stage[chunk5LH2QN3T_js.STAGE_TIME] = timeMs, input.virtualStaged(slot)), this.buttonCooldownTotal[button] > 0 && (this.buttonCooldownLeft[button] = this.buttonCooldownTotal[button]);
|
|
737
737
|
}
|
|
738
738
|
accessibleStep(stick, action, timeMs) {
|
|
739
739
|
if (stick < 0 || stick >= (2) || this.stickUsed[stick] === (0) || !this.enabledState || this.stickPointer[stick] !== (-1)) return;
|
|
@@ -757,7 +757,7 @@ var STICK_MOVE = 0, STICK_AIM = 1, MAX_STICKS = 2, MAX_TOUCH_BUTTONS = 8, KIND_S
|
|
|
757
757
|
}
|
|
758
758
|
if (this.lookCoasting) {
|
|
759
759
|
let v = this.lookVelocity, stage = this.input.stage;
|
|
760
|
-
stage[
|
|
760
|
+
stage[chunk5LH2QN3T_js.STAGE_X] = v[0] * dt, stage[chunk5LH2QN3T_js.STAGE_Y] = v[1] * dt, stage[chunk5LH2QN3T_js.STAGE_TIME] = r[(9)], this.input.lookStaged();
|
|
761
761
|
let decay = Math.exp(-dt / r[(8)]);
|
|
762
762
|
v[0] *= decay, v[1] *= decay, v[0] * v[0] + v[1] * v[1] < (30) * (30) && (v[0] = 0, v[1] = 0, this.lookCoasting = false);
|
|
763
763
|
}
|
|
@@ -829,12 +829,12 @@ var STICK_MOVE = 0, STICK_AIM = 1, MAX_STICKS = 2, MAX_TOUCH_BUTTONS = 8, KIND_S
|
|
|
829
829
|
}
|
|
830
830
|
publishStick(s) {
|
|
831
831
|
let io = this.stickIo, v = this.stickValue, o = s * 3, input = this.input, stage = input.stage;
|
|
832
|
-
v[o + 0] !== io[0] && this.stickSlotX[s] !== (-1) && (stage[
|
|
832
|
+
v[o + 0] !== io[0] && this.stickSlotX[s] !== (-1) && (stage[chunk5LH2QN3T_js.STAGE_X] = io[0], stage[chunk5LH2QN3T_js.STAGE_TIME] = this.reg[(2)], input.virtualStaged(this.stickSlotX[s])), v[o + 1] !== io[1] && this.stickSlotY[s] !== (-1) && (stage[chunk5LH2QN3T_js.STAGE_X] = io[1], stage[chunk5LH2QN3T_js.STAGE_TIME] = this.reg[(2)], input.virtualStaged(this.stickSlotY[s])), v[o + 0] = io[0], v[o + 1] = io[1], v[o + 2] = io[2];
|
|
833
833
|
}
|
|
834
834
|
buttonRelease(b) {
|
|
835
835
|
if (this.buttonPointer[b] = (-1), this.buttonMode[b] !== (0)) return;
|
|
836
836
|
let stage = this.input.stage;
|
|
837
|
-
stage[
|
|
837
|
+
stage[chunk5LH2QN3T_js.STAGE_X] = 0, stage[chunk5LH2QN3T_js.STAGE_TIME] = this.reg[(2)], this.input.virtualStaged(this.buttonSlot[b]);
|
|
838
838
|
}
|
|
839
839
|
releaseAll() {
|
|
840
840
|
for (let i = 0; i < 10; i++) {
|
|
@@ -847,7 +847,7 @@ var STICK_MOVE = 0, STICK_AIM = 1, MAX_STICKS = 2, MAX_TOUCH_BUTTONS = 8, KIND_S
|
|
|
847
847
|
}
|
|
848
848
|
drawVisibility(writer) {
|
|
849
849
|
let device = this.input.device, visible = this.enabledState;
|
|
850
|
-
visible && this.autoHide && (device ===
|
|
850
|
+
visible && this.autoHide && (device === chunk5LH2QN3T_js.InputDevice.keyboard || device === chunk5LH2QN3T_js.InputDevice.gamepad) && this.activeTouches === 0 && (visible = false);
|
|
851
851
|
let opacity = visible ? (1) : 0;
|
|
852
852
|
opacity !== this.reg[(10)] && (this.reg[(10)] = opacity, this.single[0] = opacity, writer.propF32(this.rootNode, chunkVRBDAS5I_js.UiProp.opacity, this.single));
|
|
853
853
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GPU_PASS_NAMES } from './chunk-TL2SVO4P.mjs';
|
|
2
|
-
import { ENGINE_HEAP_CEILING_BYTES } from './chunk-
|
|
2
|
+
import { ENGINE_HEAP_CEILING_BYTES } from './chunk-JURRXY2J.mjs';
|
|
3
3
|
import { GameError } from './chunk-XJIHN3BY.mjs';
|
|
4
4
|
|
|
5
5
|
// src/game/prefetch/layer.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk7AAIAVAA_js = require('./chunk-7AAIAVAA.js');
|
|
4
4
|
var chunkIR74FJHU_js = require('./chunk-IR74FJHU.js');
|
|
5
5
|
var chunk2V7IL4HC_js = require('./chunk-2V7IL4HC.js');
|
|
6
6
|
|
|
@@ -482,24 +482,24 @@ var GpuKernels = class _GpuKernels {
|
|
|
482
482
|
joinedOf(entry, meta, table, args) {
|
|
483
483
|
let known = entry.joined, list = meta.data?.tables;
|
|
484
484
|
if (known === null || list === void 0)
|
|
485
|
-
return entry.joined =
|
|
485
|
+
return entry.joined = chunk7AAIAVAA_js.dataTables(meta, table, args), entry.joined;
|
|
486
486
|
known[0] = table;
|
|
487
487
|
for (let k = 0; k < list.length; k++) {
|
|
488
488
|
let value = args[list[k].position];
|
|
489
489
|
if (typeof value != "object" || value === null || !("schema" in value))
|
|
490
|
-
return entry.joined =
|
|
490
|
+
return entry.joined = chunk7AAIAVAA_js.dataTables(meta, table, args), entry.joined;
|
|
491
491
|
known[list[k].table] = value;
|
|
492
492
|
}
|
|
493
493
|
return known;
|
|
494
494
|
}
|
|
495
495
|
binding(meta, bytes, table, args) {
|
|
496
496
|
let entry = this.entries.get(bytes);
|
|
497
|
-
if (entry === void 0 && (entry = { eligible: true, routed: false, bound: [], arrays: arraySlots(meta), scalars: scalarPositions(meta), data:
|
|
497
|
+
if (entry === void 0 && (entry = { eligible: true, routed: false, bound: [], arrays: arraySlots(meta), scalars: scalarPositions(meta), data: chunk7AAIAVAA_js.hasData(meta), joined: null }, this.entries.set(bytes, entry)), !entry.eligible) return (-5);
|
|
498
498
|
let data = entry.data, joined = data ? this.joinedOf(entry, meta, table, args) : null;
|
|
499
499
|
if (joined !== null && joined.some((t, k) => k > 0 && t !== void 0 && !t.native)) return (-5);
|
|
500
500
|
for (let b of entry.bound) if (b.table === table && table.valid && sameJoined(b.joined, joined)) return b.binding;
|
|
501
501
|
for (let k = entry.bound.length - 1; k >= 0; k--)
|
|
502
|
-
entry.bound[k].table.valid || (this.exports.engine_kernel_gpu_unbind(entry.bound[k].binding), this.compute?.unbound(
|
|
502
|
+
entry.bound[k].table.valid || (this.exports.engine_kernel_gpu_unbind(entry.bound[k].binding), this.compute?.unbound(chunk7AAIAVAA_js.COMPUTE_SPACE_GPU, entry.bound[k].binding), entry.bound.splice(k, 1));
|
|
503
503
|
if (meta.slots.some((slot) => slot.field.startsWith(SAMPLER_PREFIX)) || entry.arrays.some((a) => !this.carries(table, a, meta)))
|
|
504
504
|
return entry.eligible = false, (-5);
|
|
505
505
|
let columns = new Uint32Array(meta.slots.length + (joined === null ? 0 : GPU_JOINED_TABLE_WORDS));
|
|
@@ -518,7 +518,7 @@ var GpuKernels = class _GpuKernels {
|
|
|
518
518
|
if (this.exports.engine_free(programAt, Math.max(bytes.byteLength, (4)), (4)), this.exports.engine_free(columnsAt, Math.max(columns.byteLength, (4)), (4)), binding === (-5) || data && binding === (-1))
|
|
519
519
|
return entry.eligible = false, data && this.tablesRoute(entry, meta, binding === (-5) ? "cpu-ineligible" : "cpu-limits"), (-5);
|
|
520
520
|
if (binding < 0) throw new chunk2V7IL4HC_js.GameError("invalid_argument", `the engine refused GPU kernel ${meta.name} (${binding})`);
|
|
521
|
-
return data && this.tablesRoute(entry, meta, "gpu"), entry.bound.push({ table, joined: joined === null ? null : joined.slice(), binding }), this.compute?.bound(
|
|
521
|
+
return data && this.tablesRoute(entry, meta, "gpu"), entry.bound.push({ table, joined: joined === null ? null : joined.slice(), binding }), this.compute?.bound(chunk7AAIAVAA_js.COMPUTE_SPACE_GPU, binding, meta.name, this.priority), meta.channels !== void 0 && meta.channels.length > 0 && this.routes.push({ binding, meta }), binding;
|
|
522
522
|
}
|
|
523
523
|
carries(table, array, meta) {
|
|
524
524
|
let kind = table.schema[array.name];
|
|
@@ -550,7 +550,7 @@ var GpuKernels = class _GpuKernels {
|
|
|
550
550
|
this.argsBuffer !== buffer && (this.words = new Uint32Array(buffer, this.argsAt, (64)), this.floats = new Float32Array(buffer, this.argsAt, (64)), this.argsBuffer = buffer);
|
|
551
551
|
}
|
|
552
552
|
writeArg(at, arg, value) {
|
|
553
|
-
if (arg.kind === "f64" || arg.kind === "u64") return
|
|
553
|
+
if (arg.kind === "f64" || arg.kind === "u64") return chunk7AAIAVAA_js.writeWideArg(this.words, at, arg.kind, value);
|
|
554
554
|
if (arg.width === 1 && ArrayBuffer.isView(value))
|
|
555
555
|
return this.words[at] = value.length >>> 0, at + 1;
|
|
556
556
|
if (arg.width > 1 && (Array.isArray(value) || ArrayBuffer.isView(value))) {
|
|
@@ -592,9 +592,9 @@ var GpuKernels = class _GpuKernels {
|
|
|
592
592
|
let at = 0, scalars = entry.scalars;
|
|
593
593
|
for (let k = 0; k < meta.args.length; k++) at = this.writeArg(at, meta.args[k], args[scalars === null ? k : scalars[k]]);
|
|
594
594
|
let list = selection ? selection.index : (255);
|
|
595
|
-
this.compute?.prioritise(
|
|
595
|
+
this.compute?.prioritise(chunk7AAIAVAA_js.COMPUTE_SPACE_GPU, binding, this.priority);
|
|
596
596
|
let ran = this.exports.engine_kernel_gpu_run(binding, list, this.argsAt, at);
|
|
597
|
-
if (ran ===
|
|
597
|
+
if (ran === chunk7AAIAVAA_js.COMPUTE_DEFERRED && this.priority !== 0) return 0;
|
|
598
598
|
if (ran < 0) throw new chunk2V7IL4HC_js.GameError("invalid_argument", `GPU kernel ${meta.name} failed (${ran})`);
|
|
599
599
|
return this.touched.add(table), this.resident.add(table), now ? (this.exports.engine_kernel_gpu_sync(), this.pending.clear(), this.route()) : this.pending.add(table), ran;
|
|
600
600
|
}
|
|
@@ -610,7 +610,7 @@ var GpuKernels = class _GpuKernels {
|
|
|
610
610
|
route() {
|
|
611
611
|
for (let { binding, meta } of this.routes) {
|
|
612
612
|
let at = this.exports.engine_kernel_gpu_events(binding);
|
|
613
|
-
at === 0 || meta.channels === void 0 || (
|
|
613
|
+
at === 0 || meta.channels === void 0 || (chunk7AAIAVAA_js.routeEvents(new Uint32Array(this.memory.buffer, at, chunkIR74FJHU_js.RING_HEADER_WORDS + chunkIR74FJHU_js.DEFAULT_EVENT_CAPACITY * 10), meta.channels), this.exports.engine_kernel_gpu_clear_events(binding));
|
|
614
614
|
}
|
|
615
615
|
}
|
|
616
616
|
dispose() {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkVVE3Y76O_js = require('./chunk-VVE3Y76O.js');
|
|
4
4
|
var chunkRCQ2MPBV_js = require('./chunk-RCQ2MPBV.js');
|
|
5
|
-
var
|
|
5
|
+
var chunkX5A5FOWW_js = require('./chunk-X5A5FOWW.js');
|
|
6
6
|
var chunkKZJRSXHK_js = require('./chunk-KZJRSXHK.js');
|
|
7
7
|
var chunkIR74FJHU_js = require('./chunk-IR74FJHU.js');
|
|
8
8
|
var chunkT7LOXGYX_js = require('./chunk-T7LOXGYX.js');
|
|
9
|
-
var
|
|
9
|
+
var chunk4ZDR72SG_js = require('./chunk-4ZDR72SG.js');
|
|
10
10
|
var chunk2V7IL4HC_js = require('./chunk-2V7IL4HC.js');
|
|
11
11
|
|
|
12
12
|
// src/game/random.ts
|
|
@@ -1274,27 +1274,27 @@ function writeSoftOptions(f, r, options) {
|
|
|
1274
1274
|
if (!Number.isInteger(substeps) || substeps < 1 || substeps > (32))
|
|
1275
1275
|
throw new chunk2V7IL4HC_js.GameError("invalid_argument", `soft body substeps must be a whole number from 1 to ${(32)}`);
|
|
1276
1276
|
let gravity = options.gravity ?? SOFT_DEFAULTS.gravity;
|
|
1277
|
-
f[
|
|
1277
|
+
f[chunkX5A5FOWW_js.SOFT_STRETCH] = options.stretch ?? SOFT_DEFAULTS.stretch, f[chunkX5A5FOWW_js.SOFT_BEND] = options.bend ?? SOFT_DEFAULTS.bend, f[chunkX5A5FOWW_js.SOFT_VOLUME] = options.volume ?? SOFT_DEFAULTS.volume, f[chunkX5A5FOWW_js.SOFT_DAMPING] = options.damping ?? SOFT_DEFAULTS.damping, f[chunkX5A5FOWW_js.SOFT_GRAVITY] = gravity.x, f[chunkX5A5FOWW_js.SOFT_GRAVITY + 1] = gravity.y, f[chunkX5A5FOWW_js.SOFT_GRAVITY + 2] = gravity.z, r[chunkX5A5FOWW_js.SOFT_SUBSTEPS] = substeps, f[chunkX5A5FOWW_js.SOFT_RADIUS] = options.radius ?? SOFT_DEFAULTS.radius, f[chunkX5A5FOWW_js.SOFT_FRICTION] = options.friction ?? SOFT_DEFAULTS.friction, f[chunkX5A5FOWW_js.SOFT_CONTRACTION] = options.contraction ?? SOFT_DEFAULTS.contraction, f[chunkX5A5FOWW_js.SOFT_YIELD] = options.plastic?.yieldStrain ?? 0, f[chunkX5A5FOWW_js.SOFT_CREEP] = options.plastic ? options.plastic.creep ?? 1 : 0, f[chunkX5A5FOWW_js.SOFT_LIMIT] = options.plastic ? options.plastic.limit ?? 0.5 : 0, f[chunkX5A5FOWW_js.SOFT_FIBRE] = options.fibre?.x ?? 0, f[chunkX5A5FOWW_js.SOFT_FIBRE + 1] = options.fibre?.y ?? 0, f[chunkX5A5FOWW_js.SOFT_FIBRE + 2] = options.fibre?.z ?? 0;
|
|
1278
1278
|
}
|
|
1279
1279
|
function packSoftCollider(out, at, collider) {
|
|
1280
|
-
out.fill(0, at, at +
|
|
1280
|
+
out.fill(0, at, at + chunkX5A5FOWW_js.SOFT_COLLIDER_FLOATS);
|
|
1281
1281
|
let put = (k, v) => {
|
|
1282
1282
|
out[at + k] = v.x, out[at + k + 1] = v.y, out[at + k + 2] = v.z;
|
|
1283
1283
|
};
|
|
1284
1284
|
if ("plane" in collider)
|
|
1285
|
-
out[at] =
|
|
1285
|
+
out[at] = chunkX5A5FOWW_js.SOFT_COLLIDER_PLANE, put(1, collider.plane.normal), out[at + 7] = collider.plane.offset;
|
|
1286
1286
|
else if ("sphere" in collider)
|
|
1287
|
-
out[at] =
|
|
1287
|
+
out[at] = chunkX5A5FOWW_js.SOFT_COLLIDER_SPHERE, put(1, collider.sphere.center), out[at + 7] = collider.sphere.radius;
|
|
1288
1288
|
else if ("capsule" in collider)
|
|
1289
|
-
out[at] =
|
|
1289
|
+
out[at] = chunkX5A5FOWW_js.SOFT_COLLIDER_CAPSULE, put(1, collider.capsule.a), put(4, collider.capsule.b), out[at + 7] = collider.capsule.radius;
|
|
1290
1290
|
else {
|
|
1291
|
-
out[at] =
|
|
1291
|
+
out[at] = chunkX5A5FOWW_js.SOFT_COLLIDER_BOX, put(1, collider.box.center), put(4, collider.box.half);
|
|
1292
1292
|
let q = collider.box.rotation ?? { x: 0, y: 0, z: 0, w: 1 };
|
|
1293
1293
|
out[at + 8] = q.x, out[at + 9] = q.y, out[at + 10] = q.z, out[at + 11] = q.w;
|
|
1294
1294
|
}
|
|
1295
1295
|
}
|
|
1296
1296
|
function packCrumple(options, low, high) {
|
|
1297
|
-
let d = new Float32Array(
|
|
1297
|
+
let d = new Float32Array(chunkX5A5FOWW_js.CRUMPLE_DESC_FLOATS), span = Math.max(high.x - low.x, high.y - low.y, high.z - low.z), cells = options.cells ?? [4, 2, 6];
|
|
1298
1298
|
return d.set(cells, 0), d.set([low.x, low.y, low.z, high.x, high.y, high.z], 3), d[9] = options.threshold ?? 3, d[10] = options.crush ?? 0.02, d[11] = options.maxDepth ?? 0.35, d[12] = options.radius ?? span * 0.25, d[13] = options.stiffness ?? 1e-5, d;
|
|
1299
1299
|
}
|
|
1300
1300
|
var SoftBody = class {
|
|
@@ -1337,7 +1337,7 @@ var SoftBody = class {
|
|
|
1337
1337
|
constructor(port) {
|
|
1338
1338
|
this.port = port;
|
|
1339
1339
|
this.bodies = [];
|
|
1340
|
-
this.block = new Float32Array(
|
|
1340
|
+
this.block = new Float32Array(chunkX5A5FOWW_js.SOFT_COLLIDER_FLOATS * chunkX5A5FOWW_js.SOFT_MAX_COLLIDERS);
|
|
1341
1341
|
}
|
|
1342
1342
|
create(shape, options = {}) {
|
|
1343
1343
|
writeSoftOptions(this.port.prepare(), this.port.registers, options);
|
|
@@ -1357,8 +1357,8 @@ var SoftBody = class {
|
|
|
1357
1357
|
index >= 0 && this.bodies.splice(index, 1), body.dispose();
|
|
1358
1358
|
}
|
|
1359
1359
|
setColliders(colliders) {
|
|
1360
|
-
if (colliders.length >
|
|
1361
|
-
for (let i = 0; i < colliders.length; i++) packSoftCollider(this.block, i *
|
|
1360
|
+
if (colliders.length > chunkX5A5FOWW_js.SOFT_MAX_COLLIDERS) throw new chunk2V7IL4HC_js.GameError("capacity_exceeded", `soft bodies collide with at most ${chunkX5A5FOWW_js.SOFT_MAX_COLLIDERS} shapes`);
|
|
1361
|
+
for (let i = 0; i < colliders.length; i++) packSoftCollider(this.block, i * chunkX5A5FOWW_js.SOFT_COLLIDER_FLOATS, colliders[i]);
|
|
1362
1362
|
this.port.colliders(this.block, colliders.length);
|
|
1363
1363
|
}
|
|
1364
1364
|
couple(collider) {
|
|
@@ -1404,7 +1404,7 @@ var CLOTH_DEFAULTS = {
|
|
|
1404
1404
|
substeps: 8,
|
|
1405
1405
|
thickness: 5e-3,
|
|
1406
1406
|
friction: 0.2
|
|
1407
|
-
}, MAX_SUBSTEPS2 = 64, MIN_SIDE = 2, PINNING = { none:
|
|
1407
|
+
}, MAX_SUBSTEPS2 = 64, MIN_SIDE = 2, PINNING = { none: chunkX5A5FOWW_js.CLOTH_PIN_NONE, top: chunkX5A5FOWW_js.CLOTH_PIN_TOP_ROW, corners: chunkX5A5FOWW_js.CLOTH_PIN_TOP_CORNERS };
|
|
1408
1408
|
function refuse(what) {
|
|
1409
1409
|
throw new chunk2V7IL4HC_js.GameError("invalid_argument", `cloth ${what}`);
|
|
1410
1410
|
}
|
|
@@ -1422,22 +1422,22 @@ function writeClothOptions(f, r, options) {
|
|
|
1422
1422
|
let friction = options.friction ?? CLOTH_DEFAULTS.friction;
|
|
1423
1423
|
friction >= 0 && friction <= 1 || refuse("friction runs from 0 to 1");
|
|
1424
1424
|
let gravity = options.gravity ?? CLOTH_DEFAULTS.gravity;
|
|
1425
|
-
f[
|
|
1425
|
+
f[chunkX5A5FOWW_js.CLOTH_MASS] = mass, f[chunkX5A5FOWW_js.CLOTH_STRETCH] = nonNegative(options.stretch ?? CLOTH_DEFAULTS.stretch, "stretch"), f[chunkX5A5FOWW_js.CLOTH_BEND] = nonNegative(options.bend ?? CLOTH_DEFAULTS.bend, "bend"), f[chunkX5A5FOWW_js.CLOTH_TETHER_SLACK] = nonNegative(options.tetherSlack ?? CLOTH_DEFAULTS.tetherSlack, "tetherSlack"), f[chunkX5A5FOWW_js.CLOTH_DAMPING] = nonNegative(options.damping ?? CLOTH_DEFAULTS.damping, "damping"), f[chunkX5A5FOWW_js.CLOTH_GRAVITY] = finite(gravity.x, "gravity"), f[chunkX5A5FOWW_js.CLOTH_GRAVITY + 1] = finite(gravity.y, "gravity"), f[chunkX5A5FOWW_js.CLOTH_GRAVITY + 2] = finite(gravity.z, "gravity"), r[chunkX5A5FOWW_js.CLOTH_SUBSTEPS] = substeps, f[chunkX5A5FOWW_js.CLOTH_THICKNESS] = nonNegative(options.thickness ?? CLOTH_DEFAULTS.thickness, "thickness"), f[chunkX5A5FOWW_js.CLOTH_FRICTION] = friction;
|
|
1426
1426
|
}
|
|
1427
1427
|
function writeClothGrid(f, r, grid) {
|
|
1428
1428
|
let side = (n, what) => ((!Number.isInteger(n) || n < (2)) && refuse(`${what} must be a whole number of at least ${(2)}`), n);
|
|
1429
|
-
r[
|
|
1429
|
+
r[chunkX5A5FOWW_js.CLOTH_COLUMNS] = side(grid.columns, "columns"), r[chunkX5A5FOWW_js.CLOTH_ROWS] = side(grid.rows, "rows"), Number.isFinite(grid.spacing) && grid.spacing > 0 || refuse("spacing must be positive"), f[chunkX5A5FOWW_js.CLOTH_SPACING] = grid.spacing;
|
|
1430
1430
|
let put = (at, v) => {
|
|
1431
1431
|
f[at] = v === void 0 ? 0 : finite(v.x, "axes"), f[at + 1] = v === void 0 ? 0 : finite(v.y, "axes"), f[at + 2] = v === void 0 ? 0 : finite(v.z, "axes");
|
|
1432
1432
|
};
|
|
1433
|
-
put(
|
|
1433
|
+
put(chunkX5A5FOWW_js.CLOTH_ORIGIN, grid.origin), put(chunkX5A5FOWW_js.CLOTH_ACROSS, grid.across), put(chunkX5A5FOWW_js.CLOTH_DOWN, grid.down), r[chunkX5A5FOWW_js.CLOTH_PIN] = PINNING[grid.pin ?? "top"];
|
|
1434
1434
|
}
|
|
1435
1435
|
function packClothCollider(out, at, collider) {
|
|
1436
|
-
out.fill(0, at, at +
|
|
1436
|
+
out.fill(0, at, at + chunkX5A5FOWW_js.CLOTH_COLLIDER_FLOATS);
|
|
1437
1437
|
let put = (k, v) => {
|
|
1438
1438
|
out[at + k] = v.x, out[at + k + 1] = v.y, out[at + k + 2] = v.z;
|
|
1439
1439
|
};
|
|
1440
|
-
"sphere" in collider ? (out[at] =
|
|
1440
|
+
"sphere" in collider ? (out[at] = chunkX5A5FOWW_js.CLOTH_COLLIDER_SPHERE, put(1, collider.sphere.center), out[at + 7] = collider.sphere.radius) : (out[at] = chunkX5A5FOWW_js.CLOTH_COLLIDER_CAPSULE, put(1, collider.capsule.a), put(4, collider.capsule.b), out[at + 7] = collider.capsule.radius);
|
|
1441
1441
|
}
|
|
1442
1442
|
var ClothSheet = class {
|
|
1443
1443
|
constructor(port, info, geometry) {
|
|
@@ -1449,6 +1449,9 @@ var ClothSheet = class {
|
|
|
1449
1449
|
get id() {
|
|
1450
1450
|
return this.info.id;
|
|
1451
1451
|
}
|
|
1452
|
+
get engineHost() {
|
|
1453
|
+
return this.port.engineHost ?? null;
|
|
1454
|
+
}
|
|
1452
1455
|
positions() {
|
|
1453
1456
|
return this.port.positions(this.info.id, this.particles);
|
|
1454
1457
|
}
|
|
@@ -1471,7 +1474,7 @@ var ClothSheet = class {
|
|
|
1471
1474
|
constructor(port) {
|
|
1472
1475
|
this.port = port;
|
|
1473
1476
|
this.sheets = [];
|
|
1474
|
-
this.block = new Float32Array(
|
|
1477
|
+
this.block = new Float32Array(chunkX5A5FOWW_js.CLOTH_COLLIDER_FLOATS * chunkX5A5FOWW_js.CLOTH_MAX_COLLIDERS);
|
|
1475
1478
|
}
|
|
1476
1479
|
create(shape, options = {}) {
|
|
1477
1480
|
let floats = this.port.prepare();
|
|
@@ -1491,8 +1494,8 @@ var ClothSheet = class {
|
|
|
1491
1494
|
index >= 0 && this.sheets.splice(index, 1), sheet.dispose();
|
|
1492
1495
|
}
|
|
1493
1496
|
setColliders(colliders) {
|
|
1494
|
-
if (colliders.length >
|
|
1495
|
-
for (let i = 0; i < colliders.length; i++) packClothCollider(this.block, i *
|
|
1497
|
+
if (colliders.length > chunkX5A5FOWW_js.CLOTH_MAX_COLLIDERS) throw new chunk2V7IL4HC_js.GameError("capacity_exceeded", `cloth collides with at most ${chunkX5A5FOWW_js.CLOTH_MAX_COLLIDERS} shapes`);
|
|
1498
|
+
for (let i = 0; i < colliders.length; i++) packClothCollider(this.block, i * chunkX5A5FOWW_js.CLOTH_COLLIDER_FLOATS, colliders[i]);
|
|
1496
1499
|
this.port.colliders(this.block, colliders.length);
|
|
1497
1500
|
}
|
|
1498
1501
|
couple(collider) {
|
|
@@ -1670,8 +1673,8 @@ var DEFAULT_HORIZONS = [1, 3, 8], DEFAULT_MAX_SPEED = 10, DEFAULT_SPREAD = 0.35,
|
|
|
1670
1673
|
t = motion < turn ? motion : turn, t < lower && (t = lower);
|
|
1671
1674
|
}
|
|
1672
1675
|
if (this.stamp[e] = this.planId, this.time[e] = t, t > limit || held !== null && held(e)) continue;
|
|
1673
|
-
let level = layer.entryLevel[e], priority =
|
|
1674
|
-
if (level === 0 && t <= first) priority =
|
|
1676
|
+
let level = layer.entryLevel[e], priority = chunk4ZDR72SG_js.ChunkPriority.prefetch;
|
|
1677
|
+
if (level === 0 && t <= first) priority = chunk4ZDR72SG_js.ChunkPriority.soon;
|
|
1675
1678
|
else if (!this.prefetchAllowed) continue;
|
|
1676
1679
|
let state = this.state[e];
|
|
1677
1680
|
if (state !== EntryState.idle && !(state === EntryState.pending && priority < this.priority[e])) continue;
|
|
@@ -1692,7 +1695,7 @@ var DEFAULT_HORIZONS = [1, 3, 8], DEFAULT_MAX_SPEED = 10, DEFAULT_SPREAD = 0.35,
|
|
|
1692
1695
|
measureLoad() {
|
|
1693
1696
|
let flow = this.layer.flow;
|
|
1694
1697
|
if (flow === null) return LinkLoad.free;
|
|
1695
|
-
let s = this.s, delivered = flow[
|
|
1698
|
+
let s = this.s, delivered = flow[chunkVVE3Y76O_js.FLOW_DELIVERED] + s[(17)], elapsed = s[(16)];
|
|
1696
1699
|
if (elapsed > 0) {
|
|
1697
1700
|
if (s[(21)] > 0) {
|
|
1698
1701
|
let rate = (delivered - s[(18)]) / elapsed;
|
|
@@ -1700,7 +1703,7 @@ var DEFAULT_HORIZONS = [1, 3, 8], DEFAULT_MAX_SPEED = 10, DEFAULT_SPREAD = 0.35,
|
|
|
1700
1703
|
}
|
|
1701
1704
|
s[(18)] = delivered, s[(16)] = 0;
|
|
1702
1705
|
}
|
|
1703
|
-
let demand = flow[
|
|
1706
|
+
let demand = flow[chunkVVE3Y76O_js.FLOW_BACKLOG] + s[(20)];
|
|
1704
1707
|
if (s[(21)] = demand, demand <= 0) return LinkLoad.free;
|
|
1705
1708
|
let drain = s[(19)] * this.tuning[(7)];
|
|
1706
1709
|
return demand > drain ? LinkLoad.saturated : demand > drain * (0.5) ? LinkLoad.loaded : LinkLoad.free;
|
|
@@ -1715,7 +1718,7 @@ var DEFAULT_HORIZONS = [1, 3, 8], DEFAULT_MAX_SPEED = 10, DEFAULT_SPREAD = 0.35,
|
|
|
1715
1718
|
resident ? (state === EntryState.pending && (this.s[(17)] += this.layer.entryBytes[e]), state = EntryState.resident) : pending || (state = EntryState.consumed, this.stats.consumed++, this.untrackBytes(e)), this.state[e] = state;
|
|
1716
1719
|
}
|
|
1717
1720
|
let keep = this.stamp[e] === planId && this.time[e] <= release;
|
|
1718
|
-
keep && state === EntryState.pending && (this.s[(20)] += this.layer.entryBytes[e], this.priority[e] ===
|
|
1721
|
+
keep && state === EntryState.pending && (this.s[(20)] += this.layer.entryBytes[e], this.priority[e] === chunk4ZDR72SG_js.ChunkPriority.prefetch && this.inFlight++), !keep && ((state === EntryState.pending || state === EntryState.resident) && (assets?.cancelPrefetch?.(path), this.stats.released++, this.untrackBytes(e)), this.state[e] = EntryState.idle, this.untrack(i));
|
|
1719
1722
|
}
|
|
1720
1723
|
}
|
|
1721
1724
|
issue() {
|
|
@@ -1728,14 +1731,14 @@ var DEFAULT_HORIZONS = [1, 3, 8], DEFAULT_MAX_SPEED = 10, DEFAULT_SPREAD = 0.35,
|
|
|
1728
1731
|
assets.prefetch(path, priority) && (this.priority[entry] = priority, this.stats.reprioritised++);
|
|
1729
1732
|
continue;
|
|
1730
1733
|
}
|
|
1731
|
-
if (this.linkLoad !== LinkLoad.free || this.pendingCount >= this.maxPending || busy && priority ===
|
|
1734
|
+
if (this.linkLoad !== LinkLoad.free || this.pendingCount >= this.maxPending || busy && priority === chunk4ZDR72SG_js.ChunkPriority.prefetch || priority === chunk4ZDR72SG_js.ChunkPriority.prefetch && this.inFlight >= this.maxSpeculative) continue;
|
|
1732
1735
|
let bytes = this.layer.entryBytes[entry];
|
|
1733
1736
|
if (!(this.pendingBytes + bytes > this.budget && (this.s[(13)] = key, this.s[(14)] = bytes, !this.evict()))) {
|
|
1734
1737
|
if (!assets.prefetch(path, priority)) {
|
|
1735
1738
|
this.state[entry] = EntryState.consumed, this.track(entry);
|
|
1736
1739
|
continue;
|
|
1737
1740
|
}
|
|
1738
|
-
this.state[entry] = assets.resident?.(path) === true ? EntryState.resident : EntryState.pending, this.priority[entry] = priority, this.track(entry), this.pendingBytes += bytes, this.pendingCount++, priority ===
|
|
1741
|
+
this.state[entry] = assets.resident?.(path) === true ? EntryState.resident : EntryState.pending, this.priority[entry] = priority, this.track(entry), this.pendingBytes += bytes, this.pendingCount++, priority === chunk4ZDR72SG_js.ChunkPriority.prefetch && this.state[entry] === EntryState.pending && this.inFlight++, this.stats.requested++;
|
|
1739
1742
|
}
|
|
1740
1743
|
}
|
|
1741
1744
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { COLUMN_ALIGN } from './chunk-
|
|
1
|
+
import { COLUMN_ALIGN } from './chunk-A33OORT7.mjs';
|
|
2
2
|
import { GameError } from './chunk-XJIHN3BY.mjs';
|
|
3
3
|
|
|
4
4
|
// src/game/cloth/engine.ts
|
|
@@ -64,6 +64,9 @@ var EngineCloths = class {
|
|
|
64
64
|
let buffer = this.runtime.memory.buffer;
|
|
65
65
|
buffer !== this.buffer && (this.buffer = buffer, this.bytes = new Uint8Array(buffer), this.words = new Uint32Array(buffer), this.views = new Float32Array(buffer));
|
|
66
66
|
}
|
|
67
|
+
get engineHost() {
|
|
68
|
+
return this.open();
|
|
69
|
+
}
|
|
67
70
|
open() {
|
|
68
71
|
if (this.handle === (0)) {
|
|
69
72
|
let world = this.world();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { addSceneCamera, BoxBatch, BOX_X, BOX_Y, BOX_Z, BOX_SX, BOX_SY, BOX_SZ } from './chunk-QDYFLATW.mjs';
|
|
2
|
-
import { templateFrameStamp, digestFloats } from './chunk-
|
|
2
|
+
import { templateFrameStamp, digestFloats } from './chunk-KGHJH5KJ.mjs';
|
|
3
3
|
import { LoopbackTransport, GameNet, MessageWriter, SnapshotBuffer, quantized } from './chunk-RM2V4IND.mjs';
|
|
4
4
|
import { FRAME_STEP_SECONDS_SLOT } from './chunk-IDLW4NWA.mjs';
|
|
5
5
|
import { __export } from './chunk-25T4JHEA.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { createNativeEngineBackend, EngineGraphics } from './chunk-
|
|
1
|
+
import { createNativeEngineBackend, EngineGraphics } from './chunk-Y65LXQGA.mjs';
|
|
2
2
|
import { SurfacePointer } from './chunk-3GXH2NFD.mjs';
|
|
3
|
-
import { NO_AUDIO_CAPABILITIES, METER_PEAK, METER_RMS } from './chunk-
|
|
4
|
-
import { bindEngineRuntime } from './chunk-
|
|
3
|
+
import { NO_AUDIO_CAPABILITIES, METER_PEAK, METER_RMS } from './chunk-5YFBGGCK.mjs';
|
|
4
|
+
import { bindEngineRuntime } from './chunk-GHS6MIL6.mjs';
|
|
5
5
|
import { GameError } from './chunk-XJIHN3BY.mjs';
|
|
6
6
|
|
|
7
7
|
// src/game/kit/feel/particles.ts
|
|
@@ -1,23 +1,18 @@
|
|
|
1
|
-
import { loadEngineRuntime, enginePlatformOf } from './chunk-
|
|
2
|
-
import { restFileOf } from './chunk-BOTUAHP2.mjs';
|
|
1
|
+
import { loadEngineRuntime, enginePlatformOf } from './chunk-GHS6MIL6.mjs';
|
|
3
2
|
|
|
4
3
|
// src/game/conformance/engine-platform.ts
|
|
5
4
|
var FS_MODULE = "node:fs/promises";
|
|
6
5
|
async function load(file) {
|
|
7
|
-
let
|
|
6
|
+
let bytes = await (await import(
|
|
8
7
|
/* @vite-ignore */
|
|
9
8
|
FS_MODULE
|
|
10
|
-
)
|
|
11
|
-
return
|
|
9
|
+
)).readFile(file);
|
|
10
|
+
return enginePlatformOf(await loadEngineRuntime(bytes));
|
|
12
11
|
}
|
|
13
|
-
|
|
14
|
-
let runtime = await loadEngineRuntime(bytes, rest === null ? {} : { deferred: { rest: Promise.resolve(rest) } });
|
|
15
|
-
return await runtime.deferred?.linking, enginePlatformOf(runtime);
|
|
16
|
-
}
|
|
17
|
-
function bytesFramePlatform(bytes, rest = null) {
|
|
12
|
+
function bytesFramePlatform(bytes) {
|
|
18
13
|
let platform = null;
|
|
19
14
|
return {
|
|
20
|
-
engine: () => (platform ?? (platform =
|
|
15
|
+
engine: () => (platform ?? (platform = loadEngineRuntime(bytes).then(enginePlatformOf)), platform)
|
|
21
16
|
};
|
|
22
17
|
}
|
|
23
18
|
function engineFramePlatform(file) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { avatarFace } from './chunk-
|
|
1
|
+
import { avatarFace } from './chunk-Z3A3AFVU.mjs';
|
|
2
2
|
|
|
3
3
|
// src/avatars/draw.ts
|
|
4
4
|
var INK = [31, 26, 28], WHITE = [255, 255, 255], BLACK = [0, 0, 0], MOUTH = [122, 44, 52], BLUSH = [224, 106, 106], DEVICE = [201, 207, 214], COMIC_STROKE = 1.8, COMIC_STROKE_SMALL = 2.6, PRECISION = 100, BYTE_MAX = 255, HEX_RADIX = 16, MULBERRY_STEP = 1831565813, LUMA_R = 0.2126, LUMA_G = 0.7152, LUMA_B = 0.0722, HIGHLIGHT = 0.16, HIGHLIGHT_DARK = 0.1, SHADOW = 0.22, SHADOW_DARK = 0.06, DEPIGMENTED = [241, 216, 200], SCLERA = [251, 248, 244], UNIT = 4294967296;
|