@adatechnology/game-weapons-three 0.13.0 → 0.13.1
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/{chunk-NQELXT56.js → chunk-U4JAJ533.js} +1 -1
- package/dist/chunk-U4JAJ533.js.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.global.js +92 -61
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/{testing-BoxqhX_W.d.ts → testing-DjtsFm2m.d.ts} +5 -2
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +1 -1
- package/package.json +3 -3
- package/dist/chunk-NQELXT56.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HostTool, HandPose, EffectSink, HostEvent, HandTargets, TestableModule, AreaPlacement, DestructionEvent, Hit, Vec3 as Vec3$1, ModuleControl, ModuleLayer, ModuleMetric, ModuleHost } from '@adatechnology/game-contracts';
|
|
2
2
|
import { CaseType, CaliberDef, ReloadStageId, WeaponEvent, MountKind, AttachmentDef, FittedAttachment, Arsenal, WeaponDef, ExplosiveDef } from '@adatechnology/game-weapons';
|
|
3
|
-
import { SampleDefaults, SfxManifest, SoundBank,
|
|
3
|
+
import { SampleDefaults, SfxManifest, SoundBank, AudioEngine } from '@adatechnology/game-audio';
|
|
4
4
|
import * as THREE_NS from 'three';
|
|
5
5
|
import { LightBudget, RenderPools } from '@adatechnology/game-render-three';
|
|
6
6
|
|
|
@@ -787,7 +787,10 @@ declare const WEIGHT_INTENSITY: Readonly<Record<SoundProfile['weight'], number>>
|
|
|
787
787
|
*/
|
|
788
788
|
declare const CUES_IN_SAMPLE: Readonly<Record<string, string>>;
|
|
789
789
|
/** The numbers of a sound of the manifest: a gunshot, a case landing or a reload step (`armas` only). */
|
|
790
|
-
declare function weaponSampleDefaults(sound:
|
|
790
|
+
declare function weaponSampleDefaults(sound: {
|
|
791
|
+
readonly id: string;
|
|
792
|
+
readonly category: string;
|
|
793
|
+
}, overrides?: WeaponSampleOptions['sounds']): SampleDefaults | undefined;
|
|
791
794
|
/** The bank of the recorded weapon sounds, every url through `url` (or `baseUrl`). Gunshots choke at three voices. */
|
|
792
795
|
declare function weaponSampleBank(options: WeaponSampleOptions): SoundBank;
|
|
793
796
|
|
package/dist/testing.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { i as COUNTER_ITEM_ID, m as DEFAULT_EXPLOSIVES_SCENE, E as EXPLOSIVES_AREA_ID, o as EXPLOSIVES_TEXT, q as ExplosivesRoom, r as ExplosivesScene, s as ExplosivesTestModuleOptions, t as ExplosivesText, O as MOUNTED_M134_ITEM_ID, a2 as WEAPON_ITEM_PREFIX, a9 as WeaponsTestModuleOptions, ah as createExplosivesTestModule, ak as createWeaponsTestModule, an as explosivesTextOf, aw as weaponsLayout } from './testing-
|
|
1
|
+
export { i as COUNTER_ITEM_ID, m as DEFAULT_EXPLOSIVES_SCENE, E as EXPLOSIVES_AREA_ID, o as EXPLOSIVES_TEXT, q as ExplosivesRoom, r as ExplosivesScene, s as ExplosivesTestModuleOptions, t as ExplosivesText, O as MOUNTED_M134_ITEM_ID, a2 as WEAPON_ITEM_PREFIX, a9 as WeaponsTestModuleOptions, ah as createExplosivesTestModule, ak as createWeaponsTestModule, an as explosivesTextOf, aw as weaponsLayout } from './testing-DjtsFm2m.js';
|
|
2
2
|
import '@adatechnology/game-contracts';
|
|
3
3
|
import '@adatechnology/game-weapons';
|
|
4
4
|
import '@adatechnology/game-audio';
|
package/dist/testing.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adatechnology/game-weapons-three",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.1",
|
|
4
4
|
"license": "MIT AND CC-BY-SA-4.0 AND CC-BY-SA-3.0 AND CC-BY-3.0 AND CC0-1.0 AND LicenseRef-Public-Domain",
|
|
5
5
|
"description": "three.js presentation for @adatechnology/game-weapons: the real models of the Galeria 3D do Arsenal (78 weapons, a cartridge and a case per calibre), the weapon in the hands playing the tool-animation clips (fire, burst, cycle, jam, clear, safety and the seven reloads), ejected casings and dropped magazines, worn-metal conditions, synthesized sounds, and the weapons test area (counters with every weapon) as a TestableModule.",
|
|
6
6
|
"keywords": [
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"assets"
|
|
45
45
|
],
|
|
46
46
|
"dependencies": {
|
|
47
|
+
"@adatechnology/game-audio": "^0.6.0",
|
|
47
48
|
"@adatechnology/game-contracts": "^0.23.0",
|
|
48
49
|
"@adatechnology/game-floorplan-three": "^0.9.1",
|
|
49
|
-
"@adatechnology/game-audio": "^0.5.0",
|
|
50
50
|
"@adatechnology/game-items-three": "^0.7.1",
|
|
51
51
|
"@adatechnology/game-render-three": "^0.1.0",
|
|
52
52
|
"@adatechnology/game-shapes-three": "^0.3.1",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"tsup": "^8.5.1",
|
|
66
66
|
"typescript": "^5.7.3",
|
|
67
67
|
"vitest": "^3.2.4",
|
|
68
|
-
"@adatechnology/game-test-room": "^0.
|
|
68
|
+
"@adatechnology/game-test-room": "^0.24.0",
|
|
69
69
|
"@adatechnology/golden-tool": "^0.0.0"
|
|
70
70
|
},
|
|
71
71
|
"scripts": {
|