@adatechnology/game-vehicles-three 0.8.7 → 0.9.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
@@ -45,8 +45,10 @@ import {
45
45
  defaultEffectIds,
46
46
  defaultSoundIds,
47
47
  engineMix,
48
+ engineProfileOfGroup,
48
49
  firingHz,
49
50
  fuse,
51
+ hornOfGroup,
50
52
  layerWeight,
51
53
  liteMaterials,
52
54
  liteMeshes,
@@ -54,7 +56,7 @@ import {
54
56
  loadVehiclesTestModule,
55
57
  rpmShare,
56
58
  slideOfGrip
57
- } from "./chunk-VF34TPYO.js";
59
+ } from "./chunk-NVMORI7X.js";
58
60
  export {
59
61
  BIKE_ENGINE,
60
62
  CAR_ENGINE,
@@ -102,8 +104,10 @@ export {
102
104
  defaultEffectIds,
103
105
  defaultSoundIds,
104
106
  engineMix,
107
+ engineProfileOfGroup,
105
108
  firingHz,
106
109
  fuse,
110
+ hornOfGroup,
107
111
  layerWeight,
108
112
  liteMaterials,
109
113
  liteMeshes,
@@ -129,6 +129,10 @@ type VehicleSoundKeys = {
129
129
  readonly skidAsphalt: string;
130
130
  readonly skidDirt: string;
131
131
  readonly roll: string;
132
+ /** Tyres rolling on earth, gravel, sand or grass (`frame.surface` `dirt`), in place of `roll`. */
133
+ readonly rollDirt: string;
134
+ /** Compressed air let out of the brake chambers as a truck stops (`VehicleSoundOptions.airBrake`). */
135
+ readonly airBrake: string;
132
136
  /** Pads squealing on the discs as a car brakes to a stop (not a skid: the tyres still grip). */
133
137
  readonly brakeSqueal: string;
134
138
  /** A body hit by the vehicle; a game points it at its own (a zombie, an animal) through `sounds` or the `hit` call. */
@@ -151,6 +155,10 @@ declare const TRUCK_ENGINE: EngineProfile;
151
155
  /** A four-cylinder sport bike: 1 300 to 12 000 rpm, bright and fast to rev. */
152
156
  declare const BIKE_ENGINE: EngineProfile;
153
157
  declare const ENGINE_PROFILES: Readonly<Record<string, EngineProfile>>;
158
+ /** The engine profile of a fleet group (`ProvingSubject.category`): `motorcycles` a bike, `heavy` and `agricultural` a truck, the rest a car. */
159
+ declare const engineProfileOfGroup: (group: string) => EngineProfile;
160
+ /** The horn of a fleet group: a motorcycle's thin beep, a truck's air horn, a car's. */
161
+ declare const hornOfGroup: (group: string) => string;
154
162
 
155
163
  /** The fleet the area runs on: its palettes and sizes, and how it is installed in a kit (`defaultVehicleFleet()` of `game-kit-defaults`). */
156
164
  type VehiclesTestFleet = VehicleFleetContent & {
@@ -391,4 +399,4 @@ type ProvingText = {
391
399
  };
392
400
  declare const PROVING_TEXT: Record<string, ProvingText>;
393
401
 
394
- export { type VehiclesTestOptions as A, type BuiltVehicle as B, CAR_ENGINE as C, DEFAULT_TEST_VEHICLES as D, type EngineProfile as E, type FleetDims as F, type VehiclesThree as G, type VehiclesThreeOptions as H, createProvingModule as I, createVehiclesTestModule as J, createVehiclesThree as K, defaultEffectIds as L, type ModuleRoomLike as M, defaultSoundIds as N, loadProvingModule as O, PAGE_ITEM_ALIASES as P, loadVehiclesTestModule as Q, TRUCK_ENGINE as T, type VehicleSoundKeys as V, BIKE_ENGINE as a, type BuildVehicleOptions as b, CRASH_SPEEDS as c, DEFAULT_TEST_WRECKS as d, DEFAULT_VEHICLE_SOUND_KEYS as e, type DocumentLike as f, ENGINE_PROFILES as g, type EffectsLike as h, type EngineLayer as i, type EngineLoadLayer as j, PAGE_SCENARIO_ALIASES as k, PROVING_AREA_ID as l, PROVING_TEXT as m, type ProvingModuleOptions as n, type ProvingRoomLike as o, type ProvingText as p, VEHICLES_AREA_ID as q, VEHICLE_SCENARIO_IDS as r, type VehicleEffectIds as s, type VehicleFleetContent as t, type VehicleQuality as u, type VehicleSoundIds as v, type VehicleWreck as w, type VehiclesContext as x, type VehiclesRoom as y, type VehiclesTestFleet as z };
402
+ export { type VehiclesTestOptions as A, type BuiltVehicle as B, CAR_ENGINE as C, DEFAULT_TEST_VEHICLES as D, type EngineProfile as E, type FleetDims as F, type VehiclesThree as G, type VehiclesThreeOptions as H, createProvingModule as I, createVehiclesTestModule as J, createVehiclesThree as K, defaultEffectIds as L, type ModuleRoomLike as M, defaultSoundIds as N, engineProfileOfGroup as O, PAGE_ITEM_ALIASES as P, hornOfGroup as Q, loadProvingModule as R, loadVehiclesTestModule as S, TRUCK_ENGINE as T, type VehicleSoundKeys as V, BIKE_ENGINE as a, type BuildVehicleOptions as b, CRASH_SPEEDS as c, DEFAULT_TEST_WRECKS as d, DEFAULT_VEHICLE_SOUND_KEYS as e, type DocumentLike as f, ENGINE_PROFILES as g, type EffectsLike as h, type EngineLayer as i, type EngineLoadLayer as j, PAGE_SCENARIO_ALIASES as k, PROVING_AREA_ID as l, PROVING_TEXT as m, type ProvingModuleOptions as n, type ProvingRoomLike as o, type ProvingText as p, VEHICLES_AREA_ID as q, VEHICLE_SCENARIO_IDS as r, type VehicleEffectIds as s, type VehicleFleetContent as t, type VehicleQuality as u, type VehicleSoundIds as v, type VehicleWreck as w, type VehiclesContext as x, type VehiclesRoom as y, type VehiclesTestFleet as z };
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-Cb10i9fm.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-D6oFFVUd.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-VF34TPYO.js";
16
+ } from "./chunk-NVMORI7X.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.8.7",
3
+ "version": "0.9.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,7 +41,7 @@
41
41
  "dist"
42
42
  ],
43
43
  "dependencies": {
44
- "@adatechnology/game-audio": "^0.12.0",
44
+ "@adatechnology/game-audio": "^0.13.0",
45
45
  "@adatechnology/game-camera": "^0.2.0",
46
46
  "@adatechnology/game-contracts": "^0.30.0",
47
47
  "@adatechnology/game-render-three": "^0.2.0",
@@ -60,7 +60,7 @@
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.32.0",
63
+ "@adatechnology/game-test-room": "^0.32.1",
64
64
  "@adatechnology/golden-tool": "^0.0.0"
65
65
  },
66
66
  "peerDependencies": {