@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 chunkEQUZYCGO_js = require('./chunk-EQUZYCGO.js');
|
|
4
|
+
var chunk52YS45RR_js = require('./chunk-52YS45RR.js');
|
|
5
5
|
var chunkNYWNA5CF_js = require('./chunk-NYWNA5CF.js');
|
|
6
6
|
var chunkYV52DGSA_js = require('./chunk-YV52DGSA.js');
|
|
7
|
-
var
|
|
7
|
+
var chunk3S6WPBZL_js = require('./chunk-3S6WPBZL.js');
|
|
8
8
|
var chunkG3EEC44R_js = require('./chunk-G3EEC44R.js');
|
|
9
9
|
var chunkMRFUNRAP_js = require('./chunk-MRFUNRAP.js');
|
|
10
10
|
var chunkYXGZQPUD_js = require('./chunk-YXGZQPUD.js');
|
|
@@ -20,9 +20,9 @@ var ANIM_AIR = 0, ANIM_CROUCH = 1, ANIM_SPEED = 2, ANIM_PELVIS_OFFSET = 3, SENT_
|
|
|
20
20
|
this.footPoses = new Float64Array((2) * 7);
|
|
21
21
|
this.port = port, this.motor = motor, this.transforms = transforms, this.locomotion = options.locomotion, this.directional = options.directional ?? false, this.crouch = options.crouch ?? null, this.air = options.air ?? null, this.sharpness = options.blendSharpness ?? (12), this.foot = options.footIk ?? null, this.spacing = this.foot?.spacing ?? (0.12), this.ankle = this.foot?.ankleHeight ?? (0.08), this.reach = this.foot?.reach ?? (0.5), this.motion = options.rootMotion ?? null, this.headingOffset = options.modelForward === -1 ? Math.PI : 0, this.ray.direction.set(0, -1, 0);
|
|
22
22
|
let foot = this.foot, leftOptions = foot?.leftContact ?? null, rightOptions = foot?.rightContact ?? null, contactPort = leftOptions !== null || rightOptions !== null ? contactPortOf(port) : null;
|
|
23
|
-
this.leftContact = contactPort !== null && leftOptions !== null && foot !== null ? new
|
|
23
|
+
this.leftContact = contactPort !== null && leftOptions !== null && foot !== null ? new chunk52YS45RR_js.FootContact(contactPort, leftOptions, foot) : null, this.rightContact = contactPort !== null && rightOptions !== null && foot !== null ? new chunk52YS45RR_js.FootContact(contactPort, rightOptions, foot) : null;
|
|
24
24
|
let needsEvents = (leftOptions?.footDown ?? null) !== null || (rightOptions?.footDown ?? null) !== null;
|
|
25
|
-
if (this.ownsEvents = needsEvents && !foot?.events, this.events = needsEvents ? foot?.events ?? new
|
|
25
|
+
if (this.ownsEvents = needsEvents && !foot?.events, this.events = needsEvents ? foot?.events ?? new chunk52YS45RR_js.ClipEventReader() : null, this.feet = foot?.feet ?? null, this.feet !== null && port.readBonePoses === void 0)
|
|
26
26
|
throw new chunk2V7IL4HC_js.GameError("invalid_argument", "foot bones need a port with readBonePoses");
|
|
27
27
|
let s = this.state;
|
|
28
28
|
for (let i = (4); i <= (9); i++) s[i] = Number.NaN;
|
|
@@ -30,11 +30,11 @@ var ANIM_AIR = 0, ANIM_CROUCH = 1, ANIM_SPEED = 2, ANIM_PELVIS_OFFSET = 3, SENT_
|
|
|
30
30
|
}
|
|
31
31
|
update(clock) {
|
|
32
32
|
let s = this.state, motor = this.motor, m = motor.state, k = 1 - Math.exp(-this.sharpness * clock[chunkYXGZQPUD_js.FRAME_SECONDS_SLOT]);
|
|
33
|
-
s[(0)] += ((motor.grounded ? 0 : 1) - s[(0)]) * k, s[(1)] = m[
|
|
34
|
-
let ground = 1 - s[(0)], crouch = this.crouch === null ? 0 : s[(1)], heading = m[
|
|
33
|
+
s[(0)] += ((motor.grounded ? 0 : 1) - s[(0)]) * k, s[(1)] = m[chunk52YS45RR_js.CHAR_CROUCH], s[(2)] += (m[chunk52YS45RR_js.CHAR_SPEED_NORMALIZED] - s[(2)]) * k;
|
|
34
|
+
let ground = 1 - s[(0)], crouch = this.crouch === null ? 0 : s[(1)], heading = m[chunk52YS45RR_js.CHAR_HEADING];
|
|
35
35
|
if (this.directional) {
|
|
36
36
|
let c = Math.cos(heading), n = Math.sin(heading), scale = motor.runSpeed > 0 ? 1 / motor.runSpeed : 0;
|
|
37
|
-
s[(10)] = (m[
|
|
37
|
+
s[(10)] = (m[chunk52YS45RR_js.CHAR_VX] * c - m[chunk52YS45RR_js.CHAR_VZ] * n) * scale, s[(11)] = (m[chunk52YS45RR_js.CHAR_VX] * n + m[chunk52YS45RR_js.CHAR_VZ] * c) * scale;
|
|
38
38
|
} else
|
|
39
39
|
s[(10)] = s[(2)], s[(11)] = 0;
|
|
40
40
|
s[(12)] = ground * (1 - crouch), s[(13)] = ground * crouch, this.sendLocomotion(), this.crouch !== null && this.sendCrouch(), this.air !== null && this.sendAir(), this.motion !== null && this.readRoot(), this.foot !== null && (s[(27)] = clock[chunkYXGZQPUD_js.FRAME_SECONDS_SLOT], this.alignFeet());
|
|
@@ -60,8 +60,8 @@ var ANIM_AIR = 0, ANIM_CROUCH = 1, ANIM_SPEED = 2, ANIM_PELVIS_OFFSET = 3, SENT_
|
|
|
60
60
|
readRoot() {
|
|
61
61
|
let r = this.root, s = this.state;
|
|
62
62
|
this.port.readRootMotion(this.motion, r, 0);
|
|
63
|
-
let angle = this.motor.state[
|
|
64
|
-
s[(19) +
|
|
63
|
+
let angle = this.motor.state[chunk52YS45RR_js.CHAR_HEADING] + this.headingOffset, c = Math.cos(angle), n = Math.sin(angle);
|
|
64
|
+
s[(19) + chunk52YS45RR_js.ROOT_IO_DX] = r[(0)] * c + r[(2)] * n, s[(19) + chunk52YS45RR_js.ROOT_IO_DZ] = -r[(0)] * n + r[(2)] * c, s[(19) + chunk52YS45RR_js.ROOT_IO_YAW] = r[(3)], this.motor.addRootMotionFrom(s, (19));
|
|
65
65
|
}
|
|
66
66
|
alignFeet() {
|
|
67
67
|
let foot = this.foot, s = this.state, events = this.events;
|
|
@@ -72,7 +72,7 @@ var ANIM_AIR = 0, ANIM_CROUCH = 1, ANIM_SPEED = 2, ANIM_PELVIS_OFFSET = 3, SENT_
|
|
|
72
72
|
s[(3)] = low < 0 ? low * s[(12)] : 0;
|
|
73
73
|
}
|
|
74
74
|
footTarget(foot, chain, side, contact, pose) {
|
|
75
|
-
let s = this.state, motor = this.motor, heading = motor.state[
|
|
75
|
+
let s = this.state, motor = this.motor, heading = motor.state[chunk52YS45RR_js.CHAR_HEADING], positions = this.transforms.store.fields.position, o = this.transforms.row(motor.entity) * 3, y = positions[o + 1];
|
|
76
76
|
this.feet !== null ? (s[(14)] = this.footPoses[pose], s[(16)] = this.footPoses[pose + (2)]) : (s[(14)] = positions[o] + Math.cos(heading) * this.spacing * side, s[(16)] = positions[o + 2] - Math.sin(heading) * this.spacing * side);
|
|
77
77
|
let ray = this.ray, origin = ray.origin;
|
|
78
78
|
origin.x = s[(14)], origin.y = y + this.reach, origin.z = s[(16)], ray.maxDistance = this.reach * 2, ray.excludeCollider = motor.collider;
|
|
@@ -103,7 +103,7 @@ var ChaseCamera = class {
|
|
|
103
103
|
constructor(physics, transforms, camera, subject, options = {}) {
|
|
104
104
|
this.state = new Float64Array(STATE_WORDS2);
|
|
105
105
|
this.initialised = false;
|
|
106
|
-
this.transforms = transforms, this.camera = camera, this.subject = subject, this.boom = new chunkNYWNA5CF_js.CameraBoom(physics, options), this.distance = options.distance ?? (6), this.lookHeight = options.lookHeight ?? (1.6), this.pitch = options.pitch ?? (-0.22), this.speedForEffects = options.speedForEffects ?? (22), this.distanceGain = options.distanceGain ?? (0.18), this.fov = options.fov ?? (62), this.speedFovKick = options.speedFovKick ?? (10), this.followSharpness = options.followSharpness ?? (14), this.yawSharpness = options.yawSharpness ?? (3.5), this.lookReturnDelay = options.lookReturnDelay ?? (1.2), this.lookReturnSharpness = options.lookReturnSharpness ?? (3), this.recoverSharpness = options.recoverSharpness ?? (3.5), this.lookSensitivity = options.lookSensitivity ??
|
|
106
|
+
this.transforms = transforms, this.camera = camera, this.subject = subject, this.boom = new chunkNYWNA5CF_js.CameraBoom(physics, options), this.distance = options.distance ?? (6), this.lookHeight = options.lookHeight ?? (1.6), this.pitch = options.pitch ?? (-0.22), this.speedForEffects = options.speedForEffects ?? (22), this.distanceGain = options.distanceGain ?? (0.18), this.fov = options.fov ?? (62), this.speedFovKick = options.speedFovKick ?? (10), this.followSharpness = options.followSharpness ?? (14), this.yawSharpness = options.yawSharpness ?? (3.5), this.lookReturnDelay = options.lookReturnDelay ?? (1.2), this.lookReturnSharpness = options.lookReturnSharpness ?? (3), this.recoverSharpness = options.recoverSharpness ?? (3.5), this.lookSensitivity = options.lookSensitivity ?? chunk52YS45RR_js.DEFAULT_LOOK_SENSITIVITY, this.gamepadLookSpeed = options.gamepadLookSpeed ?? chunk52YS45RR_js.DEFAULT_GAMEPAD_LOOK_SPEED, this.invertY = options.invertY ?? false, this.lens = new chunkNYWNA5CF_js.LensDriver(options.lens ?? null), this.state[(5)] = this.distance, this.state[(6)] = this.fov;
|
|
107
107
|
}
|
|
108
108
|
look(delta) {
|
|
109
109
|
this.state[(12)] += delta.x, this.state[(13)] += delta.y;
|
|
@@ -152,7 +152,7 @@ var VIEW_X = 0, VIEW_Y = 1, VIEW_Z = 2, VIEW_YAW = 3, VIEW_PITCH = 4, VIEW_BOB_P
|
|
|
152
152
|
constructor(transforms, camera, subject, options = {}) {
|
|
153
153
|
this.state = new Float64Array((18));
|
|
154
154
|
this.landings = 0;
|
|
155
|
-
this.transforms = transforms, this.camera = camera, this.subject = subject, this.eyeHeight = options.eyeHeight ?? (1.62), this.crouchEyeHeight = options.crouchEyeHeight ?? (1.02), this.headBob = options.headBob ?? true, this.bobAmplitude = options.bobAmplitude ?? (0.04), this.bobStride = options.bobStride ?? (2.1), this.landDip = options.landDip ?? (0.12), this.minPitch = options.minPitch ?? (-1.45), this.maxPitch = options.maxPitch ?? (1.45), this.lookSensitivity = options.lookSensitivity ??
|
|
155
|
+
this.transforms = transforms, this.camera = camera, this.subject = subject, this.eyeHeight = options.eyeHeight ?? (1.62), this.crouchEyeHeight = options.crouchEyeHeight ?? (1.02), this.headBob = options.headBob ?? true, this.bobAmplitude = options.bobAmplitude ?? (0.04), this.bobStride = options.bobStride ?? (2.1), this.landDip = options.landDip ?? (0.12), this.minPitch = options.minPitch ?? (-1.45), this.maxPitch = options.maxPitch ?? (1.45), this.lookSensitivity = options.lookSensitivity ?? chunk52YS45RR_js.DEFAULT_LOOK_SENSITIVITY, this.gamepadLookSpeed = options.gamepadLookSpeed ?? chunk52YS45RR_js.DEFAULT_GAMEPAD_LOOK_SPEED, this.invertY = options.invertY ?? false, this.fov = options.fov ?? (74), this.sprintFovKick = options.sprintFovKick ?? (6), this.fovSharpness = options.fovSharpness ?? (6), this.lens = new chunkNYWNA5CF_js.LensDriver(options.lens ?? null), this.landings = subject.landings, this.state[(3)] = subject.state[chunk52YS45RR_js.CHAR_HEADING] + Math.PI, chunkNYWNA5CF_js.wrapAt(this.state, (3)), this.state[(8)] = this.fov;
|
|
156
156
|
}
|
|
157
157
|
get yaw() {
|
|
158
158
|
return this.state[(3)];
|
|
@@ -167,8 +167,8 @@ var VIEW_X = 0, VIEW_Y = 1, VIEW_Z = 2, VIEW_YAW = 3, VIEW_PITCH = 4, VIEW_BOB_P
|
|
|
167
167
|
input.valueInto(x, this.state, (13)), input.valueInto(y, this.state, (14));
|
|
168
168
|
}
|
|
169
169
|
moveRelative(io, at) {
|
|
170
|
-
let yaw = this.state[(3)], sy = Math.sin(yaw), cy = Math.cos(yaw), x = io[at +
|
|
171
|
-
io[at +
|
|
170
|
+
let yaw = this.state[(3)], sy = Math.sin(yaw), cy = Math.cos(yaw), x = io[at + chunk52YS45RR_js.MOVE_IN_X], y = io[at + chunk52YS45RR_js.MOVE_IN_Y];
|
|
171
|
+
io[at + chunk52YS45RR_js.MOVE_OUT_X] = cy * x - sy * y, io[at + chunk52YS45RR_js.MOVE_OUT_Z] = -sy * x - cy * y;
|
|
172
172
|
}
|
|
173
173
|
update(clock) {
|
|
174
174
|
let s = this.state, subject = this.subject, dt = clock[chunkYXGZQPUD_js.FRAME_SECONDS_SLOT], invert = this.invertY ? -1 : 1;
|
|
@@ -176,12 +176,12 @@ var VIEW_X = 0, VIEW_Y = 1, VIEW_Z = 2, VIEW_YAW = 3, VIEW_PITCH = 4, VIEW_BOB_P
|
|
|
176
176
|
let pitch = s[(4)] - (s[(12)] * this.lookSensitivity + s[(14)] * this.gamepadLookSpeed * dt) * invert;
|
|
177
177
|
s[(4)] = pitch < this.minPitch ? this.minPitch : pitch > this.maxPitch ? this.maxPitch : pitch, s[(11)] = 0, s[(12)] = 0, subject.faceView(s, (3));
|
|
178
178
|
let body = subject.state;
|
|
179
|
-
subject.landings !== this.landings && (this.landings = subject.landings, s[(9)] -= body[
|
|
179
|
+
subject.landings !== this.landings && (this.landings = subject.landings, s[(9)] -= body[chunk52YS45RR_js.CHAR_LANDING_SPEED] * this.landDip), s[(9)] += (-180 * s[(7)] - (24) * s[(9)]) * dt;
|
|
180
180
|
let dip = s[(7)] + s[(9)] * dt;
|
|
181
181
|
s[(7)] = dip < -(0.25) ? -(0.25) : dip > (0.25) ? (0.25) : dip;
|
|
182
|
-
let speed = body[
|
|
182
|
+
let speed = body[chunk52YS45RR_js.CHAR_SPEED_NORMALIZED], moving = this.headBob && subject.grounded ? speed < 1 ? speed : 1 : 0;
|
|
183
183
|
s[(6)] += (moving - s[(6)]) * (1 - Math.exp(-10 * dt)), s[(5)] = (s[(5)] + speed * this.bobStride * chunkNYWNA5CF_js.TWO_PI * dt) % chunkNYWNA5CF_js.TWO_PI, s[(10)] += ((subject.sprinting ? 1 : 0) - s[(10)]) * (1 - Math.exp(-this.fovSharpness * dt)), s[(8)] = this.fov + this.sprintFovKick * s[(10)], this.lens.apply(s, (8)), chunkNYWNA5CF_js.interpolatedPosition(this.transforms, subject.entity, clock, s, (15));
|
|
184
|
-
let weight = s[(6)] * this.bobAmplitude, phase = s[(5)], lift = Math.abs(Math.sin(phase)) * weight, sway = Math.cos(phase) * weight * (0.5), yaw = s[(3)], eye = this.eyeHeight + (this.crouchEyeHeight - this.eyeHeight) * body[
|
|
184
|
+
let weight = s[(6)] * this.bobAmplitude, phase = s[(5)], lift = Math.abs(Math.sin(phase)) * weight, sway = Math.cos(phase) * weight * (0.5), yaw = s[(3)], eye = this.eyeHeight + (this.crouchEyeHeight - this.eyeHeight) * body[chunk52YS45RR_js.CHAR_CROUCH];
|
|
185
185
|
s[(0)] = s[(15)] + Math.cos(yaw) * sway, s[(1)] = s[(15) + 1] + eye + lift + s[(7)], s[(2)] = s[(15) + 2] - Math.sin(yaw) * sway, chunkNYWNA5CF_js.placeCamera(this.transforms, this.camera, s, (0));
|
|
186
186
|
}
|
|
187
187
|
};
|
|
@@ -325,7 +325,7 @@ function characterButtons() {
|
|
|
325
325
|
];
|
|
326
326
|
}
|
|
327
327
|
function touchFor(game, options, layout, buttons) {
|
|
328
|
-
let controls = new
|
|
328
|
+
let controls = new chunk52YS45RR_js.TouchControls(game.input, {
|
|
329
329
|
ui: options.ui ?? null,
|
|
330
330
|
theme: options.theme,
|
|
331
331
|
viewport: options.viewport,
|
|
@@ -336,7 +336,7 @@ function touchFor(game, options, layout, buttons) {
|
|
|
336
336
|
}).attach(), source = options.surface ?? (options.viewport === void 0 ? engineSurfaceOf(game) : null);
|
|
337
337
|
return source !== null && controls.followViewport(source), controls;
|
|
338
338
|
}
|
|
339
|
-
var MOTOR_IO =
|
|
339
|
+
var MOTOR_IO = chunk52YS45RR_js.MOVE_IO_WORDS, DRIVER_WORDS = MOTOR_IO + 3, CharacterDriver = class {
|
|
340
340
|
constructor(input, actions, motor) {
|
|
341
341
|
this.input = input;
|
|
342
342
|
this.actions = actions;
|
|
@@ -345,17 +345,17 @@ var MOTOR_IO = chunkHPKKCUHU_js.MOVE_IO_WORDS, DRIVER_WORDS = MOTOR_IO + 3, Char
|
|
|
345
345
|
}
|
|
346
346
|
step(frame, clock) {
|
|
347
347
|
let input = this.input, a = this.actions, io = this.io;
|
|
348
|
-
input.valueInto(a.moveX, io,
|
|
349
|
-
let x = io[
|
|
350
|
-
frame.moveRelative(io, 0), io[MOTOR_IO +
|
|
348
|
+
input.valueInto(a.moveX, io, chunk52YS45RR_js.MOVE_IN_X), input.valueInto(a.moveY, io, chunk52YS45RR_js.MOVE_IN_Y);
|
|
349
|
+
let x = io[chunk52YS45RR_js.MOVE_IN_X], y = io[chunk52YS45RR_js.MOVE_IN_Y], length = (x * x + y * y) ** 0.5;
|
|
350
|
+
frame.moveRelative(io, 0), io[MOTOR_IO + chunk52YS45RR_js.MOVE_IO_X] = io[chunk52YS45RR_js.MOVE_OUT_X], io[MOTOR_IO + chunk52YS45RR_js.MOVE_IO_Z] = io[chunk52YS45RR_js.MOVE_OUT_Z], io[MOTOR_IO + chunk52YS45RR_js.MOVE_IO_MAGNITUDE] = length > (1) ? (1) : length;
|
|
351
351
|
let motor = this.motor;
|
|
352
352
|
motor.setMoveFrom(io, MOTOR_IO), motor.setButtons(input.justPressed(a.jump), input.pressed(a.jump), input.pressed(a.sprint), input.pressed(a.crouch)), motor.step(clock);
|
|
353
353
|
}
|
|
354
354
|
};
|
|
355
355
|
function thirdPersonCharacter(game, options = {}) {
|
|
356
|
-
let input = game.input, actions = definePlayActions(input, options.prefix), entity = options.entity ?? spawnAt(game, options.position), motor = new
|
|
356
|
+
let input = game.input, actions = definePlayActions(input, options.prefix), entity = options.entity ?? spawnAt(game, options.position), motor = new chunk52YS45RR_js.CharacterMotor(game.physics, game.transforms, entity, options.character);
|
|
357
357
|
options.heading !== void 0 && (motor.heading = options.heading);
|
|
358
|
-
let view = cameraLens(game, options.camera, options.follow?.fov ?? (62)), camera = new
|
|
358
|
+
let view = cameraLens(game, options.camera, options.follow?.fov ?? (62)), camera = new chunk52YS45RR_js.FollowCamera(game.physics, game.transforms, view.entity, motor, { lens: view.lens, ...options.follow }), controls = touchFor(game, options, "leftStickRightButtons", characterButtons()), animator = options.animation ? new CharacterAnimator(options.animation.port, motor, game.transforms, options.animation.options) : null, driver = new CharacterDriver(input, actions, motor), lockTargets = [], active = true, pickTarget = (g) => {
|
|
359
359
|
let positions = g.transforms.store.fields.position, me = g.transforms.row(entity) * 3, yaw = camera.yaw, fx = -Math.sin(yaw), fz = -Math.cos(yaw), best = chunkMRFUNRAP_js.NO_ENTITY, bestDistance = 1 / 0;
|
|
360
360
|
for (let i = 0; i < lockTargets.length; i++) {
|
|
361
361
|
let target = lockTargets[i], o = g.transforms.row(target) * 3, dx = positions[o] - positions[me], dz = positions[o + 2] - positions[me + 2], distance = dx * dx + dz * dz;
|
|
@@ -396,7 +396,7 @@ function thirdPersonCharacter(game, options = {}) {
|
|
|
396
396
|
return options.register !== false && game.addSystem(rig.system), rig;
|
|
397
397
|
}
|
|
398
398
|
function firstPerson(game, options = {}) {
|
|
399
|
-
let input = game.input, actions = definePlayActions(input, options.prefix), entity = options.entity ?? spawnAt(game, options.position), motor = new
|
|
399
|
+
let input = game.input, actions = definePlayActions(input, options.prefix), entity = options.entity ?? spawnAt(game, options.position), motor = new chunk52YS45RR_js.CharacterMotor(game.physics, game.transforms, entity, options.character);
|
|
400
400
|
motor.faceMovement = false, options.heading !== void 0 && (motor.heading = options.heading);
|
|
401
401
|
let lens = cameraLens(game, options.camera, options.view?.fov ?? (74)), view = new FirstPersonView(game.transforms, lens.entity, motor, { lens: lens.lens, ...options.view }), buttons = [
|
|
402
402
|
{ control: TOUCH_CONTROLS.fire, label: "Fire", lookThrough: true },
|
|
@@ -436,15 +436,15 @@ function vehicleDriver(game, options = {}) {
|
|
|
436
436
|
let input = game.input, actions = defineDriveActions(input, options.prefix), vehicle = options.vehicle;
|
|
437
437
|
if (vehicle === void 0) {
|
|
438
438
|
let spawned = spawnAt(game, options.position);
|
|
439
|
-
vehicle =
|
|
439
|
+
vehicle = chunkEQUZYCGO_js.KitVehicle.spawn(game.physics, spawned, chunkEQUZYCGO_js.vehiclePreset(options.preset ?? "danfo", options.model));
|
|
440
440
|
}
|
|
441
441
|
let kit = vehicle, entity = kit.vehicle.entity, bodyId = game.physics.bodyId(entity), chaseOptions = chasePreset(kit.spec.name, options.chase), lens = cameraLens(game, options.camera, chaseOptions.fov ?? (62)), camera = new ChaseCamera(game.physics, game.transforms, lens.entity, { entity, bodyId }, { lens: lens.lens, ...chaseOptions }), steer = new Float64Array(1), buttons = [
|
|
442
442
|
{ control: TOUCH_CONTROLS.gas, label: "Gas" },
|
|
443
443
|
{ control: TOUCH_CONTROLS.brake, label: "Brake" },
|
|
444
444
|
{ control: TOUCH_CONTROLS.handbrake, label: "Drift" },
|
|
445
445
|
{ control: TOUCH_CONTROLS.horn, label: "Horn" }
|
|
446
|
-
], controls = touchFor(game, { ...options, move: { axes: "x", ...options.move } }, "driving", buttons), drive = { throttle: 0, brake: 0, steer: 0, handbrake: 0 }, staged = new Float64Array(
|
|
447
|
-
staged[
|
|
446
|
+
], controls = touchFor(game, { ...options, move: { axes: "x", ...options.move } }, "driving", buttons), drive = { throttle: 0, brake: 0, steer: 0, handbrake: 0 }, staged = new Float64Array(chunk3S6WPBZL_js.INPUT_STRIDE);
|
|
447
|
+
staged[chunk3S6WPBZL_js.INPUT_GEAR] = chunk3S6WPBZL_js.GEAR_AUTO;
|
|
448
448
|
let active = true, rig = {
|
|
449
449
|
game,
|
|
450
450
|
actions,
|
|
@@ -461,7 +461,7 @@ function vehicleDriver(game, options = {}) {
|
|
|
461
461
|
active = next, controls.setEnabled(next), next ? controls.attach() : controls.detach();
|
|
462
462
|
},
|
|
463
463
|
fixedUpdate(g) {
|
|
464
|
-
active && (input.valueInto(actions.steer, steer, 0), drive.steer = steer[0], drive.throttle = input.pressed(actions.gas) ? 1 : 0, drive.brake = input.pressed(actions.brake) ? 1 : 0, drive.handbrake = input.pressed(actions.handbrake) ? 1 : 0, staged[
|
|
464
|
+
active && (input.valueInto(actions.steer, steer, 0), drive.steer = steer[0], drive.throttle = input.pressed(actions.gas) ? 1 : 0, drive.brake = input.pressed(actions.brake) ? 1 : 0, drive.handbrake = input.pressed(actions.handbrake) ? 1 : 0, staged[chunk3S6WPBZL_js.INPUT_THROTTLE] = drive.throttle, staged[chunk3S6WPBZL_js.INPUT_BRAKE] = drive.brake, staged[chunk3S6WPBZL_js.INPUT_STEER] = steer[0], staged[chunk3S6WPBZL_js.INPUT_HANDBRAKE] = drive.handbrake, kit.vehicle.driveFrom(staged, 0));
|
|
465
465
|
},
|
|
466
466
|
update(g) {
|
|
467
467
|
active && (camera.look(input.look), camera.lookRateFrom(input, actions.lookX, actions.lookY), camera.update(g.clock), controls.update(g.clock));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
// src/game/backends/engine/engine-arity.ts
|
|
4
|
-
var ENGINE_ABI_VERSION = 1882262861, ENGINE_ABI_DIGEST =
|
|
4
|
+
var ENGINE_ABI_VERSION = 1882262861, ENGINE_ABI_DIGEST = 1886559909, ENGINE_EXPORT_ARITY = {
|
|
5
5
|
engine_abi_compatible: 1,
|
|
6
6
|
engine_abi_digest: 0,
|
|
7
7
|
engine_abi_version: 0,
|
|
@@ -573,8 +573,14 @@ var ENGINE_ABI_VERSION = 1882262861, ENGINE_ABI_DIGEST = 1739067922, ENGINE_EXPO
|
|
|
573
573
|
engine_soft_step_coupled: 3,
|
|
574
574
|
engine_soft_uncouple: 2,
|
|
575
575
|
engine_splat_bench: 5,
|
|
576
|
+
engine_splat_bind: 3,
|
|
576
577
|
engine_splat_close: 2,
|
|
578
|
+
engine_splat_drape: 6,
|
|
579
|
+
engine_splat_edit: 3,
|
|
577
580
|
engine_splat_fail: 2,
|
|
581
|
+
engine_splat_hero_budget: 2,
|
|
582
|
+
engine_splat_motion: 5,
|
|
583
|
+
engine_splat_motion_rows: 1,
|
|
578
584
|
engine_splat_open: 3,
|
|
579
585
|
engine_splat_provide: 4,
|
|
580
586
|
engine_splat_registers: 1,
|
|
@@ -1328,8 +1334,14 @@ var ENGINE_ABI_VERSION = 1882262861, ENGINE_ABI_DIGEST = 1739067922, ENGINE_EXPO
|
|
|
1328
1334
|
engine_soft_step_coupled: 1304151184,
|
|
1329
1335
|
engine_soft_uncouple: 1840822644,
|
|
1330
1336
|
engine_splat_bench: 1928482274,
|
|
1337
|
+
engine_splat_bind: 1550081272,
|
|
1331
1338
|
engine_splat_close: 1949153226,
|
|
1339
|
+
engine_splat_drape: 2137022990,
|
|
1340
|
+
engine_splat_edit: 1974094180,
|
|
1332
1341
|
engine_splat_fail: 1298791785,
|
|
1342
|
+
engine_splat_hero_budget: 2097821698,
|
|
1343
|
+
engine_splat_motion: 1372351450,
|
|
1344
|
+
engine_splat_motion_rows: 1335114137,
|
|
1333
1345
|
engine_splat_open: 1407655239,
|
|
1334
1346
|
engine_splat_provide: 1885686159,
|
|
1335
1347
|
engine_splat_registers: 1467436081,
|
|
@@ -1573,7 +1585,7 @@ exports.CONTROLLER_UP = (7);
|
|
|
1573
1585
|
exports.DEFAULT_ENGINE_MEMORY_PAGES = (2048);
|
|
1574
1586
|
exports.DEFAULT_MAX_COMMANDS = (1024);
|
|
1575
1587
|
exports.DESC_WORDS = (32);
|
|
1576
|
-
exports.ENGINE_ABI_DIGEST = (
|
|
1588
|
+
exports.ENGINE_ABI_DIGEST = (1886559909);
|
|
1577
1589
|
exports.ENGINE_ABI_VERSION = (1882262861);
|
|
1578
1590
|
exports.ENGINE_EXPORT_ARITY = ENGINE_EXPORT_ARITY;
|
|
1579
1591
|
exports.ENGINE_EXPORT_PROTOTYPES = ENGINE_EXPORT_PROTOTYPES;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { THREE_G_LINK, INSTANT_OPEN_SECONDS, SLOW_OPEN_SECONDS, DELIVERY_BUDGETS, rankCauses, calibrationFor, isCalibrated } from './chunk-
|
|
1
|
+
import { THREE_G_LINK, INSTANT_OPEN_SECONDS, SLOW_OPEN_SECONDS, DELIVERY_BUDGETS, rankCauses, calibrationFor, isCalibrated } from './chunk-5BYDGGWO.mjs';
|
|
2
2
|
|
|
3
3
|
// src/interactives/meters/delivery.ts
|
|
4
4
|
var MS_PER_SECOND = 1e3;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk7AAIAVAA_js = require('./chunk-7AAIAVAA.js');
|
|
4
4
|
var chunkKZJRSXHK_js = require('./chunk-KZJRSXHK.js');
|
|
5
5
|
var chunkIR74FJHU_js = require('./chunk-IR74FJHU.js');
|
|
6
6
|
var chunk6SWKWCMS_js = require('./chunk-6SWKWCMS.js');
|
|
7
7
|
var chunk2V7IL4HC_js = require('./chunk-2V7IL4HC.js');
|
|
8
8
|
|
|
9
9
|
// src/game/kernel/spawns.ts
|
|
10
|
-
var WIDTHS = { vec2: 2, vec3: 3, vec4: 4 }, AXES = ["x", "y", "z", "w"], NO_ROW = 4294967295, spawnOverflow =
|
|
10
|
+
var WIDTHS = { vec2: 2, vec3: 3, vec4: 4 }, AXES = ["x", "y", "z", "w"], NO_ROW = 4294967295, spawnOverflow = chunk7AAIAVAA_js.events("kernel.spawnOverflow", { dropped: "u32", capacity: "u32", table: "u32" });
|
|
11
11
|
function storageOf(values) {
|
|
12
12
|
return values instanceof Float32Array ? chunkKZJRSXHK_js.STORAGE_F32 : values instanceof Int32Array ? chunkKZJRSXHK_js.STORAGE_I32 : values instanceof Uint32Array ? chunkKZJRSXHK_js.STORAGE_U32 : chunkKZJRSXHK_js.STORAGE_U8;
|
|
13
13
|
}
|
|
@@ -46,7 +46,7 @@ var TableSpawns = class {
|
|
|
46
46
|
}
|
|
47
47
|
};
|
|
48
48
|
function reportSpawns(stats, into, out) {
|
|
49
|
-
return out.spawned = stats.spawned, out.dropped = stats.dropped, out.killed = stats.killed, stats.dropped > 0 && (
|
|
49
|
+
return out.spawned = stats.spawned, out.dropped = stats.dropped, out.killed = stats.killed, stats.dropped > 0 && (chunk7AAIAVAA_js.setEmitRow((4294967295)), spawnOverflow.emit({ dropped: stats.dropped, capacity: into.capacity, table: into.id >>> 0 })), out;
|
|
50
50
|
}
|
|
51
51
|
function flatten(prefix, value, out) {
|
|
52
52
|
if (typeof value == "number") out.push([prefix, 0, value]);
|
|
@@ -1615,7 +1615,7 @@ function bindKernelEngine(symbols, memory) {
|
|
|
1615
1615
|
}
|
|
1616
1616
|
function check(code, what) {
|
|
1617
1617
|
if (code >= 0) return code;
|
|
1618
|
-
throw code === -1 ? new chunk2V7IL4HC_js.GameError("capacity_exceeded", `${what}: the engine is out of kernel slots`) : code === -3 ? new chunk2V7IL4HC_js.GameError("unknown_resource", `${what}: the kernel or table is gone`) : code === -5 ? new chunk2V7IL4HC_js.GameError("unsupported_feature", `${what}: the engine does not run this kernel instruction set`) : code ===
|
|
1618
|
+
throw code === -1 ? new chunk2V7IL4HC_js.GameError("capacity_exceeded", `${what}: the engine is out of kernel slots`) : code === -3 ? new chunk2V7IL4HC_js.GameError("unknown_resource", `${what}: the kernel or table is gone`) : code === -5 ? new chunk2V7IL4HC_js.GameError("unsupported_feature", `${what}: the engine does not run this kernel instruction set`) : code === chunk7AAIAVAA_js.COMPUTE_STOPPED ? new chunk2V7IL4HC_js.GameError("capacity_exceeded", `${what}: the kernel ran too long and was stopped so the game stays responsive; split the work across frames or lower its row count`) : new chunk2V7IL4HC_js.GameError("invalid_argument", `${what}: the engine refused the kernel (${code})`);
|
|
1619
1619
|
}
|
|
1620
1620
|
var H_COLUMN_TABLE = 32, MAX_SLOTS = 256, MAX_SHARED_PAGES = 65536, VECTOR_ALIGN = 16;
|
|
1621
1621
|
function sharedBuffer(buffer) {
|
|
@@ -1687,7 +1687,7 @@ var NativeKernels = class {
|
|
|
1687
1687
|
this.groupRowsCapacity = 0;
|
|
1688
1688
|
this.groupRowsView = new Uint32Array(0);
|
|
1689
1689
|
this.rings = /* @__PURE__ */ new Map();
|
|
1690
|
-
engine.data !== null && engine.data !== void 0 &&
|
|
1690
|
+
engine.data !== null && engine.data !== void 0 && chunk7AAIAVAA_js.setPoolEngine({ alloc: (bytes) => engine.exports.engine_alloc(bytes, (4)), memory: engine.memory });
|
|
1691
1691
|
}
|
|
1692
1692
|
acceptsData() {
|
|
1693
1693
|
return this.engine.data !== null && this.engine.data !== void 0;
|
|
@@ -1723,7 +1723,7 @@ var NativeKernels = class {
|
|
|
1723
1723
|
bindNew(meta, program, table, joined, into, bound) {
|
|
1724
1724
|
let exports = this.engine.exports;
|
|
1725
1725
|
for (let k = bound.length - 1; k >= 0; k--)
|
|
1726
|
-
bound[k].table.valid && (bound[k].into === null || bound[k].into.valid) || (exports.engine_kernel_unbind(bound[k].binding), this.compute?.unbound(
|
|
1726
|
+
bound[k].table.valid && (bound[k].into === null || bound[k].into.valid) || (exports.engine_kernel_unbind(bound[k].binding), this.compute?.unbound(chunk7AAIAVAA_js.COMPUTE_SPACE_CPU, bound[k].binding), bound.splice(k, 1));
|
|
1727
1727
|
let spawnTable = into ?? table, columns = new Uint32Array(meta.slots.length);
|
|
1728
1728
|
for (let k = 0; k < meta.slots.length; k++) {
|
|
1729
1729
|
let slot = meta.slots[k];
|
|
@@ -1736,7 +1736,7 @@ var NativeKernels = class {
|
|
|
1736
1736
|
columns[k] = source.column(slot.field, slot.component);
|
|
1737
1737
|
}
|
|
1738
1738
|
let at = this.copyIn(new Uint8Array(columns.buffer)), binding = exports.engine_kernel_bind(program, table.id, at, columns.length);
|
|
1739
|
-
if (exports.engine_free(at, Math.max(columns.byteLength, (4)), (4)), check(binding, `binding kernel ${meta.name}`), this.compute?.bound(
|
|
1739
|
+
if (exports.engine_free(at, Math.max(columns.byteLength, (4)), (4)), check(binding, `binding kernel ${meta.name}`), this.compute?.bound(chunk7AAIAVAA_js.COMPUTE_SPACE_CPU, binding, meta.name, this.priority), into !== null) {
|
|
1740
1740
|
let attach = this.engine.attachHandle;
|
|
1741
1741
|
if (attach == null) throw new chunk2V7IL4HC_js.GameError("unsupported_feature", `kernel ${meta.name} spawns into another table; this engine predates kernel_isa_3`);
|
|
1742
1742
|
check(attach(binding, chunkIR74FJHU_js.ATTACH_SPAWN_TABLE, into.id), `attaching the spawn table to kernel ${meta.name}`);
|
|
@@ -1746,7 +1746,7 @@ var NativeKernels = class {
|
|
|
1746
1746
|
for (let t of meta.data?.tables ?? []) check(data.bindTable(binding, t.table, joined[t.table].id), `binding table ${t.name} to kernel ${meta.name}`);
|
|
1747
1747
|
meta.slots.forEach((slot, k) => {
|
|
1748
1748
|
if (slot.pool === void 0) return;
|
|
1749
|
-
let owner = joined[slot.table ?? 0], pool =
|
|
1749
|
+
let owner = joined[slot.table ?? 0], pool = chunk7AAIAVAA_js.listPoolAddress(owner, slot.field, slot.pool, slot.kind, slot.component);
|
|
1750
1750
|
if (pool.at === 0) throw new chunk2V7IL4HC_js.GameError("unsupported_feature", `kernel ${meta.name} keeps the ${slot.field} list outside engine memory`);
|
|
1751
1751
|
check(data.bindPool(binding, k, pool.at, pool.words), `binding the ${slot.field} list to kernel ${meta.name}`);
|
|
1752
1752
|
});
|
|
@@ -1786,7 +1786,7 @@ var NativeKernels = class {
|
|
|
1786
1786
|
this.argsBuffer !== buffer && (this.words = new Uint32Array(buffer, this.argsAt, (64)), this.floats = new Float32Array(buffer, this.argsAt, (64)), this.argsBuffer = buffer);
|
|
1787
1787
|
}
|
|
1788
1788
|
writeArg(at, arg, value) {
|
|
1789
|
-
if (arg.kind === "f64" || arg.kind === "u64") return
|
|
1789
|
+
if (arg.kind === "f64" || arg.kind === "u64") return chunk7AAIAVAA_js.writeWideArg(this.words, at, arg.kind, value);
|
|
1790
1790
|
if (arg.width > 1 && (Array.isArray(value) || ArrayBuffer.isView(value))) {
|
|
1791
1791
|
let items = value;
|
|
1792
1792
|
for (let k = 0; k < arg.width; k++)
|
|
@@ -1813,7 +1813,7 @@ var NativeKernels = class {
|
|
|
1813
1813
|
run(meta, bytes, table, selection, args) {
|
|
1814
1814
|
if (!table.native) throw new chunk2V7IL4HC_js.GameError("unsupported_feature", "native kernels run on engine tables");
|
|
1815
1815
|
if (meta.argWords > (64)) throw new chunk2V7IL4HC_js.GameError("invalid_argument", `kernel ${meta.name} takes more than ${(64)} argument words`);
|
|
1816
|
-
let joined =
|
|
1816
|
+
let joined = chunk7AAIAVAA_js.hasData(meta) ? this.joinedOf(meta, table, args) : null;
|
|
1817
1817
|
if (joined !== null && (!this.acceptsData() || !allNative(joined))) throw new chunk2V7IL4HC_js.GameError("unsupported_feature", `kernel ${meta.name} joins tables; this engine predates native data ops or a joined table is not an engine table`);
|
|
1818
1818
|
let scalars = joined === null ? null : this.scalarMap(meta), program = this.program(meta, bytes), binding = this.binding(meta, bytes, program, table, joined);
|
|
1819
1819
|
this.argViews();
|
|
@@ -1837,9 +1837,9 @@ var NativeKernels = class {
|
|
|
1837
1837
|
if (selection === null && this.runCompiled(meta, bytes, table, binding, at))
|
|
1838
1838
|
return joined !== null && this.readReport(meta, bytes, binding), table.count;
|
|
1839
1839
|
let list = selection ? selection.index : (255);
|
|
1840
|
-
this.compute?.prioritise(
|
|
1840
|
+
this.compute?.prioritise(chunk7AAIAVAA_js.COMPUTE_SPACE_CPU, binding, this.priority);
|
|
1841
1841
|
let ran = this.engine.exports.engine_kernel_run(binding, list, this.argsAt, at);
|
|
1842
|
-
return ran ===
|
|
1842
|
+
return ran === chunk7AAIAVAA_js.COMPUTE_DEFERRED && this.priority !== 0 ? 0 : (ran >= 0 || check(ran, `running kernel ${meta.name}`), joined !== null && this.readReport(meta, bytes, binding), meta.channels !== void 0 && meta.channels.length > 0 && (chunk7AAIAVAA_js.routeEvents(this.ring(binding), meta.channels), this.engine.exports.engine_kernel_clear_events(binding)), writes && this.spawned(binding, table), ran);
|
|
1843
1843
|
}
|
|
1844
1844
|
readReport(meta, bytes, binding) {
|
|
1845
1845
|
let report = this.engine.data.report(binding);
|
|
@@ -1854,7 +1854,7 @@ var NativeKernels = class {
|
|
|
1854
1854
|
}
|
|
1855
1855
|
dataReport(bytes) {
|
|
1856
1856
|
let copy = this.reportCopies.get(bytes);
|
|
1857
|
-
return copy === void 0 ? null : (copy.report === null && (copy.report =
|
|
1857
|
+
return copy === void 0 ? null : (copy.report === null && (copy.report = chunk7AAIAVAA_js.readDataReport(copy.meta, copy.words.slice(0, copy.length))), copy.report);
|
|
1858
1858
|
}
|
|
1859
1859
|
heapWords() {
|
|
1860
1860
|
let buffer = this.engine.memory.buffer;
|
|
@@ -1863,13 +1863,13 @@ var NativeKernels = class {
|
|
|
1863
1863
|
joinedOf(meta, own, args) {
|
|
1864
1864
|
let known2 = this.joinedTables.get(meta), list = meta.data?.tables;
|
|
1865
1865
|
if (known2 === void 0) {
|
|
1866
|
-
let fresh =
|
|
1866
|
+
let fresh = chunk7AAIAVAA_js.dataTables(meta, own, args);
|
|
1867
1867
|
return this.joinedTables.set(meta, fresh), fresh;
|
|
1868
1868
|
}
|
|
1869
1869
|
if (known2[0] = own, list === void 0) return known2;
|
|
1870
1870
|
for (let k = 0; k < list.length; k++) {
|
|
1871
1871
|
let t = list[k], value = args[t.position];
|
|
1872
|
-
if (!isEntityTable(value)) return
|
|
1872
|
+
if (!isEntityTable(value)) return chunk7AAIAVAA_js.dataTables(meta, own, args);
|
|
1873
1873
|
known2[t.table] = value;
|
|
1874
1874
|
}
|
|
1875
1875
|
return known2;
|
|
@@ -1984,7 +1984,7 @@ var NativeKernels = class {
|
|
|
1984
1984
|
}
|
|
1985
1985
|
finishCompiled(entry, meta, exports, binding) {
|
|
1986
1986
|
let host = entry.host;
|
|
1987
|
-
return entry.data && check(exports.engine_kernel_stage_end(binding), "ending a data kernel"), host !== null && meta.channels !== void 0 && meta.channels.length > 0 && (host.flush(),
|
|
1987
|
+
return entry.data && check(exports.engine_kernel_stage_end(binding), "ending a data kernel"), host !== null && meta.channels !== void 0 && meta.channels.length > 0 && (host.flush(), chunk7AAIAVAA_js.routeEvents(host.ring, meta.channels), host.clearEvents()), true;
|
|
1988
1988
|
}
|
|
1989
1989
|
stateView(entry, at, storage, capacity) {
|
|
1990
1990
|
let buffer = this.engine.memory.buffer, known2 = entry.state, float = storage === 0;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkWHYKAT7G_js = require('./chunk-WHYKAT7G.js');
|
|
4
|
-
var
|
|
4
|
+
var chunkH5DFSCJ6_js = require('./chunk-H5DFSCJ6.js');
|
|
5
5
|
var chunkOXMIBOD4_js = require('./chunk-OXMIBOD4.js');
|
|
6
6
|
var chunkYXGZQPUD_js = require('./chunk-YXGZQPUD.js');
|
|
7
7
|
var chunkJGBCIKJV_js = require('./chunk-JGBCIKJV.js');
|
|
@@ -362,7 +362,7 @@ var PITCH5 = {
|
|
|
362
362
|
drive(scene, game, frame) {
|
|
363
363
|
let sim = scene.sim;
|
|
364
364
|
if (sim === null) return;
|
|
365
|
-
let t =
|
|
365
|
+
let t = chunkH5DFSCJ6_js.templateFrameStamp(frame), input = game.input;
|
|
366
366
|
this.kicking > 0 && --this.kicking === 0 && input.keyEvent(KEY_KICK, false, t);
|
|
367
367
|
let p = sim.controlled, owns = sim.owner === p, tx = owns ? PITCH5.halfLength : sim.xz[BALL * (2)], tz = owns ? 0 : sim.xz[BALL * (2) + 1], dx = tx - sim.xz[p * (2)], dz = tz - sim.xz[p * (2) + 1];
|
|
368
368
|
this.steer(input, dx > (0.4) ? 1 : dx < -(0.4) ? -1 : 0, true, t), this.steer(input, dz > (0.4) ? 1 : dz < -(0.4) ? -1 : 0, false, t), owns && this.kicking === 0 && PITCH5.halfLength - sim.xz[p * (2)] < (9) && (input.keyEvent(KEY_KICK, true, t), this.kicking = (2));
|
|
@@ -381,7 +381,7 @@ var PITCH5 = {
|
|
|
381
381
|
scene: () => new FiveASide(),
|
|
382
382
|
bot: () => new FiveASideBot(),
|
|
383
383
|
progress: (scene) => scene.goals,
|
|
384
|
-
digest: (scene) =>
|
|
384
|
+
digest: (scene) => chunkH5DFSCJ6_js.digestFloats(scene.sim?.xz ?? scene.rendered, DIGEST_FIELDS) ^ (scene.sim?.tick ?? 0)
|
|
385
385
|
};
|
|
386
386
|
|
|
387
387
|
exports.BALL = BALL;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { IdentityCaptureError } from './chunk-5C3C7VDM.mjs';
|
|
2
|
-
import { TreeDiffer, readReplayMessage } from './chunk-
|
|
3
|
-
import { PackageAssembler, decodeChunk, ChunkKind } from './chunk-
|
|
2
|
+
import { TreeDiffer, readReplayMessage } from './chunk-UGH37BQW.mjs';
|
|
3
|
+
import { PackageAssembler, decodeChunk, ChunkKind } from './chunk-KDQOR4QQ.mjs';
|
|
4
4
|
import { readinessProbe } from './chunk-LYEZZEEF.mjs';
|
|
5
|
-
import { StudioAssembler, StudioSender, reportMetersTo, openStudioChannel, deliverStudio, requestMeters } from './chunk-
|
|
5
|
+
import { StudioAssembler, StudioSender, reportMetersTo, openStudioChannel, deliverStudio, requestMeters } from './chunk-HAGEIC2L.mjs';
|
|
6
6
|
import { readNetworkHint, hotAccepted, relinkingDefinitions, applyHot } from './chunk-K46SMZ66.mjs';
|
|
7
7
|
import { createGenerate } from './chunk-OKC2B4O3.mjs';
|
|
8
8
|
import { GameUi } from './chunk-PPF2BYFL.mjs';
|
|
9
|
+
import { TEXT_DICTIONARIES_ASSET } from './chunk-DS2VU4WW.mjs';
|
|
9
10
|
import { sha256Into } from './chunk-5YWN6H5Q.mjs';
|
|
10
|
-
import { TEXT_DICTIONARIES_ASSET } from './chunk-BOTUAHP2.mjs';
|
|
11
11
|
import { peekFrameCode, frameLength, FrameCode, decodePresenceTick, decodeCounterValue, decodeFastValue, decodeRoomInputFrame, decodeChannelFrame, writeChannelHeader, writeRoomInputHeader, writeFastReadHeader, encodeCounterAdd, encodeMoveInput } from './chunk-OQRVEM56.mjs';
|
|
12
12
|
import { FRAME_LIMITS, FRAME_LAYOUT, FRAME_CODES, CTX_CAPABILITIES } from './chunk-SPCRQ6NO.mjs';
|
|
13
|
-
import { TAG_BYTES, BRIDGE_LIMITS, MessageTag, MessageWriter, PONG_BYTES, MILESTONE_BYTES, SESSION_COMPLETE_BYTES, ChunkBatch, CHUNK_REQUEST_ENTRY_BYTES, CHUNK_RELEASE_ENTRY_BYTES, ChunkPriority, Milestone, writeSessionComplete, readJson, INSPECTOR_SHOWN, CHUNK_REQUESTS_VERSION, LIFECYCLE_BY_CODE, DIGEST_BYTES, hex, readChunkFailed } from './chunk-
|
|
13
|
+
import { TAG_BYTES, BRIDGE_LIMITS, MessageTag, MessageWriter, PONG_BYTES, MILESTONE_BYTES, SESSION_COMPLETE_BYTES, ChunkBatch, CHUNK_REQUEST_ENTRY_BYTES, CHUNK_RELEASE_ENTRY_BYTES, ChunkPriority, Milestone, writeSessionComplete, readJson, INSPECTOR_SHOWN, CHUNK_REQUESTS_VERSION, LIFECYCLE_BY_CODE, DIGEST_BYTES, hex, readChunkFailed } from './chunk-V7ZRH3PY.mjs';
|
|
14
14
|
import { breakDictionaries, registerBreakDictionaries } from './chunk-GYLP6UG4.mjs';
|
|
15
15
|
import { encodeBase64, decodeBase64 } from './chunk-2IC4H6OV.mjs';
|
|
16
16
|
import { requestInspector } from './chunk-MOMOZEUM.mjs';
|
|
@@ -963,7 +963,7 @@ function remove(list, item) {
|
|
|
963
963
|
let at = list.indexOf(item);
|
|
964
964
|
at >= 0 && list.splice(at, 1);
|
|
965
965
|
}
|
|
966
|
-
var
|
|
966
|
+
var GuestRuntime = class {
|
|
967
967
|
constructor(options) {
|
|
968
968
|
this.options = options;
|
|
969
969
|
this.writer = new MessageWriter();
|
|
@@ -1030,10 +1030,7 @@ var FIRST_FRAME_MILESTONE = "first_frame_scheduled", GuestRuntime = class {
|
|
|
1030
1030
|
}
|
|
1031
1031
|
mark(name) {
|
|
1032
1032
|
let code = Milestone[name];
|
|
1033
|
-
|
|
1034
|
-
if (this.reached.add(code), name === FIRST_FRAME_MILESTONE) for (let rest of this.assembler.heldCoreRests()) this.needRuntime(rest, ChunkPriority.soon);
|
|
1035
|
-
this.milestoneMessage[0] = MessageTag.milestone, this.milestoneMessage[1] = code, this.bridge.send(this.milestoneMessage, MILESTONE_BYTES);
|
|
1036
|
-
}
|
|
1033
|
+
this.reached.has(code) || (this.reached.add(code), this.milestoneMessage[0] = MessageTag.milestone, this.milestoneMessage[1] = code, this.bridge.send(this.milestoneMessage, MILESTONE_BYTES));
|
|
1037
1034
|
}
|
|
1038
1035
|
send(length) {
|
|
1039
1036
|
this.bridge.send(this.writer.bytes, length);
|
|
@@ -5,7 +5,7 @@ var chunkA2MAX6S4_js = require('./chunk-A2MAX6S4.js');
|
|
|
5
5
|
var chunk5325XSCH_js = require('./chunk-5325XSCH.js');
|
|
6
6
|
var chunkKPA6K5IB_js = require('./chunk-KPA6K5IB.js');
|
|
7
7
|
var chunkWHYKAT7G_js = require('./chunk-WHYKAT7G.js');
|
|
8
|
-
var
|
|
8
|
+
var chunkH5DFSCJ6_js = require('./chunk-H5DFSCJ6.js');
|
|
9
9
|
var chunkY4K22JL6_js = require('./chunk-Y4K22JL6.js');
|
|
10
10
|
var chunkYXGZQPUD_js = require('./chunk-YXGZQPUD.js');
|
|
11
11
|
var chunkJGBCIKJV_js = require('./chunk-JGBCIKJV.js');
|
|
@@ -328,7 +328,7 @@ var EndlessRunner = class {
|
|
|
328
328
|
drive(scene, game, frame) {
|
|
329
329
|
if (this.held !== null) {
|
|
330
330
|
if (--this.holdFrames > 0) return;
|
|
331
|
-
game.input.keyEvent(this.held, false,
|
|
331
|
+
game.input.keyEvent(this.held, false, chunkH5DFSCJ6_js.templateFrameStamp(frame)), this.held = null;
|
|
332
332
|
return;
|
|
333
333
|
}
|
|
334
334
|
let body = scene.body.state;
|
|
@@ -352,7 +352,7 @@ var EndlessRunner = class {
|
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
354
|
press(game, key, frame) {
|
|
355
|
-
game.input.keyEvent(key, true,
|
|
355
|
+
game.input.keyEvent(key, true, chunkH5DFSCJ6_js.templateFrameStamp(frame)), this.held = key, this.holdFrames = (2);
|
|
356
356
|
}
|
|
357
357
|
}, DIGEST_FIELDS = 6, digestScratch = new Float64Array((6)), endlessRunnerTemplate = {
|
|
358
358
|
id: "endless-runner",
|
|
@@ -364,7 +364,7 @@ var EndlessRunner = class {
|
|
|
364
364
|
progress: (scene) => Math.max(scene.body.state[(6)], scene.body.state[(5)]),
|
|
365
365
|
digest(scene) {
|
|
366
366
|
let d = digestScratch, body = scene.body.state;
|
|
367
|
-
return d[0] = body[(5)], d[1] = body[(6)], d[2] = body[(0)], d[3] = body[(2)], d[4] = scene.coinsThisRun, d[5] = scene.runs,
|
|
367
|
+
return d[0] = body[(5)], d[1] = body[(6)], d[2] = body[(0)], d[3] = body[(2)], d[4] = scene.coinsThisRun, d[5] = scene.runs, chunkH5DFSCJ6_js.digestFloats(d, (6));
|
|
368
368
|
}
|
|
369
369
|
};
|
|
370
370
|
|
|
@@ -74,7 +74,7 @@ var SESSION_PROTOCOL_VERSION = 1, BRIDGE_PROTOCOL_VERSION = 1, ENGINE_CORE_UNIT
|
|
|
74
74
|
camera_place: 91,
|
|
75
75
|
camera_identify: 92,
|
|
76
76
|
camera_identified: 93
|
|
77
|
-
}, FrameTouchKind = { take: 0, progressive: 1, prefetch: 2, pipeline: 3, chunk: 4
|
|
77
|
+
}, FrameTouchKind = { take: 0, progressive: 1, prefetch: 2, pipeline: 3, chunk: 4 }, CHUNK_TOUCH_PREFIX = "chunk:", PIPELINE_TOUCH_PREFIX = "pipeline:", FRAME_MARK_HEADER_BYTES = 13, HEAP_OFFSET = 9, MAX_HEAP_BYTES = 4294967295, FRAME_TOUCH_HEADER_BYTES = 4, FRAME_OFFSET = 1, OUTSTANDING_OFFSET = 5, TOUCH_COUNT_OFFSET = 7, MAX_FRAME_TOUCHES = 65535, markEncoder = new TextEncoder(), markDecoder = new TextDecoder();
|
|
78
78
|
function encodeFrameMark(mark) {
|
|
79
79
|
let paths = mark.touches.slice(0, (65535)).map((touch) => markEncoder.encode(touch.path)), size = (13) + paths.reduce((sum, path) => sum + (4) + path.length, 0), bytes = new Uint8Array(size), view = new DataView(bytes.buffer);
|
|
80
80
|
bytes[0] = MessageTag.frame_mark, view.setUint32((1), mark.frame, true), view.setUint16((5), Math.min(mark.outstanding, (65535)), true), view.setUint16((7), paths.length, true), view.setUint32((9), Math.min(Math.max(mark.heap ?? 0, 0), (4294967295)), true);
|
|
@@ -282,7 +282,6 @@ exports.CHUNK_TOUCH_PREFIX = CHUNK_TOUCH_PREFIX;
|
|
|
282
282
|
exports.ChunkBatch = ChunkBatch;
|
|
283
283
|
exports.ChunkFailure = ChunkFailure;
|
|
284
284
|
exports.ChunkPriority = ChunkPriority;
|
|
285
|
-
exports.DEFERRED_TOUCH_PREFIX = DEFERRED_TOUCH_PREFIX;
|
|
286
285
|
exports.DIGEST_BYTES = (32);
|
|
287
286
|
exports.ENGINE_CORE_THREADS_UNIT = ENGINE_CORE_THREADS_UNIT;
|
|
288
287
|
exports.ENGINE_CORE_UNIT = ENGINE_CORE_UNIT;
|