@cimplify/sdk 0.109.0 → 0.110.2
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/advanced.d.mts +4 -4
- package/dist/advanced.d.ts +4 -4
- 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-BeBFWlHF.d.mts → catalogue-CPTMyBUz.d.mts} +2 -2
- package/dist/{catalogue-DLLsfuNg.d.ts → catalogue-OTuS5zp-.d.ts} +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-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-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-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-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-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-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-HBZQ5HSV.mjs → chunk-LIV3KXJG.mjs} +1 -1
- package/dist/{chunk-S75PBSSL.mjs → chunk-ME6HGG4I.mjs} +92 -8
- package/dist/{chunk-FKYZCXFM.js → chunk-MIPO6F72.js} +3 -3
- package/dist/{chunk-MFWIHTEN.js → chunk-MTIHEW2M.js} +5 -5
- 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-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-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-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-CO8lw80Q.d.mts → client-CX_WR0-J.d.mts} +2 -2
- package/dist/{client-C9hsiaki.d.ts → client-dqOhP9Nc.d.ts} +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-DdsRig-2.d.mts} +20 -0
- package/dist/{elements-Bsfk7CPw.d.mts → elements-DdsRig-2.d.ts} +20 -0
- 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-C3KORE2U.d.mts → index-6gkHMGAq.d.mts} +2 -2
- package/dist/{index-DPeyo938.d.ts → index-B8ybCKJI.d.ts} +3 -3
- package/dist/{index-DFDeJxFQ.d.ts → index-B98Xac8e.d.ts} +2 -2
- package/dist/{index-Cv_rL5X0.d.ts → index-B_ByTtIT.d.ts} +2 -2
- package/dist/{index-D8ZDzms9.d.mts → index-DHjNHb1c.d.mts} +3 -3
- package/dist/{index-C76o9Pj4.d.mts → index-DbAN_VQE.d.mts} +2 -2
- package/dist/index.d.mts +8 -8
- package/dist/index.d.ts +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/{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-BOzexBww.d.mts} +1 -1
- package/dist/{price-D1gE7Ek6.d.ts → price-C1h9sPxE.d.ts} +1 -1
- package/dist/react.d.mts +16 -16
- package/dist/react.d.ts +16 -16
- package/dist/react.js +29 -18
- package/dist/react.mjs +26 -15
- 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-D2ajXpMC.d.ts} +1 -1
- package/dist/{scheduling-lHyYoCa7.d.mts → scheduling-DSRbbaZb.d.mts} +1 -1
- package/dist/{server-DxcxjER1.d.ts → server-D29IIuDV.d.ts} +2 -2
- package/dist/{server-lU3Sznd4.d.mts → server-DQMWPnc8.d.mts} +2 -2
- package/dist/server.d.mts +4 -4
- package/dist/server.d.ts +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/suite.d.mts +6 -6
- package/dist/testing/suite.d.ts +6 -6
- package/dist/testing.d.mts +5 -5
- package/dist/testing.d.ts +5 -5
- 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/{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 +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/split-Di9wBpNx.d.mts +0 -68
- package/dist/split-Di9wBpNx.d.ts +0 -68
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkJR3TNEQC_js = require('./chunk-JR3TNEQC.js');
|
|
4
|
+
var chunk7SM6XSPZ_js = require('./chunk-7SM6XSPZ.js');
|
|
5
5
|
var chunkYV52DGSA_js = require('./chunk-YV52DGSA.js');
|
|
6
|
-
var
|
|
7
|
-
var
|
|
6
|
+
var chunkPKOZXD2Q_js = require('./chunk-PKOZXD2Q.js');
|
|
7
|
+
var chunk3S6WPBZL_js = require('./chunk-3S6WPBZL.js');
|
|
8
8
|
var chunkG3EEC44R_js = require('./chunk-G3EEC44R.js');
|
|
9
9
|
var chunkAZ5BGWHB_js = require('./chunk-AZ5BGWHB.js');
|
|
10
10
|
var chunkU63OC4TQ_js = require('./chunk-U63OC4TQ.js');
|
|
@@ -690,7 +690,7 @@ var SHAPE_BALL = 0, SHAPE_CUBOID = 1, SHAPE_CAPSULE = 2, SHAPE_CYLINDER = 3, SHA
|
|
|
690
690
|
this.rayExcludeBody = (-1);
|
|
691
691
|
this.wide = new Float32Array((6));
|
|
692
692
|
this.wheelHit = new chunkG3EEC44R_js.RayHit();
|
|
693
|
-
this.vehicles = new
|
|
693
|
+
this.vehicles = new chunkJR3TNEQC_js.VehicleSolver(this);
|
|
694
694
|
this.gravity = null;
|
|
695
695
|
this.vector = null;
|
|
696
696
|
this.rayOrigin = null;
|
|
@@ -702,7 +702,7 @@ var SHAPE_BALL = 0, SHAPE_CUBOID = 1, SHAPE_CAPSULE = 2, SHAPE_CYLINDER = 3, SHA
|
|
|
702
702
|
this.eventQueue = null;
|
|
703
703
|
this.onCollision = (a, b, started) => this.recordContact(a, b, started);
|
|
704
704
|
this.excludeSensorsFlag = 0;
|
|
705
|
-
this.rules = new
|
|
705
|
+
this.rules = new chunk3S6WPBZL_js.ContactRuleTable();
|
|
706
706
|
this.colliderClass = new Uint8Array(0);
|
|
707
707
|
this.colliderFriction = new Float32Array(0);
|
|
708
708
|
this.colliderRestitution = new Float32Array(0);
|
|
@@ -768,7 +768,7 @@ var SHAPE_BALL = 0, SHAPE_CUBOID = 1, SHAPE_CAPSULE = 2, SHAPE_CYLINDER = 3, SHA
|
|
|
768
768
|
d = d.setCollisionGroups((membership & (65535)) << (16) | filter & (65535));
|
|
769
769
|
}
|
|
770
770
|
let collider = this.requireWorld().createCollider(d, body);
|
|
771
|
-
return this.colliders[id] = collider, this.colliderHandle.set(id, collider.handle), this.colliderBody[id] = bodyId, this.colliderSensor[id] = desc.sensor ? 1 : 0, this.colliderEvents[id] = desc.events || desc.sensor ? 1 : 0, this.eventColliders += this.colliderEvents[id], this.colliderEnabled[id] = 1, this.colliderMoving[id] = body.isFixed() ? 0 : 1, this.colliderClass[id] =
|
|
771
|
+
return this.colliders[id] = collider, this.colliderHandle.set(id, collider.handle), this.colliderBody[id] = bodyId, this.colliderSensor[id] = desc.sensor ? 1 : 0, this.colliderEvents[id] = desc.events || desc.sensor ? 1 : 0, this.eventColliders += this.colliderEvents[id], this.colliderEnabled[id] = 1, this.colliderMoving[id] = body.isFixed() ? 0 : 1, this.colliderClass[id] = chunk3S6WPBZL_js.DEFAULT_COLLIDER_CLASS, this.colliderFriction[id] = desc.friction ?? (0.5), this.colliderRestitution[id] = desc.restitution ?? 0, this.handleToCollider.set(collider.handle, id), this.refreshColliderPose(id), id;
|
|
772
772
|
}
|
|
773
773
|
destroyCollider(id) {
|
|
774
774
|
let collider = this.colliders[id];
|
|
@@ -833,19 +833,19 @@ var SHAPE_BALL = 0, SHAPE_CUBOID = 1, SHAPE_CAPSULE = 2, SHAPE_CYLINDER = 3, SHA
|
|
|
833
833
|
this.chassisCached[body] = 1;
|
|
834
834
|
}
|
|
835
835
|
let pose = this.bodyPose, p = body * (7);
|
|
836
|
-
for (let k = 0; k < 3; k++) out[
|
|
837
|
-
for (let k = 0; k < 4; k++) out[
|
|
836
|
+
for (let k = 0; k < 3; k++) out[chunkJR3TNEQC_js.CHASSIS_T + k] = pose[p + k];
|
|
837
|
+
for (let k = 0; k < 4; k++) out[chunkJR3TNEQC_js.CHASSIS_Q + k] = pose[p + (3) + k];
|
|
838
838
|
raw.rbLinvel(handle, s);
|
|
839
|
-
for (let k = 0; k < 3; k++) out[
|
|
839
|
+
for (let k = 0; k < 3; k++) out[chunkJR3TNEQC_js.CHASSIS_LINEAR + k] = s[k];
|
|
840
840
|
raw.rbAngvel(handle, s);
|
|
841
|
-
for (let k = 0; k < 3; k++) out[
|
|
842
|
-
for (let k = 0; k < 3; k++) out[
|
|
843
|
-
return this.worldMass(out, mass, m), out[
|
|
841
|
+
for (let k = 0; k < 3; k++) out[chunkJR3TNEQC_js.CHASSIS_ANGULAR + k] = s[k];
|
|
842
|
+
for (let k = 0; k < 3; k++) out[chunkJR3TNEQC_js.CHASSIS_INV_MASS + k] = mass[m + (3) + k];
|
|
843
|
+
return this.worldMass(out, mass, m), out[chunkJR3TNEQC_js.CHASSIS_SLEEPING] = raw.rbIsSleeping(handle) ? 1 : 0, true;
|
|
844
844
|
}
|
|
845
845
|
worldMass(out, mass, m) {
|
|
846
|
-
let qx = out[
|
|
847
|
-
out[
|
|
848
|
-
let fx = mass[m + (9)], fy = mass[m + (9) + 1], fz = mass[m + (9) + 2], fw = mass[m + (9) + 3], x = qw * fx + qx * fw + qy * fz - qz * fy, y = qw * fy - qx * fz + qy * fw + qz * fx, z = qw * fz + qx * fy - qy * fx + qz * fw, w = qw * fw - qx * fx - qy * fy - qz * fz, r00 = 1 - 2 * (y * y + z * z), r01 = 2 * (x * y - z * w), r02 = 2 * (x * z + y * w), r10 = 2 * (x * y + z * w), r11 = 1 - 2 * (x * x + z * z), r12 = 2 * (y * z - x * w), r20 = 2 * (x * z - y * w), r21 = 2 * (y * z + x * w), r22 = 1 - 2 * (x * x + y * y), a = mass[m + (6)], b = mass[m + (6) + 1], c = mass[m + (6) + 2], o =
|
|
846
|
+
let qx = out[chunkJR3TNEQC_js.CHASSIS_Q], qy = out[chunkJR3TNEQC_js.CHASSIS_Q + 1], qz = out[chunkJR3TNEQC_js.CHASSIS_Q + 2], qw = out[chunkJR3TNEQC_js.CHASSIS_Q + 3], cx = mass[m + (0)], cy = mass[m + (0) + 1], cz = mass[m + (0) + 2], tx = 2 * (qy * cz - qz * cy), ty = 2 * (qz * cx - qx * cz), tz = 2 * (qx * cy - qy * cx);
|
|
847
|
+
out[chunkJR3TNEQC_js.CHASSIS_COM] = out[chunkJR3TNEQC_js.CHASSIS_T] + cx + qw * tx + (qy * tz - qz * ty), out[chunkJR3TNEQC_js.CHASSIS_COM + 1] = out[chunkJR3TNEQC_js.CHASSIS_T + 1] + cy + qw * ty + (qz * tx - qx * tz), out[chunkJR3TNEQC_js.CHASSIS_COM + 2] = out[chunkJR3TNEQC_js.CHASSIS_T + 2] + cz + qw * tz + (qx * ty - qy * tx);
|
|
848
|
+
let fx = mass[m + (9)], fy = mass[m + (9) + 1], fz = mass[m + (9) + 2], fw = mass[m + (9) + 3], x = qw * fx + qx * fw + qy * fz - qz * fy, y = qw * fy - qx * fz + qy * fw + qz * fx, z = qw * fz + qx * fy - qy * fx + qz * fw, w = qw * fw - qx * fx - qy * fy - qz * fz, r00 = 1 - 2 * (y * y + z * z), r01 = 2 * (x * y - z * w), r02 = 2 * (x * z + y * w), r10 = 2 * (x * y + z * w), r11 = 1 - 2 * (x * x + z * z), r12 = 2 * (y * z - x * w), r20 = 2 * (x * z - y * w), r21 = 2 * (y * z + x * w), r22 = 1 - 2 * (x * x + y * y), a = mass[m + (6)], b = mass[m + (6) + 1], c = mass[m + (6) + 2], o = chunkJR3TNEQC_js.CHASSIS_INV_INERTIA;
|
|
849
849
|
out[o] = r00 * r00 * a + r01 * r01 * b + r02 * r02 * c, out[o + 1] = r00 * r10 * a + r01 * r11 * b + r02 * r12 * c, out[o + 2] = r00 * r20 * a + r01 * r21 * b + r02 * r22 * c, out[o + 3] = r10 * r10 * a + r11 * r11 * b + r12 * r12 * c, out[o + 4] = r10 * r20 * a + r11 * r21 * b + r12 * r22 * c, out[o + 5] = r20 * r20 * a + r21 * r21 * b + r22 * r22 * c;
|
|
850
850
|
}
|
|
851
851
|
wakeChassis(body) {
|
|
@@ -853,22 +853,22 @@ var SHAPE_BALL = 0, SHAPE_CUBOID = 1, SHAPE_CAPSULE = 2, SHAPE_CYLINDER = 3, SHA
|
|
|
853
853
|
}
|
|
854
854
|
writeChassis(body, motion, wake) {
|
|
855
855
|
let raw = this.requireParts().bodies.raw, handle = this.bodyHandle.get(body), v = this.requireVector(), s = this.inputs.slots();
|
|
856
|
-
s[32] = motion[
|
|
856
|
+
s[32] = motion[chunkJR3TNEQC_js.CHASSIS_LINEAR], s[33] = motion[chunkJR3TNEQC_js.CHASSIS_LINEAR + 1], s[34] = motion[chunkJR3TNEQC_js.CHASSIS_LINEAR + 2], s[36] = motion[chunkJR3TNEQC_js.CHASSIS_ANGULAR], s[37] = motion[chunkJR3TNEQC_js.CHASSIS_ANGULAR + 1], s[38] = motion[chunkJR3TNEQC_js.CHASSIS_ANGULAR + 2], raw.rbSetLinvel(handle, this.inputs.vector(v, 32), wake), raw.rbSetAngvel(handle, this.inputs.vector(v, 36), wake), this.posesDirty = true;
|
|
857
857
|
}
|
|
858
858
|
castWheel(body, origin, direction, hit) {
|
|
859
859
|
this.posesDirty && this.refreshPoses();
|
|
860
|
-
let reach = hit[
|
|
860
|
+
let reach = hit[chunkJR3TNEQC_js.HIT_REACH], q = this.query;
|
|
861
861
|
q[(0)] = origin[0], q[(1)] = origin[1], q[(2)] = origin[2], q[(3)] = direction[0], q[(4)] = direction[1], q[(5)] = direction[2], q[(6)] = reach, this.raySolid = true, this.rayIncludeSensors = false, this.rayExclude = (-1), this.rayExcludeBody = body;
|
|
862
862
|
let collider = this.castNearest((0));
|
|
863
863
|
if (this.rayExcludeBody = (-1), collider === (-1)) return (-1);
|
|
864
864
|
let toi = q[(7)], out = this.wheelHit;
|
|
865
|
-
out.collider = collider, out.pointX = origin[0] + direction[0] * toi, out.pointY = origin[1] + direction[1] * toi, out.pointZ = origin[2] + direction[2] * toi, this.normalAt(out), hit[
|
|
865
|
+
out.collider = collider, out.pointX = origin[0] + direction[0] * toi, out.pointY = origin[1] + direction[1] * toi, out.pointZ = origin[2] + direction[2] * toi, this.normalAt(out), hit[chunkJR3TNEQC_js.HIT_TOI] = toi, hit[chunkJR3TNEQC_js.HIT_NORMAL] = out.normalX, hit[chunkJR3TNEQC_js.HIT_NORMAL + 1] = out.normalY, hit[chunkJR3TNEQC_js.HIT_NORMAL + 2] = out.normalZ, hit[chunkJR3TNEQC_js.HIT_GROUND_VELOCITY] = 0, hit[chunkJR3TNEQC_js.HIT_GROUND_VELOCITY + 1] = 0, hit[chunkJR3TNEQC_js.HIT_GROUND_VELOCITY + 2] = 0, hit[chunkJR3TNEQC_js.HIT_GROUND_BODY] = chunkJR3TNEQC_js.NO_BODY;
|
|
866
866
|
let ground = this.colliderBody[collider], kind = this.bodyKind[ground];
|
|
867
867
|
if (kind !== (2) && this.bodies[ground] !== null) {
|
|
868
868
|
let s = this.inputs.slots();
|
|
869
869
|
s[32] = out.pointX, s[33] = out.pointY, s[34] = out.pointZ;
|
|
870
870
|
let point = this.inputs.vector(this.rayOrigin, 32);
|
|
871
|
-
this.requireParts().bodies.raw.rbVelocityAtPoint(this.bodyHandle.get(ground), point, this.wide), hit[
|
|
871
|
+
this.requireParts().bodies.raw.rbVelocityAtPoint(this.bodyHandle.get(ground), point, this.wide), hit[chunkJR3TNEQC_js.HIT_GROUND_VELOCITY] = this.wide[0], hit[chunkJR3TNEQC_js.HIT_GROUND_VELOCITY + 1] = this.wide[1], hit[chunkJR3TNEQC_js.HIT_GROUND_VELOCITY + 2] = this.wide[2], kind === (0) && (hit[chunkJR3TNEQC_js.HIT_GROUND_BODY] = ground);
|
|
872
872
|
}
|
|
873
873
|
return collider;
|
|
874
874
|
}
|
|
@@ -1288,11 +1288,11 @@ var SHAPE_BALL = 0, SHAPE_CUBOID = 1, SHAPE_CAPSULE = 2, SHAPE_CYLINDER = 3, SHA
|
|
|
1288
1288
|
pose[o] = positions[po], pose[o + 1] = positions[po + 1], pose[o + 2] = positions[po + 2], pose[o + (3)] = rotations[ro], pose[o + (3) + 1] = rotations[ro + 1], pose[o + (3) + 2] = rotations[ro + 2], pose[o + (3) + 3] = rotations[ro + 3];
|
|
1289
1289
|
}
|
|
1290
1290
|
setColliderClass(id, colliderClass) {
|
|
1291
|
-
let value =
|
|
1291
|
+
let value = chunk3S6WPBZL_js.checkColliderClass(colliderClass), collider = this.colliders[id];
|
|
1292
1292
|
if (!collider) throw new chunk2V7IL4HC_js.GameError("unknown_resource", `collider ${id} does not exist`);
|
|
1293
|
-
this.colliderClass[id] !==
|
|
1293
|
+
this.colliderClass[id] !== chunk3S6WPBZL_js.DEFAULT_COLLIDER_CLASS && this.hookColliders--, value !== chunk3S6WPBZL_js.DEFAULT_COLLIDER_CLASS && this.hookColliders++, this.colliderClass[id] = value;
|
|
1294
1294
|
let rapier = this.requireRapier();
|
|
1295
|
-
collider.setActiveHooks(value ===
|
|
1295
|
+
collider.setActiveHooks(value === chunk3S6WPBZL_js.DEFAULT_COLLIDER_CLASS ? rapier.ActiveHooks.NONE : rapier.ActiveHooks.FILTER_CONTACT_PAIRS), this.applyClassMaterial(id);
|
|
1296
1296
|
}
|
|
1297
1297
|
setCollisionGroups(id, membership, filter) {
|
|
1298
1298
|
let collider = this.colliders[id];
|
|
@@ -1320,10 +1320,10 @@ var SHAPE_BALL = 0, SHAPE_CUBOID = 1, SHAPE_CAPSULE = 2, SHAPE_CYLINDER = 3, SHA
|
|
|
1320
1320
|
let collider = this.colliders[id];
|
|
1321
1321
|
if (!collider) return;
|
|
1322
1322
|
let rapier = this.requireRapier(), k = this.colliderClass[id], friction = Number.NaN, restitution = Number.NaN;
|
|
1323
|
-
if (k !==
|
|
1324
|
-
for (let other = 0; other <
|
|
1323
|
+
if (k !== chunk3S6WPBZL_js.DEFAULT_COLLIDER_CLASS)
|
|
1324
|
+
for (let other = 0; other < chunk3S6WPBZL_js.MAX_COLLIDER_CLASSES; other++) {
|
|
1325
1325
|
let at = this.rules.index(k, other);
|
|
1326
|
-
(this.rules.flags[at] &
|
|
1326
|
+
(this.rules.flags[at] & chunk3S6WPBZL_js.RULE_FRICTION) !== 0 && (friction = this.rules.friction[at]), (this.rules.flags[at] & chunk3S6WPBZL_js.RULE_RESTITUTION) !== 0 && (restitution = this.rules.restitution[at]);
|
|
1327
1327
|
}
|
|
1328
1328
|
let rules = rapier.CoefficientCombineRule;
|
|
1329
1329
|
Number.isNaN(friction) ? (collider.setFriction(this.colliderFriction[id]), collider.setFrictionCombineRule(rules.Average)) : (collider.setFriction(friction), collider.setFrictionCombineRule(friction < (0.5) ? rules.Min : rules.Max)), Number.isNaN(restitution) ? (collider.setRestitution(this.colliderRestitution[id]), collider.setRestitutionCombineRule(rules.Average)) : (collider.setRestitution(restitution), collider.setRestitutionCombineRule(rules.Max));
|
|
@@ -1332,14 +1332,14 @@ var SHAPE_BALL = 0, SHAPE_CUBOID = 1, SHAPE_CAPSULE = 2, SHAPE_CYLINDER = 3, SHA
|
|
|
1332
1332
|
let a = this.handleToCollider.get(c1), b = this.handleToCollider.get(c2);
|
|
1333
1333
|
if (a === void 0 || b === void 0) return (1);
|
|
1334
1334
|
let rules = this.rules, forward = rules.index(this.colliderClass[a], this.colliderClass[b]), backward = rules.index(this.colliderClass[b], this.colliderClass[a]);
|
|
1335
|
-
if ((rules.flags[forward] &
|
|
1335
|
+
if ((rules.flags[forward] & chunk3S6WPBZL_js.RULE_IGNORE) !== 0) return null;
|
|
1336
1336
|
let bodyA = this.colliderBody[a], bodyB = this.colliderBody[b];
|
|
1337
|
-
return this.bodyKind[bodyA] !== (0) && this.bodyKind[bodyB] !== (0) ? null : (rules.flags[forward] &
|
|
1337
|
+
return this.bodyKind[bodyA] !== (0) && this.bodyKind[bodyB] !== (0) ? null : (rules.flags[forward] & chunk3S6WPBZL_js.RULE_ONE_WAY) !== 0 ? this.oneWayAllows(a, b, forward) ? (1) : null : (rules.flags[backward] & chunk3S6WPBZL_js.RULE_ONE_WAY) !== 0 ? this.oneWayAllows(b, a, backward) ? (1) : null : (1);
|
|
1338
1338
|
}
|
|
1339
1339
|
snapshotHookPoses() {
|
|
1340
1340
|
let parts = this.requireParts(), s = this.ruleScratch, poses = this.hookPose;
|
|
1341
1341
|
for (let c = 0; c < this.colliderPool.highWater; c++) {
|
|
1342
|
-
if (this.colliders[c] === null || this.colliderClass[c] ===
|
|
1342
|
+
if (this.colliders[c] === null || this.colliderClass[c] === chunk3S6WPBZL_js.DEFAULT_COLLIDER_CLASS) continue;
|
|
1343
1343
|
let handle = this.colliderHandle.get(c), o = c * (10);
|
|
1344
1344
|
parts.colliders.raw.coTranslation(handle, s), poses[o] = s[0], poses[o + 1] = s[1], poses[o + 2] = s[2], parts.colliders.raw.coRotation(handle, s), poses[o + 3] = s[0], poses[o + 4] = s[1], poses[o + 5] = s[2], poses[o + 6] = s[3], parts.bodies.raw.rbLinvel(this.bodyHandle.get(this.colliderBody[c]), s), poses[o + 7] = s[0], poses[o + 8] = s[1], poses[o + 9] = s[2];
|
|
1345
1345
|
}
|
|
@@ -1351,7 +1351,7 @@ var SHAPE_BALL = 0, SHAPE_CUBOID = 1, SHAPE_CAPSULE = 2, SHAPE_CYLINDER = 3, SHA
|
|
|
1351
1351
|
return rx * nx + ry * ny + rz * nz <= (0.25);
|
|
1352
1352
|
}
|
|
1353
1353
|
forgetCollider(c) {
|
|
1354
|
-
this.colliderClass[c] !==
|
|
1354
|
+
this.colliderClass[c] !== chunk3S6WPBZL_js.DEFAULT_COLLIDER_CLASS && this.hookColliders--, this.colliderClass[c] = chunk3S6WPBZL_js.DEFAULT_COLLIDER_CLASS, this.handleToCollider.delete(this.colliderHandle.get(c)), this.eventColliders -= this.colliderEvents[c], this.colliderEvents[c] = 0, this.colliders[c] = null, this.colliderEnabled[c] = 0, this.colliderPool.release(c);
|
|
1355
1355
|
}
|
|
1356
1356
|
recordContact(a, b, started) {
|
|
1357
1357
|
if (this.contacts >= this.contactA.length) {
|
|
@@ -4705,7 +4705,7 @@ var ThreeGraphics = class {
|
|
|
4705
4705
|
emissiveMap: this.texture(desc.emissiveMap),
|
|
4706
4706
|
aoMap: this.texture(desc.aoMap),
|
|
4707
4707
|
flatShading: desc.flatShading ?? false
|
|
4708
|
-
}), params =
|
|
4708
|
+
}), params = chunkPKOZXD2Q_js.characterParams(desc);
|
|
4709
4709
|
switch (desc.kind) {
|
|
4710
4710
|
case "skin": {
|
|
4711
4711
|
let peak = Math.max(params[0], params[1], params[2], Number.EPSILON);
|
|
@@ -5006,7 +5006,7 @@ function countLive(registry) {
|
|
|
5006
5006
|
// src/game/backends/prepared.ts
|
|
5007
5007
|
var PREPARED_ENGINE_NAME = "prepared-three-phaser-rapier", PREPARED_ENGINE_VERSION = "three@0.186.1+phaser@4.2.1+rapier3d@0.21.0";
|
|
5008
5008
|
function createPreparedBackend(options = {}) {
|
|
5009
|
-
let graphics = options.dimensions === "2d" ? new PhaserGraphics(options.phaser) : new ThreeGraphics(options.three), audio = options.audioContext ? new
|
|
5009
|
+
let graphics = options.dimensions === "2d" ? new PhaserGraphics(options.phaser) : new ThreeGraphics(options.three), audio = options.audioContext ? new chunkPKOZXD2Q_js.WebAudioPort(options.audioContext) : new chunkPKOZXD2Q_js.HeadlessAudio();
|
|
5010
5010
|
return {
|
|
5011
5011
|
name: PREPARED_ENGINE_NAME,
|
|
5012
5012
|
version: PREPARED_ENGINE_VERSION,
|
|
@@ -5020,8 +5020,8 @@ function createPreparedBackend(options = {}) {
|
|
|
5020
5020
|
|
|
5021
5021
|
// src/game/backends/engine/index.ts
|
|
5022
5022
|
function createEngineBackend(runtime, options = {}) {
|
|
5023
|
-
let attach = options.attach ?? null, graphics = options.renderer === "cimplify" ? (r) => new
|
|
5024
|
-
return
|
|
5023
|
+
let attach = options.attach ?? null, graphics = options.renderer === "cimplify" ? (r) => new chunk7SM6XSPZ_js.EngineGraphics(r, void 0, attach, options.graphics) : () => new ThreeGraphics(options.three);
|
|
5024
|
+
return chunk7SM6XSPZ_js.assembleEngineBackend(runtime, graphics, chunk7SM6XSPZ_js.engineAudio(options, runtime));
|
|
5025
5025
|
}
|
|
5026
5026
|
|
|
5027
5027
|
exports.PREPARED_ENGINE_NAME = PREPARED_ENGINE_NAME;
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { walledArena, daylight, SeekBot, GOAL_X, GOAL_Z } from './chunk-
|
|
2
|
-
import { thirdPersonCharacter, TOUCH_CONTROLS } from './chunk-
|
|
1
|
+
import { walledArena, daylight, SeekBot, GOAL_X, GOAL_Z } from './chunk-KU7O4IXU.mjs';
|
|
2
|
+
import { thirdPersonCharacter, TOUCH_CONTROLS } from './chunk-ZCY6YKKP.mjs';
|
|
3
3
|
import { auditEconomy } from './chunk-XZSDGZX6.mjs';
|
|
4
4
|
import { resolveRemix, colorInt, shootoutSlots, runnerSlots } from './chunk-NMQT4HG3.mjs';
|
|
5
|
-
import { ORIGIN_X, ORIGIN_Y, ORIGIN_Z, ORIGIN_QX, ORIGIN_QY, ORIGIN_QZ, ORIGIN_QW, Spray } from './chunk-
|
|
6
|
-
import { PenaltyShootout, penaltyShootoutTemplate } from './chunk-
|
|
7
|
-
import { EndlessRunner, endlessRunnerTemplate, RUNNER_COLORS } from './chunk-
|
|
5
|
+
import { ORIGIN_X, ORIGIN_Y, ORIGIN_Z, ORIGIN_QX, ORIGIN_QY, ORIGIN_QZ, ORIGIN_QW, Spray } from './chunk-6DATW7TB.mjs';
|
|
6
|
+
import { PenaltyShootout, penaltyShootoutTemplate } from './chunk-K3HW5I2A.mjs';
|
|
7
|
+
import { EndlessRunner, endlessRunnerTemplate, RUNNER_COLORS } from './chunk-LIV3KXJG.mjs';
|
|
8
8
|
import { KitError } from './chunk-4DYKAYFO.mjs';
|
|
9
9
|
import { BoxBatch, BOX_X, BOX_Y, BOX_Z, BOX_SX, BOX_SY, BOX_SZ } from './chunk-QDYFLATW.mjs';
|
|
10
|
-
import { templateFrameStamp, digestFloats } from './chunk-
|
|
11
|
-
import { BUTTON_PRIMARY, BUTTON_SECONDARY, BUTTON_MIDDLE, CameraPose, DEFAULT_CONTROL_FOV, DEFAULT_CONTROL_ASPECT, DEGREES_TO_RADIANS, UP, frameDamping, clamp, yawPitchFrom, setYawPitch, phoneCost, buildWorld, peopleForTier, CheerMeter, VotePoll, votesOpenedBy, giftMoments, NO_VOTE_WINNER, thingMaterial } from './chunk-
|
|
12
|
-
import { ClipEventReader, actionListed } from './chunk-
|
|
13
|
-
import { reactionRequest, proposeReaction, proposalText, knownMaterials, chemistryAiToml, chemistryAiSection, PROPOSAL_SCHEMA, MAX_TERMS, MAX_SPECIES, MAX_NAME, MAX_KNOWN_CHARS, MAX_FORMULA, CHEMISTRY_TEMPLATE, CHEMISTRY_SCHEMA, CHEMISTRY_PROMPT, CHEMISTRY_AI_CAPABILITY, biquadBandpass, mulf, addf, texFbm, srgbToLinear, clampf, madf, texNormal, Spherical, CameraProjection, Ray, Plane, biquadLowpass, divf, texRings, texWeave, texTiles, texBricks, texCells, texRidged, linearToSrgb, subf, sqrtf } from './chunk-
|
|
10
|
+
import { templateFrameStamp, digestFloats } from './chunk-KGHJH5KJ.mjs';
|
|
11
|
+
import { BUTTON_PRIMARY, BUTTON_SECONDARY, BUTTON_MIDDLE, CameraPose, DEFAULT_CONTROL_FOV, DEFAULT_CONTROL_ASPECT, DEGREES_TO_RADIANS, UP, frameDamping, clamp, yawPitchFrom, setYawPitch, phoneCost, buildWorld, peopleForTier, CheerMeter, VotePoll, votesOpenedBy, giftMoments, NO_VOTE_WINNER, thingMaterial } from './chunk-W65JIRI4.mjs';
|
|
12
|
+
import { ClipEventReader, actionListed } from './chunk-ECDK6QBF.mjs';
|
|
13
|
+
import { reactionRequest, proposeReaction, proposalText, knownMaterials, chemistryAiToml, chemistryAiSection, PROPOSAL_SCHEMA, MAX_TERMS, MAX_SPECIES, MAX_NAME, MAX_KNOWN_CHARS, MAX_FORMULA, CHEMISTRY_TEMPLATE, CHEMISTRY_SCHEMA, CHEMISTRY_PROMPT, CHEMISTRY_AI_CAPABILITY, biquadBandpass, mulf, addf, texFbm, srgbToLinear, clampf, madf, texNormal, Spherical, CameraProjection, Ray, Plane, biquadLowpass, divf, texRings, texWeave, texTiles, texBricks, texCells, texRidged, linearToSrgb, subf, sqrtf } from './chunk-UCEPNO6N.mjs';
|
|
14
14
|
import { planeGeometry, allocatePrimitive, boxSize, writeBox, primitiveDesc } from './chunk-GHPUYD4I.mjs';
|
|
15
15
|
import { fpow, fsin, fexp, STARTER_CATALOGUE, fcos } from './chunk-TJCAE7RC.mjs';
|
|
16
16
|
import { itemCard, uiClock } from './chunk-3ZYSAW2T.mjs';
|
|
17
|
-
import { anchorWeightSum } from './chunk-
|
|
17
|
+
import { anchorWeightSum } from './chunk-KK6HYVBI.mjs';
|
|
18
18
|
import { requestPointerLock, exitPointerLock } from './chunk-HMWYTXCY.mjs';
|
|
19
|
-
import { kernel, groupNames, ChemistryVessel, ChemistryRegion, ChemistryParticles, ChemistryMemory, Chemistry, CHEMISTRY_REFUSAL_TEXT, CHEMISTRY_REFUSALS, CHEMISTRY_GROUPS, CHEMISTRY_EVENT_KINDS, CELL_CLASSES, rand01, hash32, smokeMediumDesc, defaultKernelEngine, defaultKernelRunner, EntityTable } from './chunk-
|
|
20
|
-
import { STAGE_X, STAGE_TIME } from './chunk-
|
|
19
|
+
import { kernel, groupNames, ChemistryVessel, ChemistryRegion, ChemistryParticles, ChemistryMemory, Chemistry, CHEMISTRY_REFUSAL_TEXT, CHEMISTRY_REFUSALS, CHEMISTRY_GROUPS, CHEMISTRY_EVENT_KINDS, CELL_CLASSES, rand01, hash32, smokeMediumDesc, defaultKernelEngine, defaultKernelRunner, EntityTable } from './chunk-KVFNRJOR.mjs';
|
|
20
|
+
import { STAGE_X, STAGE_TIME } from './chunk-22BD3RHN.mjs';
|
|
21
21
|
import { emptyClipState } from './chunk-7ARSJPV3.mjs';
|
|
22
|
-
import { kernelEngineFeatures } from './chunk-
|
|
22
|
+
import { kernelEngineFeatures } from './chunk-RUVGVNOF.mjs';
|
|
23
23
|
import { Vec3, Quat, bindSoaEngine } from './chunk-XPG3N5CF.mjs';
|
|
24
24
|
import { mat4Compose } from './chunk-KIZOA5LX.mjs';
|
|
25
25
|
import { NO_ENTITY, entityIndex } from './chunk-T3AFF3L7.mjs';
|
|
26
26
|
import { createPickHit } from './chunk-TL2SVO4P.mjs';
|
|
27
27
|
import { FRAME_STEP_SECONDS_SLOT, FRAME_SECONDS_SLOT } from './chunk-IDLW4NWA.mjs';
|
|
28
28
|
import { Locomotion, spawn, steer } from './chunk-M5EXQZYY.mjs';
|
|
29
|
-
import { rowFeedback, rowPhase64, rowPhase } from './chunk-
|
|
30
|
-
import { bindChemistryEngine, CHEMISTRY_VESSEL_WORDS, CHEMISTRY_VESSEL_SLOTS, CHEMISTRY_VACUUM, CHEMISTRY_UNSET, CHEMISTRY_TQ, CHEMISTRY_STATS_WORDS, CHEMISTRY_SPECIES_WORDS, CHEMISTRY_SLOTS, CHEMISTRY_REFUSED, CHEMISTRY_REACTION_WORDS, CHEMISTRY_PROBE_WORDS, CHEMISTRY_NATURE_WORDS, CHEMISTRY_EXPORT_NAMES, CHEMISTRY_EVENT_WORDS, CHEMISTRY_EVENT_HEADER, CHEMISTRY_COLUMNS, CHEMISTRY_BOX_WORDS, CHEMISTRY_ATMOSPHERE, f64, SMOKE_MAX_EMITTERS } from './chunk-
|
|
29
|
+
import { rowFeedback, rowPhase64, rowPhase } from './chunk-EIB4OWVQ.mjs';
|
|
30
|
+
import { bindChemistryEngine, CHEMISTRY_VESSEL_WORDS, CHEMISTRY_VESSEL_SLOTS, CHEMISTRY_VACUUM, CHEMISTRY_UNSET, CHEMISTRY_TQ, CHEMISTRY_STATS_WORDS, CHEMISTRY_SPECIES_WORDS, CHEMISTRY_SLOTS, CHEMISTRY_REFUSED, CHEMISTRY_REACTION_WORDS, CHEMISTRY_PROBE_WORDS, CHEMISTRY_NATURE_WORDS, CHEMISTRY_EXPORT_NAMES, CHEMISTRY_EVENT_WORDS, CHEMISTRY_EVENT_HEADER, CHEMISTRY_COLUMNS, CHEMISTRY_BOX_WORDS, CHEMISTRY_ATMOSPHERE, f64, SMOKE_MAX_EMITTERS } from './chunk-E65WCTIG.mjs';
|
|
31
31
|
import './chunk-K4UDGE3Z.mjs';
|
|
32
32
|
import { KERNEL_SCAN_FEATURE } from './chunk-SMK6JU2F.mjs';
|
|
33
33
|
import { IdentityCaptureError } from './chunk-5C3C7VDM.mjs';
|
|
@@ -38,7 +38,7 @@ import { FACE_LAYOUT, CTX_LIMITS } from './chunk-SPCRQ6NO.mjs';
|
|
|
38
38
|
import { decodeBase64 } from './chunk-2IC4H6OV.mjs';
|
|
39
39
|
import { GameError } from './chunk-XJIHN3BY.mjs';
|
|
40
40
|
import { LAUNCH_ITEMS, LAUNCH_FILES } from './chunk-JKGTBMU7.mjs';
|
|
41
|
-
import { decodeIdentity, checkIdentityFits, cageDisplacement, blendCage, srgbToLinear as srgbToLinear$1 } from './chunk-
|
|
41
|
+
import { decodeIdentity, checkIdentityFits, cageDisplacement, blendCage, srgbToLinear as srgbToLinear$1 } from './chunk-XD2PMH46.mjs';
|
|
42
42
|
import { __export } from './chunk-25T4JHEA.mjs';
|
|
43
43
|
|
|
44
44
|
// src/game/kit/saves/save-slots.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk7SM6XSPZ_js = require('./chunk-7SM6XSPZ.js');
|
|
4
4
|
var chunk7DQSDKDU_js = require('./chunk-7DQSDKDU.js');
|
|
5
|
-
var
|
|
6
|
-
var
|
|
5
|
+
var chunkX5A5FOWW_js = require('./chunk-X5A5FOWW.js');
|
|
6
|
+
var chunkNZTKLY2W_js = require('./chunk-NZTKLY2W.js');
|
|
7
7
|
var chunk2V7IL4HC_js = require('./chunk-2V7IL4HC.js');
|
|
8
8
|
|
|
9
9
|
// src/game/kit/feel/particles.ts
|
|
@@ -244,7 +244,7 @@ function attachSurfaceInput(input, surface) {
|
|
|
244
244
|
var SILENT = -1, MASTER_BUS = "master", BUS_NAMES = ["music", "effects", "voice", "ui"], FALLBACK_BUS = "effects", NO_VOICE = -1, FOREVER = Number.POSITIVE_INFINITY, CTX_SAMPLE_RATE = 48e3, CtxAudioPort = class {
|
|
245
245
|
constructor(audio, clock, maxVoices = 64) {
|
|
246
246
|
this.name = "ctx-audio";
|
|
247
|
-
this.capabilities =
|
|
247
|
+
this.capabilities = chunkX5A5FOWW_js.NO_AUDIO_CAPABILITIES;
|
|
248
248
|
this.sampleRate = (48e3);
|
|
249
249
|
this.clips = [];
|
|
250
250
|
this.busNames = [];
|
|
@@ -347,7 +347,7 @@ var SILENT = -1, MASTER_BUS = "master", BUS_NAMES = ["music", "effects", "voice"
|
|
|
347
347
|
throw unsupported("bus filters");
|
|
348
348
|
}
|
|
349
349
|
meter(_bus, out) {
|
|
350
|
-
out[
|
|
350
|
+
out[chunkX5A5FOWW_js.METER_PEAK] = 0, out[chunkX5A5FOWW_js.METER_RMS] = 0;
|
|
351
351
|
}
|
|
352
352
|
createAnalyser(_bus, _settings) {
|
|
353
353
|
throw unsupported("the analyser");
|
|
@@ -394,12 +394,12 @@ function listed(assets, asset) {
|
|
|
394
394
|
return typeof has == "function" && has.call(assets, asset);
|
|
395
395
|
}
|
|
396
396
|
async function installShaderPack(backend, assets) {
|
|
397
|
-
return assets === void 0 || !(backend.graphics instanceof
|
|
397
|
+
return assets === void 0 || !(backend.graphics instanceof chunk7SM6XSPZ_js.EngineGraphics) || !listed(assets, SHADER_PACK_ASSET) ? false : (backend.graphics.installShaders(await assets.take(SHADER_PACK_ASSET)), true);
|
|
398
398
|
}
|
|
399
399
|
async function platformBackend(graphics, options = {}) {
|
|
400
400
|
let platform = await graphics.engine();
|
|
401
401
|
if (platform.kind === "engine") {
|
|
402
|
-
let backend =
|
|
402
|
+
let backend = chunk7SM6XSPZ_js.createNativeEngineBackend(chunkNZTKLY2W_js.bindEngineRuntime(platform.runtime), options.engine);
|
|
403
403
|
return await installShaderPack(backend, options.assets), backend;
|
|
404
404
|
}
|
|
405
405
|
if (options.prepared) return options.prepared();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk4ZDR72SG_js = require('./chunk-4ZDR72SG.js');
|
|
4
4
|
|
|
5
5
|
// src/interactives/runtime/tree.ts
|
|
6
6
|
var TreeError = class extends Error {
|
|
@@ -16,10 +16,10 @@ var Budget = class {
|
|
|
16
16
|
this.nodes = 0;
|
|
17
17
|
}
|
|
18
18
|
admit(depth) {
|
|
19
|
-
if (this.nodes += 1, this.nodes >
|
|
20
|
-
throw new TreeError(`a tree may hold at most ${
|
|
21
|
-
if (depth >
|
|
22
|
-
throw new TreeError(`a tree may nest at most ${
|
|
19
|
+
if (this.nodes += 1, this.nodes > chunk4ZDR72SG_js.BRIDGE_LIMITS.max_tree_nodes)
|
|
20
|
+
throw new TreeError(`a tree may hold at most ${chunk4ZDR72SG_js.BRIDGE_LIMITS.max_tree_nodes} nodes`);
|
|
21
|
+
if (depth > chunk4ZDR72SG_js.BRIDGE_LIMITS.max_tree_depth)
|
|
22
|
+
throw new TreeError(`a tree may nest at most ${chunk4ZDR72SG_js.BRIDGE_LIMITS.max_tree_depth} levels`);
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
function shadowOf(node, depth, budget) {
|
|
@@ -120,24 +120,24 @@ var DEFAULT_CLIP_WINDOW_MS = 15e3, DEFAULT_CLIP_FPS = 30, DEFAULT_CLIP_VIDEO_BIT
|
|
|
120
120
|
video_bits_per_second: (4e6),
|
|
121
121
|
audio: true,
|
|
122
122
|
max_long_edge: (1280)
|
|
123
|
-
}, ClipStatus = { saved: 0, empty: 1, unavailable: 2 }, CLIP_PAUSE_BYTES =
|
|
124
|
-
var LITTLE_ENDIAN = true, REPLAY_HEADER_BYTES =
|
|
123
|
+
}, ClipStatus = { saved: 0, empty: 1, unavailable: 2 }, CLIP_PAUSE_BYTES = chunk4ZDR72SG_js.TAG_BYTES + 1, CLIP_SAVE_BYTES = chunk4ZDR72SG_js.TAG_BYTES + 8, SAVED_ID = chunk4ZDR72SG_js.TAG_BYTES, SAVED_STATUS = SAVED_ID + 4, SAVED_DURATION = SAVED_STATUS + 1, SAVED_WIDTH = SAVED_DURATION + 4, SAVED_HEIGHT = SAVED_WIDTH + 2, SAVED_TYPE_LENGTH = SAVED_HEIGHT + 2, CLIP_SAVED_HEADER_BYTES = SAVED_TYPE_LENGTH + 1;
|
|
124
|
+
var LITTLE_ENDIAN = true, REPLAY_HEADER_BYTES = chunk4ZDR72SG_js.TAG_BYTES + 1, REPLAY_WATCH = 0, REPLAY_PLAY = 1;
|
|
125
125
|
function replayMessage(replay, mode) {
|
|
126
126
|
let out = new Uint8Array(REPLAY_HEADER_BYTES + replay.length);
|
|
127
|
-
return out[0] =
|
|
127
|
+
return out[0] = chunk4ZDR72SG_js.MessageTag.replay, out[chunk4ZDR72SG_js.TAG_BYTES] = mode === "play" ? (1) : (0), out.set(replay, REPLAY_HEADER_BYTES), out;
|
|
128
128
|
}
|
|
129
129
|
function readReplayMessage(bytes) {
|
|
130
|
-
return bytes.length < REPLAY_HEADER_BYTES || bytes[0] !==
|
|
130
|
+
return bytes.length < REPLAY_HEADER_BYTES || bytes[0] !== chunk4ZDR72SG_js.MessageTag.replay ? null : { replay: bytes.slice(REPLAY_HEADER_BYTES), mode: bytes[chunk4ZDR72SG_js.TAG_BYTES] === (1) ? "play" : "watch" };
|
|
131
131
|
}
|
|
132
132
|
function writeClipPause(out, paused) {
|
|
133
|
-
return out[0] =
|
|
133
|
+
return out[0] = chunk4ZDR72SG_js.MessageTag.clip_pause, out[chunk4ZDR72SG_js.TAG_BYTES] = paused ? 1 : 0, CLIP_PAUSE_BYTES;
|
|
134
134
|
}
|
|
135
135
|
function writeClipSave(out, id, keep_ms) {
|
|
136
136
|
let view = new DataView(out.buffer, out.byteOffset, CLIP_SAVE_BYTES);
|
|
137
|
-
return out[0] =
|
|
137
|
+
return out[0] = chunk4ZDR72SG_js.MessageTag.clip_save, view.setUint32(chunk4ZDR72SG_js.TAG_BYTES, id >>> 0, (true)), view.setUint32(chunk4ZDR72SG_js.TAG_BYTES + 4, Math.max(0, Math.round(keep_ms)) >>> 0, (true)), CLIP_SAVE_BYTES;
|
|
138
138
|
}
|
|
139
139
|
function readClipSaved(bytes) {
|
|
140
|
-
if (bytes.length < CLIP_SAVED_HEADER_BYTES || bytes[0] !==
|
|
140
|
+
if (bytes.length < CLIP_SAVED_HEADER_BYTES || bytes[0] !== chunk4ZDR72SG_js.MessageTag.clip_saved) return null;
|
|
141
141
|
let view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength), length = view.getUint8(SAVED_TYPE_LENGTH), bodyAt = CLIP_SAVED_HEADER_BYTES + length;
|
|
142
142
|
if (bytes.length < bodyAt) return null;
|
|
143
143
|
let type = "";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { importsWasi, wasiStubs, initializeReactor, WASI_IMPORTS } from './chunk-GDCV4IWO.mjs';
|
|
2
|
-
import { threadsAvailable, workerCount, startEngineThreads } from './chunk-
|
|
3
|
-
import {
|
|
4
|
-
import { DEFAULT_ENGINE_MEMORY_PAGES, ENGINE_INITIAL_PAGES, WASM_PAGE_BYTES, ENGINE_RESERVE_SLACK_BYTES, U64_BYTES } from './chunk-NBH64BDP.mjs';
|
|
2
|
+
import { threadsAvailable, workerCount, startEngineThreads } from './chunk-Y66WVMO5.mjs';
|
|
3
|
+
import { DEFAULT_ENGINE_MEMORY_PAGES, ENGINE_INITIAL_PAGES, WASM_PAGE_BYTES, ENGINE_RESERVE_SLACK_BYTES, U64_BYTES } from './chunk-A33OORT7.mjs';
|
|
5
4
|
import { GameError } from './chunk-XJIHN3BY.mjs';
|
|
6
5
|
|
|
7
6
|
// src/game/backends/engine/session-grant.ts
|
|
@@ -1392,13 +1391,10 @@ function bindEngineRuntime(runtime) {
|
|
|
1392
1391
|
async function loadEngineRuntime(source, options = {}) {
|
|
1393
1392
|
let pages = options.memoryPages ?? DEFAULT_ENGINE_MEMORY_PAGES;
|
|
1394
1393
|
if (pages <= ENGINE_INITIAL_PAGES) throw new GameError("invalid_argument", `engine memory needs more than ${ENGINE_INITIAL_PAGES} pages`);
|
|
1395
|
-
let scope = options.scope ?? globalThis, threaded = options.threaded !== void 0 && threadsAvailable(scope), chosen = threaded ? options.threaded : source, module = chosen instanceof WebAssembly.Module ? chosen : await WebAssembly.compile(chosen), memory = new WebAssembly.Memory({ initial: ENGINE_INITIAL_PAGES, maximum: pages, shared: threaded }), gpu = new WebGpuExecutor(), gl = new WebGl2Executor(), imports = { env: {
|
|
1394
|
+
let scope = options.scope ?? globalThis, threaded = options.threaded !== void 0 && threadsAvailable(scope), chosen = threaded ? options.threaded : source, module = chosen instanceof WebAssembly.Module ? chosen : await WebAssembly.compile(chosen), memory = new WebAssembly.Memory({ initial: ENGINE_INITIAL_PAGES, maximum: pages, shared: threaded }), gpu = new WebGpuExecutor(), gl = new WebGl2Executor(), imports = { env: { memory }, [GPU_IMPORTS]: gpu.imports, [GL_IMPORTS]: gl.imports };
|
|
1396
1395
|
importsWasi(module) && (imports[WASI_IMPORTS] = wasiStubs(() => memory));
|
|
1397
|
-
let deferred = DeferredEngine.of(module, options.deferred);
|
|
1398
|
-
deferred !== null && (imports[PLACEHOLDER_NAMESPACE] = deferred.imports());
|
|
1399
1396
|
let instance = await WebAssembly.instantiate(module, imports);
|
|
1400
|
-
|
|
1401
|
-
}), initializeReactor(instance.exports);
|
|
1397
|
+
initializeReactor(instance.exports);
|
|
1402
1398
|
let exports = bindExports(instance.exports);
|
|
1403
1399
|
checkAbi(exports, instance.exports);
|
|
1404
1400
|
let reserve = pages * WASM_PAGE_BYTES - memory.buffer.byteLength - ENGINE_RESERVE_SLACK_BYTES;
|
|
@@ -1413,14 +1409,14 @@ async function loadEngineRuntime(source, options = {}) {
|
|
|
1413
1409
|
});
|
|
1414
1410
|
let webgl = typeof instance.exports[GL_ATTACH_EXPORT] == "function";
|
|
1415
1411
|
webgl && gl.bindMemory(memory);
|
|
1416
|
-
let workers = options.workers ?? workerCount(scope), threads = threaded ? await startEngineThreads(module, memory, instance.exports, workers, options.workerFactory
|
|
1417
|
-
return { exports, memory, symbols: instance.exports, gpu: present ? gpu : null, gl: webgl ? gl : null, threads, lanes: threads?.lanes ?? 1
|
|
1412
|
+
let workers = options.workers ?? workerCount(scope), threads = threaded ? await startEngineThreads(module, memory, instance.exports, workers, options.workerFactory) : null;
|
|
1413
|
+
return { exports, memory, symbols: instance.exports, gpu: present ? gpu : null, gl: webgl ? gl : null, threads, lanes: threads?.lanes ?? 1 };
|
|
1418
1414
|
}
|
|
1419
1415
|
async function wasmPlatformEngine(source, options = {}) {
|
|
1420
1416
|
return enginePlatformOf(await loadEngineRuntime(source, options));
|
|
1421
1417
|
}
|
|
1422
1418
|
function enginePlatformOf(runtime) {
|
|
1423
|
-
return { kind: "engine", runtime: { exports: runtime.symbols, memory: runtime.memory, gpu: runtime.gpu, gl: runtime.gl
|
|
1419
|
+
return { kind: "engine", runtime: { exports: runtime.symbols, memory: runtime.memory, gpu: runtime.gpu, gl: runtime.gl } };
|
|
1424
1420
|
}
|
|
1425
1421
|
function engineDeterminismDigest(runtime, seed, steps) {
|
|
1426
1422
|
let out = runtime.exports.engine_alloc(U64_BYTES, U64_BYTES);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { JOINT_AXES, POSE_STRIDE, NO_PARENT } from './chunk-
|
|
2
|
-
import { VECTOR_SURFACE_CAPS, VECTOR_SURFACE_TIERS, FftAnalyser } from './chunk-
|
|
3
|
-
import { OCCLUSION_WORDS, MUSIC_POSITION_WORDS, MAX_STEMS, SPATIAL_WORDS, EMITTER_COLUMNS, METER_PEAK, METER_RMS, detuneRate, ANALYSER_FREQUENCY, AUDIO_PREVIEW_SUFFIX, DEFAULT_PRIORITY, PRIORITY_MASK, PLAY_PRIORITY_SHIFT, PHRASE_QUANTIZE_SHIFT } from './chunk-
|
|
4
|
-
import { COLUMN_ALIGN, ERROR_UNSUPPORTED, ERROR_UNKNOWN_RESOURCE, ERROR_DEAD_ENTITY, ERROR_CAPACITY_EXCEEDED } from './chunk-
|
|
1
|
+
import { JOINT_AXES, POSE_STRIDE, NO_PARENT } from './chunk-NHJUGZUR.mjs';
|
|
2
|
+
import { VECTOR_SURFACE_CAPS, VECTOR_SURFACE_TIERS, FftAnalyser } from './chunk-E65WCTIG.mjs';
|
|
3
|
+
import { OCCLUSION_WORDS, MUSIC_POSITION_WORDS, MAX_STEMS, SPATIAL_WORDS, EMITTER_COLUMNS, METER_PEAK, METER_RMS, detuneRate, ANALYSER_FREQUENCY, AUDIO_PREVIEW_SUFFIX, DEFAULT_PRIORITY, PRIORITY_MASK, PLAY_PRIORITY_SHIFT, PHRASE_QUANTIZE_SHIFT } from './chunk-5YFBGGCK.mjs';
|
|
4
|
+
import { COLUMN_ALIGN, ERROR_UNSUPPORTED, ERROR_UNKNOWN_RESOURCE, ERROR_DEAD_ENTITY, ERROR_CAPACITY_EXCEEDED } from './chunk-A33OORT7.mjs';
|
|
5
5
|
import { GameError } from './chunk-XJIHN3BY.mjs';
|
|
6
6
|
|
|
7
7
|
// src/game/backends/engine/vector-surfaces.ts
|