@adatechnology/game-vehicles-three 0.6.3 → 0.7.0

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
@@ -1,6 +1,8 @@
1
1
  import {
2
2
  BIKE_ENGINE,
3
3
  CAR_ENGINE,
4
+ CAR_RECORDED_RPM,
5
+ CAR_START_RUN_STOP,
4
6
  CRASH_SPEEDS,
5
7
  DASHBOARD_LOOK,
6
8
  DEFAULT_TEST_VEHICLES,
@@ -19,6 +21,7 @@ import {
19
21
  VEHICLE_LOD_DISTANCE,
20
22
  VEHICLE_LOOPS,
21
23
  VEHICLE_LOOP_FALLOFF,
24
+ VEHICLE_SAMPLE_ALIASES,
22
25
  VEHICLE_SCENARIO_IDS,
23
26
  VEHICLE_SOUNDS,
24
27
  VEHICLE_SOUND_BANK,
@@ -27,12 +30,14 @@ import {
27
30
  createCabinSmoke,
28
31
  createGearGuess,
29
32
  createProvingModule,
33
+ createVehicleBody,
30
34
  createVehicleDashboard,
31
35
  createVehicleLamps,
32
36
  createVehicleLod,
33
37
  createVehicleSound,
34
38
  createVehiclesTestModule,
35
39
  createVehiclesThree,
40
+ createWheelRoll,
36
41
  defaultEffectIds,
37
42
  defaultSoundIds,
38
43
  engineMix,
@@ -44,10 +49,12 @@ import {
44
49
  loadProvingModule,
45
50
  loadVehiclesTestModule,
46
51
  rpmShare
47
- } from "./chunk-MRUPKE7J.js";
52
+ } from "./chunk-L63R2JQA.js";
48
53
  export {
49
54
  BIKE_ENGINE,
50
55
  CAR_ENGINE,
56
+ CAR_RECORDED_RPM,
57
+ CAR_START_RUN_STOP,
51
58
  CRASH_SPEEDS,
52
59
  DASHBOARD_LOOK,
53
60
  DEFAULT_TEST_VEHICLES,
@@ -66,6 +73,7 @@ export {
66
73
  VEHICLE_LOD_DISTANCE,
67
74
  VEHICLE_LOOPS,
68
75
  VEHICLE_LOOP_FALLOFF,
76
+ VEHICLE_SAMPLE_ALIASES,
69
77
  VEHICLE_SCENARIO_IDS,
70
78
  VEHICLE_SOUNDS,
71
79
  VEHICLE_SOUND_BANK,
@@ -74,12 +82,14 @@ export {
74
82
  createCabinSmoke,
75
83
  createGearGuess,
76
84
  createProvingModule,
85
+ createVehicleBody,
77
86
  createVehicleDashboard,
78
87
  createVehicleLamps,
79
88
  createVehicleLod,
80
89
  createVehicleSound,
81
90
  createVehiclesTestModule,
82
91
  createVehiclesThree,
92
+ createWheelRoll,
83
93
  defaultEffectIds,
84
94
  defaultSoundIds,
85
95
  engineMix,
@@ -289,6 +289,10 @@ interface ProvingModuleOptions {
289
289
  locale?: string;
290
290
  /** Vehicles offered on the bench, by catalogue id. */
291
291
  vehicles: readonly string[];
292
+ /** Catalogue id of the person thrown out of a crash without a belt (a person item of the characters module); without it the crash only logs. */
293
+ occupant?: string;
294
+ /** Catalogue id of the car parked behind for the parking sensors (a vehicle item of the vehicles module). Default `sedan` (the vehicles module's midsize sedan). */
295
+ parkedCar?: string;
292
296
  /** The proving subject of a vehicle (`fleetProvingSubject` of game-vehicles-fleet); `mass` is the kit's own when it has one. Null hides the vehicle. */
293
297
  subject(id: string, mass: number | undefined): ProvingSubject | null;
294
298
  /** The vehicle's name on the bench and the board (default: the id). */
@@ -301,11 +305,6 @@ interface ProvingModuleOptions {
301
305
  /** Called whenever a certificate changes (a result in, a sign-off), so a page can keep or show them. */
302
306
  onCertificate?(certificate: ProvingCertificate): void;
303
307
  }
304
- /**
305
- * The proving ground as a `TestableModule`: a track where a fleet vehicle runs the measured tests of `game-vehicles-proving` live (0-100, top speed, braking, turning circle, wet braking, mud)
306
- * on the same semi-simulation driver the headless runner uses, with the vehicle cameras of `game-camera` (chase, cockpit, hood) taking over the room's view, the rear-view and side mirrors
307
- * and the reversing camera with its guide lines as extra views of the host, a board by the track with the vehicle's certificate, and the sign-off of the visual checks.
308
- */
309
308
  declare function createProvingModule(options: ProvingModuleOptions): TestableModule & {
310
309
  certificates(): ProvingCertificate[];
311
310
  certificate(id: string): ProvingCertificate | undefined;
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, O as loadProvingModule, Q as loadVehiclesTestModule } from './testing-C-BgV7gj.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, O as loadProvingModule, Q as loadVehiclesTestModule } from './testing-DI0_R8dH.js';
2
2
  import '@adatechnology/game-contracts';
3
3
  import '@adatechnology/game-vehicles';
4
4
  import '@adatechnology/game-vehicles-proving';
package/dist/testing.js CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  defaultSoundIds,
14
14
  loadProvingModule,
15
15
  loadVehiclesTestModule
16
- } from "./chunk-MRUPKE7J.js";
16
+ } from "./chunk-L63R2JQA.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.6.3",
3
+ "version": "0.7.0",
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,15 @@
41
41
  "dist"
42
42
  ],
43
43
  "dependencies": {
44
- "@adatechnology/game-audio": "^0.6.1",
45
- "@adatechnology/game-contracts": "^0.24.0",
46
- "@adatechnology/game-render-three": "^0.2.0",
44
+ "@adatechnology/game-audio": "^0.8.0",
47
45
  "@adatechnology/game-camera": "^0.2.0",
46
+ "@adatechnology/game-contracts": "^0.25.0",
47
+ "@adatechnology/game-render-three": "^0.2.0",
48
48
  "@adatechnology/game-shapes-three": "^0.3.1",
49
- "@adatechnology/game-vehicles": "^0.6.2",
50
- "@adatechnology/game-vehicles-driving": "^0.2.11",
49
+ "@adatechnology/game-vehicles-driving": "^0.2.12",
50
+ "@adatechnology/game-vehicles": "^0.6.3",
51
51
  "@adatechnology/game-vehicles-fleet": "^6.0.0",
52
- "@adatechnology/game-vehicles-proving": "^0.1.2"
52
+ "@adatechnology/game-vehicles-proving": "^0.1.3"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/node": "^22.10.7",
@@ -60,8 +60,8 @@
60
60
  "typescript": "^5.7.3",
61
61
  "vitest": "^3.2.4",
62
62
  "@adatechnology/game-kit-defaults": "^0.2.0",
63
- "@adatechnology/game-test-room": "^0.25.1",
64
- "@adatechnology/golden-tool": "^0.0.0"
63
+ "@adatechnology/golden-tool": "^0.0.0",
64
+ "@adatechnology/game-test-room": "^0.26.0"
65
65
  },
66
66
  "peerDependencies": {
67
67
  "three": "^0.160.0"