quake2ts 0.0.65 → 0.0.67

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.
Files changed (57) hide show
  1. package/apps/demo/dist/assets/index-Lj9akWtw.js +1 -0
  2. package/apps/demo/dist/index.html +1 -1
  3. package/apps/viewer/dist/browser/index.global.js +1 -1
  4. package/apps/viewer/dist/browser/index.global.js.map +1 -1
  5. package/apps/viewer/dist/cjs/index.cjs +30 -3
  6. package/apps/viewer/dist/cjs/index.cjs.map +1 -1
  7. package/apps/viewer/dist/esm/index.js +30 -3
  8. package/apps/viewer/dist/esm/index.js.map +1 -1
  9. package/apps/viewer/dist/tsconfig.tsbuildinfo +1 -1
  10. package/package.json +1 -1
  11. package/packages/client/dist/browser/index.global.js +1 -1
  12. package/packages/client/dist/browser/index.global.js.map +1 -1
  13. package/packages/client/dist/cjs/index.cjs +30 -3
  14. package/packages/client/dist/cjs/index.cjs.map +1 -1
  15. package/packages/client/dist/esm/index.js +30 -3
  16. package/packages/client/dist/esm/index.js.map +1 -1
  17. package/packages/client/dist/tsconfig.tsbuildinfo +1 -1
  18. package/packages/client/dist/types/hud/layout.d.ts +11 -0
  19. package/packages/client/dist/types/hud/layout.d.ts.map +1 -0
  20. package/packages/client/dist/types/hud/numbers.d.ts +3 -0
  21. package/packages/client/dist/types/hud/numbers.d.ts.map +1 -0
  22. package/packages/client/dist/types/hud.d.ts +4 -1
  23. package/packages/client/dist/types/hud.d.ts.map +1 -1
  24. package/packages/engine/dist/browser/index.global.js +9 -9
  25. package/packages/engine/dist/browser/index.global.js.map +1 -1
  26. package/packages/engine/dist/cjs/index.cjs +37 -3
  27. package/packages/engine/dist/cjs/index.cjs.map +1 -1
  28. package/packages/engine/dist/esm/index.js +37 -3
  29. package/packages/engine/dist/esm/index.js.map +1 -1
  30. package/packages/engine/dist/tsconfig.tsbuildinfo +1 -1
  31. package/packages/engine/dist/types/index.d.ts +1 -0
  32. package/packages/engine/dist/types/index.d.ts.map +1 -1
  33. package/packages/engine/dist/types/render/camera.d.ts +9 -0
  34. package/packages/engine/dist/types/render/camera.d.ts.map +1 -1
  35. package/packages/engine/dist/types/render/renderer.d.ts +13 -2
  36. package/packages/engine/dist/types/render/renderer.d.ts.map +1 -1
  37. package/packages/engine/dist/types/render/resources.d.ts +4 -1
  38. package/packages/engine/dist/types/render/resources.d.ts.map +1 -1
  39. package/packages/engine/dist/types/render/scene.d.ts +22 -0
  40. package/packages/engine/dist/types/render/scene.d.ts.map +1 -0
  41. package/packages/engine/dist/types/render/sprite.d.ts +17 -0
  42. package/packages/engine/dist/types/render/sprite.d.ts.map +1 -0
  43. package/packages/game/dist/browser/index.global.js.map +1 -1
  44. package/packages/game/dist/cjs/index.cjs.map +1 -1
  45. package/packages/game/dist/esm/index.js.map +1 -1
  46. package/packages/game/dist/tsconfig.tsbuildinfo +1 -1
  47. package/packages/shared/dist/browser/index.global.js +1 -1
  48. package/packages/shared/dist/browser/index.global.js.map +1 -1
  49. package/packages/shared/dist/cjs/index.cjs +12 -9
  50. package/packages/shared/dist/cjs/index.cjs.map +1 -1
  51. package/packages/shared/dist/esm/index.js +12 -9
  52. package/packages/shared/dist/esm/index.js.map +1 -1
  53. package/packages/shared/dist/tsconfig.tsbuildinfo +1 -1
  54. package/packages/shared/dist/types/bsp/collision.d.ts.map +1 -1
  55. package/apps/demo/dist/assets/index-D1xQWPvb.js +0 -1
  56. package/packages/engine/dist/types/render/draw.d.ts +0 -9
  57. package/packages/engine/dist/types/render/draw.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"fileNames":["../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../src/math/vec3.ts","../src/math/angles.ts","../src/math/color.ts","../src/math/random.ts","../src/math/mat4.ts","../src/bsp/contents.ts","../src/bsp/collision.ts","../src/protocol/cvar.ts","../src/protocol/configstrings.ts","../src/protocol/contracts.ts","../src/pmove/types.ts","../src/pmove/constants.ts","../src/pmove/pmove.ts","../src/pmove/slide.ts","../src/pmove/stuck.ts","../src/pmove/currents.ts","../src/pmove/fly.ts","../src/pmove/water.ts","../src/pmove/jump.ts","../src/pmove/dimensions.ts","../src/pmove/duck.ts","../src/pmove/categorize.ts","../src/pmove/move.ts","../src/pmove/special.ts","../src/pmove/snap.ts","../src/pmove/view.ts","../src/protocol/usercmd.ts","../src/protocol/player-state.ts","../src/protocol/index.ts","../src/pmove/apply.ts","../src/index.ts","../src/pmove/index.ts"],"fileIdsList":[[46,51],[46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,74,75],[46],[46,56,58,73],[46,51,56,57,63],[46,51,56,57],[46,57],[46,51,56,57,65],[46,56,57,58,59],[56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,75],[46,56,57,58,59,61],[46,56],[46,56,60],[46,51,56,57,59,63],[46,47,57],[53,54,55,72,73]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"c10747a84319698e9279bde8472820e273ec22bdaa392f14a544ecac17d42991","signature":"d49d5bc95370fd2ed354d3c9182b058203fff1c1b4970b9e16b2e6f5c9281dca","impliedFormat":99},{"version":"c84d56425926e697fcf5a587a3a3d90de3cbeb27d360caab6a2e7c20fdb79d5d","signature":"d83e5d9a2f506f4ad57d1b1748912ca6e12550c877978e26f018025eb433474a","impliedFormat":99},{"version":"967530224a9db2f0bece532ffcfca0d683b3123af0fa350e15db454e8b971d49","signature":"0a483508d8a864726671af5c9b2d7c78e6c12e1289bef65db7df48930113bd04","impliedFormat":99},{"version":"f2a2d9d812170201a49950fadf1c71b23d37d4c2806a1792235c88d4ac732a14","signature":"782a8f80ef32c3ef311ee951903015dd222486a567ac47d24592a5a474ad925e","impliedFormat":99},{"version":"6b86d94adfab2f6c103cb8f94aa1860f6e9de7e6ddf0a0f0621bd2a80639d997","signature":"69dcd44cf06f76bc10ff5f85b518be25036d13821d3b23e5a646f6d15eb8bc13","impliedFormat":99},{"version":"b237c3b98134f16f7c33708dbd77d20e4999af582f8db81aaa380552fa88cdca","signature":"47b2256e2f9ea76fdbccbe89c4c287dc4d6da52c1572b3a6bf2df660dac435cd","impliedFormat":99},{"version":"81a54dae5492dc853d23fca798064269d87829bff1809a75a68fdb59e5ec7a35","signature":"aeadb23fbdfd75addbdbf7a1bc1d4340424a4abbcaf53c94b422549885e7d722","impliedFormat":99},{"version":"217a06bd64000244cae50722e098cf9772af3240164b495b46e87fd78ad9915e","signature":"5791d843929b2794e757aac45a4791860a4542a163ef0fa062bff83cc4b2783d","impliedFormat":99},{"version":"6c634408f91205d87451a8d2cf1e006d3fe0b71d89f3577a365d0bfd52f64002","signature":"c4df6bbc7e47590510a0d1874dbc655720cbff06c9cc1dc5f3b453d2efed5181","impliedFormat":99},{"version":"3043e12a0749edb696b5238a335b04346558901f7dee552a62ee48365de9b74b","signature":"c25445c4bfdf0d850c0d702fcb12c49f68666a3fe116bdd1080e5ab0ab2e947e","impliedFormat":99},{"version":"5486e37028e5acc363c339b74202acf11a3308b4359a1921af3d97d93c84e0ca","signature":"0663baa12462be4526fc70d40a0512d7c901546d3d2470571a4cecc2403b06b9","impliedFormat":99},{"version":"27352f480168174ba09ada3b4b2d17321fe04fe4d1e47f0293a33b302987b318","signature":"86a09575cc4f08dffb7d7fa70b00d855e7901da0247d2689ee2b5d68acd72300","impliedFormat":99},{"version":"5a740355898a5467033a0c271bdd735a66a20dee628dd9836959f824b04032c2","signature":"966b5425870531e51598f864e5da23083ca0f2bc32055c451eff33b59ab1e42b","impliedFormat":99},{"version":"3eac3a529b45d458644bf703687ed996d3f71c7651a915ba796f5ea54456fc65","signature":"c003de6a72360c6dd4cafb689bd18b196910ec4a2ee299e6b6e7b30b7c976727","impliedFormat":99},{"version":"26957e67d738e52615eeb14592cd246b691cad861c9c70eb18442c90b94bbf20","signature":"b74d298d1f2e7dd4b13653cd705f54dfeb0225192ce6adb419d118dc61db51ed","impliedFormat":99},{"version":"d55ee5d6e185896a0fa7da366fa6d573f5a21c2ce224070676d8bdb73010801b","signature":"28faf4f79dfdb949104d0d954fed83a24c9cdfe98e9799c33e214d1fef29b1bd","impliedFormat":99},{"version":"2d010ed76fb892104bbda1886f189a5dbf1e8a90fda81c2139cddc015b6e0510","signature":"210e8a5d5576c2902129050e62e4cc7acddd41b4e8be38552639c6d21ff3cee3","impliedFormat":99},{"version":"0185a840cc59a3a12352e64d47f5da598e8c4c093cf8e186218453288270623a","signature":"22e2e64285f7aaef481a744debc998006f8cf463a870cf28f281ee789195e9fb","impliedFormat":99},{"version":"371dc0ebac87822e8f79eb0353911bb8dda3680449c0a3e71d73ca782c9fcaf4","signature":"76a9a8b405f17d7ff73b3cb22e7e6fc2832069f5d00dccf927a591bf4996bb01","impliedFormat":99},{"version":"5d4b9db3756805ad056681ebf46fa7d8ece60755085f1da8fd95adafd0676ff5","signature":"a4e0607cf35a6c1503665e283169f069032fe5acb0f69d4f5ab7d6b328bd3641","impliedFormat":99},{"version":"c9f1da07dc7340abcbbba5f975d96e4bbf32dd6bedfa90b156e57d75603330c5","signature":"d3ed5cdf9024e5b707499b95b2f3f36810f3b790e015cc53541ab97dad353ea6","impliedFormat":99},{"version":"3d33ac5b58476ef59de599f45a8e3f379e3f64ef66158744748c250163a6bf1c","signature":"f943bb60549649ccb78acc8105de10c1fc77bc4681dfaedfe5330ce6e87a1d9f","impliedFormat":99},{"version":"71220d28a6325e20d3bfbfe3dde9a44deb61efb367fcb9bed8fc9734040c2e3f","signature":"85c25880de81ca2db6235c99260550f40f2df78dab87b89751e43bfaaa2eae1d","impliedFormat":99},{"version":"6097b15fb34b92a74b29130e02ac4c95172b3ad5192e6a4286e9f64c255ff7e5","signature":"df60f25f487e9772ebf83da13db422c038021a2ecdde25a51506e3cd5f5da5a4","impliedFormat":99},{"version":"e63309805a9862bdb22dcd5b9b119fb76fd9bacc826d7f265986c6a5e6e7945c","signature":"44f7b5e80a9d42c45264f4c4eb4e300c5a44d9517b0d47aec04a14265a84969d","impliedFormat":99},{"version":"1fb8c557a4d8db05dcd5cf97b2df0d0477b56a44aa9202c6bef7b1cf4c633c49","signature":"35526be13abff0b287aaec4d8af58a71c77fea57ec9bd1861aaa457284e326dd","impliedFormat":99},{"version":"63aa67d5827cb00fe1bb3fcc1b8a556f1af34c6d3cdda1627d3aaf73f2b49235","signature":"b5c44500aab4d93e3f8a4fa2106f8d2f9b5acd6bf3d4d8342e822f83c06a2bae","impliedFormat":99},{"version":"80ba3bcc633208b9b8d4a5fec92af1c59fc06d389ccb2a4d32b873ead58272a9","signature":"c6b3da85ac7c4c79aa23b4572dfdf0b06d82aec988fe1e15303a1082918f9ea5","impliedFormat":99},{"version":"cb5424459a9f90e7c5aae59a2a215feab6663afba4e6aa75b3f04ae1c0e9b0c0","signature":"66b59f73e948659a4ed1ade964cfb34012723ebe84f1efe28e15142881dcf2f1","impliedFormat":99},{"version":"3c59b85d7d15d65e486c383428dc0b7c73addac42c2cf409e0b6b0b8d6879181","signature":"9499a4ff2e26c6d174cb3b663258b28f088137d3533e51ebaef546b4b70a4717","impliedFormat":99},{"version":"219fdb5a92f5f74152f2d7a6eff7b7223f830185a433c43569121f1808c606f6","impliedFormat":99},{"version":"9c6701e7cc467f4d0f7186a7e9f38be7af4a07f3b9173268d83fd0adb83113c6","signature":"616bb9fa5a483659b89ae5bae06d54ecd75a2df172532ea8fa199fb196b57188","impliedFormat":99}],"root":[[46,77]],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":199,"outDir":"./types","rootDir":"../src","skipLibCheck":true,"strict":true,"target":7},"referencedMap":[[52,1],[76,2],[47,3],[50,3],[75,4],[67,5],[61,6],[65,7],[66,8],[62,9],[77,10],[64,7],[68,11],[58,12],[59,12],[70,13],[69,14],[60,12],[56,1],[71,15],[63,6],[74,16],[73,7],[72,15]],"latestChangedDtsFile":"./types/pmove/index.d.ts","version":"5.9.3"}
