@adatechnology/game-vfx 0.16.0 → 0.18.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/README.md CHANGED
@@ -115,6 +115,12 @@ of its size off a wall it is outside of, so its edge does not show through the g
115
115
  `enclose(id, null)` ends it, and `clear()` keeps the spaces (they are the scene, not effects). The same shape is `Enclosure` of the contracts,
116
116
  and `game-vfx-three`'s renderer forwards `EffectSink.enclose` here.
117
117
 
118
+ `world.solid(id, query)` hands the effects the host's solid world (`VfxSolidQuery`: does this step of a particle go into something solid, and
119
+ where, with which normal). The carried smoke, dust, steam and gas of every pool stop at it and slide along, and an explosion's smoke is born on
120
+ the blast's side of it: a puff thrown across a wall is put back on the near face. A hole in the solid is no solid, so the smoke goes through a
121
+ hole a blast opened and nowhere else. `game-destruction-three`'s renderer declares its destruction world here (`world.raycast`, which passes
122
+ where units were taken out); `solid(id, null)` ends it.
123
+
118
124
  ## Install
119
125
 
120
126
  ```sh
package/dist/index.d.ts CHANGED
@@ -20,6 +20,17 @@ type Follow = {
20
20
  readonly z: number;
21
21
  };
22
22
  };
23
+ /**
24
+ * A burning body a fire follows (`FireOptions.follow`): its base centre (`x`, `y` the bottom, `z`), its half width and its height, all read every frame. The fire
25
+ * keeps the body's size as it burns away or falls apart: flames leave the whole of its height, not a layer at its foot, and the smoke rises off its top.
26
+ */
27
+ interface FireBody {
28
+ readonly x: number;
29
+ readonly y: number;
30
+ readonly z: number;
31
+ readonly radius: number;
32
+ readonly height: number;
33
+ }
23
34
  /** A residual fire left behind by an explosion (L798 `residual`), or started by `world.fire`. */
24
35
  interface FireSpec {
25
36
  /** Offsets from the blast point. */
@@ -268,6 +279,8 @@ interface Fire {
268
279
  y: number;
269
280
  z: number;
270
281
  r: number;
282
+ /** Height of what burns (m): the flames leave the whole of it, from `y` to `y + h`, and the smoke rises off its top. 0 is a flat fire (a pool, a patch of ground). */
283
+ h: number;
271
284
  r0: number;
272
285
  grow: number;
273
286
  life: number;
@@ -277,7 +290,7 @@ interface Fire {
277
290
  smoke: number;
278
291
  smokeAcc: number;
279
292
  fade: number;
280
- follow: Follow | null;
293
+ follow: Follow | FireBody | null;
281
294
  fx: number;
282
295
  fy: number;
283
296
  fz: number;
@@ -288,6 +301,111 @@ interface Fire {
288
301
  source: string | undefined;
289
302
  }
290
303
 
304
+ /** What a particle that was stopped at a wall ends up with: where it is now and the wall's outward... or inward normal it pressed on, in world space. */
305
+ interface ConfineResult {
306
+ x: number;
307
+ y: number;
308
+ z: number;
309
+ /** Unit normal of the wall, pointing back to where the particle came from: the caller takes the velocity into it away. */
310
+ nx: number;
311
+ ny: number;
312
+ nz: number;
313
+ }
314
+ /** One particle's step for {@link Confiner.confineMove}: from `(x0, y0, z0)` to `(x1, y1, z1)`, kept `pad` metres off the walls. */
315
+ interface ConfineMove {
316
+ x0: number;
317
+ y0: number;
318
+ z0: number;
319
+ x1: number;
320
+ y1: number;
321
+ z1: number;
322
+ pad: number;
323
+ }
324
+ /**
325
+ * The host's solid world as the air sees it (the walls, slabs and furniture of a destruction world): whether the straight step of `move` from
326
+ * `(x0, y0, z0)` to `(x1, y1, z1)` goes into something solid. On a hit it fills `hit` with the point where the step meets the solid's surface and
327
+ * that surface's unit normal pointing back to where the step came from, and answers `true`. A hole in the solid is no solid: the step goes through.
328
+ */
329
+ type VfxSolidQuery = (move: Readonly<ConfineMove>, hit: ConfineResult) => boolean;
330
+
331
+ /** A box in the frame of a {@link VfxEnclosure}: offset from its centre along its axes, half size, and how much gets through (absent: open). */
332
+ interface VfxEnclosureBox {
333
+ readonly center: Vec3Like;
334
+ readonly halfSize: Vec3Like;
335
+ /** Share per second of what presses on it that gets through (a bullet hole). Absent: open, everything passes. */
336
+ readonly rate?: number;
337
+ }
338
+ /**
339
+ * A closed space the smoke, dust and steam do not cross (a car cabin, a closed room): a turned box whose walls let them through only at `openings`
340
+ * and seep at `leak` elsewhere. The same shape as `Enclosure` of `@adatechnology/game-contracts`.
341
+ */
342
+ interface VfxEnclosure {
343
+ readonly center: Vec3Like;
344
+ readonly halfSize: Vec3Like;
345
+ /** Unit quaternion `[x, y, z, w]` (default not turned). */
346
+ readonly orientation?: readonly [number, number, number, number];
347
+ readonly openings?: readonly VfxEnclosureBox[];
348
+ /** Share per second of what presses on a closed wall that seeps through (default 0: sealed). */
349
+ readonly leak?: number;
350
+ }
351
+ /** Stops what the air carries at the walls of the closed spaces. `confine` answers `true` and fills `out` when a step was stopped. */
352
+ interface Confiner {
353
+ /** No space is declared: callers skip the work. */
354
+ readonly empty: boolean;
355
+ /**
356
+ * The step of one particle from `(x0, y0, z0)` to `(x1, y1, z1)` over `dt` seconds. `pad` (metres) keeps an outside particle that far off the
357
+ * walls (a puff is a ball, not a point: its middle stops before its edge goes through the glass).
358
+ */
359
+ confine(x0: number, y0: number, z0: number, x1: number, y1: number, z1: number, pad: number, dt: number): boolean;
360
+ /** `confine` with the step in an object the caller reuses: eight numbers passed to a call are boxed on the heap, one object is not. `move` is only read during the call: it is not kept. */
361
+ confineMove(move: ConfineMove, dt: number): boolean;
362
+ readonly out: ConfineResult;
363
+ }
364
+ /**
365
+ * The closed spaces of a world by id, and the solids its hosts declare (`solid`). Each step of a carried particle that would cross a wall is tested: through an opening it passes (a hole only at
366
+ * its rate), through a closed wall only at the leak; otherwise it stays on its side, put back on the wall and sliding along it.
367
+ */
368
+ declare class Enclosures implements Confiner {
369
+ private readonly spaces;
370
+ private list;
371
+ private readonly random;
372
+ readonly out: ConfineResult;
373
+ private readonly l0;
374
+ private readonly l1;
375
+ private readonly q;
376
+ private readonly h;
377
+ private readonly move;
378
+ private readonly solids;
379
+ constructor(seed?: number);
380
+ get empty(): boolean;
381
+ /** Declares or (with `null`) ends the host solids `id` answers for (a destruction world's walls): what is carried stops at them and passes only their holes. */
382
+ solid(id: string, query: VfxSolidQuery | null): void;
383
+ get size(): number;
384
+ /** Declares, moves or (with `null`) ends the space `id`. */
385
+ set(id: string, enclosure: VfxEnclosure | null): void;
386
+ get(id: string): VfxEnclosure | undefined;
387
+ ids(): string[];
388
+ clear(): void;
389
+ /** Whether a point is inside any space (on the inside of its walls). */
390
+ inside(x: number, y: number, z: number): boolean;
391
+ private toLocal;
392
+ /** Passes at `rate` per second. */
393
+ private chance;
394
+ /** The opening the wall point `q` (local) is in lets it through now. */
395
+ private through;
396
+ confine(x0: number, y0: number, z0: number, x1: number, y1: number, z1: number, pad: number, dt: number): boolean;
397
+ confineMove(move: ConfineMove, dt: number): boolean;
398
+ private confineSpaces;
399
+ }
400
+ /** {@link slideAlong} written back into the particle's own velocity, nothing allocated. */
401
+ declare function slideInto(out: ConfineResult, velocity: {
402
+ vx: number;
403
+ vy: number;
404
+ vz: number;
405
+ }): void;
406
+ /** Takes the part of a velocity that runs into the wall away (what is left slides along it). */
407
+ declare function slideAlong(out: ConfineResult, vx: number, vy: number, vz: number): [number, number, number];
408
+
291
409
  interface GroundFieldOptions {
292
410
  /** Side of the deformable patch in metres (the Lab's 60). */
293
411
  readonly size?: number;
@@ -501,100 +619,6 @@ interface Chunk {
501
619
  /** `_hotCol` (L399-400): the colour of a hot piece, blended towards the glow while it is young. */
502
620
  declare function colorOfChunk(chunk: Chunk): readonly [number, number, number];
503
621
 
504
- /** A box in the frame of a {@link VfxEnclosure}: offset from its centre along its axes, half size, and how much gets through (absent: open). */
505
- interface VfxEnclosureBox {
506
- readonly center: Vec3Like;
507
- readonly halfSize: Vec3Like;
508
- /** Share per second of what presses on it that gets through (a bullet hole). Absent: open, everything passes. */
509
- readonly rate?: number;
510
- }
511
- /**
512
- * A closed space the smoke, dust and steam do not cross (a car cabin, a closed room): a turned box whose walls let them through only at `openings`
513
- * and seep at `leak` elsewhere. The same shape as `Enclosure` of `@adatechnology/game-contracts`.
514
- */
515
- interface VfxEnclosure {
516
- readonly center: Vec3Like;
517
- readonly halfSize: Vec3Like;
518
- /** Unit quaternion `[x, y, z, w]` (default not turned). */
519
- readonly orientation?: readonly [number, number, number, number];
520
- readonly openings?: readonly VfxEnclosureBox[];
521
- /** Share per second of what presses on a closed wall that seeps through (default 0: sealed). */
522
- readonly leak?: number;
523
- }
524
- /** What a particle that was stopped at a wall ends up with: where it is now and the wall's outward... or inward normal it pressed on, in world space. */
525
- interface ConfineResult {
526
- x: number;
527
- y: number;
528
- z: number;
529
- /** Unit normal of the wall, pointing back to where the particle came from: the caller takes the velocity into it away. */
530
- nx: number;
531
- ny: number;
532
- nz: number;
533
- }
534
- /** Stops what the air carries at the walls of the closed spaces. `confine` answers `true` and fills `out` when a step was stopped. */
535
- interface Confiner {
536
- /** No space is declared: callers skip the work. */
537
- readonly empty: boolean;
538
- /**
539
- * The step of one particle from `(x0, y0, z0)` to `(x1, y1, z1)` over `dt` seconds. `pad` (metres) keeps an outside particle that far off the
540
- * walls (a puff is a ball, not a point: its middle stops before its edge goes through the glass).
541
- */
542
- confine(x0: number, y0: number, z0: number, x1: number, y1: number, z1: number, pad: number, dt: number): boolean;
543
- /** `confine` with the step in an object the caller reuses: eight numbers passed to a call are boxed on the heap, one object is not. `move` is only read during the call: it is not kept. */
544
- confineMove(move: ConfineMove, dt: number): boolean;
545
- readonly out: ConfineResult;
546
- }
547
- /** One particle's step for {@link Confiner.confineMove}: from `(x0, y0, z0)` to `(x1, y1, z1)`, kept `pad` metres off the walls. */
548
- interface ConfineMove {
549
- x0: number;
550
- y0: number;
551
- z0: number;
552
- x1: number;
553
- y1: number;
554
- z1: number;
555
- pad: number;
556
- }
557
- /**
558
- * The closed spaces of a world by id. Each step of a carried particle that would cross a wall is tested: through an opening it passes (a hole only at
559
- * its rate), through a closed wall only at the leak; otherwise it stays on its side, put back on the wall and sliding along it.
560
- */
561
- declare class Enclosures implements Confiner {
562
- private readonly spaces;
563
- private list;
564
- private readonly random;
565
- readonly out: ConfineResult;
566
- private readonly l0;
567
- private readonly l1;
568
- private readonly q;
569
- private readonly h;
570
- private readonly move;
571
- constructor(seed?: number);
572
- get empty(): boolean;
573
- get size(): number;
574
- /** Declares, moves or (with `null`) ends the space `id`. */
575
- set(id: string, enclosure: VfxEnclosure | null): void;
576
- get(id: string): VfxEnclosure | undefined;
577
- ids(): string[];
578
- clear(): void;
579
- /** Whether a point is inside any space (on the inside of its walls). */
580
- inside(x: number, y: number, z: number): boolean;
581
- private toLocal;
582
- /** Passes at `rate` per second. */
583
- private chance;
584
- /** The opening the wall point `q` (local) is in lets it through now. */
585
- private through;
586
- confine(x0: number, y0: number, z0: number, x1: number, y1: number, z1: number, pad: number, dt: number): boolean;
587
- confineMove(move: ConfineMove, dt: number): boolean;
588
- }
589
- /** {@link slideAlong} written back into the particle's own velocity, nothing allocated. */
590
- declare function slideInto(out: ConfineResult, velocity: {
591
- vx: number;
592
- vy: number;
593
- vz: number;
594
- }): void;
595
- /** Takes the part of a velocity that runs into the wall away (what is left slides along it). */
596
- declare function slideAlong(out: ConfineResult, vx: number, vy: number, vz: number): [number, number, number];
597
-
598
622
  /** The ring a mushroom cloud's puffs travel on (L722-735). */
599
623
  interface Ring {
600
624
  x: number;
@@ -720,6 +744,8 @@ type RandomMode = 'per_event' | 'shared';
720
744
  /** What every part of the effects reads and writes: the pools, lights, screen, marks, clock and the few settings. Internal; the host sees `VfxWorld`. */
721
745
  interface VfxCore {
722
746
  readonly profile: VfxProfile;
747
+ /** The closed spaces and host solids what the air carries stops at (`VfxWorld.enclose`, `VfxWorld.solid`). */
748
+ readonly confiner: Confiner;
723
749
  readonly puffs: OrderedPool<Puff>;
724
750
  readonly sparks: OrderedPool<Spark>;
725
751
  readonly glows: OrderedPool<Glow>;
@@ -882,6 +908,22 @@ interface WorkshopContext {
882
908
  readonly trace: WorkshopTrace | undefined;
883
909
  /** The closed spaces the carried sprites (smoke, dust, steam) do not cross; absent: none. */
884
910
  readonly confiner?: Confiner;
911
+ /**
912
+ * The debris pieces touch what is round them (the host turned it on, `WorkshopEngine.setDebrisContacts`): they pile on the pieces at rest under them and
913
+ * do not go through `obstacles` (the player), which push them. Absent: they only bounce on the ground, as the Workshop page (its recording) does.
914
+ */
915
+ debrisContacts?: {
916
+ readonly obstacles: () => readonly DebrisObstacle[];
917
+ };
918
+ }
919
+ /** An upright body the debris pieces stop against and are pushed off by (a person standing): a vertical cylinder. */
920
+ interface DebrisObstacle {
921
+ readonly x: number;
922
+ readonly z: number;
923
+ /** Height of its foot and of its top, metres. */
924
+ readonly bottom: number;
925
+ readonly top: number;
926
+ readonly radius: number;
885
927
  }
886
928
 
887
929
  /** A unit quaternion `[x, y, z, w]`. */
@@ -929,6 +971,7 @@ declare class DebrisPool {
929
971
  count: number;
930
972
  private next;
931
973
  private readonly direction;
974
+ private readonly resting;
932
975
  constructor(context: WorkshopContext);
933
976
  spawn(options: DebrisSpawn): void;
934
977
  clear(): void;
@@ -1000,6 +1043,8 @@ declare class RainField {
1000
1043
  puddles: readonly Puddle[];
1001
1044
  /** Replaces the puddle test (a game knows its own wet spots). */
1002
1045
  puddleAt: ((x: number, z: number) => boolean) | undefined;
1046
+ /** Top (world y) of the roof or slab over (x, z), `undefined` for open sky: a streak that falls under it is gone, with no splash and no ring. Unset: nothing is roofed. */
1047
+ coverTopAt: ((x: number, z: number) => number | undefined) | undefined;
1003
1048
  constructor(engine: WorkshopEngine);
1004
1049
  /** `initRain` (W321): `count` streaks (thinned by the quality), each drawn at a random place in the box. */
1005
1050
  init(count: number, wind: number): void;
@@ -1012,6 +1057,7 @@ declare class RainField {
1012
1057
  update(dt: number, splash: boolean, camera: Vec3Tuple): void;
1013
1058
  /** `rain.visible = false; RN.on = false` (W440): the field stops; the streaks stay where they were. */
1014
1059
  clear(): void;
1060
+ private restart;
1015
1061
  private set;
1016
1062
  }
1017
1063
 
@@ -1272,6 +1318,11 @@ declare class WorkshopEngine {
1272
1318
  placement: Placement | undefined;
1273
1319
  private readonly accumulators;
1274
1320
  constructor(options: WorkshopOptions);
1321
+ /**
1322
+ * Turns on the touch of the debris pieces (a game's world; the Workshop page's recording has none): they pile on the pieces at rest under them, and the
1323
+ * upright bodies `obstacles` answers (the player, asked once a frame while a piece moves) stop them and push them. `null` turns it off.
1324
+ */
1325
+ setDebrisContacts(obstacles: (() => readonly DebrisObstacle[]) | null): void;
1275
1326
  get random(): RandomStream;
1276
1327
  get quality(): number;
1277
1328
  setQuality(level: number): void;
@@ -1800,6 +1851,8 @@ interface ExplosionOptions {
1800
1851
  interface FireOptions {
1801
1852
  readonly point: Vec3Like;
1802
1853
  readonly radius: number;
1854
+ /** Height of what burns (m, default 0): flames leave the whole of it and the smoke rises off its top. A `FireBody` to `follow` sets it every frame. */
1855
+ readonly height?: number;
1803
1856
  readonly life: number;
1804
1857
  /** Flames per second per square-ish metre (the Lab's `rate`, default 22) and smoke puffs (default .6). */
1805
1858
  readonly rate?: number;
@@ -1809,8 +1862,8 @@ interface FireOptions {
1809
1862
  readonly grow?: number;
1810
1863
  /** `0xRRGGBB` of the smoke (default soot black). */
1811
1864
  readonly smokeColor?: number;
1812
- /** Moves with a thing (a burning part): the fire sits at its position plus `offset`. */
1813
- readonly follow?: Follow;
1865
+ /** Moves with a thing (a burning part): the fire sits at its position plus `offset`; a `FireBody` also gives it its radius and height every frame. */
1866
+ readonly follow?: Follow | FireBody;
1814
1867
  readonly offset?: Vec3Like;
1815
1868
  readonly seed?: number;
1816
1869
  /** The thing that burns (a world object's id): `clearSource` puts the fire out and takes away the flames, smoke and embers it gave off. */
@@ -1864,6 +1917,11 @@ interface VfxWorld {
1864
1917
  * round it and cross its walls only through its openings, or seep at its leak. Call again whenever it moves or opens. `clear` keeps the spaces.
1865
1918
  */
1866
1919
  enclose(id: string, enclosure: VfxEnclosure | null): void;
1920
+ /**
1921
+ * Declares or (with `null`) ends the solids `id` answers for (a destruction world's walls and slabs): the smoke, dust, steam and gas of every pool,
1922
+ * and the smoke an explosion throws out, stop at them and slide along, passing only through their holes. See {@link VfxSolidQuery}.
1923
+ */
1924
+ solid(id: string, query: VfxSolidQuery | null): void;
1867
1925
  /** The closed spaces declared now. */
1868
1926
  enclosures(): Enclosures;
1869
1927
  stop(handle: number): void;
@@ -2462,4 +2520,4 @@ declare function resolveWaterShotProfile(profile: string | WaterShotProfile, tab
2462
2520
  /** Changes a profile table without touching the kit's: `null` removes an entry, a partial entry is merged over the old one. */
2463
2521
  declare function patchWaterShotProfiles(base: Readonly<Record<string, WaterShotProfile>>, changes: Readonly<Record<string, Partial<WaterShotProfile> | null>>): Record<string, WaterShotProfile>;
2464
2522
 
2465
- export { AREA_CAP_GAME, type AreaCap, type AreaCapTracker, type Behavior, type BehaviorHost, type BlastLight, type BloodMark, type Carrier, type Chunk, type ConfineMove, type ConfineResult, type Confiner, type CueRequest, DEBRIS_COLOR_VARIABLE, DEBRIS_EFFECT_FAMILIES, DUST_COLOR_VARIABLE, type DebrisEffectFamily, type DebrisSpawn, type Decal, type DecalOptions, type DirtMark, EVENT_BUDGET, EVENT_EFFECTS, EVENT_EFFECTS_MAP, EXPLOSIONS, EXPLOSION_ALIASES, EffectCamera, type EffectDef, EffectInstance, type EffectPlayer, type EffectPlayerOptions, EffectRunner, type EffectRunnerOptions, type EffectStep, type EffectTexts, type EffectTrack, type EffectView, Enclosures, type ExplosionCall, type ExplosionDef, type ExplosionOptions, type Fire, type FireLight, type FireOptions, type FireSpec, type Follow, GAME_EFFECTS, type GameEvent, type Glow, type GroundField, type GroundFieldOptions, type InstanceDeps, type InstanceSetup, type KindPoolHost, LOD_GAME, LOD_LAB, type LandListener, type LensBlob, type LightGlow, type LightPool, type LodBands, MATERIAL_EVENT_EFFECTS, type Mark, type MarkEvent, type MarkStore, type MeshParticle, MeshPool, type MeshShape, type MeshSpawn, type MushroomSpec, type MutableVec3, OrderedPool, PIECES_DRAWN_VARIABLE, PROFILES, type Placement, type PlayOptions, type PostProcess, type Puddle, type Puff, type Quaternion, RAIN_CAPACITY, RainField, type RandomStream, type Rgb, type Ring, type RockMark, SCRAPE_LIMIT, SMOKE_COLORS, SPRITE_KINDS, type Schedule, type ScorchMark, type ScrapeMark, type ScreenState, type SheetLabels, type Shock, type Spark, type SpriteGround, type SpriteKind, type SpriteKindDef, SpriteKindPool, SpriteKindSystem, type SpriteKindSystemOptions, type SpriteSpawn, type SpriteSpawnOptions, type SpriteSystem, VFX_LAYERS, VIEWMODEL_EFFECTS, type Vec3Like, type Vec3Tuple, type VfxEnclosure, type VfxEnclosureBox, type VfxLayer, type VfxLocale, type VfxOptions, type VfxPoolsView, type VfxProfile, type VfxProfileName, type VfxSideRequest, type VfxStats, type VfxStrings, type VfxTrace, type VfxWorld, WATER_BLASTS, WATER_BLAST_KINDS, WATER_LIMITS, WATER_SHOT_BY_CALIBER, WATER_SHOT_PROFILES, WORKSHOP_BEHAVIORS, WORKSHOP_EFFECTS, WORKSHOP_PUDDLES, type WaterBlastCharge, type WaterBlastKind, type WaterBlastKindId, type WaterBlastParams, type WaterBlastPlan, type WaterBubble, type WaterColumn, type WaterDrop, type WaterEffects, type WaterEffectsLimits, type WaterEffectsOptions, type WaterEffectsStats, type WaterFoam, type WaterMist, type WaterRing, type WaterRound, type WaterShotClass, type WaterShotParams, type WaterShotPlan, type WaterShotProfile, type WaterVec3, type WaterWave, type WaterWaveSample, type WorkshopContext, WorkshopEngine, type WorkshopOptions, type WorkshopTrace, colorOfChunk, composeExplosion, createAreaCap, createEffectPlayer, createGroundField, createSchedule, createScreenState, createVfx, createWaterEffects, createWorkshopBehaviors, effectForEvent, estimateCost, explosionEffectIds, hexToLinearRgb, hexToRgb, inPuddle, lcg, lehmer, locales, lodScale, patchEffects, patchExplosions, patchSpriteKinds, patchWaterShotProfiles, planWaterBlast, planWaterShot, resolveStrings, resolveWaterBlast, resolveWaterShotProfile, slideAlong, slideInto, streamFor, updateScreen, waterShotClassOf, workshopGround };
2523
+ export { AREA_CAP_GAME, type AreaCap, type AreaCapTracker, type Behavior, type BehaviorHost, type BlastLight, type BloodMark, type Carrier, type Chunk, type ConfineMove, type ConfineResult, type Confiner, type CueRequest, DEBRIS_COLOR_VARIABLE, DEBRIS_EFFECT_FAMILIES, DUST_COLOR_VARIABLE, type DebrisEffectFamily, type DebrisObstacle, type DebrisSpawn, type Decal, type DecalOptions, type DirtMark, EVENT_BUDGET, EVENT_EFFECTS, EVENT_EFFECTS_MAP, EXPLOSIONS, EXPLOSION_ALIASES, EffectCamera, type EffectDef, EffectInstance, type EffectPlayer, type EffectPlayerOptions, EffectRunner, type EffectRunnerOptions, type EffectStep, type EffectTexts, type EffectTrack, type EffectView, Enclosures, type ExplosionCall, type ExplosionDef, type ExplosionOptions, type Fire, type FireBody, type FireLight, type FireOptions, type FireSpec, type Follow, GAME_EFFECTS, type GameEvent, type Glow, type GroundField, type GroundFieldOptions, type InstanceDeps, type InstanceSetup, type KindPoolHost, LOD_GAME, LOD_LAB, type LandListener, type LensBlob, type LightGlow, type LightPool, type LodBands, MATERIAL_EVENT_EFFECTS, type Mark, type MarkEvent, type MarkStore, type MeshParticle, MeshPool, type MeshShape, type MeshSpawn, type MushroomSpec, type MutableVec3, OrderedPool, PIECES_DRAWN_VARIABLE, PROFILES, type Placement, type PlayOptions, type PostProcess, type Puddle, type Puff, type Quaternion, RAIN_CAPACITY, RainField, type RandomStream, type Rgb, type Ring, type RockMark, SCRAPE_LIMIT, SMOKE_COLORS, SPRITE_KINDS, type Schedule, type ScorchMark, type ScrapeMark, type ScreenState, type SheetLabels, type Shock, type Spark, type SpriteGround, type SpriteKind, type SpriteKindDef, SpriteKindPool, SpriteKindSystem, type SpriteKindSystemOptions, type SpriteSpawn, type SpriteSpawnOptions, type SpriteSystem, VFX_LAYERS, VIEWMODEL_EFFECTS, type Vec3Like, type Vec3Tuple, type VfxEnclosure, type VfxEnclosureBox, type VfxLayer, type VfxLocale, type VfxOptions, type VfxPoolsView, type VfxProfile, type VfxProfileName, type VfxSideRequest, type VfxSolidQuery, type VfxStats, type VfxStrings, type VfxTrace, type VfxWorld, WATER_BLASTS, WATER_BLAST_KINDS, WATER_LIMITS, WATER_SHOT_BY_CALIBER, WATER_SHOT_PROFILES, WORKSHOP_BEHAVIORS, WORKSHOP_EFFECTS, WORKSHOP_PUDDLES, type WaterBlastCharge, type WaterBlastKind, type WaterBlastKindId, type WaterBlastParams, type WaterBlastPlan, type WaterBubble, type WaterColumn, type WaterDrop, type WaterEffects, type WaterEffectsLimits, type WaterEffectsOptions, type WaterEffectsStats, type WaterFoam, type WaterMist, type WaterRing, type WaterRound, type WaterShotClass, type WaterShotParams, type WaterShotPlan, type WaterShotProfile, type WaterVec3, type WaterWave, type WaterWaveSample, type WorkshopContext, WorkshopEngine, type WorkshopOptions, type WorkshopTrace, colorOfChunk, composeExplosion, createAreaCap, createEffectPlayer, createGroundField, createSchedule, createScreenState, createVfx, createWaterEffects, createWorkshopBehaviors, effectForEvent, estimateCost, explosionEffectIds, hexToLinearRgb, hexToRgb, inPuddle, lcg, lehmer, locales, lodScale, patchEffects, patchExplosions, patchSpriteKinds, patchWaterShotProfiles, planWaterBlast, planWaterShot, resolveStrings, resolveWaterBlast, resolveWaterShotProfile, slideAlong, slideInto, streamFor, updateScreen, waterShotClassOf, workshopGround };