@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,7 +1,7 @@
|
|
|
1
|
-
import { G as Game, S as SeededRandom, R as RoomTransport } from './game-
|
|
2
|
-
import { F as FrameTime } from './backend-
|
|
3
|
-
import { G as GameScene } from './fluid-
|
|
4
|
-
import { h as GenreTemplate } from './template-
|
|
1
|
+
import { G as Game, S as SeededRandom, R as RoomTransport } from './game-Bx8onkhX.mjs';
|
|
2
|
+
import { F as FrameTime } from './backend-gUCzs5Kg.mjs';
|
|
3
|
+
import { G as GameScene } from './fluid-DLlEj2cs.mjs';
|
|
4
|
+
import { h as GenreTemplate } from './template-AhCdB1kW.mjs';
|
|
5
5
|
|
|
6
6
|
declare const PITCH5: {
|
|
7
7
|
readonly halfLength: 15;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { G as Game, S as SeededRandom, R as RoomTransport } from './game-
|
|
2
|
-
import { F as FrameTime } from './backend-
|
|
3
|
-
import { G as GameScene } from './fluid-
|
|
4
|
-
import { h as GenreTemplate } from './template-
|
|
1
|
+
import { G as Game, S as SeededRandom, R as RoomTransport } from './game-fgQy2YIm.js';
|
|
2
|
+
import { F as FrameTime } from './backend-gUCzs5Kg.js';
|
|
3
|
+
import { G as GameScene } from './fluid-ARr0qUIL.js';
|
|
4
|
+
import { h as GenreTemplate } from './template-BkEGVTQj.js';
|
|
5
5
|
|
|
6
6
|
declare const PITCH5: {
|
|
7
7
|
readonly halfLength: 15;
|
|
@@ -1,7 +1,100 @@
|
|
|
1
|
-
import { P as PrefetchLayer, c as PrefetchLayerDesc, d as PrefetchItemDesc, D as DespawnListener, W as World, T as Transforms, E as Entity,
|
|
2
|
-
import { f as Vec3Like,
|
|
1
|
+
import { P as PrefetchLayer, c as PrefetchLayerDesc, b as TableSchema, a as EntityTable, d as PrefetchItemDesc, D as DespawnListener, W as World, T as Transforms, E as Entity, C as ComponentType, e as Physics } from './world-PvILHDR1.js';
|
|
2
|
+
import { m as ClothPort, n as ClothInfo, i as GeometryId, f as Vec3Like, o as SceneryPort, p as GraphicsPort, q as GraphicsCapabilities, R as RawGpu, r as GameSurface, s as GeometryDesc, t as VertexData, u as TextureDesc, v as TextureId, b as AssetSource, w as TextureUpgrade, x as ModelId, y as ModelUpgrade, z as TextureRegion, H as VideoFrameSource, I as RenderTargetId, J as VectorAssetId, K as VectorSurfaceDesc, Q as VectorSurfaceId, N as NodeId, U as VectorSurfacePlay, W as VectorSurfaceSeek, X as VectorSurfacePhase, Y as VectorSurfaceEvent, Z as VectorSurfaceStats, _ as VectorSurfaceTier, k as MaterialDesc, j as MaterialId, $ as MaterialTextureSlot, a0 as MaterialStateDesc, E as EmitterDesc, a1 as EmitterId, a2 as ShadowParamsDesc, a3 as ViewOffset, a4 as GpuStats, a5 as NodeDesc, a6 as FontSource, a7 as FontId, a8 as TextStyleDesc, a9 as PickHit, aa as EnvironmentDesc, ab as RenderTargetDesc, ac as RenderPassId, ad as PostChainDesc, ae as PostChainId, af as WeatherState, ag as MediumDesc, ah as MediumVolume, ai as RenderPassDesc, aj as ModelInfo, ak as KitTint, al as ClipActionId, am as ClipAnimationPort, an as GraphicsStats, F as FrameTime, ao as FluidPort } from './backend-gUCzs5Kg.js';
|
|
3
3
|
import { N as NetworkHint, P as PrefetchDepth } from './network-ZXLD7l1b.js';
|
|
4
4
|
|
|
5
|
+
interface ClothOptions {
|
|
6
|
+
readonly mass?: number;
|
|
7
|
+
readonly stretch?: number;
|
|
8
|
+
readonly bend?: number;
|
|
9
|
+
readonly tetherSlack?: number;
|
|
10
|
+
readonly damping?: number;
|
|
11
|
+
readonly gravity?: Vec3Like;
|
|
12
|
+
readonly substeps?: number;
|
|
13
|
+
readonly thickness?: number;
|
|
14
|
+
readonly friction?: number;
|
|
15
|
+
readonly geometry?: GeometryId;
|
|
16
|
+
}
|
|
17
|
+
type ClothPinning = "none" | "top" | "corners";
|
|
18
|
+
type ClothShape = {
|
|
19
|
+
readonly grid: {
|
|
20
|
+
readonly columns: number;
|
|
21
|
+
readonly rows: number;
|
|
22
|
+
readonly spacing: number;
|
|
23
|
+
readonly origin: Vec3Like;
|
|
24
|
+
readonly across?: Vec3Like;
|
|
25
|
+
readonly down?: Vec3Like;
|
|
26
|
+
readonly pin?: ClothPinning;
|
|
27
|
+
readonly pins?: readonly number[];
|
|
28
|
+
};
|
|
29
|
+
} | {
|
|
30
|
+
readonly mesh: {
|
|
31
|
+
readonly positions: Float32Array;
|
|
32
|
+
readonly triangles: Uint32Array;
|
|
33
|
+
readonly pins?: Uint32Array;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
type ClothCollider = {
|
|
37
|
+
readonly sphere: {
|
|
38
|
+
readonly center: Vec3Like;
|
|
39
|
+
readonly radius: number;
|
|
40
|
+
};
|
|
41
|
+
} | {
|
|
42
|
+
readonly capsule: {
|
|
43
|
+
readonly a: Vec3Like;
|
|
44
|
+
readonly b: Vec3Like;
|
|
45
|
+
readonly radius: number;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
declare const CLOTH_DEFAULTS: {
|
|
49
|
+
readonly mass: 0.01;
|
|
50
|
+
readonly stretch: 1e-7;
|
|
51
|
+
readonly bend: 0.0001;
|
|
52
|
+
readonly tetherSlack: 0.05;
|
|
53
|
+
readonly damping: 0.5;
|
|
54
|
+
readonly gravity: {
|
|
55
|
+
readonly x: 0;
|
|
56
|
+
readonly y: -9.81;
|
|
57
|
+
readonly z: 0;
|
|
58
|
+
};
|
|
59
|
+
readonly substeps: 8;
|
|
60
|
+
readonly thickness: 0.005;
|
|
61
|
+
readonly friction: 0.2;
|
|
62
|
+
};
|
|
63
|
+
declare class ClothSheet {
|
|
64
|
+
private readonly port;
|
|
65
|
+
private readonly info;
|
|
66
|
+
readonly particles: number;
|
|
67
|
+
readonly triangles: number;
|
|
68
|
+
readonly pins: number;
|
|
69
|
+
private geometry;
|
|
70
|
+
private disposed;
|
|
71
|
+
constructor(port: ClothPort, info: ClothInfo, geometry: GeometryId | null);
|
|
72
|
+
get id(): number;
|
|
73
|
+
get engineHost(): number | null;
|
|
74
|
+
positions(): Float32Array;
|
|
75
|
+
attach(geometry: GeometryId | null): void;
|
|
76
|
+
setOptions(options: ClothOptions): void;
|
|
77
|
+
setAnchors(anchors: Float32Array): void;
|
|
78
|
+
present(): number;
|
|
79
|
+
dispose(): void;
|
|
80
|
+
}
|
|
81
|
+
declare class Cloths {
|
|
82
|
+
readonly port: ClothPort;
|
|
83
|
+
private readonly sheets;
|
|
84
|
+
private readonly block;
|
|
85
|
+
constructor(port: ClothPort);
|
|
86
|
+
create(shape: ClothShape, options?: ClothOptions): ClothSheet;
|
|
87
|
+
remove(sheet: ClothSheet): void;
|
|
88
|
+
setColliders(colliders: readonly ClothCollider[]): void;
|
|
89
|
+
couple(collider: number): number;
|
|
90
|
+
uncouple(slot: number): void;
|
|
91
|
+
get count(): number;
|
|
92
|
+
step(seconds: number): void;
|
|
93
|
+
present(): void;
|
|
94
|
+
digest(): bigint;
|
|
95
|
+
dispose(): void;
|
|
96
|
+
}
|
|
97
|
+
|
|
5
98
|
interface ReachGrid {
|
|
6
99
|
readonly cellSize: number;
|
|
7
100
|
readonly origin: readonly [number, number];
|
|
@@ -239,6 +332,47 @@ interface SceneryLoadOptions {
|
|
|
239
332
|
readonly assets?: SceneryAssetReader;
|
|
240
333
|
/** Bytes of lazily delivered chunks kept in the guest after the engine copied them (default 8 MiB). */
|
|
241
334
|
readonly cacheBytes?: number;
|
|
335
|
+
/** Region names from the bake report (`splats.json` regions), so `edit` and `drape` take names as well as numbers. */
|
|
336
|
+
readonly regions?: Readonly<Record<string, number>>;
|
|
337
|
+
/** Deformed splats allowed at each device tier, full to minimum. At a zero, a body asks for the stand-in and moving scenery holds still at its rest pose. */
|
|
338
|
+
readonly heroBudget?: readonly [number, number, number];
|
|
339
|
+
/** Shown while the device tier cannot afford this body: a mesh, a video or anything the caller owns. Moving scenery never needs one. */
|
|
340
|
+
readonly standIn?: SceneryStandIn;
|
|
341
|
+
}
|
|
342
|
+
interface SceneryStandIn {
|
|
343
|
+
show(): void;
|
|
344
|
+
hide(): void;
|
|
345
|
+
}
|
|
346
|
+
/** A colour and material edit applied to one baked region. Hue is in radians; saturation and gain scale from 1. */
|
|
347
|
+
interface SceneryEdit {
|
|
348
|
+
readonly hue?: number;
|
|
349
|
+
readonly saturation?: number;
|
|
350
|
+
readonly gain?: number;
|
|
351
|
+
}
|
|
352
|
+
interface SceneryMotionOptions<S extends TableSchema> {
|
|
353
|
+
/** The table the kernel runs over. Its capacity must hold `Scenery.motionRows` splats. */
|
|
354
|
+
readonly table: EntityTable<S>;
|
|
355
|
+
/** Furthest any splat moves from its rest position, in metres. It widens the culling bounds. */
|
|
356
|
+
readonly reach: number;
|
|
357
|
+
/** Position offsets in metres in the body's own space. Used by default (`dx`, `dy`, `dz`) when no other channel is named. */
|
|
358
|
+
readonly offset?: readonly [string, string, string];
|
|
359
|
+
/** An extra rotation as a quaternion (x, y, z, w). A zero quaternion means no rotation. */
|
|
360
|
+
readonly rotation?: readonly [string, string, string, string];
|
|
361
|
+
/** Display-space colour added to each splat. */
|
|
362
|
+
readonly colour?: readonly [string, string, string];
|
|
363
|
+
/** Added to each splat's opacity, which then stays within 0 to 1. */
|
|
364
|
+
readonly opacity?: string;
|
|
365
|
+
/** Fields the engine fills with each splat's rest position when it arrives. */
|
|
366
|
+
readonly rest?: readonly [string, string, string];
|
|
367
|
+
}
|
|
368
|
+
interface SceneryDrapeOptions {
|
|
369
|
+
/** The baked mesh's vertices (x, y, z each), in the body's own space. Without it the cloth's starting mesh is taken, with the body's place when `drape` is called. */
|
|
370
|
+
readonly rest?: Float32Array;
|
|
371
|
+
}
|
|
372
|
+
interface SplatBodyOptions extends SceneryLoadOptions {
|
|
373
|
+
readonly manifest: ScenerySource;
|
|
374
|
+
/** The root node of a loaded model on the rig the body was baked against. Its animation mixer drives the pose. */
|
|
375
|
+
readonly rig: number;
|
|
242
376
|
}
|
|
243
377
|
interface QuatLike {
|
|
244
378
|
readonly x: number;
|
|
@@ -270,6 +404,13 @@ interface SceneryStats {
|
|
|
270
404
|
readonly poolFreePages: number;
|
|
271
405
|
readonly tier: number;
|
|
272
406
|
readonly updates: number;
|
|
407
|
+
/** Splats on deforming pages planned this frame, after the hero budget. */
|
|
408
|
+
readonly heroSplats: number;
|
|
409
|
+
/** Splats the hero budget removed this frame. */
|
|
410
|
+
readonly heroShed: number;
|
|
411
|
+
/** True while the tier's hero budget is zero and this scenery deforms. */
|
|
412
|
+
readonly standIn: boolean;
|
|
413
|
+
readonly deformedSplats: number;
|
|
273
414
|
}
|
|
274
415
|
declare const SCENERY_MANIFEST_MAGIC = 1297109827;
|
|
275
416
|
declare const SCENERY_MANIFEST_VERSION = 1;
|
|
@@ -362,7 +503,12 @@ declare class Scenery {
|
|
|
362
503
|
private readonly rowSphere;
|
|
363
504
|
private readonly flow;
|
|
364
505
|
private closed;
|
|
365
|
-
|
|
506
|
+
private readonly editValues;
|
|
507
|
+
private readonly regionNames;
|
|
508
|
+
private readonly standInTarget;
|
|
509
|
+
private standing;
|
|
510
|
+
private kernel;
|
|
511
|
+
constructor(port: SceneryPort, handle: number, manifest: Manifest, chunkPaths: readonly string[], chunks: SceneryChunks, owner: GraphicsScenery, options?: SceneryLoadOptions);
|
|
366
512
|
private tier;
|
|
367
513
|
get prefetcher(): StreamPredictor | null;
|
|
368
514
|
stream(prefetch: GamePrefetch): void;
|
|
@@ -371,6 +517,22 @@ declare class Scenery {
|
|
|
371
517
|
get removed(): boolean;
|
|
372
518
|
/** Places the scenery in the world: translation, rotation (normalised by the engine) and a uniform scale above zero. */
|
|
373
519
|
setTransform(position: Vec3Like, rotation?: QuatLike, scale?: number): void;
|
|
520
|
+
private bodyPort;
|
|
521
|
+
private regionOf;
|
|
522
|
+
/** Recolours one baked region without recapture: hue in radians, saturation and gain as multipliers. */
|
|
523
|
+
edit(region: number | string, edit: SceneryEdit): void;
|
|
524
|
+
/** Drives this body from a model's pose on the rig it was baked against; null returns it to rest. Throws when the rig differs. */
|
|
525
|
+
bind(rig: number | null): void;
|
|
526
|
+
/** Splats in garment region `region` follow `cloth`, which must use the mesh the region was baked with. It may be called at any point in the cloth's run. */
|
|
527
|
+
drape(cloth: ClothSheet, region: number | string, options?: SceneryDrapeOptions): void;
|
|
528
|
+
/** Rows a motion table needs: one for every splat in the manifest, across all levels of detail. */
|
|
529
|
+
get motionRows(): number;
|
|
530
|
+
/**
|
|
531
|
+
* Runs a per-splat program. `kernel` is called once a frame, normally `() => game.kernels.run(wave, table, time)`;
|
|
532
|
+
* the engine reads what it writes before deforming, and pays only for the channels named here. Pass null to stop.
|
|
533
|
+
*/
|
|
534
|
+
motion<S extends TableSchema>(kernel: ((table: EntityTable<S>) => void) | null, options?: SceneryMotionOptions<S>): void;
|
|
535
|
+
private follow;
|
|
374
536
|
/** Closes the scenery and frees its engine resources. Later calls on the handle do nothing. */
|
|
375
537
|
remove(): void;
|
|
376
538
|
update(eye: Float32Array): void;
|
|
@@ -400,6 +562,8 @@ declare class GraphicsScenery {
|
|
|
400
562
|
* Throws `unsupported_feature` when `supported` is false.
|
|
401
563
|
*/
|
|
402
564
|
load(source: ScenerySource, options?: SceneryLoadOptions): Promise<Scenery>;
|
|
565
|
+
/** Loads a splat body baked against a rig and binds it, so it follows that model's animation. */
|
|
566
|
+
splatBody(options: SplatBodyOptions): Promise<Scenery>;
|
|
403
567
|
private open;
|
|
404
568
|
/** Number of scenery handles currently loaded. */
|
|
405
569
|
get count(): number;
|
|
@@ -772,4 +936,4 @@ declare class Fluid {
|
|
|
772
936
|
dispose(): void;
|
|
773
937
|
}
|
|
774
938
|
|
|
775
|
-
export {
|
|
939
|
+
export { Scenery as $, type ReachNav as A, type BatchedDraw as B, Cloths as C, DEFAULT_HORIZONS as D, EntryState as E, type FluidMaterial as F, type GameScene as G, Renderable as H, type InstancedBatch as I, SCENERY_CHUNK_EXTENSION as J, SCENERY_LOAD_SHARE as K, SCENERY_MANIFEST_MAGIC as L, SCENERY_MANIFEST_VERSION as M, NEXT_SCENE_BUDGET as N, SCENERY_MANIFEST_VERSION_PARTS as O, type PrefetchAssets as P, type QuatLike as Q, type ReloadReport as R, SceneManager as S, SCENERY_NEED_SHARE as T, SCENERY_PART_COARSE as U, SCENERY_PART_FINE as V, SCENERY_PART_MIDDLE as W, SCENERY_PART_WHOLE as X, SCENERY_TIER_RADII as Y, ScenePrefetch as Z, type ScenePrefetchDesc as _, type GameSystem as a, type SceneryAssetReader as a0, type SceneryDrapeOptions as a1, type SceneryGrid as a2, type SceneryLoadOptions as a3, type SceneryManifest as a4, type SceneryMotionOptions as a5, type ScenerySource as a6, type SceneryStandIn as a7, type SceneryStats as a8, type SplatBodyOptions as a9, StreamPredictor as aa, parseSceneryManifest as ab, cone as ac, sceneryEntryRows as ad, sceneryFirstView as ae, sceneryPartDrawLevel as af, sceneryPartReach as ag, sceneryPrefetchItems as ah, sceneryTierRadii as ai, Graphics as b, type FluidGridDesc as c, type FluidDesc as d, type FluidEmitterDesc as e, GamePrefetch as f, Fluid as g, type ClothShape as h, type ClothOptions as i, ClothSheet as j, type GameReload as k, type PredictorOptions as l, type SceneryEdit as m, CLOTH_DEFAULTS as n, type ClothCollider as o, type ClothPinning as p, DEFAULT_PREFETCH_BUDGET as q, type FluidColliderOptions as r, type FluidLook as s, type FluidShape as t, GraphicsScenery as u, type PredictorStats as v, type PrefetchEye as w, PrefetchReach as x, type PrefetchStreamOptions as y, type ReachGrid as z };
|
|
@@ -1,7 +1,100 @@
|
|
|
1
|
-
import { P as PrefetchLayer, c as PrefetchLayerDesc, d as PrefetchItemDesc, D as DespawnListener, W as World, T as Transforms, E as Entity,
|
|
2
|
-
import { f as Vec3Like,
|
|
1
|
+
import { P as PrefetchLayer, c as PrefetchLayerDesc, b as TableSchema, a as EntityTable, d as PrefetchItemDesc, D as DespawnListener, W as World, T as Transforms, E as Entity, C as ComponentType, e as Physics } from './world-qekkXjJv.mjs';
|
|
2
|
+
import { m as ClothPort, n as ClothInfo, i as GeometryId, f as Vec3Like, o as SceneryPort, p as GraphicsPort, q as GraphicsCapabilities, R as RawGpu, r as GameSurface, s as GeometryDesc, t as VertexData, u as TextureDesc, v as TextureId, b as AssetSource, w as TextureUpgrade, x as ModelId, y as ModelUpgrade, z as TextureRegion, H as VideoFrameSource, I as RenderTargetId, J as VectorAssetId, K as VectorSurfaceDesc, Q as VectorSurfaceId, N as NodeId, U as VectorSurfacePlay, W as VectorSurfaceSeek, X as VectorSurfacePhase, Y as VectorSurfaceEvent, Z as VectorSurfaceStats, _ as VectorSurfaceTier, k as MaterialDesc, j as MaterialId, $ as MaterialTextureSlot, a0 as MaterialStateDesc, E as EmitterDesc, a1 as EmitterId, a2 as ShadowParamsDesc, a3 as ViewOffset, a4 as GpuStats, a5 as NodeDesc, a6 as FontSource, a7 as FontId, a8 as TextStyleDesc, a9 as PickHit, aa as EnvironmentDesc, ab as RenderTargetDesc, ac as RenderPassId, ad as PostChainDesc, ae as PostChainId, af as WeatherState, ag as MediumDesc, ah as MediumVolume, ai as RenderPassDesc, aj as ModelInfo, ak as KitTint, al as ClipActionId, am as ClipAnimationPort, an as GraphicsStats, F as FrameTime, ao as FluidPort } from './backend-gUCzs5Kg.mjs';
|
|
3
3
|
import { N as NetworkHint, P as PrefetchDepth } from './network-ZXLD7l1b.mjs';
|
|
4
4
|
|
|
5
|
+
interface ClothOptions {
|
|
6
|
+
readonly mass?: number;
|
|
7
|
+
readonly stretch?: number;
|
|
8
|
+
readonly bend?: number;
|
|
9
|
+
readonly tetherSlack?: number;
|
|
10
|
+
readonly damping?: number;
|
|
11
|
+
readonly gravity?: Vec3Like;
|
|
12
|
+
readonly substeps?: number;
|
|
13
|
+
readonly thickness?: number;
|
|
14
|
+
readonly friction?: number;
|
|
15
|
+
readonly geometry?: GeometryId;
|
|
16
|
+
}
|
|
17
|
+
type ClothPinning = "none" | "top" | "corners";
|
|
18
|
+
type ClothShape = {
|
|
19
|
+
readonly grid: {
|
|
20
|
+
readonly columns: number;
|
|
21
|
+
readonly rows: number;
|
|
22
|
+
readonly spacing: number;
|
|
23
|
+
readonly origin: Vec3Like;
|
|
24
|
+
readonly across?: Vec3Like;
|
|
25
|
+
readonly down?: Vec3Like;
|
|
26
|
+
readonly pin?: ClothPinning;
|
|
27
|
+
readonly pins?: readonly number[];
|
|
28
|
+
};
|
|
29
|
+
} | {
|
|
30
|
+
readonly mesh: {
|
|
31
|
+
readonly positions: Float32Array;
|
|
32
|
+
readonly triangles: Uint32Array;
|
|
33
|
+
readonly pins?: Uint32Array;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
type ClothCollider = {
|
|
37
|
+
readonly sphere: {
|
|
38
|
+
readonly center: Vec3Like;
|
|
39
|
+
readonly radius: number;
|
|
40
|
+
};
|
|
41
|
+
} | {
|
|
42
|
+
readonly capsule: {
|
|
43
|
+
readonly a: Vec3Like;
|
|
44
|
+
readonly b: Vec3Like;
|
|
45
|
+
readonly radius: number;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
declare const CLOTH_DEFAULTS: {
|
|
49
|
+
readonly mass: 0.01;
|
|
50
|
+
readonly stretch: 1e-7;
|
|
51
|
+
readonly bend: 0.0001;
|
|
52
|
+
readonly tetherSlack: 0.05;
|
|
53
|
+
readonly damping: 0.5;
|
|
54
|
+
readonly gravity: {
|
|
55
|
+
readonly x: 0;
|
|
56
|
+
readonly y: -9.81;
|
|
57
|
+
readonly z: 0;
|
|
58
|
+
};
|
|
59
|
+
readonly substeps: 8;
|
|
60
|
+
readonly thickness: 0.005;
|
|
61
|
+
readonly friction: 0.2;
|
|
62
|
+
};
|
|
63
|
+
declare class ClothSheet {
|
|
64
|
+
private readonly port;
|
|
65
|
+
private readonly info;
|
|
66
|
+
readonly particles: number;
|
|
67
|
+
readonly triangles: number;
|
|
68
|
+
readonly pins: number;
|
|
69
|
+
private geometry;
|
|
70
|
+
private disposed;
|
|
71
|
+
constructor(port: ClothPort, info: ClothInfo, geometry: GeometryId | null);
|
|
72
|
+
get id(): number;
|
|
73
|
+
get engineHost(): number | null;
|
|
74
|
+
positions(): Float32Array;
|
|
75
|
+
attach(geometry: GeometryId | null): void;
|
|
76
|
+
setOptions(options: ClothOptions): void;
|
|
77
|
+
setAnchors(anchors: Float32Array): void;
|
|
78
|
+
present(): number;
|
|
79
|
+
dispose(): void;
|
|
80
|
+
}
|
|
81
|
+
declare class Cloths {
|
|
82
|
+
readonly port: ClothPort;
|
|
83
|
+
private readonly sheets;
|
|
84
|
+
private readonly block;
|
|
85
|
+
constructor(port: ClothPort);
|
|
86
|
+
create(shape: ClothShape, options?: ClothOptions): ClothSheet;
|
|
87
|
+
remove(sheet: ClothSheet): void;
|
|
88
|
+
setColliders(colliders: readonly ClothCollider[]): void;
|
|
89
|
+
couple(collider: number): number;
|
|
90
|
+
uncouple(slot: number): void;
|
|
91
|
+
get count(): number;
|
|
92
|
+
step(seconds: number): void;
|
|
93
|
+
present(): void;
|
|
94
|
+
digest(): bigint;
|
|
95
|
+
dispose(): void;
|
|
96
|
+
}
|
|
97
|
+
|
|
5
98
|
interface ReachGrid {
|
|
6
99
|
readonly cellSize: number;
|
|
7
100
|
readonly origin: readonly [number, number];
|
|
@@ -239,6 +332,47 @@ interface SceneryLoadOptions {
|
|
|
239
332
|
readonly assets?: SceneryAssetReader;
|
|
240
333
|
/** Bytes of lazily delivered chunks kept in the guest after the engine copied them (default 8 MiB). */
|
|
241
334
|
readonly cacheBytes?: number;
|
|
335
|
+
/** Region names from the bake report (`splats.json` regions), so `edit` and `drape` take names as well as numbers. */
|
|
336
|
+
readonly regions?: Readonly<Record<string, number>>;
|
|
337
|
+
/** Deformed splats allowed at each device tier, full to minimum. At a zero, a body asks for the stand-in and moving scenery holds still at its rest pose. */
|
|
338
|
+
readonly heroBudget?: readonly [number, number, number];
|
|
339
|
+
/** Shown while the device tier cannot afford this body: a mesh, a video or anything the caller owns. Moving scenery never needs one. */
|
|
340
|
+
readonly standIn?: SceneryStandIn;
|
|
341
|
+
}
|
|
342
|
+
interface SceneryStandIn {
|
|
343
|
+
show(): void;
|
|
344
|
+
hide(): void;
|
|
345
|
+
}
|
|
346
|
+
/** A colour and material edit applied to one baked region. Hue is in radians; saturation and gain scale from 1. */
|
|
347
|
+
interface SceneryEdit {
|
|
348
|
+
readonly hue?: number;
|
|
349
|
+
readonly saturation?: number;
|
|
350
|
+
readonly gain?: number;
|
|
351
|
+
}
|
|
352
|
+
interface SceneryMotionOptions<S extends TableSchema> {
|
|
353
|
+
/** The table the kernel runs over. Its capacity must hold `Scenery.motionRows` splats. */
|
|
354
|
+
readonly table: EntityTable<S>;
|
|
355
|
+
/** Furthest any splat moves from its rest position, in metres. It widens the culling bounds. */
|
|
356
|
+
readonly reach: number;
|
|
357
|
+
/** Position offsets in metres in the body's own space. Used by default (`dx`, `dy`, `dz`) when no other channel is named. */
|
|
358
|
+
readonly offset?: readonly [string, string, string];
|
|
359
|
+
/** An extra rotation as a quaternion (x, y, z, w). A zero quaternion means no rotation. */
|
|
360
|
+
readonly rotation?: readonly [string, string, string, string];
|
|
361
|
+
/** Display-space colour added to each splat. */
|
|
362
|
+
readonly colour?: readonly [string, string, string];
|
|
363
|
+
/** Added to each splat's opacity, which then stays within 0 to 1. */
|
|
364
|
+
readonly opacity?: string;
|
|
365
|
+
/** Fields the engine fills with each splat's rest position when it arrives. */
|
|
366
|
+
readonly rest?: readonly [string, string, string];
|
|
367
|
+
}
|
|
368
|
+
interface SceneryDrapeOptions {
|
|
369
|
+
/** The baked mesh's vertices (x, y, z each), in the body's own space. Without it the cloth's starting mesh is taken, with the body's place when `drape` is called. */
|
|
370
|
+
readonly rest?: Float32Array;
|
|
371
|
+
}
|
|
372
|
+
interface SplatBodyOptions extends SceneryLoadOptions {
|
|
373
|
+
readonly manifest: ScenerySource;
|
|
374
|
+
/** The root node of a loaded model on the rig the body was baked against. Its animation mixer drives the pose. */
|
|
375
|
+
readonly rig: number;
|
|
242
376
|
}
|
|
243
377
|
interface QuatLike {
|
|
244
378
|
readonly x: number;
|
|
@@ -270,6 +404,13 @@ interface SceneryStats {
|
|
|
270
404
|
readonly poolFreePages: number;
|
|
271
405
|
readonly tier: number;
|
|
272
406
|
readonly updates: number;
|
|
407
|
+
/** Splats on deforming pages planned this frame, after the hero budget. */
|
|
408
|
+
readonly heroSplats: number;
|
|
409
|
+
/** Splats the hero budget removed this frame. */
|
|
410
|
+
readonly heroShed: number;
|
|
411
|
+
/** True while the tier's hero budget is zero and this scenery deforms. */
|
|
412
|
+
readonly standIn: boolean;
|
|
413
|
+
readonly deformedSplats: number;
|
|
273
414
|
}
|
|
274
415
|
declare const SCENERY_MANIFEST_MAGIC = 1297109827;
|
|
275
416
|
declare const SCENERY_MANIFEST_VERSION = 1;
|
|
@@ -362,7 +503,12 @@ declare class Scenery {
|
|
|
362
503
|
private readonly rowSphere;
|
|
363
504
|
private readonly flow;
|
|
364
505
|
private closed;
|
|
365
|
-
|
|
506
|
+
private readonly editValues;
|
|
507
|
+
private readonly regionNames;
|
|
508
|
+
private readonly standInTarget;
|
|
509
|
+
private standing;
|
|
510
|
+
private kernel;
|
|
511
|
+
constructor(port: SceneryPort, handle: number, manifest: Manifest, chunkPaths: readonly string[], chunks: SceneryChunks, owner: GraphicsScenery, options?: SceneryLoadOptions);
|
|
366
512
|
private tier;
|
|
367
513
|
get prefetcher(): StreamPredictor | null;
|
|
368
514
|
stream(prefetch: GamePrefetch): void;
|
|
@@ -371,6 +517,22 @@ declare class Scenery {
|
|
|
371
517
|
get removed(): boolean;
|
|
372
518
|
/** Places the scenery in the world: translation, rotation (normalised by the engine) and a uniform scale above zero. */
|
|
373
519
|
setTransform(position: Vec3Like, rotation?: QuatLike, scale?: number): void;
|
|
520
|
+
private bodyPort;
|
|
521
|
+
private regionOf;
|
|
522
|
+
/** Recolours one baked region without recapture: hue in radians, saturation and gain as multipliers. */
|
|
523
|
+
edit(region: number | string, edit: SceneryEdit): void;
|
|
524
|
+
/** Drives this body from a model's pose on the rig it was baked against; null returns it to rest. Throws when the rig differs. */
|
|
525
|
+
bind(rig: number | null): void;
|
|
526
|
+
/** Splats in garment region `region` follow `cloth`, which must use the mesh the region was baked with. It may be called at any point in the cloth's run. */
|
|
527
|
+
drape(cloth: ClothSheet, region: number | string, options?: SceneryDrapeOptions): void;
|
|
528
|
+
/** Rows a motion table needs: one for every splat in the manifest, across all levels of detail. */
|
|
529
|
+
get motionRows(): number;
|
|
530
|
+
/**
|
|
531
|
+
* Runs a per-splat program. `kernel` is called once a frame, normally `() => game.kernels.run(wave, table, time)`;
|
|
532
|
+
* the engine reads what it writes before deforming, and pays only for the channels named here. Pass null to stop.
|
|
533
|
+
*/
|
|
534
|
+
motion<S extends TableSchema>(kernel: ((table: EntityTable<S>) => void) | null, options?: SceneryMotionOptions<S>): void;
|
|
535
|
+
private follow;
|
|
374
536
|
/** Closes the scenery and frees its engine resources. Later calls on the handle do nothing. */
|
|
375
537
|
remove(): void;
|
|
376
538
|
update(eye: Float32Array): void;
|
|
@@ -400,6 +562,8 @@ declare class GraphicsScenery {
|
|
|
400
562
|
* Throws `unsupported_feature` when `supported` is false.
|
|
401
563
|
*/
|
|
402
564
|
load(source: ScenerySource, options?: SceneryLoadOptions): Promise<Scenery>;
|
|
565
|
+
/** Loads a splat body baked against a rig and binds it, so it follows that model's animation. */
|
|
566
|
+
splatBody(options: SplatBodyOptions): Promise<Scenery>;
|
|
403
567
|
private open;
|
|
404
568
|
/** Number of scenery handles currently loaded. */
|
|
405
569
|
get count(): number;
|
|
@@ -772,4 +936,4 @@ declare class Fluid {
|
|
|
772
936
|
dispose(): void;
|
|
773
937
|
}
|
|
774
938
|
|
|
775
|
-
export {
|
|
939
|
+
export { Scenery as $, type ReachNav as A, type BatchedDraw as B, Cloths as C, DEFAULT_HORIZONS as D, EntryState as E, type FluidMaterial as F, type GameScene as G, Renderable as H, type InstancedBatch as I, SCENERY_CHUNK_EXTENSION as J, SCENERY_LOAD_SHARE as K, SCENERY_MANIFEST_MAGIC as L, SCENERY_MANIFEST_VERSION as M, NEXT_SCENE_BUDGET as N, SCENERY_MANIFEST_VERSION_PARTS as O, type PrefetchAssets as P, type QuatLike as Q, type ReloadReport as R, SceneManager as S, SCENERY_NEED_SHARE as T, SCENERY_PART_COARSE as U, SCENERY_PART_FINE as V, SCENERY_PART_MIDDLE as W, SCENERY_PART_WHOLE as X, SCENERY_TIER_RADII as Y, ScenePrefetch as Z, type ScenePrefetchDesc as _, type GameSystem as a, type SceneryAssetReader as a0, type SceneryDrapeOptions as a1, type SceneryGrid as a2, type SceneryLoadOptions as a3, type SceneryManifest as a4, type SceneryMotionOptions as a5, type ScenerySource as a6, type SceneryStandIn as a7, type SceneryStats as a8, type SplatBodyOptions as a9, StreamPredictor as aa, parseSceneryManifest as ab, cone as ac, sceneryEntryRows as ad, sceneryFirstView as ae, sceneryPartDrawLevel as af, sceneryPartReach as ag, sceneryPrefetchItems as ah, sceneryTierRadii as ai, Graphics as b, type FluidGridDesc as c, type FluidDesc as d, type FluidEmitterDesc as e, GamePrefetch as f, Fluid as g, type ClothShape as h, type ClothOptions as i, ClothSheet as j, type GameReload as k, type PredictorOptions as l, type SceneryEdit as m, CLOTH_DEFAULTS as n, type ClothCollider as o, type ClothPinning as p, DEFAULT_PREFETCH_BUDGET as q, type FluidColliderOptions as r, type FluidLook as s, type FluidShape as t, GraphicsScenery as u, type PredictorStats as v, type PrefetchEye as w, PrefetchReach as x, type PrefetchStreamOptions as y, type ReachGrid as z };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { G as GameBackend } from '../backend-
|
|
1
|
+
import { G as GameBackend } from '../backend-gUCzs5Kg.mjs';
|
|
2
2
|
import { HeapMeter, AllocationReport } from './heap.mjs';
|
|
3
3
|
export { AllocationSite, collectGarbage, createNodeHeapMeter, measureAllocations, profileAllocationSites, warmUp } from './heap.mjs';
|
|
4
|
-
import { G as Game } from '../game-
|
|
5
|
-
import { h as GenreTemplate } from '../template-
|
|
6
|
-
import { G as GameScene } from '../fluid-
|
|
7
|
-
import '../local-
|
|
4
|
+
import { G as Game } from '../game-Bx8onkhX.mjs';
|
|
5
|
+
import { h as GenreTemplate } from '../template-AhCdB1kW.mjs';
|
|
6
|
+
import { G as GameScene } from '../fluid-DLlEj2cs.mjs';
|
|
7
|
+
import '../local-D8_I6UeL.mjs';
|
|
8
8
|
import '../link-BUTqGmyi.mjs';
|
|
9
9
|
import '../schema-BrWxzKp6.mjs';
|
|
10
10
|
import '../ui-DwHicuFv.mjs';
|
|
11
11
|
import '../vars-Dc_PrhBK.mjs';
|
|
12
12
|
import '../network-ZXLD7l1b.mjs';
|
|
13
|
-
import '../world-
|
|
13
|
+
import '../world-qekkXjJv.mjs';
|
|
14
14
|
import '../library-DXYaMFhi.mjs';
|
|
15
|
-
import '../audio-
|
|
15
|
+
import '../audio-DhvyjqdA.mjs';
|
|
16
16
|
import '../client-hTKbCuhG.mjs';
|
|
17
17
|
|
|
18
18
|
type MicrobenchName = "mat4Compose" | "slerp" | "transformPerEntity" | "queryPerEntity" | "codecField" | "raycast" | "physicsStepPerBody";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { G as GameBackend } from '../backend-
|
|
1
|
+
import { G as GameBackend } from '../backend-gUCzs5Kg.js';
|
|
2
2
|
import { HeapMeter, AllocationReport } from './heap.js';
|
|
3
3
|
export { AllocationSite, collectGarbage, createNodeHeapMeter, measureAllocations, profileAllocationSites, warmUp } from './heap.js';
|
|
4
|
-
import { G as Game } from '../game-
|
|
5
|
-
import { h as GenreTemplate } from '../template-
|
|
6
|
-
import { G as GameScene } from '../fluid-
|
|
7
|
-
import '../local-
|
|
4
|
+
import { G as Game } from '../game-fgQy2YIm.js';
|
|
5
|
+
import { h as GenreTemplate } from '../template-BkEGVTQj.js';
|
|
6
|
+
import { G as GameScene } from '../fluid-ARr0qUIL.js';
|
|
7
|
+
import '../local-VZkqsCzR.js';
|
|
8
8
|
import '../link-BUTqGmyi.js';
|
|
9
9
|
import '../schema-BrWxzKp6.js';
|
|
10
10
|
import '../ui-hi7S2YcH.js';
|
|
11
11
|
import '../vars-Dc_PrhBK.js';
|
|
12
12
|
import '../network-ZXLD7l1b.js';
|
|
13
|
-
import '../world-
|
|
13
|
+
import '../world-PvILHDR1.js';
|
|
14
14
|
import '../library-DXYaMFhi.js';
|
|
15
|
-
import '../audio-
|
|
15
|
+
import '../audio-m0w8cnxq.js';
|
|
16
16
|
import '../client-Dytx_ZTC.js';
|
|
17
17
|
|
|
18
18
|
type MicrobenchName = "mat4Compose" | "slerp" | "transformPerEntity" | "queryPerEntity" | "codecField" | "raycast" | "physicsStepPerBody";
|