@adatechnology/game-floorplan-three 0.9.3 → 0.10.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/{chunk-QUVGWVEC.js → chunk-7XVCZF6H.js} +128 -48
- package/dist/chunk-7XVCZF6H.js.map +1 -0
- package/dist/index.d.ts +10 -4
- package/dist/index.global.js +787 -96
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +38 -2
- package/dist/index.js.map +1 -1
- package/dist/{testing-ikPy2Nxl.d.ts → testing-CcAh3Eg1.d.ts} +7 -0
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +1 -1
- package/package.json +8 -8
- package/dist/chunk-QUVGWVEC.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { H as HouseRendererOptions, a as HouseRenderer } from './testing-
|
|
2
|
-
export { A as AreaContext, B as BuildOptions, D as DEFAULT_SPECIMENS, b as Damageable, F as FLOORPLAN_AREA_ID, c as FloorplanEngineLike, d as FloorplanTestOptions, e as House, L as LightingOptions, M as Messages, S as SPECIMEN_AT, f as SpecimenDef, T as TemplateGroup, g as Translate, h as buildSpecimenMeshes, i as createFloorplanTestModule, j as createHouseScenarios, k as createTranslator, l as en, m as locales, p as ptBR, s as specimenSpec } from './testing-
|
|
3
|
-
import { DestructibleSpec } from '@adatechnology/game-contracts';
|
|
1
|
+
import { H as HouseRendererOptions, a as HouseRenderer } from './testing-CcAh3Eg1.js';
|
|
2
|
+
export { A as AreaContext, B as BuildOptions, D as DEFAULT_SPECIMENS, b as Damageable, F as FLOORPLAN_AREA_ID, c as FloorplanEngineLike, d as FloorplanTestOptions, e as House, L as LightingOptions, M as Messages, S as SPECIMEN_AT, f as SpecimenDef, T as TemplateGroup, g as Translate, h as buildSpecimenMeshes, i as createFloorplanTestModule, j as createHouseScenarios, k as createTranslator, l as en, m as locales, p as ptBR, s as specimenSpec } from './testing-CcAh3Eg1.js';
|
|
3
|
+
import { DestructibleSpec, WarmUpProbes } from '@adatechnology/game-contracts';
|
|
4
4
|
import '@adatechnology/game-render-three';
|
|
5
5
|
|
|
6
6
|
declare const OPEN_ROOM_TYPES: Set<string>;
|
|
@@ -306,7 +306,7 @@ interface WallPieceOptions {
|
|
|
306
306
|
interface WallPiece {
|
|
307
307
|
/** The plan of the wall: one storey, one exterior wall, no rooms and no roof; its `structure` is the houses' load path. */
|
|
308
308
|
readonly plan: any;
|
|
309
|
-
/** The destructible spec, as a house gives it (`house.structure.spec()`): the wall with its layers, units and breach on the ground, and the bond beam on
|
|
309
|
+
/** The destructible spec, as a house gives it (`house.structure.spec()`): the wall with its layers, units and breach on the ground, its concrete pillars (`wall_column_*`, at the ends and every 4 m at most) and the bond beam on both. */
|
|
310
310
|
readonly spec: any;
|
|
311
311
|
/** Draws the wall with the house renderer: meshes carry `userData.destructionPart` of their part, in the space of the spec. */
|
|
312
312
|
build(THREE: any): any;
|
|
@@ -321,6 +321,12 @@ interface WallPiece {
|
|
|
321
321
|
dispose(): void;
|
|
322
322
|
update(): void;
|
|
323
323
|
} | null;
|
|
324
|
+
/**
|
|
325
|
+
* The wall drawn with one brick shot out of it, for a host to draw once at load (`WarmUpProbes`): the breach's materials (the shell around the hole and
|
|
326
|
+
* the bricks laid bare, instanced, lit and in the shadows) get their shader programs then, not at the first shot or blast of play. `dispose` frees its
|
|
327
|
+
* geometries and textures and leaves its materials to the host's warmup, which keeps them so the programs stay.
|
|
328
|
+
*/
|
|
329
|
+
warmUpProbes(THREE: unknown): WarmUpProbes;
|
|
324
330
|
}
|
|
325
331
|
/**
|
|
326
332
|
* The plan of a free-standing wall along x, centred on the origin: a one-storey plan whose only wall is exterior on both sides, with the masonry construction of
|