@adatechnology/game-vehicles-three 0.9.9 → 0.9.10

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/index.js CHANGED
@@ -34,9 +34,11 @@ import {
34
34
  createGearGuess,
35
35
  createProvingModule,
36
36
  createVehicleBody,
37
+ createVehicleColliders,
37
38
  createVehicleDashboard,
38
39
  createVehicleLamps,
39
40
  createVehicleLod,
41
+ createVehicleLodQueue,
40
42
  createVehicleSound,
41
43
  createVehiclesTestModule,
42
44
  createVehiclesThree,
@@ -55,8 +57,9 @@ import {
55
57
  loadProvingModule,
56
58
  loadVehiclesTestModule,
57
59
  rpmShare,
58
- slideOfGrip
59
- } from "./chunk-CCKLH536.js";
60
+ slideOfGrip,
61
+ vehicleColliders
62
+ } from "./chunk-GEB4YOV7.js";
60
63
  export {
61
64
  BIKE_ENGINE,
62
65
  CAR_ENGINE,
@@ -93,9 +96,11 @@ export {
93
96
  createGearGuess,
94
97
  createProvingModule,
95
98
  createVehicleBody,
99
+ createVehicleColliders,
96
100
  createVehicleDashboard,
97
101
  createVehicleLamps,
98
102
  createVehicleLod,
103
+ createVehicleLodQueue,
99
104
  createVehicleSound,
100
105
  createVehiclesTestModule,
101
106
  createVehiclesThree,
@@ -114,6 +119,7 @@ export {
114
119
  loadProvingModule,
115
120
  loadVehiclesTestModule,
116
121
  rpmShare,
117
- slideOfGrip
122
+ slideOfGrip,
123
+ vehicleColliders
118
124
  };
119
125
  //# sourceMappingURL=index.js.map
@@ -218,6 +218,12 @@ type VehiclesTestOptions = {
218
218
  readonly effects?: Partial<VehicleEffectIds>;
219
219
  /** Sound ids requested through `host.audio` (the defaults: the vehicle bank of this package). */
220
220
  readonly sounds?: Partial<VehicleSoundIds>;
221
+ /** Crash wall builder for the driving lane (`wallPiece` from `@adatechnology/game-floorplan-three`, base at origin along x). Omitted: no wall mesh drawn. */
222
+ readonly wall?: (three: unknown, spec: {
223
+ readonly length: number;
224
+ readonly height: number;
225
+ readonly thickness: number;
226
+ }) => unknown;
221
227
  };
222
228
  /** The part of the test room the scenarios use (the room's `ScenarioContext.room` has all of it). */
223
229
  type PartView = {
package/dist/testing.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { 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 } from './testing-D6oFFVUd.js';
1
+ export { 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 } from './testing-CY8IYz1H.js';
2
2
  import '@adatechnology/game-contracts';
3
3
  import '@adatechnology/game-vehicles';
4
4
  import 'three';
package/dist/testing.js CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  defaultSoundIds,
14
14
  loadProvingModule,
15
15
  loadVehiclesTestModule
16
- } from "./chunk-CCKLH536.js";
16
+ } from "./chunk-GEB4YOV7.js";
17
17
  export {
18
18
  DEFAULT_TEST_VEHICLES,
19
19
  DEFAULT_TEST_WRECKS,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adatechnology/game-vehicles-three",
3
- "version": "0.9.9",
3
+ "version": "0.9.10",
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": [
@@ -41,15 +41,16 @@
41
41
  "dist"
42
42
  ],
43
43
  "dependencies": {
44
- "@adatechnology/game-audio": "^0.14.0",
45
- "@adatechnology/game-camera": "^0.2.0",
46
- "@adatechnology/game-contracts": "^0.35.0",
47
- "@adatechnology/game-render-three": "^0.3.0",
48
- "@adatechnology/game-shapes-three": "^0.4.0",
49
- "@adatechnology/game-vehicles": "^0.6.17",
50
- "@adatechnology/game-vehicles-driving": "^0.2.22",
51
- "@adatechnology/game-vehicles-fleet": "^6.0.1",
52
- "@adatechnology/game-vehicles-proving": "^0.1.13"
44
+ "@adatechnology/game-audio": "^0.15.0",
45
+ "@adatechnology/game-camera": "^0.3.0",
46
+ "@adatechnology/game-contracts": "^0.36.0",
47
+ "@adatechnology/game-render-three": "^0.4.0",
48
+ "@adatechnology/game-shapes": "^0.4.0",
49
+ "@adatechnology/game-shapes-three": "^0.4.1",
50
+ "@adatechnology/game-vehicles": "^0.6.18",
51
+ "@adatechnology/game-vehicles-driving": "^0.2.23",
52
+ "@adatechnology/game-vehicles-fleet": "^7.0.0",
53
+ "@adatechnology/game-vehicles-proving": "^0.2.0"
53
54
  },
54
55
  "devDependencies": {
55
56
  "@types/node": "^22.10.7",
@@ -59,15 +60,15 @@
59
60
  "tsup": "^8.5.1",
60
61
  "typescript": "^5.7.3",
61
62
  "vitest": "^3.2.4",
62
- "@adatechnology/game-kit-defaults": "^0.2.0",
63
- "@adatechnology/game-test-room": "^0.35.4",
63
+ "@adatechnology/game-kit-defaults": "^0.3.0",
64
+ "@adatechnology/game-test-room": "^0.36.0",
64
65
  "@adatechnology/golden-tool": "^0.0.0"
65
66
  },
66
67
  "peerDependencies": {
67
68
  "three": "^0.160.0"
68
69
  },
69
70
  "scripts": {
70
- "build": "tsup",
71
+ "build": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && tsup",
71
72
  "typecheck": "tsc -p tsconfig.json --noEmit",
72
73
  "test": "vitest run"
73
74
  }