1
+ {"fileNames":["../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../src/math/vec3.ts","../src/math/angles.ts","../src/math/color.ts","../src/math/random.ts","../src/math/mat4.ts","../src/bsp/contents.ts","../src/bsp/collision.ts","../src/protocol/cvar.ts","../src/protocol/configstrings.ts","../src/protocol/contracts.ts","../src/pmove/types.ts","../src/pmove/constants.ts","../src/pmove/pmove.ts","../src/pmove/slide.ts","../src/pmove/stuck.ts","../src/pmove/currents.ts","../src/pmove/fly.ts","../src/pmove/water.ts","../src/pmove/jump.ts","../src/pmove/dimensions.ts","../src/pmove/duck.ts","../src/pmove/categorize.ts","../src/pmove/move.ts","../src/pmove/special.ts","../src/pmove/snap.ts","../src/pmove/view.ts","../src/protocol/usercmd.ts","../src/protocol/player-state.ts","../src/protocol/index.ts","../src/pmove/apply.ts","../src/index.ts","../src/pmove/index.ts"],"fileIdsList":[[46,51],[46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,74,75],[46],[46,56,58,73],[46,51,56,57,63],[46,51,56,57],[46,57],[46,51,56,57,65],[46,56,57,58,59],[56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,75],[46,56,57,58,59,61],[46,56],[46,56,60],[46,51,56,57,59,63],[46,47,57],[53,54,55,72,73]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"c10747a84319698e9279bde8472820e273ec22bdaa392f14a544ecac17d42991","signature":"d49d5bc95370fd2ed354d3c9182b058203fff1c1b4970b9e16b2e6f5c9281dca","impliedFormat":99},{"version":"c84d56425926e697fcf5a587a3a3d90de3cbeb27d360caab6a2e7c20fdb79d5d","signature":"d83e5d9a2f506f4ad57d1b1748912ca6e12550c877978e26f018025eb433474a","impliedFormat":99},{"version":"967530224a9db2f0bece532ffcfca0d683b3123af0fa350e15db454e8b971d49","signature":"0a483508d8a864726671af5c9b2d7c78e6c12e1289bef65db7df48930113bd04","impliedFormat":99},{"version":"f2a2d9d812170201a49950fadf1c71b23d37d4c2806a1792235c88d4ac732a14","signature":"782a8f80ef32c3ef311ee951903015dd222486a567ac47d24592a5a474ad925e","impliedFormat":99},{"version":"6b86d94adfab2f6c103cb8f94aa1860f6e9de7e6ddf0a0f0621bd2a80639d997","signature":"69dcd44cf06f76bc10ff5f85b518be25036d13821d3b23e5a646f6d15eb8bc13","impliedFormat":99},{"version":"b237c3b98134f16f7c33708dbd77d20e4999af582f8db81aaa380552fa88cdca","signature":"47b2256e2f9ea76fdbccbe89c4c287dc4d6da52c1572b3a6bf2df660dac435cd","impliedFormat":99},{"version":"8824ac6050ccfa4fbd3c1e1866ddbe812c897a5336f6e328eef46956f8f27da0","signature":"aeadb23fbdfd75addbdbf7a1bc1d4340424a4abbcaf53c94b422549885e7d722","impliedFormat":99},{"version":"217a06bd64000244cae50722e098cf9772af3240164b495b46e87fd78ad9915e","signature":"5791d843929b2794e757aac45a4791860a4542a163ef0fa062bff83cc4b2783d","impliedFormat":99},{"version":"6c634408f91205d87451a8d2cf1e006d3fe0b71d89f3577a365d0bfd52f64002","signature":"c4df6bbc7e47590510a0d1874dbc655720cbff06c9cc1dc5f3b453d2efed5181","impliedFormat":99},{"version":"3043e12a0749edb696b5238a335b04346558901f7dee552a62ee48365de9b74b","signature":"c25445c4bfdf0d850c0d702fcb12c49f68666a3fe116bdd1080e5ab0ab2e947e","impliedFormat":99},{"version":"5486e37028e5acc363c339b74202acf11a3308b4359a1921af3d97d93c84e0ca","signature":"0663baa12462be4526fc70d40a0512d7c901546d3d2470571a4cecc2403b06b9","impliedFormat":99},{"version":"27352f480168174ba09ada3b4b2d17321fe04fe4d1e47f0293a33b302987b318","signature":"86a09575cc4f08dffb7d7fa70b00d855e7901da0247d2689ee2b5d68acd72300","impliedFormat":99},{"version":"5a740355898a5467033a0c271bdd735a66a20dee628dd9836959f824b04032c2","signature":"966b5425870531e51598f864e5da23083ca0f2bc32055c451eff33b59ab1e42b","impliedFormat":99},{"version":"3eac3a529b45d458644bf703687ed996d3f71c7651a915ba796f5ea54456fc65","signature":"c003de6a72360c6dd4cafb689bd18b196910ec4a2ee299e6b6e7b30b7c976727","impliedFormat":99},{"version":"26957e67d738e52615eeb14592cd246b691cad861c9c70eb18442c90b94bbf20","signature":"b74d298d1f2e7dd4b13653cd705f54dfeb0225192ce6adb419d118dc61db51ed","impliedFormat":99},{"version":"d55ee5d6e185896a0fa7da366fa6d573f5a21c2ce224070676d8bdb73010801b","signature":"28faf4f79dfdb949104d0d954fed83a24c9cdfe98e9799c33e214d1fef29b1bd","impliedFormat":99},{"version":"2d010ed76fb892104bbda1886f189a5dbf1e8a90fda81c2139cddc015b6e0510","signature":"210e8a5d5576c2902129050e62e4cc7acddd41b4e8be38552639c6d21ff3cee3","impliedFormat":99},{"version":"0185a840cc59a3a12352e64d47f5da598e8c4c093cf8e186218453288270623a","signature":"22e2e64285f7aaef481a744debc998006f8cf463a870cf28f281ee789195e9fb","impliedFormat":99},{"version":"371dc0ebac87822e8f79eb0353911bb8dda3680449c0a3e71d73ca782c9fcaf4","signature":"76a9a8b405f17d7ff73b3cb22e7e6fc2832069f5d00dccf927a591bf4996bb01","impliedFormat":99},{"version":"5d4b9db3756805ad056681ebf46fa7d8ece60755085f1da8fd95adafd0676ff5","signature":"a4e0607cf35a6c1503665e283169f069032fe5acb0f69d4f5ab7d6b328bd3641","impliedFormat":99},{"version":"c9f1da07dc7340abcbbba5f975d96e4bbf32dd6bedfa90b156e57d75603330c5","signature":"d3ed5cdf9024e5b707499b95b2f3f36810f3b790e015cc53541ab97dad353ea6","impliedFormat":99},{"version":"3d33ac5b58476ef59de599f45a8e3f379e3f64ef66158744748c250163a6bf1c","signature":"f943bb60549649ccb78acc8105de10c1fc77bc4681dfaedfe5330ce6e87a1d9f","impliedFormat":99},{"version":"71220d28a6325e20d3bfbfe3dde9a44deb61efb367fcb9bed8fc9734040c2e3f","signature":"85c25880de81ca2db6235c99260550f40f2df78dab87b89751e43bfaaa2eae1d","impliedFormat":99},{"version":"6097b15fb34b92a74b29130e02ac4c95172b3ad5192e6a4286e9f64c255ff7e5","signature":"df60f25f487e9772ebf83da13db422c038021a2ecdde25a51506e3cd5f5da5a4","impliedFormat":99},{"version":"e63309805a9862bdb22dcd5b9b119fb76fd9bacc826d7f265986c6a5e6e7945c","signature":"44f7b5e80a9d42c45264f4c4eb4e300c5a44d9517b0d47aec04a14265a84969d","impliedFormat":99},{"version":"1fb8c557a4d8db05dcd5cf97b2df0d0477b56a44aa9202c6bef7b1cf4c633c49","signature":"35526be13abff0b287aaec4d8af58a71c77fea57ec9bd1861aaa457284e326dd","impliedFormat":99},{"version":"63aa67d5827cb00fe1bb3fcc1b8a556f1af34c6d3cdda1627d3aaf73f2b49235","signature":"b5c44500aab4d93e3f8a4fa2106f8d2f9b5acd6bf3d4d8342e822f83c06a2bae","impliedFormat":99},{"version":"80ba3bcc633208b9b8d4a5fec92af1c59fc06d389ccb2a4d32b873ead58272a9","signature":"c6b3da85ac7c4c79aa23b4572dfdf0b06d82aec988fe1e15303a1082918f9ea5","impliedFormat":99},{"version":"cb5424459a9f90e7c5aae59a2a215feab6663afba4e6aa75b3f04ae1c0e9b0c0","signature":"66b59f73e948659a4ed1ade964cfb34012723ebe84f1efe28e15142881dcf2f1","impliedFormat":99},{"version":"3c59b85d7d15d65e486c383428dc0b7c73addac42c2cf409e0b6b0b8d6879181","signature":"9499a4ff2e26c6d174cb3b663258b28f088137d3533e51ebaef546b4b70a4717","impliedFormat":99},{"version":"219fdb5a92f5f74152f2d7a6eff7b7223f830185a433c43569121f1808c606f6","impliedFormat":99},{"version":"9c6701e7cc467f4d0f7186a7e9f38be7af4a07f3b9173268d83fd0adb83113c6","signature":"616bb9fa5a483659b89ae5bae06d54ecd75a2df172532ea8fa199fb196b57188","impliedFormat":99}],"root":[[46,77]],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":199,"outDir":"./types","rootDir":"../src","skipLibCheck":true,"strict":true,"target":7},"referencedMap":[[52,1],[76,2],[47,3],[50,3],[75,4],[67,5],[61,6],[65,7],[66,8],[62,9],[77,10],[64,7],[68,11],[58,12],[59,12],[70,13],[69,14],[60,12],[56,1],[71,15],[63,6],[74,16],[73,7],[72,15]],"latestChangedDtsFile":"./types/pmove/index.d.ts","version":"5.9.3"}
@@ -1 +1 @@
1
- {"version":3,"file":"collision.d.ts","sourceRoot":"","sources":["../../../src/bsp/collision.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAG5C,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,IAAI,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,cAAc,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,kBAAkB,EAAE,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,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AAc,EAAE,QAAQ,SAAI,GAAG,OAAO,CAQtF;AAED,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,MAAM,EAAE,IAAI,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC;IACpB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;CAChC;AA0ED,MAAM,WAAW,0BAA2B,SAAQ,oBAAoB;IACtE,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,0BAA2B,SAAQ,oBAAoB;IACtE,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC;AAED,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA2C;IAEpE,IAAI,CAAC,MAAM,EAAE,mBAAmB,GAAG,IAAI;IAIvC,MAAM,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAI9B,KAAK,CAAC,MAAM,EAAE,0BAA0B,GAAG,0BAA0B;IAoCrE,oBAAoB,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,SAAmB,GAAG,MAAM,EAAE;CAgB9F"}
@@ -1 +0,0 @@
1
- (function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))n(s);new MutationObserver(s=>{for(const r of s)if(r.type==="childList")for(const a of r.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function i(s){const r={};return s.integrity&&(r.integrity=s.integrity),s.referrerPolicy&&(r.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?r.credentials="include":s.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function n(s){if(s.ep)return;s.ep=!0;const r=i(s);fetch(s.href,r)}})();const re=25,Se=5,ze=()=>typeof performance<"u"?performance.now():Date.now(),Te=t=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(()=>t()):setTimeout(t,re)};class Ne{constructor(e,i={}){this.callbacks=e,this.accumulatorMs=0,this.frame=0,this.running=!1,this.tick=()=>{if(!this.running)return;const r=this.options.now(),a=this.lastTimeMs===void 0?0:r-this.lastTimeMs;this.lastTimeMs=r,this.advance(a,r),this.running&&this.options.schedule(this.tick)};const n=i.fixedDeltaMs??re,s=i.maxSubSteps??Se;this.options={fixedDeltaMs:n,maxSubSteps:s,maxDeltaMs:i.maxDeltaMs??n*s,startTimeMs:i.startTimeMs,now:i.now??ze,schedule:i.schedule??Te}}start(){this.running||(this.running=!0,this.lastTimeMs=this.options.startTimeMs??this.options.now(),this.options.schedule(this.tick))}stop(){this.running=!1}pump(e){const i=(this.lastTimeMs??0)+e;this.lastTimeMs=i,this.advance(e,i)}isRunning(){return this.running}get frameNumber(){return this.frame}advance(e,i){var a,o;const n=Math.min(Math.max(e,0),this.options.maxDeltaMs);this.accumulatorMs=Math.min(this.accumulatorMs+n,this.options.fixedDeltaMs*this.options.maxSubSteps);let s=0;for(;this.accumulatorMs>=this.options.fixedDeltaMs&&s<this.options.maxSubSteps;)this.frame+=1,this.callbacks.simulate({frame:this.frame,deltaMs:this.options.fixedDeltaMs,nowMs:i}),this.accumulatorMs-=this.options.fixedDeltaMs,s+=1;const r=this.options.fixedDeltaMs===0?0:this.accumulatorMs/this.options.fixedDeltaMs;(o=(a=this.callbacks).render)==null||o.call(a,{alpha:r,nowMs:i,accumulatorMs:this.accumulatorMs,frame:this.frame})}}const ae={x:0,y:0,z:0};function G(t,e){return{x:t.x+e.x,y:t.y+e.y,z:t.z+e.z}}function F(t,e){return{x:t.x*e,y:t.y*e,z:t.z*e}}function P(t,e){return t.x*e.x+t.y*e.y+t.z*e.z}function Ae(t){return P(t,t)}function q(t){return Math.sqrt(Ae(t))}function oe(t){const e=q(t);return e===0?t:F(t,1/e)}const ce=0,le=1,he=2,ue=Math.PI/180,R=ue;function W(t,e){switch(e){case ce:return t.x;case le:return t.y;case he:default:return t.z}}function j(t){return t*ue}function K(t){const e=t%360;return e<0?360+e:e}function de(t){const e=j(W(t,le)),i=j(W(t,ce)),n=j(W(t,he)),s=Math.sin(e),r=Math.cos(e),a=Math.sin(i),o=Math.cos(i),c=Math.sin(n),l=Math.cos(n),d={x:o*r,y:o*s,z:-a},u={x:-c*a*r-l*-s,y:-c*a*s-l*r,z:-c*o},h={x:l*a*r-c*-s,y:l*a*s-c*r,z:l*o};return{forward:d,right:u,up:h}}const _=624,Ee=397,Ce=2567483615,Ie=2147483648,Re=2147483647,$=4294967296;class De{constructor(e=5489){this.state=new Uint32Array(_),this.index=_,this.seed(e)}seed(e){this.state[0]=e>>>0;for(let i=1;i<_;i++){const n=this.state[i-1]^this.state[i-1]>>>30,s=Math.imul(n>>>0,1812433253)+i;this.state[i]=s>>>0}this.index=_}nextUint32(){this.index>=_&&this.twist();let e=this.state[this.index++];return e^=e>>>11,e^=e<<7&2636928640,e^=e<<15&4022730752,e^=e>>>18,e>>>0}twist(){for(let e=0;e<_;e++){const i=this.state[e]&Ie|this.state[(e+1)%_]&Re;let n=this.state[(e+Ee)%_]^i>>>1;i&1&&(n^=Ce),this.state[e]=n>>>0}this.index=0}getState(){return{index:this.index,state:Array.from(this.state)}}setState(e){if(e.state.length!==_)throw new Error(`Expected ${_} MT state values, received ${e.state.length}`);this.index=e.index,this.state=Uint32Array.from(e.state,i=>i>>>0)}}class Le{constructor(e={}){this.mt=new De(e.seed)}frandom(){return this.mt.nextUint32()/$}frandomRange(e,i){return e+(i-e)*this.frandom()}frandomMax(e){return this.frandomRange(0,e)}crandom(){return this.frandomRange(-1,1)}crandomOpen(){const e=Number.EPSILON;return this.frandomRange(-1+e,1)}irandomUint32(){return this.mt.nextUint32()}irandomRange(e,i){if(i-e<=1)return e;const n=i-e,s=$-$%n;let r;do r=this.mt.nextUint32();while(r>=s);return e+r%n}irandom(e){return e<=0?0:this.irandomRange(0,e)}randomTimeRange(e,i){return i<=e?e:this.irandomRange(e,i)}randomTime(e){return this.irandom(e)}randomIndex(e){return this.irandom(e.length)}getState(){return{mt:this.mt.getState()}}setState(e){this.mt.setState(e.mt)}}function Oe(t){return new Le(t)}var V=(t=>(t[t.None=0]="None",t[t.Feet=1]="Feet",t[t.Waist=2]="Waist",t[t.Under=3]="Under",t))(V||{}),S=(t=>(t[t.Ducked=1]="Ducked",t[t.JumpHeld=2]="JumpHeld",t[t.OnGround=4]="OnGround",t[t.TimeWaterJump=8]="TimeWaterJump",t[t.TimeLand=16]="TimeLand",t[t.TimeTeleport=32]="TimeTeleport",t[t.NoPositionalPrediction=64]="NoPositionalPrediction",t[t.OnLadder=128]="OnLadder",t[t.NoAngularPrediction=256]="NoAngularPrediction",t[t.IgnorePlayerCollision=512]="IgnorePlayerCollision",t[t.TimeTrick=1024]="TimeTrick",t))(S||{});function C(t,e){return(t&e)!==0}var me=(t=>(t[t.Normal=0]="Normal",t[t.Grapple=1]="Grapple",t[t.NoClip=2]="NoClip",t[t.Spectator=3]="Spectator",t[t.Dead=4]="Dead",t[t.Gib=5]="Gib",t[t.Freeze=6]="Freeze",t))(me||{});function fe(t){const{velocity:e,frametime:i,onGround:n,groundIsSlick:s,onLadder:r,waterlevel:a,pmFriction:o,pmStopSpeed:c,pmWaterFriction:l}=t,d=q(e);if(d<1)return{x:0,y:0,z:e.z};let u=0;if(n&&!s||r){const p=d<c?c:d;u+=p*o*i}a>0&&!r&&(u+=d*l*a*i);let h=d-u;if(h<0&&(h=0),h===d)return e;const m=h/d;return F(e,m)}function Z(t){const{velocity:e,wishdir:i,wishspeed:n,accel:s,frametime:r}=t,a=P(e,i),o=n-a;if(o<=0)return e;let c=s*r*n;return c>o&&(c=o),{x:e.x+i.x*c,y:e.y+i.y*c,z:e.z+i.z*c}}function Pe(t){const{velocity:e,wishdir:i,wishspeed:n,accel:s,frametime:r}=t,a=Math.min(n,30),o=P(e,i),c=a-o;if(c<=0)return e;let l=s*n*r;return l>c&&(l=c),{x:e.x+i.x*l,y:e.y+i.y*l,z:e.z+i.z*l}}function pe(t){const{forward:e,right:i,cmd:n,maxSpeed:s}=t;let r={x:e.x*n.forwardmove+i.x*n.sidemove,y:e.y*n.forwardmove+i.y*n.sidemove,z:0},a=q(r);if(a>s){const o=s/a;r=F(r,o),a=s}return{wishdir:a===0?r:oe(r),wishspeed:a}}function ge(t){const{forward:e,right:i,cmd:n,maxSpeed:s}=t;let r={x:e.x*n.forwardmove+i.x*n.sidemove,y:e.y*n.forwardmove+i.y*n.sidemove,z:0};n.upmove>10?r=G(r,{x:0,y:0,z:n.upmove}):n.upmove<-10?r=G(r,{x:0,y:0,z:n.upmove}):r=G(r,{x:0,y:0,z:10});let a=q(r);if(a>s){const o=s/a;r=F(r,o),a=s}return a*=.5,{wishdir:a===0?r:oe(r),wishspeed:a}}function Fe(t,e){return{x:t.x+e.x,y:t.y+e.y,z:t.z+e.z}}function Ue(t){return t>89&&t<180?89:t<271&&t>=180?271:t}function ve(t){const{pmFlags:e,cmdAngles:i,deltaAngles:n}=t;let s;e&S.TimeTeleport?s={x:0,y:i.y+n.y,z:0}:(s=Fe(i,n),s={...s,x:Ue(s.x)});const r=de(s);return{viewangles:s,...r}}const D=.025,Be=(t,e)=>{const i={...t.origin};i.z-=.25;const n=e(t.origin,i);return{...t,onGround:n.fraction<1}},Ge=(t,e)=>{const i={...t.origin};return i.z+=t.mins.z+1,e(i)&33554432?{...t,waterLevel:1}:{...t,waterLevel:0}},Ve=(t,e,i,n)=>{let s={...t};s=Be(s,i),s=Ge(s,n);const{origin:r,velocity:a,onGround:o,waterLevel:c}=s,l=fe({velocity:a,frametime:D,onGround:o,groundIsSlick:!1,onLadder:!1,waterlevel:c,pmFriction:6,pmStopSpeed:100,pmWaterFriction:1}),d=c>=2?ge({forward:{x:1,y:0,z:0},right:{x:0,y:1,z:0},cmd:e,maxSpeed:320}):pe({forward:{x:1,y:0,z:0},right:{x:0,y:1,z:0},cmd:e,maxSpeed:320}),u=Z({velocity:l,wishdir:d.wishdir,wishspeed:d.wishspeed,accel:o?10:1,frametime:D}),h=i(r,{x:r.x+u.x*D,y:r.y+u.y*D,z:r.z+u.z*D});return{...s,origin:h.endpos,velocity:u}};var I=typeof Float32Array<"u"?Float32Array:Array;function z(){var t=new I(16);return I!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0),t[0]=1,t[5]=1,t[10]=1,t[15]=1,t}function He(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function qe(t,e,i,n,s,r,a,o,c,l,d,u,h,m,p,g){var f=new I(16);return f[0]=t,f[1]=e,f[2]=i,f[3]=n,f[4]=s,f[5]=r,f[6]=a,f[7]=o,f[8]=c,f[9]=l,f[10]=d,f[11]=u,f[12]=h,f[13]=m,f[14]=p,f[15]=g,f}function We(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function Q(t,e,i){var n=e[0],s=e[1],r=e[2],a=e[3],o=e[4],c=e[5],l=e[6],d=e[7],u=e[8],h=e[9],m=e[10],p=e[11],g=e[12],f=e[13],k=e[14],b=e[15],y=i[0],x=i[1],w=i[2],M=i[3];return t[0]=y*n+x*o+w*u+M*g,t[1]=y*s+x*c+w*h+M*f,t[2]=y*r+x*l+w*m+M*k,t[3]=y*a+x*d+w*p+M*b,y=i[4],x=i[5],w=i[6],M=i[7],t[4]=y*n+x*o+w*u+M*g,t[5]=y*s+x*c+w*h+M*f,t[6]=y*r+x*l+w*m+M*k,t[7]=y*a+x*d+w*p+M*b,y=i[8],x=i[9],w=i[10],M=i[11],t[8]=y*n+x*o+w*u+M*g,t[9]=y*s+x*c+w*h+M*f,t[10]=y*r+x*l+w*m+M*k,t[11]=y*a+x*d+w*p+M*b,y=i[12],x=i[13],w=i[14],M=i[15],t[12]=y*n+x*o+w*u+M*g,t[13]=y*s+x*c+w*h+M*f,t[14]=y*r+x*l+w*m+M*k,t[15]=y*a+x*d+w*p+M*b,t}function je(t,e,i){var n=Math.sin(i),s=Math.cos(i),r=e[4],a=e[5],o=e[6],c=e[7],l=e[8],d=e[9],u=e[10],h=e[11];return e!==t&&(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[4]=r*s+l*n,t[5]=a*s+d*n,t[6]=o*s+u*n,t[7]=c*s+h*n,t[8]=l*s-r*n,t[9]=d*s-a*n,t[10]=u*s-o*n,t[11]=h*s-c*n,t}function $e(t,e,i){var n=Math.sin(i),s=Math.cos(i),r=e[0],a=e[1],o=e[2],c=e[3],l=e[8],d=e[9],u=e[10],h=e[11];return e!==t&&(t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=r*s-l*n,t[1]=a*s-d*n,t[2]=o*s-u*n,t[3]=c*s-h*n,t[8]=r*n+l*s,t[9]=a*n+d*s,t[10]=o*n+u*s,t[11]=c*n+h*s,t}function Xe(t,e,i){var n=Math.sin(i),s=Math.cos(i),r=e[0],a=e[1],o=e[2],c=e[3],l=e[4],d=e[5],u=e[6],h=e[7];return e!==t&&(t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=r*s+l*n,t[1]=a*s+d*n,t[2]=o*s+u*n,t[3]=c*s+h*n,t[4]=l*s-r*n,t[5]=d*s-a*n,t[6]=u*s-o*n,t[7]=h*s-c*n,t}function Ze(t,e,i,n,s){var r=1/Math.tan(e/2);if(t[0]=r/i,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=r,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,s!=null&&s!==1/0){var a=1/(n-s);t[10]=(s+n)*a,t[14]=2*s*n*a}else t[10]=-1,t[14]=-2*n;return t}var ee=Ze;function L(){var t=new I(3);return I!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0),t}function Y(t,e,i){var n=new I(3);return n[0]=t,n[1]=e,n[2]=i,n}function te(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function Ye(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function Je(t,e,i){var n=e[0],s=e[1],r=e[2],a=i[3]*n+i[7]*s+i[11]*r+i[15];return a=a||1,t[0]=(i[0]*n+i[4]*s+i[8]*r+i[12])/a,t[1]=(i[1]*n+i[5]*s+i[9]*r+i[13])/a,t[2]=(i[2]*n+i[6]*s+i[10]*r+i[14])/a,t}(function(){var t=L();return function(e,i,n,s,r,a){var o,c;for(i||(i=3),n||(n=0),s?c=Math.min(s*i+n,e.length):c=e.length,o=n;o<c;o+=i)t[0]=e[o],t[1]=e[o+1],t[2]=e[o+2],r(t,t,a),e[o]=t[0],e[o+1]=t[1],e[o+2]=t[2];return e}})();class Ke{constructor(){this._position=L(),this._angles=L(),this._fov=90,this._aspect=1,this._near=.1,this._far=1e3,this._viewMatrix=z(),this._projectionMatrix=z(),this._viewProjectionMatrix=z(),this._dirty=!0}get position(){return this._position}set position(e){te(this._position,e),this._dirty=!0}get angles(){return this._angles}set angles(e){te(this._angles,e),this._dirty=!0}get fov(){return this._fov}set fov(e){this._fov=e,this._dirty=!0}get aspect(){return this._aspect}set aspect(e){this._aspect=e,this._dirty=!0}get viewMatrix(){return this.updateMatrices(),this._viewMatrix}get projectionMatrix(){return this.updateMatrices(),this._projectionMatrix}get viewProjectionMatrix(){return this.updateMatrices(),this._viewProjectionMatrix}getViewmodelProjectionMatrix(e){const i=z();return ee(i,e*R,this._aspect,this._near,this._far),i}updateMatrices(){if(!this._dirty)return;ee(this._projectionMatrix,this._fov*R,this._aspect,this._near,this._far);const e=qe(0,-1,0,0,0,0,1,0,-1,0,0,0,0,0,0,1),i=this._angles[0]*R,n=this._angles[1]*R,s=this._angles[2]*R,r=z();We(r),Xe(r,r,-n),$e(r,r,-i),je(r,r,-s);const a=z();Q(a,e,r);const o=Ye(L(),this._position),c=L();Je(c,o,r);const l=Y(c[1]||0,c[2]||0,c[0]||0);He(this._viewMatrix,a),this._viewMatrix[12]=l[0],this._viewMatrix[13]=l[1],this._viewMatrix[14]=l[2],Q(this._viewProjectionMatrix,this._projectionMatrix,this._viewMatrix),this._dirty=!1}}function Qe(t){return{init(){t.trace({x:0,y:0,z:0},{x:0,y:0,z:0})},shutdown(){},createMainLoop(e,i){return new Ne(e,i)}}}const et={pmFriction:6,pmStopSpeed:100,pmAccelerate:10,pmAirAccelerate:1,pmWaterAccelerate:4,pmWaterFriction:1,pmMaxSpeed:300,pmDuckSpeed:100,pmWaterSpeed:400,groundIsSlick:!1},tt=800,E={x:0,y:0,z:0},it=250;function O(){return{origin:E,velocity:E,viewangles:E,pmFlags:S.OnGround,pmType:me.Normal,waterlevel:V.None,gravity:tt,deltaAngles:E}}function ie(t){return t?{...O(),...t,origin:{...t.origin},velocity:{...t.velocity},viewangles:{...t.viewangles},deltaAngles:t.deltaAngles?{...t.deltaAngles}:E}:O()}function T(t,e,i){return t+(e-t)*i}function X(t,e,i){let n=K(e-t);return n>180&&(n-=360),K(t+n*i)}function nt(t,e,i){const n=Math.max(0,Math.min(i,1));return{origin:{x:T(t.origin.x,e.origin.x,n),y:T(t.origin.y,e.origin.y,n),z:T(t.origin.z,e.origin.z,n)},velocity:{x:T(t.velocity.x,e.velocity.x,n),y:T(t.velocity.y,e.velocity.y,n),z:T(t.velocity.z,e.velocity.z,n)},viewangles:{x:X(t.viewangles.x,e.viewangles.x,n),y:X(t.viewangles.y,e.viewangles.y,n),z:X(t.viewangles.z,e.viewangles.z,n)},pmFlags:e.pmFlags,pmType:e.pmType,waterlevel:e.waterlevel,gravity:e.gravity,deltaAngles:e.deltaAngles}}function st(t,e,i,n){const s=Math.min(Math.max(e.msec,0),it)/1e3,r=C(t.pmFlags,S.OnGround),a=C(t.pmFlags,S.OnLadder);let o=fe({velocity:t.velocity,frametime:s,onGround:r,groundIsSlick:i.groundIsSlick,onLadder:a,waterlevel:t.waterlevel,pmFriction:i.pmFriction,pmStopSpeed:i.pmStopSpeed,pmWaterFriction:i.pmWaterFriction});const{viewangles:c,forward:l,right:d}=ve({pmFlags:t.pmFlags,cmdAngles:e.angles,deltaAngles:t.deltaAngles??E}),u=t.waterlevel>V.None?ge({forward:l,right:d,cmd:e,maxSpeed:i.pmWaterSpeed}):pe({forward:l,right:d,cmd:e,maxSpeed:i.pmMaxSpeed});if(t.waterlevel>V.None)o=Z({velocity:o,wishdir:u.wishdir,wishspeed:u.wishspeed,accel:i.pmWaterAccelerate,frametime:s});else if(r||a){const p=C(t.pmFlags,S.Ducked)?i.pmDuckSpeed:i.pmMaxSpeed,g=u.wishspeed>p?{wishdir:u.wishdir,wishspeed:p}:u;o=Z({velocity:o,wishdir:g.wishdir,wishspeed:g.wishspeed,accel:i.pmAccelerate,frametime:s})}else o=Pe({velocity:o,wishdir:u.wishdir,wishspeed:u.wishspeed,accel:i.pmAirAccelerate,frametime:s}),o={...o,z:o.z-t.gravity*s};const m=n(t.origin,G(t.origin,F(o,s))).endpos;return{...t,origin:m,velocity:o,viewangles:c}}class rt{constructor(e,i={}){this.baseFrame={frame:0,timeMs:0,state:O()},this.commands=[],this.predicted=O(),this.settings={...et,...i},this.trace=e,this.predicted=this.baseFrame.state??O()}setAuthoritative(e){const i=ie(e.state);return this.baseFrame={...e,state:i},this.commands=this.commands.filter(n=>(n.serverFrame??Number.MAX_SAFE_INTEGER)>e.frame),this.recompute()}enqueueCommand(e){return this.commands.push(e),this.recompute()}getPredictedState(){return this.predicted}recompute(){let e=ie(this.baseFrame.state);for(const i of this.commands)e=st(e,i,this.settings,this.trace);return this.predicted=e,e}}const at={runPitch:.002,runRoll:.005,bobUp:.005,bobPitch:.002,bobRoll:.002,maxBobHeight:6,maxBobAngle:1.2};function ot(t){return{x:Math.max(-14,Math.min(14,t.x)),y:Math.max(-14,Math.min(14,t.y)),z:Math.max(-22,Math.min(30,t.z))}}function ct(t,e,i){return e?t>210?i/400:t>100?i/800:i/1600:0}function lt(t,e,i,n,s){if(e<5)return{bobTime:0,bobCycle:0,bobCycleRun:0,bobFracSin:0};const r=ct(e,n,s),a=t+r,c=C(i,S.Ducked)&&n?a*4:a;return{bobTime:a,bobCycle:Math.floor(c),bobCycleRun:Math.floor(a),bobFracSin:Math.abs(Math.sin(c*Math.PI))}}class ht{constructor(e={}){this.bobTime=0,this.bobCycle=0,this.bobCycleRun=0,this.bobFracSin=0,this.settings={...at,...e}}addKick(e){e.durationMs<=0||(this.kick={...e,remainingMs:e.durationMs})}get last(){return this.lastSample}sample(e,i){const{forward:n,right:s}=de(ve({pmFlags:e.pmFlags,cmdAngles:e.viewangles,deltaAngles:e.deltaAngles??ae}).viewangles),r=Math.sqrt(e.velocity.x*e.velocity.x+e.velocity.y*e.velocity.y),a=C(e.pmFlags,S.OnGround),o=lt(this.bobTime,r,e.pmFlags,a,i);this.bobTime=o.bobTime,this.bobCycle=o.bobCycle,this.bobCycleRun=o.bobCycleRun,this.bobFracSin=o.bobFracSin;let c=P(e.velocity,n)*this.settings.runPitch,l=P(e.velocity,s)*this.settings.runRoll,d=this.bobFracSin*this.settings.bobPitch*r,u=this.bobFracSin*this.settings.bobRoll*r;C(e.pmFlags,S.Ducked)&&a&&(d*=6,u*=6),c+=Math.min(d,this.settings.maxBobAngle),u=Math.min(u,this.settings.maxBobAngle),this.bobCycle&1&&(u=-u),l+=u;const h=Math.min(this.bobFracSin*r*this.settings.bobUp,this.settings.maxBobHeight);let m=0,p=0;if(this.kick&&this.kick.remainingMs>0){const b=Math.max(0,Math.min(1,this.kick.remainingMs/this.kick.durationMs));m+=b*this.kick.pitch,p+=b*this.kick.roll,this.kick.remainingMs=Math.max(0,this.kick.remainingMs-i),this.kick.remainingMs===0&&(this.kick=void 0)}const k={angles:{x:c+m,y:0,z:l+p},offset:ot({x:0,y:0,z:h}),bobCycle:this.bobCycle,bobCycleRun:this.bobCycleRun,bobFracSin:this.bobFracSin,xyspeed:r};return this.lastSample=k,k}}function ut(t){const e=new rt(t.engine.trace),i=new ht;let n,s,r;return{init(a){a!=null&&a.state&&e.setAuthoritative(a),t.engine.trace({x:0,y:0,z:0},{x:1,y:0,z:0})},predict(a){return e.enqueueCommand(a)},render(a){var l,d,u,h,m;(l=a.latest)!=null&&l.state&&(e.setAuthoritative(a.latest),a.latest),(d=a.previous)!=null&&d.state&&((u=a.latest)!=null&&u.state)?n=nt(a.previous.state,a.latest.state,a.alpha):n=((h=a.latest)==null?void 0:h.state)??((m=a.previous)==null?void 0:m.state)??e.getPredictedState();const o=a.latest&&a.previous?Math.max(0,a.latest.timeMs-a.previous.timeMs):0;if(s=i.sample(n,o),n){const{origin:p,viewangles:g}=n;r=new Ke,r.position=Y(p.x,p.y,p.z),r.angles=Y(g.x,g.y,g.z),r.fov=90,r.aspect=4/3}return{}},shutdown(){n=void 0},get prediction(){return e},get lastRendered(){return n},get view(){return i},get lastView(){return s},get camera(){return r}}}var J=(t=>(t[t.Not=0]="Not",t[t.Trigger=1]="Trigger",t[t.BoundingBox=2]="BoundingBox",t[t.Bsp=3]="Bsp",t))(J||{}),ye=(t=>(t[t.None=0]="None",t[t.NoClient=1]="NoClient",t[t.DeadMonster=2]="DeadMonster",t[t.Monster=4]="Monster",t[t.Player=8]="Player",t[t.Bot=16]="Bot",t[t.NoBots=32]="NoBots",t[t.Respawning=64]="Respawning",t[t.Projectile=128]="Projectile",t[t.Instanced=256]="Instanced",t[t.Door=512]="Door",t[t.NoCull=1024]="NoCull",t[t.Hull=2048]="Hull",t))(ye||{}),xe=(t=>(t[t.Alive=0]="Alive",t[t.Dying=1]="Dying",t[t.Dead=2]="Dead",t[t.Respawnable=3]="Respawnable",t))(xe||{});const we={...ae};function v(){return{...we}}const ne=Object.freeze({aiflags:0,last_sighting:we,trail_time:0,pausetime:0});class dt{constructor(e){this.inUse=!1,this.freePending=!1,this.linkPrevious=null,this.linkNext=null,this.classname="",this.spawnflags=0,this.inventory={},this.origin=v(),this.old_origin=v(),this.velocity=v(),this.avelocity=v(),this.angles=v(),this.viewheight=0,this.mins=v(),this.maxs=v(),this.size=v(),this.mass=0,this.gravity=1,this.movetype=0,this.movedir=v(),this.modelindex=0,this.frame=0,this.skin=0,this.effects=0,this.renderfx=0,this.health=0,this.max_health=0,this.takedamage=!1,this.dmg=0,this.speed=0,this.deadflag=0,this.count=0,this.wait=0,this.delay=0,this.timestamp=0,this.sounds=0,this.noise_index=0,this.fly_sound_debounce_time=0,this.enemy=null,this.movetarget=null,this.target_ent=null,this.goalentity=null,this.ideal_yaw=0,this.yaw_speed=0,this.search_time=0,this.attack_finished_time=0,this.pain_finished_time=0,this.trail_time=0,this.groundentity=null,this.groundentity_linkcount=0,this.waterlevel=0,this.watertype=0,this.nextthink=0,this.activator=null,this.solid=0,this.flags=0,this.svflags=0,this.monsterinfo={...ne,last_sighting:v()},this.show_hostile=0,this.light_level=0,this.owner=null,this.index=e}reset(){this.inUse=!1,this.freePending=!1,this.linkPrevious=null,this.linkNext=null,this.classname="",this.spawnflags=0,this.target=void 0,this.targetname=void 0,this.killtarget=void 0,this.team=void 0,this.message=void 0,this.pathtarget=void 0,this.model=void 0,this.item=void 0,this.inventory={},this.origin=v(),this.old_origin=v(),this.velocity=v(),this.avelocity=v(),this.angles=v(),this.viewheight=0,this.mins=v(),this.maxs=v(),this.size=v(),this.mass=0,this.gravity=1,this.movetype=0,this.movedir=v(),this.modelindex=0,this.frame=0,this.skin=0,this.effects=0,this.renderfx=0,this.health=0,this.max_health=0,this.takedamage=!1,this.dmg=0,this.speed=0,this.deadflag=0,this.count=0,this.wait=0,this.delay=0,this.timestamp=0,this.sounds=0,this.noise_index=0,this.fly_sound_debounce_time=0,this.enemy=null,this.movetarget=null,this.target_ent=null,this.goalentity=null,this.ideal_yaw=0,this.yaw_speed=0,this.search_time=0,this.attack_finished_time=0,this.pain_finished_time=0,this.trail_time=0,this.groundentity=null,this.groundentity_linkcount=0,this.waterlevel=0,this.watertype=0,this.nextthink=0,this.think=void 0,this.touch=void 0,this.use=void 0,this.pain=void 0,this.die=void 0,this.activator=null,this.solid=0,this.flags=0,this.svflags=0,this.monsterinfo={...ne,last_sighting:v()},this.combattarget=void 0,this.show_hostile=0,this.light_level=0}}const Me=[{name:"classname",type:"string",save:!0},{name:"spawnflags",type:"int",save:!0},{name:"target",type:"string",save:!0},{name:"targetname",type:"string",save:!0},{name:"killtarget",type:"string",save:!0},{name:"team",type:"string",save:!0},{name:"message",type:"string",save:!0},{name:"pathtarget",type:"string",save:!0},{name:"model",type:"string",save:!0},{name:"item",type:"string",save:!0},{name:"map",type:"string",save:!0},{name:"inventory",type:"inventory",save:!0},{name:"origin",type:"vec3",save:!0},{name:"old_origin",type:"vec3",save:!0},{name:"velocity",type:"vec3",save:!0},{name:"avelocity",type:"vec3",save:!0},{name:"angles",type:"vec3",save:!0},{name:"viewheight",type:"int",save:!0},{name:"mins",type:"vec3",save:!0},{name:"maxs",type:"vec3",save:!0},{name:"size",type:"vec3",save:!0},{name:"mass",type:"int",save:!0},{name:"gravity",type:"float",save:!0},{name:"movetype",type:"int",save:!0},{name:"movedir",type:"vec3",save:!0},{name:"modelindex",type:"int",save:!0},{name:"frame",type:"int",save:!0},{name:"skin",type:"int",save:!0},{name:"effects",type:"int",save:!0},{name:"renderfx",type:"int",save:!0},{name:"health",type:"int",save:!0},{name:"max_health",type:"int",save:!0},{name:"takedamage",type:"boolean",save:!0},{name:"dmg",type:"int",save:!0},{name:"speed",type:"float",save:!0},{name:"deadflag",type:"int",save:!0},{name:"count",type:"int",save:!0},{name:"wait",type:"float",save:!0},{name:"delay",type:"float",save:!0},{name:"timestamp",type:"float",save:!0},{name:"sounds",type:"int",save:!0},{name:"noise_index",type:"int",save:!0},{name:"fly_sound_debounce_time",type:"float",save:!0},{name:"enemy",type:"entity",save:!0},{name:"movetarget",type:"entity",save:!0},{name:"target_ent",type:"entity",save:!0},{name:"goalentity",type:"entity",save:!0},{name:"ideal_yaw",type:"float",save:!0},{name:"yaw_speed",type:"float",save:!0},{name:"search_time",type:"float",save:!0},{name:"attack_finished_time",type:"float",save:!0},{name:"pain_finished_time",type:"float",save:!0},{name:"trail_time",type:"float",save:!0},{name:"groundentity",type:"entity",save:!0},{name:"groundentity_linkcount",type:"int",save:!0},{name:"waterlevel",type:"int",save:!0},{name:"watertype",type:"int",save:!0},{name:"nextthink",type:"float",save:!0},{name:"solid",type:"int",save:!0},{name:"flags",type:"int",save:!0},{name:"svflags",type:"int",save:!0},{name:"think",type:"callback",save:!1},{name:"touch",type:"callback",save:!1},{name:"use",type:"callback",save:!1},{name:"pain",type:"callback",save:!1},{name:"die",type:"callback",save:!1}],mt=2048,N=0;class ft{constructor(e=mt){if(this.freeList=[],this.pendingFree=[],this.activeHead=null,e<1||!Number.isInteger(e))throw new Error("EntityPool requires a positive integer size");this.entities=new Array(e);for(let n=0;n<e;n+=1)this.entities[n]=new dt(n),n!==N&&this.freeList.push(n);const i=this.entities[N];i.inUse=!0,i.classname="worldspawn",this.activeHead=i}get world(){return this.entities[N]}get capacity(){return this.entities.length}get activeCount(){let e=0;for(const i of this)e+=1;return e}[Symbol.iterator](){let e=this.activeHead;return{next:()=>{if(!e)return{done:!0,value:void 0};const i=e;return e=e.linkNext,{done:!1,value:i}}}}spawn(){const e=this.freeList.pop();if(e===void 0)throw new Error("No free entities available");const i=this.entities[e];return i.reset(),i.inUse=!0,this.link(i),i}deferFree(e){if(e.index===N)throw new Error("Cannot free world entity");!e.inUse||e.freePending||(this.unlink(e),e.inUse=!1,e.freePending=!0,this.pendingFree.push(e.index))}freeImmediate(e){if(e.index===N)throw new Error("Cannot free world entity");e.inUse&&(this.unlink(e),e.reset(),this.freeList.push(e.index))}flushFreeList(){if(this.pendingFree.length!==0){for(const e of this.pendingFree)this.entities[e].reset(),this.freeList.push(e);this.pendingFree.length=0}}createSnapshot(){const e=Array.from(this,i=>i.index);return{capacity:this.entities.length,activeOrder:e,freeList:[...this.freeList],pendingFree:[...this.pendingFree]}}restore(e){if(e.capacity!==this.entities.length)throw new Error(`Snapshot capacity ${e.capacity} does not match pool capacity ${this.entities.length}`);const i=new Set,n=(s,r)=>{if(s<0||s>=this.entities.length)throw new Error(`Invalid entity index ${s} in ${r}`);if(i.has(s))throw new Error(`Duplicate entity index ${s} in snapshot`);i.add(s)};for(const s of e.activeOrder)n(s,"activeOrder");for(const s of e.freeList)n(s,"freeList");for(const s of e.pendingFree)n(s,"pendingFree");this.activeHead=null,this.freeList.length=0,this.pendingFree.length=0;for(const s of this.entities)s.reset();for(let s=e.activeOrder.length-1;s>=0;s-=1){const r=this.entities[e.activeOrder[s]];r.inUse=!0,this.link(r)}for(const s of e.pendingFree){const r=this.entities[s];r.inUse=!1,r.freePending=!0,r.linkNext=null,r.linkPrevious=null,this.pendingFree.push(s)}for(const s of e.freeList){const r=this.entities[s];r.inUse=!1,r.freePending=!1,r.linkNext=null,r.linkPrevious=null,this.freeList.push(s)}if(!e.activeOrder.includes(N))throw new Error("Snapshot must include the world entity as active")}link(e){e.linkNext=this.activeHead,this.activeHead&&(this.activeHead.linkPrevious=e),this.activeHead=e,e.linkPrevious=null}unlink(e){e.linkPrevious&&(e.linkPrevious.linkNext=e.linkNext),e.linkNext&&(e.linkNext.linkPrevious=e.linkPrevious),this.activeHead===e&&(this.activeHead=e.linkNext),e.linkPrevious=null,e.linkNext=null}}class pt{constructor(){this.queue=[]}schedule(e,i){e.nextthink=i,this.queue.push({entity:e,time:i}),this.queue.sort((n,s)=>n.time===s.time?n.entity.index-s.entity.index:n.time-s.time)}cancel(e){if(this.queue.length!==0)for(let i=this.queue.length-1;i>=0;i-=1)this.queue[i].entity===e&&this.queue.splice(i,1)}snapshot(){return this.queue.map(({time:e,entity:i})=>({time:e,entityIndex:i.index}))}restore(e,i){this.queue.length=0;for(const n of e){const s=i(n.entityIndex);s&&this.schedule(s,n.time)}}runDueThinks(e){for(;this.queue.length>0;){const i=this.queue[0];if(i.time>e)break;this.queue.shift();const{entity:n,time:s}=i;!n.inUse||n.freePending||n.think&&n.nextthink===s&&n.think(n)}}}function U(t){return{min:{x:t.origin.x+t.mins.x,y:t.origin.y+t.mins.y,z:t.origin.z+t.mins.z},max:{x:t.origin.x+t.maxs.x,y:t.origin.y+t.maxs.y,z:t.origin.z+t.maxs.z}}}function se(t,e){return!(t.min.x>e.max.x||t.max.x<e.min.x||t.min.y>e.max.y||t.max.y<e.min.y||t.min.z>e.max.z||t.max.z<e.min.z)}const ke=Me.filter(t=>t.save||t.type==="callback"),gt=new Map(ke.map(t=>[t.name,t]));function vt(t){return[t.x,t.y,t.z]}function yt(t){const e=t;if(!Array.isArray(e)||e.length!==3)throw new Error("Invalid vec3 serialization");const[i,n,s]=e;return{x:i,y:n,z:s}}function A(t,e,i){t[e]=i}function xt(t){return{...t}}function wt(t){if(t===null||typeof t!="object"||Array.isArray(t))throw new Error("Invalid inventory serialization");const e={};for(const[i,n]of Object.entries(t))e[i]=Number(n);return e}class Mt{constructor(e,i,n){if(this.targetNameIndex=new Map,this.random=Oe(),this.currentTimeSeconds=0,this.pool=new ft(i),this.thinkScheduler=new pt,this.engine=e,this.callbackToName=new Map,n)for(const[s,r]of n.entries())this.callbackToName.set(r,s)}get world(){return this.pool.world}get activeCount(){return this.pool.activeCount}get timeSeconds(){return this.currentTimeSeconds}forEachEntity(e){for(const i of this.pool)e(i)}find(e){for(const i of this.pool)if(e(i))return i}spawn(){return this.pool.spawn()}free(e){this.unregisterTarget(e),this.thinkScheduler.cancel(e),this.pool.deferFree(e)}freeImmediate(e){this.unregisterTarget(e),this.thinkScheduler.cancel(e),this.pool.freeImmediate(e)}sound(e,i,n,s,r,a){var o,c;(c=(o=this.engine).sound)==null||c.call(o,e,i,n,s,r,a)}scheduleThink(e,i){this.thinkScheduler.schedule(e,i)}beginFrame(e){this.currentTimeSeconds=e}finalizeSpawn(e){!e.inUse||e.freePending||this.registerTarget(e)}findByClassname(e){const i=[];for(const n of this.pool)n.classname===e&&n.inUse&&!n.freePending&&i.push(n);return i}findByTargetName(e){const i=this.targetNameIndex.get(e);return i?Array.from(i).filter(n=>n.inUse&&!n.freePending):[]}pickTarget(e){if(!e)return null;const i=this.findByTargetName(e);if(i.length===0)return null;const n=this.random.randomIndex(i);return i[n]??null}killBox(e){const i=U(e);for(const n of this.pool)n===e||n===this.pool.world||!n.inUse||n.freePending||n.solid===J.Not||n.svflags&ye.DeadMonster||se(i,U(n))&&(n.health=0,n.deadflag=xe.Dead,this.free(n))}useTargets(e,i=null){if(e.delay>0){const n=this.spawn();n.classname="DelayedUse",n.target=e.target,n.killtarget=e.killtarget,n.message=e.message,n.think=s=>{this.useTargetsImmediate(s,i??e),this.free(s)},this.scheduleThink(n,this.currentTimeSeconds+e.delay);return}this.useTargetsImmediate(e,i??e)}runFrame(){this.thinkScheduler.runDueThinks(this.currentTimeSeconds),this.runTouches(),this.pool.flushFreeList()}createSnapshot(){const e=[];for(const i of this.pool){const n={};for(const s of ke){const r=i[s.name];switch(s.type){case"vec3":n[s.name]=vt(r);break;case"entity":n[s.name]=(r==null?void 0:r.index)??null;break;case"inventory":n[s.name]=xt(r);break;case"callback":n[s.name]=r?this.callbackToName.get(r)??null:null;break;default:n[s.name]=r??null;break}}e.push({index:i.index,fields:n})}return{timeSeconds:this.currentTimeSeconds,pool:this.pool.createSnapshot(),entities:e,thinks:this.thinkScheduler.snapshot()}}restore(e,i){this.currentTimeSeconds=e.timeSeconds,this.pool.restore(e.pool);const n=new Map;for(const r of this.pool)n.set(r.index,r);const s=[];for(const r of e.entities){const a=n.get(r.index);if(a)for(const[o,c]of Object.entries(r.fields)){const l=gt.get(o);if(!(!l||c===void 0))switch(l.type){case"vec3":A(a,o,yt(c));break;case"entity":s.push({entity:a,name:l.name,targetIndex:c});break;case"inventory":A(a,o,wt(c));break;case"boolean":A(a,o,!!c);break;case"callback":if(c){const d=i==null?void 0:i.get(c);d&&A(a,o,d)}break;default:A(a,o,c);break}}}for(const r of s){const a=r.targetIndex===null?null:n.get(r.targetIndex)??null;A(r.entity,r.name,a)}this.thinkScheduler.restore(e.thinks,r=>n.get(r))}runTouches(){const e=this.pool.world,i=[];for(const n of this.pool)n!==e&&(!n.inUse||n.freePending||n.solid===J.Not||i.push(n));for(let n=0;n<i.length;n+=1){const s=i[n];let r=null;for(let a=n+1;a<i.length;a+=1){const o=i[a];if(!s.touch&&!o.touch)continue;r||(r=U(s));const c=U(o);se(r,c)&&(s.touch&&s.touch(s,o),o.touch&&o.touch(o,s))}}}registerTarget(e){if(!e.targetname)return;let i=this.targetNameIndex.get(e.targetname);i||(i=new Set,this.targetNameIndex.set(e.targetname,i)),i.add(e)}unregisterTarget(e){if(!e.targetname)return;const i=this.targetNameIndex.get(e.targetname);i&&(i.delete(e),i.size===0&&this.targetNameIndex.delete(e.targetname))}useTargetsImmediate(e,i){var n;if(e.target)for(const s of this.findByTargetName(e.target))s!==e&&((n=s.use)==null||n.call(s,s,e,i));if(e.killtarget)for(const s of this.findByTargetName(e.killtarget))s!==e&&this.free(s)}}var be=(t=>(t[t.Bullets=0]="Bullets",t[t.Shells=1]="Shells",t[t.Rockets=2]="Rockets",t[t.Grenades=3]="Grenades",t[t.Cells=4]="Cells",t[t.Slugs=5]="Slugs",t))(be||{});const _e=Object.keys(be).length/2;function kt(t=bt(),e){const i=Array(_e).fill(0);if(e)for(const[n,s]of Object.entries(e))i[Number(n)]=s;return{caps:t.slice(),counts:i}}function bt(){const t=Array(_e).fill(50);return t[0]=200,t[1]=100,t[4]=200,t}function _t(t={}){const e=kt(t.ammoCaps,t.ammo),i=new Set(t.weapons??[]),n=new Map(t.powerups??[]),s=new Set(t.keys??[]);return{ammo:e,ownedWeapons:i,currentWeapon:t.currentWeapon,armor:t.armor??null,powerups:n,keys:s}}new Map(Me.map(t=>[t.name,t]));function St(t){return t.find(e=>e.classname==="info_player_start")}const zt=["prep","simulate","finish"];class Tt{constructor(e){if(this.timeMs=0,this.frame=0,this.stageHandlers={prep:[],simulate:[],finish:[]},this.stageCounts={prep:0,simulate:0,finish:0},this.stageCompactionNeeded={prep:!1,simulate:!1,finish:!1},e)for(const i of zt){const n=e[i];n&&this.addStage(i,n)}}addStage(e,i){const n=this.stageHandlers[e];return n.push(i),this.stageCounts[e]+=1,()=>{const s=n.indexOf(i);s>=0&&n[s]&&(n[s]=void 0,this.stageCounts[e]-=1,this.stageCompactionNeeded[e]=!0)}}reset(e){this.timeMs=e,this.frame=0}advance(e){const i=this.timeMs;this.timeMs=i+e.deltaMs,this.frame=e.frame;const n={...e,timeMs:this.timeMs,previousTimeMs:i,deltaSeconds:e.deltaMs/1e3};if(this.runStage("prep",n),this.stageCounts.simulate===0)throw new Error("GameFrameLoop requires at least one simulate stage");return this.runStage("simulate",n),this.runStage("finish",n),n}runStage(e,i){const n=this.stageHandlers[e];for(let s=0;s<n.length;s+=1){const r=n[s];r&&r(i)}this.stageCompactionNeeded[e]&&this.compactStageHandlers(e)}compactStageHandlers(e){const i=this.stageHandlers[e];let n=0;for(let s=0;s<i.length;s+=1){const r=i[s];r&&(i[n]=r,n+=1)}i.length=n,this.stageCompactionNeeded[e]=!1}get time(){return this.timeMs}get frameNumber(){return this.frame}}const Nt={frameNumber:0,timeSeconds:0,previousTimeSeconds:0,deltaSeconds:0};class At{constructor(){this.state=Nt}start(e){const i=e/1e3;this.state={frameNumber:0,timeSeconds:i,previousTimeSeconds:i,deltaSeconds:0}}tick(e){return this.state={frameNumber:e.frame,timeSeconds:e.timeMs/1e3,previousTimeSeconds:e.previousTimeMs/1e3,deltaSeconds:e.deltaSeconds},this.state}get current(){return this.state}restore(e){this.state={...e}}}function Et(){return{states:new Map}}const B={x:0,y:0,z:0};function Ct(t,e,i,n){const s=n.gravity,r=new At,a=new Tt,o=new Mt(i);a.addStage("prep",h=>{r.tick(h),o.beginFrame(r.current.timeSeconds)}),a.addStage("simulate",({deltaSeconds:h})=>{l={x:l.x+s.x*h,y:l.y+s.y*h,z:l.z+s.z*h},c={x:c.x+l.x*h,y:c.y+l.y*h,z:c.z+l.z*h},o.runFrame()});let c={...B},l={...B};const d=h=>({frame:h,timeMs:a.time,state:{gravity:{...s},origin:{...c},velocity:{...l},level:{...r.current},entities:{activeCount:o.activeCount,worldClassname:o.world.classname}}}),u=h=>{a.reset(h),r.start(h),c={...B},l={...B},o.beginFrame(h/1e3),o.runFrame()};return{init(h){return u(h),d(0)},shutdown(){},spawnWorld(){const h=St(o);if(h){const m=o.spawn();m.classname="player",m.origin={...h.origin},m.angles={...h.angles},m.health=100,m.mins={x:-16,y:-16,z:-24},m.maxs={x:16,y:16,z:32},m.client={inventory:_t(),weaponStates:Et()},o.finalizeSpawn(m),c={...m.origin}}},frame(h,m){const p=a.advance(h),g=o.find(f=>f.classname==="player");if(m&&g){const f={forwardmove:m.forwardmove,sidemove:m.sidemove,upmove:m.upmove,buttons:m.buttons},k={origin:g.origin,velocity:g.velocity,onGround:!1,waterLevel:0,mins:g.mins,maxs:g.maxs},b=Ve(k,f,t,e);g.origin=b.origin,g.velocity=b.velocity}return d(p.frame)},entities:o,sound(h,m,p,g,f,k){o.sound(h,m,p,g,f,k)},centerprintf(h,m){var p;(p=i.centerprintf)==null||p.call(i,h,m)},get time(){return r.current.timeSeconds}}}const H=Qe({}),It=Ct(H.trace,H.pointContents,{gravity:{x:0,y:0,z:-800}}),Rt=ut({engine:H}),Dt=H.createMainLoop({simulate:t=>{It.frame(t)},render:t=>{Rt.render(t)}});Dt.start();
@@ -1,9 +0,0 @@
1
- import { PakArchive } from '../assets/pak.js';
2
- export declare const Draw_Init: (width: number, height: number) => void;
3
- export declare const Draw_InitFont: (pak: PakArchive) => Promise<void>;
4
- export declare const Draw_RegisterPic: (pak: PakArchive, name: string) => Promise<number>;
5
- export declare const Draw_Pic: (x: number, y: number, pic: number) => void;
6
- export declare const Draw_GetPicSize: (pic: number) => [number, number];
7
- export declare const Draw_String: (x: number, y: number, text: string) => void;
8
- export declare const Draw_Char: (x: number, y: number, char: number) => void;
9
- //# sourceMappingURL=draw.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"draw.d.ts","sourceRoot":"","sources":["../../../src/render/draw.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAY9C,eAAO,MAAM,SAAS,GAAI,OAAO,MAAM,EAAE,QAAQ,MAAM,SAStD,CAAC;AAEF,eAAO,MAAM,aAAa,GAAU,KAAK,UAAU,kBAUlD,CAAA;AAED,eAAO,MAAM,gBAAgB,GAAU,KAAK,UAAU,EAAE,MAAM,MAAM,oBAoBnE,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,GAAG,MAAM,EAAE,GAAG,MAAM,EAAE,KAAK,MAAM,SAMzD,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,KAAK,MAAM,KAAG,CAAC,MAAM,EAAE,MAAM,CAM5D,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,GAAG,MAAM,EAAE,GAAG,MAAM,EAAE,MAAM,MAAM,SAI7D,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,GAAG,MAAM,EAAE,GAAG,MAAM,EAAE,MAAM,MAAM,SAkB3D,CAAC"}