@adatechnology/game-vehicles-three 0.14.2 → 0.14.4
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-JLZI4QVH.js → chunk-CSHXBI4Q.js} +133 -30
- package/dist/chunk-CSHXBI4Q.js.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.global.js +488 -133
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/{testing-BgTVk344.d.ts → testing-DxJYtQUA.d.ts} +6 -3
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +1 -1
- package/package.json +14 -14
- package/dist/chunk-JLZI4QVH.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
vehicleColliders,
|
|
68
68
|
vehicleHulls,
|
|
69
69
|
withoutPart
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-CSHXBI4Q.js";
|
|
71
71
|
|
|
72
72
|
// src/index.ts
|
|
73
73
|
import { convexFaces, hullVolume, reducePoints, FLAT_PAD, MAX_HULL_POINTS } from "@adatechnology/game-vehicles";
|
|
@@ -185,11 +185,14 @@ type VehicleEffectIds = {
|
|
|
185
185
|
};
|
|
186
186
|
declare const defaultEffectIds: VehicleEffectIds;
|
|
187
187
|
/**
|
|
188
|
-
* The sounds the module asks of `host.audio`, by id of the host's banks: the horn (placed at the car),
|
|
189
|
-
*
|
|
188
|
+
* The sounds the module asks of `host.audio`, by id of the host's banks: the horn (placed at the car), a round into the thin sheet of the body (`skinHit`, a light
|
|
189
|
+
* round; `skinHitHeavy`, a rifle round, a slug or a heavy calibre: the recordings of `game-audio`), and the vehicle's own sounds (`createVehicleSound`: the starter,
|
|
190
|
+
* the crashes by speed, the tyres). The engine loops come from the engine profile.
|
|
190
191
|
*/
|
|
191
192
|
type VehicleSoundIds = {
|
|
192
193
|
readonly horn: string;
|
|
194
|
+
readonly skinHit: string;
|
|
195
|
+
readonly skinHitHeavy: string;
|
|
193
196
|
} & VehicleSoundKeys;
|
|
194
197
|
declare const defaultSoundIds: VehicleSoundIds;
|
|
195
198
|
/** A damaged vehicle of the area: the item id, the fleet vehicle it is built from and the scenario of the kit applied while building. */
|
|
@@ -216,7 +219,7 @@ type VehiclesTestOptions = {
|
|
|
216
219
|
readonly vehicles?: readonly string[];
|
|
217
220
|
/** Wrecks laid out after the vehicles: item `key` is the fleet vehicle `vehicle` built with the registered damage `scenario` (default `sedan_burnt` and `hatch_burnt`, the fleet's `burnt`; an empty list lays none). */
|
|
218
221
|
readonly wrecks?: readonly VehicleWreck[];
|
|
219
|
-
/** Effect ids requested through `host.effects` (the defaults are ids of `game-vfx`: the Garagem's `car_fuel_tank` blast, the `vehicle_fire`, `vehicle_leak` (pool and drips only), `vehicle_leak_ignited` (the whole sequence) and `vehicle_exhaust` recipes written around a car from `engine_smoke` and `fuel_leak`,
|
|
222
|
+
/** Effect ids requested through `host.effects` (the defaults are ids of `game-vfx`: the Garagem's `car_fuel_tank` blast, the `vehicle_fire`, `vehicle_leak` (pool and drips only), `vehicle_leak_ignited` (the whole sequence) and `vehicle_exhaust` recipes written around a car from `engine_smoke` and `fuel_leak`, the point-based `glass_burst`, and `impact_bodywork` for a round into the skin: sparks, a flash, paint flakes and slivers, no mark of its own). */
|
|
220
223
|
readonly effects?: Partial<VehicleEffectIds>;
|
|
221
224
|
/** Sound ids requested through `host.audio` (the defaults: the vehicle bank of this package). */
|
|
222
225
|
readonly sounds?: Partial<VehicleSoundIds>;
|
package/dist/testing.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { U as AsyncModuleRoomLike, D as DEFAULT_TEST_VEHICLES, d as DEFAULT_TEST_WRECKS, f as DocumentLike, h as EffectsLike, M as ModuleRoomLike, P as PAGE_ITEM_ALIASES, k as PAGE_SCENARIO_ALIASES, l as PROVING_AREA_ID, m as PROVING_TEXT, n as ProvingModuleOptions, o as ProvingRoomLike, p as ProvingText, q as VEHICLES_AREA_ID, r as VEHICLE_SCENARIO_IDS, s as VehicleEffectIds, v as VehicleSoundIds, w as VehicleWreck, x as VehiclesContext, y as VehiclesRoom, z as VehiclesTestFleet, A as VehiclesTestOptions, I as createProvingModule, J as createVehiclesTestModule, L as defaultEffectIds, N as defaultSoundIds, R as loadProvingModule, S as loadVehiclesTestModule, W as loadVehiclesTestModuleAsync } from './testing-
|
|
1
|
+
export { U as AsyncModuleRoomLike, D as DEFAULT_TEST_VEHICLES, d as DEFAULT_TEST_WRECKS, f as DocumentLike, h as EffectsLike, M as ModuleRoomLike, P as PAGE_ITEM_ALIASES, k as PAGE_SCENARIO_ALIASES, l as PROVING_AREA_ID, m as PROVING_TEXT, n as ProvingModuleOptions, o as ProvingRoomLike, p as ProvingText, q as VEHICLES_AREA_ID, r as VEHICLE_SCENARIO_IDS, s as VehicleEffectIds, v as VehicleSoundIds, w as VehicleWreck, x as VehiclesContext, y as VehiclesRoom, z as VehiclesTestFleet, A as VehiclesTestOptions, I as createProvingModule, J as createVehiclesTestModule, L as defaultEffectIds, N as defaultSoundIds, R as loadProvingModule, S as loadVehiclesTestModule, W as loadVehiclesTestModuleAsync } from './testing-DxJYtQUA.js';
|
|
2
2
|
import '@adatechnology/game-contracts';
|
|
3
3
|
import '@adatechnology/game-vehicles';
|
|
4
4
|
import 'three';
|
package/dist/testing.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adatechnology/game-vehicles-three",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "three.js output of the vehicles of @adatechnology/game-vehicles: a vehicle in a game frame (front on +z, centred, on the ground) at full detail or fused into six meshes (the team's Frota Leve light mode), coloured by seed, with its damageable boxes; and the vehicles test module.",
|
|
6
6
|
"keywords": [
|
|
@@ -45,17 +45,17 @@
|
|
|
45
45
|
"dist"
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@adatechnology/game-audio": "^0.15.
|
|
49
|
-
"@adatechnology/game-
|
|
50
|
-
"@adatechnology/game-contracts": "^0.43.1",
|
|
48
|
+
"@adatechnology/game-audio": "^0.15.8",
|
|
49
|
+
"@adatechnology/game-contracts": "^0.44.0",
|
|
51
50
|
"@adatechnology/game-physics": "^0.10.0",
|
|
52
|
-
"@adatechnology/game-
|
|
53
|
-
"@adatechnology/game-
|
|
54
|
-
"@adatechnology/game-shapes
|
|
55
|
-
"@adatechnology/game-
|
|
56
|
-
"@adatechnology/game-vehicles-driving": "^0.3.
|
|
51
|
+
"@adatechnology/game-camera": "^0.3.0",
|
|
52
|
+
"@adatechnology/game-render-three": "^0.5.0",
|
|
53
|
+
"@adatechnology/game-shapes": "^0.5.0",
|
|
54
|
+
"@adatechnology/game-shapes-three": "^0.4.2",
|
|
55
|
+
"@adatechnology/game-vehicles-driving": "^0.3.5",
|
|
56
|
+
"@adatechnology/game-vehicles": "^0.8.2",
|
|
57
57
|
"@adatechnology/game-vehicles-fleet": "^11.0.0",
|
|
58
|
-
"@adatechnology/game-vehicles-proving": "^0.4.
|
|
58
|
+
"@adatechnology/game-vehicles-proving": "^0.4.5"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@types/node": "^22.10.7",
|
|
@@ -66,11 +66,11 @@
|
|
|
66
66
|
"typescript": "^5.7.3",
|
|
67
67
|
"vitest": "^3.2.4",
|
|
68
68
|
"@adatechnology/game-characters-undead": "^0.3.0",
|
|
69
|
-
"@adatechnology/game-crowd": "^0.8.
|
|
70
|
-
"@adatechnology/game-crowd-three": "^0.9.1",
|
|
69
|
+
"@adatechnology/game-crowd": "^0.8.7",
|
|
71
70
|
"@adatechnology/game-physics-jolt": "^0.7.4",
|
|
72
|
-
"@adatechnology/game-
|
|
73
|
-
"@adatechnology/game-
|
|
71
|
+
"@adatechnology/game-crowd-three": "^0.9.3",
|
|
72
|
+
"@adatechnology/game-test-room": "^1.2.0",
|
|
73
|
+
"@adatechnology/game-workers": "^0.1.8",
|
|
74
74
|
"@adatechnology/golden-tool": "^0.0.0"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|