@moku-labs/game 0.15.150 → 0.15.152
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/app/page.d.mts +1 -1
- package/dist/app/system.d.mts +2 -2
- package/dist/app.d.mts +1 -1
- package/dist/app.mjs +1 -1
- package/dist/{commands-DXSaq2AP.d.mts → commands-BjKkbgWs.d.mts} +1 -1
- package/dist/control.d.mts +1 -1
- package/dist/{index-Dgwheaoi.d.mts → index-DbmGsQgB.d.mts} +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/inspect.d.mts +1 -1
- package/dist/{src-DQdOkAKn.mjs → src-nsjSGfQQ.mjs} +124 -31
- package/dist/testing.d.mts +2 -2
- package/dist/testing.mjs +1 -1
- package/dist/{types-C2-KGQGt.d.mts → types-Chv5YFWw.d.mts} +2 -2
- package/dist/{types-BpmdVJso.d.mts → types-CtcQGXWl.d.mts} +2 -1
- package/dist/{visual-Dw4QXpgC.d.mts → visual-DubaCpDs.d.mts} +2 -2
- package/dist/visual.d.mts +1 -1
- package/package.json +1 -1
package/dist/app/page.d.mts
CHANGED
package/dist/app/system.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Yr as PlayerStateProvider } from "../types-VJcIdmHU.mjs";
|
|
2
|
-
import { Et as PlatformProvider } from "../index-
|
|
3
|
-
import { _ as SystemName, g as SystemModules, v as SystemShellFactory } from "../types-
|
|
2
|
+
import { Et as PlatformProvider } from "../index-DbmGsQgB.mjs";
|
|
3
|
+
import { _ as SystemName, g as SystemModules, v as SystemShellFactory } from "../types-Chv5YFWw.mjs";
|
|
4
4
|
import { Back, Haptics, KeepAwake, Lifecycle, Store } from "@moku-labs/system";
|
|
5
5
|
|
|
6
6
|
//#region src/app/system.d.ts
|
package/dist/app.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Wr as Json } from "./types-VJcIdmHU.mjs";
|
|
2
2
|
import { J as StringTable } from "./types-BaarAgv8.mjs";
|
|
3
|
-
import { _ as SystemName, a as GameHandle, c as MemoryProvider, d as PlistValue, f as SaveKind, i as GameDefinition, l as PageAgent, m as ScreenSeams, n as GameApp, o as GamePluginConfigs, p as Scenario, r as GameConfig, s as HeadlessSeams, y as WithGameState } from "./types-
|
|
3
|
+
import { _ as SystemName, a as GameHandle, c as MemoryProvider, d as PlistValue, f as SaveKind, i as GameDefinition, l as PageAgent, m as ScreenSeams, n as GameApp, o as GamePluginConfigs, p as Scenario, r as GameConfig, s as HeadlessSeams, y as WithGameState } from "./types-Chv5YFWw.mjs";
|
|
4
4
|
import { AnyPluginInstance } from "@moku-labs/core";
|
|
5
5
|
|
|
6
6
|
//#region src/app/define.d.ts
|
package/dist/app.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Gt as audioPlugin, Pt as effectsPlugin, Q as platformPlugin, i as screen, t as createApp, w as flattenFeatures } from "./src-
|
|
1
|
+
import { Gt as audioPlugin, Pt as effectsPlugin, Q as platformPlugin, i as screen, t as createApp, w as flattenFeatures } from "./src-nsjSGfQQ.mjs";
|
|
2
2
|
import { t as memory } from "./memory-DeD9wis6.mjs";
|
|
3
3
|
import { n as fakeClock, r as isFakeClock } from "./fake-hnJcJeYf.mjs";
|
|
4
4
|
//#region src/app/define.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { $r as Snapshot, Ar as Api$4, Fn as Bookmark, Fr as Api$1, O as DebugSwitches, Q as Api$3, Rn as FlowState, fi as FrameRate, gi as Time, ii as Api$2, mt as Captured, t as Api, ti as StoreApi, w as ScenesApi } from "./types-VJcIdmHU.mjs";
|
|
2
|
-
import { W as AnimApi, a as AudioApi, h as EffectsApi, r as UiApi } from "./types-
|
|
2
|
+
import { W as AnimApi, a as AudioApi, h as EffectsApi, r as UiApi } from "./types-CtcQGXWl.mjs";
|
|
3
3
|
import { R as InputApi } from "./types-BaarAgv8.mjs";
|
|
4
4
|
import { t as HeadlessApp } from "./headless-CO19o31k.mjs";
|
|
5
5
|
import { i as ControlApp, r as Command } from "./types-CbSTnp8T.mjs";
|
package/dist/control.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as HeadlessApp } from "./headless-CO19o31k.mjs";
|
|
2
2
|
import { a as InputArguments, c as Ran, n as ChoiceInput, r as Command, s as InputSchema, u as ToggleInput } from "./types-CbSTnp8T.mjs";
|
|
3
|
-
import { t as commands } from "./commands-
|
|
3
|
+
import { t as commands } from "./commands-BjKkbgWs.mjs";
|
|
4
4
|
import { t as defineCommand } from "./define-DoJN_Ctu.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/plugins/flow/doors/dev.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { $ as Config$6, Ar as Api$6, B as OverlayValue, C as SceneSpec, Cn as TextStylesOf, Cr as Mut, Dr as SystemDefinition, Dt as FrameRing, En as defineFlow, Er as ResourceType, Et as FrameRecord, Fr as Api$1, Gn as Effect, Gr as Root, Hn as SceneIdOf, Hr as Config$5, I as HudPartValue, In as DefineNode, Jn as Hint, Jr as Patch, K as SpriteOptions, Kn as EffectOptions, Kr as State$5, Lr as Config$2, Lt as PassKind, Mn as FeaturePlugin, Nn as FeatureTree, Nr as State$9, Or as SystemFor, Q as Api$4, R as NineSliceValue, S as SceneDefinition, Sn as TextFormatsOf, T as State$7, Tr as QueryTerm, U as ShapeValue, Wn as Descriptor, Wr as Json, X as sprite, Y as TransformValue, Zn as Answered, _ as AnySceneProjection, _n as EmitterIdOf, a as Config$1, ai as Config$4, ar as NumericFields, bi as Require, c as LoadBundles, ci as State$4, cr as ReducedMotion, di as Config$8, er as DescriptionNode, f as ReadyBundles, gn as Config$3, gr as ComponentHandle, hi as ThermalReading, hn as BundlesOf, i as BundleSpec, ii as Api$3, jn as FeatureDescription, jr as Config$9, kr as TagType, l as LoadReason, lt as State$6, m as Tier, mi as State$8, mn as Api$2, ni as RngApi, o as DefineBundles, oi as Events, or as ProjectionMotion, p as State$1, pi as RateChange, q as SpriteValue, qn as GuideOptions, r as BundleMap, si as PauseReason, sr as ProjectionSpec, t as Api, ti as StoreApi, tr as Ease, u as LoadResult, ui as Api$5, v as Config$7, vi as Config$10, vn as GameTypes, vr as ComponentType, w as ScenesApi, wr as Narrowed, x as LayerMap, xn as State$3, y as DefineScene, yi as Events$1, yn as HudKeysOf, yr as ComponentValue, yt as ViewportSize, zr as State$2 } from "./types-VJcIdmHU.mjs";
|
|
2
|
-
import { $ as HapticKind, A as EmitterDefinition, B as GlowValue, C as FoldValue, D as ShineValue, E as RevealRoundValue, F as DisplacementValue, G as AnimPlayerValue, H as OutlineValue, J as MotionKeyframe, K as Config$11, L as FilterComponent, M as AlphaValue, N as BlurValue, O as VignetteValue, P as ColorMatrixValue, R as FilterSpec, S as FlashValue, T as RevealLineValue, U as UniformDeclaration, V as NoiseValue, W as AnimApi, X as Target, Y as State$10, _ as State$12, a as AudioApi, b as BloomValue, bt as OverlayApi, c as MusicDescriptor, d as State$11, et as SfxDescriptor, f as VolumesFor, h as EffectsApi, j as EmitterValue, k as EmitterConfig, l as MusicOptions, lt as play, m as Config$13, n as State$13, q as FramesValue, r as UiApi, rt as defineAnimation, s as Config$12, t as Config$14, tt as Step, w as GradeValue, x as DissolveValue, y as AuraValue, z as FilterValueOf } from "./types-
|
|
2
|
+
import { $ as HapticKind, A as EmitterDefinition, B as GlowValue, C as FoldValue, D as ShineValue, E as RevealRoundValue, F as DisplacementValue, G as AnimPlayerValue, H as OutlineValue, J as MotionKeyframe, K as Config$11, L as FilterComponent, M as AlphaValue, N as BlurValue, O as VignetteValue, P as ColorMatrixValue, R as FilterSpec, S as FlashValue, T as RevealLineValue, U as UniformDeclaration, V as NoiseValue, W as AnimApi, X as Target, Y as State$10, _ as State$12, a as AudioApi, b as BloomValue, bt as OverlayApi, c as MusicDescriptor, d as State$11, et as SfxDescriptor, f as VolumesFor, h as EffectsApi, j as EmitterValue, k as EmitterConfig, l as MusicOptions, lt as play, m as Config$13, n as State$13, q as FramesValue, r as UiApi, rt as defineAnimation, s as Config$12, t as Config$14, tt as Step, w as GradeValue, x as DissolveValue, y as AuraValue, z as FilterValueOf } from "./types-CtcQGXWl.mjs";
|
|
3
3
|
import { $ as ResolvedStyle, A as TextFormats, C as Point, E as TextBind, G as Message, H as Config$15, I as defineComponent, K as Part, L as Config$16, M as TextStyleInput, N as TextStyles, P as TextValue, Q as IsFlags, R as InputApi, T as TextApi, U as I18nApi, V as Argument, W as IntlKit, X as TypedTr, Y as TextKey, b as Config$17, et as Style, g as IntrinsicElementsFor, h as defineTokens, j as TextRunStyle, k as TextFormatFunction, nt as TextTagStyle, q as State$14, rt as WhenFlags, s as PopupComponent, v as BindField, w as State$16, x as CountdownValue, y as BindOptions, z as State$15 } from "./types-BaarAgv8.mjs";
|
|
4
4
|
import { Log } from "@moku-labs/common/browser";
|
|
5
5
|
import { PluginCtx } from "@moku-labs/core";
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { $t as PerfSampleLine, An as type, At as MonitorSections, B as OverlayValue, Br as types_d_exports$3, Bt as PerfChange, Ct as FrameColumns, Dn as exit, Dt as FrameRing, E as types_d_exports$13, Et as FrameRecord, F as HudPart, Ft as PERF_LOG_VERSION, G as SpriteBlend, Gt as PerfEventLine, H as Shape, Ht as PerfCollectorLine, I as HudPartValue, It as PROBLEM_RULES, J as Transform, Jt as PerfHeaderLine, Kt as PerfEventName, L as NineSlice, Lt as PassKind, Mt as OverlayWhat, N as WhyEntry, Nt as PERF_CAUSES, On as slot, Ot as LongFrameEntry, P as Display, Pr as types_d_exports$17, Pt as PERF_GAP_BUCKETS, Qn as AnchorTarget, Qr as SaveUnreadableError, Qt as PerfMeasured, Rt as PassRecord, St as WhyLive, Tn as contribution, Tt as FrameReadout, Ut as PerfCounts, V as Parent, Vt as PerfChangeEntry, W as Sprite, Wt as PerfDisplay, X as sprite, Xt as PerfLongFrameLine, Yt as PerfLogLine, Z as AdaptiveScale, Zt as PerfMarkLine, _i as types_d_exports$15, an as ProblemEventDetail, cn as ShaderEventDetail, ct as PoolTrim, dn as CANVAS_RESTARTS, dt as types_d_exports$12, en as PerfSpikeLine, er as DescriptionNode, et as MonitorConfig, fn as CanvasRestart, ft as ShotsApi, g as types_d_exports$1, ht as MonitorCounts, in as PoolTrimDetail, jt as OverlayEventDetail, kn as to, kt as MONITOR_SECTIONS, li as types_d_exports$9, ln as ShaderWhat, lr as SceneSwitch, nn as PerfTelemetryLine, on as ProblemRule, pn as DEMAND_REASONS, pt as ShotsConfig, qr as types_d_exports$10, qt as PerfGapLine, rn as PerfThermalLine, sn as SHADER_WHATS, tn as PerfStartupLine, un as WarmDetail, wn as types_d_exports$6, wt as FrameReadResult, xt as RetakeWhy, z as Overlay, zt as PerfCause } from "./types-VJcIdmHU.mjs";
|
|
2
|
-
import { $ as HapticKind, C as FoldValue, D as ShineValue, E as RevealRoundValue, I as FilterArea, O as VignetteValue, Q as types_d_exports, S as FlashValue, T as RevealLineValue, _t as tween, at as frames, b as BloomValue, ct as parallel, dt as set, ft as sfx, gt as stopSfx, ht as stagger, i as types_d_exports$16, it as external, lt as play, mt as spawned, nt as HAPTIC_KINDS, ot as haptic, p as types_d_exports$2, pt as spawn, rt as defineAnimation, st as mark, ut as sequence, v as types_d_exports$5, vt as use, w as GradeValue, x as DissolveValue, xt as types_d_exports$4, y as AuraValue, yt as wait } from "./types-
|
|
2
|
+
import { $ as HapticKind, C as FoldValue, D as ShineValue, E as RevealRoundValue, I as FilterArea, O as VignetteValue, Q as types_d_exports, S as FlashValue, T as RevealLineValue, _t as tween, at as frames, b as BloomValue, ct as parallel, dt as set, ft as sfx, gt as stopSfx, ht as stagger, i as types_d_exports$16, it as external, lt as play, mt as spawned, nt as HAPTIC_KINDS, ot as haptic, p as types_d_exports$2, pt as spawn, rt as defineAnimation, st as mark, ut as sequence, v as types_d_exports$5, vt as use, w as GradeValue, x as DissolveValue, xt as types_d_exports$4, y as AuraValue, yt as wait } from "./types-CtcQGXWl.mjs";
|
|
3
3
|
import { A as TextFormats, B as types_d_exports$8, D as TextFormat, F as types_d_exports$14, I as defineComponent, O as TextFormatAnswer, S as FormattedNumber, Z as types_d_exports$7, d as DebugTrigger, f as LocalWrite, h as defineTokens, j as TextRunStyle, k as TextFormatFunction, m as popup, nt as TextTagStyle, p as ScrollState, u as Box, x as CountdownValue, y as BindOptions } from "./types-BaarAgv8.mjs";
|
|
4
|
-
import { $ as Traced, A as messageDuration, At as inputPlugin, B as Draggable, Bt as Countdown, C as Noise, Ct as rendererPlugin, D as defineStyle, Dt as types_d_exports$11, E as resolve, Et as PlatformProvider, F as Frames, Ft as clockPlugin, G as PointerOver, Gt as label, H as Held, Ht as bind, I as defineScene, It as audioPlugin, J as Swipeable, K as Pressable, L as defineBundles, Lt as assetsPlugin, M as defineMotion, Mt as flowPlugin, N as AnimPlayer, Nt as effectsPlugin, O as tr, Ot as modelPlugin, P as Animation, Pt as debugPlugin, Q as Traceable, R as load, Rt as animPlugin, S as Glow, St as scenesPlugin, T as music, Tt as BackResult, U as Hovered, Ut as defineTextFormats, V as DropTarget, Vt as Text, W as Pointer, Wt as defineTextStyles, X as Tappable, Y as TapValue, Z as Touchable, _ as defineFilter, _t as flattenFeatures, a as defineEmitter, at as Order, b as ColorMatrix, bt as timePlugin, c as Shine, ct as mut, d as Grade, dt as tag, et as PASS_KINDS, f as Fold, ft as defineEffect, g as Aura, gt as defineFeature, h as Bloom, ht as schedule, i as screen, it as Now, j as cubicBezier, jt as i18nPlugin, k as messageArgument, kt as lifecyclePlugin, l as RevealRound, lt as resource, m as Dissolve, mt as hint, n as createPlugin, nt as Exiting, o as Emitter, ot as Tree, p as Flash, pt as guide, q as Pressed, r as defineGame, rt as Layer, s as Vignette, st as component, t as createApp, tt as frameAt, u as RevealLine, ut as system, v as Alpha, vt as worldPlugin, w as Outline, wt as platformPlugin, x as Displacement, xt as textPlugin, y as Blur, yt as uiPlugin, z as ready, zt as projection } from "./index-
|
|
4
|
+
import { $ as Traced, A as messageDuration, At as inputPlugin, B as Draggable, Bt as Countdown, C as Noise, Ct as rendererPlugin, D as defineStyle, Dt as types_d_exports$11, E as resolve, Et as PlatformProvider, F as Frames, Ft as clockPlugin, G as PointerOver, Gt as label, H as Held, Ht as bind, I as defineScene, It as audioPlugin, J as Swipeable, K as Pressable, L as defineBundles, Lt as assetsPlugin, M as defineMotion, Mt as flowPlugin, N as AnimPlayer, Nt as effectsPlugin, O as tr, Ot as modelPlugin, P as Animation, Pt as debugPlugin, Q as Traceable, R as load, Rt as animPlugin, S as Glow, St as scenesPlugin, T as music, Tt as BackResult, U as Hovered, Ut as defineTextFormats, V as DropTarget, Vt as Text, W as Pointer, Wt as defineTextStyles, X as Tappable, Y as TapValue, Z as Touchable, _ as defineFilter, _t as flattenFeatures, a as defineEmitter, at as Order, b as ColorMatrix, bt as timePlugin, c as Shine, ct as mut, d as Grade, dt as tag, et as PASS_KINDS, f as Fold, ft as defineEffect, g as Aura, gt as defineFeature, h as Bloom, ht as schedule, i as screen, it as Now, j as cubicBezier, jt as i18nPlugin, k as messageArgument, kt as lifecyclePlugin, l as RevealRound, lt as resource, m as Dissolve, mt as hint, n as createPlugin, nt as Exiting, o as Emitter, ot as Tree, p as Flash, pt as guide, q as Pressed, r as defineGame, rt as Layer, s as Vignette, st as component, t as createApp, tt as frameAt, u as RevealLine, ut as system, v as Alpha, vt as worldPlugin, w as Outline, wt as platformPlugin, x as Displacement, xt as textPlugin, y as Blur, yt as uiPlugin, z as ready, zt as projection } from "./index-DbmGsQgB.mjs";
|
|
5
5
|
export { type AdaptiveScale, Alpha, type AnchorTarget, types_d_exports as Anim, AnimPlayer, Animation, types_d_exports$1 as Assets, types_d_exports$2 as Audio, Aura, type AuraValue, type BackResult, type BindOptions, Bloom, type BloomValue, Blur, Box, CANVAS_RESTARTS, type CanvasRestart, types_d_exports$3 as Clock, ColorMatrix, Countdown, type CountdownValue, DEMAND_REASONS, types_d_exports$4 as Debug, DebugTrigger, type DescriptionNode, Displacement, Display, Dissolve, type DissolveValue, Draggable, DropTarget, types_d_exports$5 as Effects, Emitter, Exiting, type FilterArea, Flash, type FlashValue, types_d_exports$6 as Flow, Fold, type FoldValue, type FormattedNumber, type FrameColumns, type FrameReadResult, type FrameReadout, type FrameRecord, type FrameRing, Frames, Glow, Grade, type GradeValue, HAPTIC_KINDS, type HapticKind, Held, Hovered, HudPart, type HudPartValue, types_d_exports$7 as I18n, types_d_exports$8 as Input, Layer, types_d_exports$9 as Lifecycle, LocalWrite, type LongFrameEntry, MONITOR_SECTIONS, types_d_exports$10 as Model, type MonitorConfig, type MonitorCounts, type MonitorSections, NineSlice, Noise, Now, Order, Outline, Overlay, type OverlayEventDetail, type OverlayValue, type OverlayWhat, PASS_KINDS, PERF_CAUSES, PERF_GAP_BUCKETS, PERF_LOG_VERSION, PROBLEM_RULES, Parent, type PassKind, type PassRecord, type PerfCause, type PerfChange, type PerfChangeEntry, type PerfCollectorLine, type PerfCounts, type PerfDisplay, type PerfEventLine, type PerfEventName, type PerfGapLine, type PerfHeaderLine, type PerfLogLine, type PerfLongFrameLine, type PerfMarkLine, type PerfMeasured, type PerfSampleLine, type PerfSpikeLine, type PerfStartupLine, type PerfTelemetryLine, type PerfThermalLine, types_d_exports$11 as Platform, type PlatformProvider, Pointer, PointerOver, type PoolTrim, type PoolTrimDetail, Pressable, Pressed, type ProblemEventDetail, type ProblemRule, types_d_exports$12 as Renderer, type RetakeWhy, RevealLine, type RevealLineValue, RevealRound, type RevealRoundValue, SHADER_WHATS, SaveUnreadableError, type SceneSwitch, types_d_exports$13 as Scenes, ScrollState, type ShaderEventDetail, type ShaderWhat, Shape, Shine, type ShineValue, type ShotsApi, type ShotsConfig, Sprite, type SpriteBlend, Swipeable, type TapValue, Tappable, Text, type TextFormat, type TextFormatAnswer, type TextFormatFunction, type TextFormats, type TextRunStyle, type TextTagStyle, types_d_exports$14 as TextTypes, types_d_exports$15 as Time, Touchable, Traceable, Traced, Transform, Tree, types_d_exports$16 as Ui, Vignette, type VignetteValue, type WarmDetail, type WhyEntry, type WhyLive, types_d_exports$17 as World, animPlugin, assetsPlugin, audioPlugin, bind, clockPlugin, component, contribution, createApp, createPlugin, cubicBezier, debugPlugin, defineAnimation, defineBundles, defineComponent, defineEffect, defineEmitter, defineFeature, defineFilter, defineGame, defineMotion, defineScene, defineStyle, defineTextFormats, defineTextStyles, defineTokens, effectsPlugin, exit, external, flattenFeatures, flowPlugin, frameAt, frames, guide, haptic, hint, i18nPlugin, inputPlugin, label, lifecyclePlugin, load, mark, messageArgument, messageDuration, modelPlugin, music, mut, parallel, platformPlugin, play, popup, projection, ready, rendererPlugin, resolve, resource, scenesPlugin, schedule, screen, sequence, set, sfx, slot, spawn, spawned, sprite, stagger, stopSfx, system, tag, textPlugin, timePlugin, to, tr, tween, type, uiPlugin, use, wait, worldPlugin };
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as HAPTIC_KINDS, $t as PASS_KINDS, A as types_exports$17, At as Traced, B as types_exports$7, Bt as Glow, C as defineFeature, Ct as PointerOver, D as defineBundles, Dt as Tappable, E as music, Et as Swipeable, F as types_exports$12, Ft as Emitter, G as types_exports$2, Gt as audioPlugin, H as types_exports$5, Ht as Outline, I as types_exports$11, It as Alpha, J as uiPlugin, Jt as animPlugin, K as types_exports$1, Kt as scenesPlugin, L as types_exports$10, Lt as Blur, M as types_exports$15, Mt as messageArgument, N as types_exports$14, Nt as messageDuration, O as load, Ot as Touchable, P as types_exports$13, Pt as effectsPlugin, Q as platformPlugin, Qt as rendererPlugin, R as types_exports$9, Rt as ColorMatrix, S as tr, St as Pointer, T as defineEmitter, Tt as Pressed, U as types_exports$4, Ut as defineFilter, V as types_exports$6, Vt as Noise, W as types_exports$3, Wt as debugPlugin, X as defineMotion, Xt as Animation, Y as resolve, Yt as AnimPlayer, Z as textPlugin, Zt as Frames, _ as guide, _n as modelPlugin, _t as inputPlugin, a as Vignette, an as PROBLEM_RULES, at as parallel, b as projection, bn as lifecyclePlugin, bt as Held, c as RevealLine, cn as DEMAND_REASONS, ct as set, d as Flash, dt as spawned, en as frameAt, et as defineAnimation, f as Dissolve, fn as contribution, ft as stagger, g as defineEffect, gn as type, gt as wait, h as cubicBezier, hn as to, ht as use, i as screen, in as PERF_LOG_VERSION, it as mark, j as types_exports$16, jt as i18nPlugin, k as ready, kt as Traceable, l as Grade, ln as worldPlugin, lt as sfx, m as Aura, mn as slot, mt as tween, n as createPlugin, nn as PERF_CAUSES, nt as frames, o as Shine, on as SHADER_WHATS, ot as play, p as Bloom, pn as exit, pt as stopSfx, q as types_exports, qt as assetsPlugin, r as defineGame, rn as PERF_GAP_BUCKETS, rt as haptic, s as RevealRound, sn as CANVAS_RESTARTS, st as sequence, t as createApp, tn as MONITOR_SECTIONS, tt as external, u as Fold, un as flowPlugin, ut as spawn, v as hint, vn as SaveUnreadableError, vt as Draggable, w as flattenFeatures, wt as Pressable, x as defineScene, xn as timePlugin, xt as Hovered, y as schedule, yn as clockPlugin, yt as DropTarget, z as types_exports$8, zt as Displacement } from "./src-
|
|
1
|
+
import { $ as HAPTIC_KINDS, $t as PASS_KINDS, A as types_exports$17, At as Traced, B as types_exports$7, Bt as Glow, C as defineFeature, Ct as PointerOver, D as defineBundles, Dt as Tappable, E as music, Et as Swipeable, F as types_exports$12, Ft as Emitter, G as types_exports$2, Gt as audioPlugin, H as types_exports$5, Ht as Outline, I as types_exports$11, It as Alpha, J as uiPlugin, Jt as animPlugin, K as types_exports$1, Kt as scenesPlugin, L as types_exports$10, Lt as Blur, M as types_exports$15, Mt as messageArgument, N as types_exports$14, Nt as messageDuration, O as load, Ot as Touchable, P as types_exports$13, Pt as effectsPlugin, Q as platformPlugin, Qt as rendererPlugin, R as types_exports$9, Rt as ColorMatrix, S as tr, St as Pointer, T as defineEmitter, Tt as Pressed, U as types_exports$4, Ut as defineFilter, V as types_exports$6, Vt as Noise, W as types_exports$3, Wt as debugPlugin, X as defineMotion, Xt as Animation, Y as resolve, Yt as AnimPlayer, Z as textPlugin, Zt as Frames, _ as guide, _n as modelPlugin, _t as inputPlugin, a as Vignette, an as PROBLEM_RULES, at as parallel, b as projection, bn as lifecyclePlugin, bt as Held, c as RevealLine, cn as DEMAND_REASONS, ct as set, d as Flash, dt as spawned, en as frameAt, et as defineAnimation, f as Dissolve, fn as contribution, ft as stagger, g as defineEffect, gn as type, gt as wait, h as cubicBezier, hn as to, ht as use, i as screen, in as PERF_LOG_VERSION, it as mark, j as types_exports$16, jt as i18nPlugin, k as ready, kt as Traceable, l as Grade, ln as worldPlugin, lt as sfx, m as Aura, mn as slot, mt as tween, n as createPlugin, nn as PERF_CAUSES, nt as frames, o as Shine, on as SHADER_WHATS, ot as play, p as Bloom, pn as exit, pt as stopSfx, q as types_exports, qt as assetsPlugin, r as defineGame, rn as PERF_GAP_BUCKETS, rt as haptic, s as RevealRound, sn as CANVAS_RESTARTS, st as sequence, t as createApp, tn as MONITOR_SECTIONS, tt as external, u as Fold, un as flowPlugin, ut as spawn, v as hint, vn as SaveUnreadableError, vt as Draggable, w as flattenFeatures, wt as Pressable, x as defineScene, xn as timePlugin, xt as Hovered, y as schedule, yn as clockPlugin, yt as DropTarget, z as types_exports$8, zt as Displacement } from "./src-nsjSGfQQ.mjs";
|
|
2
2
|
import { $ as Overlay, D as defineStyle, E as defineTokens, L as defineTextFormats, M as Countdown, N as Text, P as bind, Q as NineSlice, R as defineTextStyles, X as Display, Z as HudPart, _ as DebugTrigger, ct as Exiting, dt as Order, ft as Tree, gt as system, h as Box, ht as resource, it as Transform, lt as Layer, mt as mut, nt as Shape, pt as component, rt as Sprite, st as sprite, tt as Parent, ut as Now, vt as tag, w as popup, x as ScrollState, y as LocalWrite, z as label } from "./visual-x0TPowBE.mjs";
|
|
3
3
|
import { t as defineComponent } from "./component-DGg5DqKK.mjs";
|
|
4
4
|
export { Alpha, types_exports as Anim, AnimPlayer, Animation, types_exports$1 as Assets, types_exports$2 as Audio, Aura, Bloom, Blur, Box, CANVAS_RESTARTS, types_exports$3 as Clock, ColorMatrix, Countdown, DEMAND_REASONS, types_exports$4 as Debug, DebugTrigger, Displacement, Display, Dissolve, Draggable, DropTarget, types_exports$5 as Effects, Emitter, Exiting, Flash, types_exports$6 as Flow, Fold, Frames, Glow, Grade, HAPTIC_KINDS, Held, Hovered, HudPart, types_exports$7 as I18n, types_exports$8 as Input, Layer, types_exports$9 as Lifecycle, LocalWrite, MONITOR_SECTIONS, types_exports$10 as Model, NineSlice, Noise, Now, Order, Outline, Overlay, PASS_KINDS, PERF_CAUSES, PERF_GAP_BUCKETS, PERF_LOG_VERSION, PROBLEM_RULES, Parent, types_exports$11 as Platform, Pointer, PointerOver, Pressable, Pressed, types_exports$12 as Renderer, RevealLine, RevealRound, SHADER_WHATS, SaveUnreadableError, types_exports$13 as Scenes, ScrollState, Shape, Shine, Sprite, Swipeable, Tappable, Text, types_exports$14 as TextTypes, types_exports$15 as Time, Touchable, Traceable, Traced, Transform, Tree, types_exports$16 as Ui, Vignette, types_exports$17 as World, animPlugin, assetsPlugin, audioPlugin, bind, clockPlugin, component, contribution, createApp, createPlugin, cubicBezier, debugPlugin, defineAnimation, defineBundles, defineComponent, defineEffect, defineEmitter, defineFeature, defineFilter, defineGame, defineMotion, defineScene, defineStyle, defineTextFormats, defineTextStyles, defineTokens, effectsPlugin, exit, external, flattenFeatures, flowPlugin, frameAt, frames, guide, haptic, hint, i18nPlugin, inputPlugin, label, lifecyclePlugin, load, mark, messageArgument, messageDuration, modelPlugin, music, mut, parallel, platformPlugin, play, popup, projection, ready, rendererPlugin, resolve, resource, scenesPlugin, schedule, screen, sequence, set, sfx, slot, spawn, spawned, sprite, stagger, stopSfx, system, tag, textPlugin, timePlugin, to, tr, tween, type, uiPlugin, use, wait, worldPlugin };
|
package/dist/inspect.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { $r as Snapshot, Ar as Api$1, Ln as FlowGraph, Mr as Explained, Q as Api$2, Sr as FrameDiff, Vr as Api, _r as ComponentSchema, bn as Position, gt as RenderStats, h as Usage, t as Api$3, ut as Under, xr as EntitySnapshot, zn as JournalEntry } from "./types-VJcIdmHU.mjs";
|
|
2
|
-
import { W as AnimApi, Z as TimelinesSnapshot, a as AudioApi, g as EffectsStats, h as EffectsApi, r as UiApi, u as SoundEntry } from "./types-
|
|
2
|
+
import { W as AnimApi, Z as TimelinesSnapshot, a as AudioApi, g as EffectsStats, h as EffectsApi, r as UiApi, u as SoundEntry } from "./types-CtcQGXWl.mjs";
|
|
3
3
|
import { c as UiNode } from "./types-BaarAgv8.mjs";
|
|
4
4
|
import { t as HeadlessApp } from "./headless-CO19o31k.mjs";
|
|
5
5
|
import { a as InputArguments, d as WatchApp, f as WatchInput, l as Source, o as InputOf, s as InputSchema, t as CheatEntry } from "./types-CbSTnp8T.mjs";
|
|
@@ -41497,6 +41497,61 @@ function localTargetOf(ecs, entity, component, to) {
|
|
|
41497
41497
|
return local;
|
|
41498
41498
|
}
|
|
41499
41499
|
//#endregion
|
|
41500
|
+
//#region src/plugins/renderer/color.ts
|
|
41501
|
+
/**
|
|
41502
|
+
* Mixes two `0xrrggbb` colours, linear per channel, each channel rounded to a whole number. A
|
|
41503
|
+
* colour mixed as one number borrows across channels: white to grey passes magenta.
|
|
41504
|
+
*
|
|
41505
|
+
* @param from - The colour at `t` 0.
|
|
41506
|
+
* @param to - The colour at `t` 1.
|
|
41507
|
+
* @param t - Where between them; read as is, so an overshooting ease is clamped per channel.
|
|
41508
|
+
* @returns The `0xrrggbb` colour at `t`, a whole number.
|
|
41509
|
+
* @example
|
|
41510
|
+
* ```ts
|
|
41511
|
+
* mixColor(0xff_ff_ff, 0xc7_c7_c7, 0.5); // 0xe3e3e3
|
|
41512
|
+
* ```
|
|
41513
|
+
*/
|
|
41514
|
+
function mixColor(from, to, t) {
|
|
41515
|
+
return mixChannel(from, to, t, 16) << 16 | mixChannel(from, to, t, 8) << 8 | mixChannel(from, to, t, 0);
|
|
41516
|
+
}
|
|
41517
|
+
/**
|
|
41518
|
+
* One channel of a per-channel mix, rounded and kept inside 0..255.
|
|
41519
|
+
*
|
|
41520
|
+
* @param from - The colour at `t` 0.
|
|
41521
|
+
* @param to - The colour at `t` 1.
|
|
41522
|
+
* @param t - Where between them.
|
|
41523
|
+
* @param shift - The bit offset of the channel: 16 red, 8 green, 0 blue.
|
|
41524
|
+
* @returns The channel, 0..255.
|
|
41525
|
+
* @example
|
|
41526
|
+
* ```ts
|
|
41527
|
+
* mixChannel(0xff_00_00, 0x00_00_00, 0.5, 16); // 128
|
|
41528
|
+
* ```
|
|
41529
|
+
*/
|
|
41530
|
+
function mixChannel(from, to, t, shift) {
|
|
41531
|
+
const start = from >> shift & 255;
|
|
41532
|
+
const end = to >> shift & 255;
|
|
41533
|
+
const value = Math.round(start + (end - start) * t);
|
|
41534
|
+
return Math.min(Math.max(value, 0), 255);
|
|
41535
|
+
}
|
|
41536
|
+
/**
|
|
41537
|
+
* Tells whether a field of a component holds a `0xrrggbb` colour: the `tint` of a `Sprite` or a
|
|
41538
|
+
* `NineSlice`, the `fill` and the `stroke` of a `Shape`. A game's own component never does, so a
|
|
41539
|
+
* field of its own named `fill` stays a number.
|
|
41540
|
+
*
|
|
41541
|
+
* @param component - The component the field belongs to.
|
|
41542
|
+
* @param field - The field name.
|
|
41543
|
+
* @returns True for a colour field.
|
|
41544
|
+
* @example
|
|
41545
|
+
* ```ts
|
|
41546
|
+
* isColorField(Sprite, "tint"); // true
|
|
41547
|
+
* ```
|
|
41548
|
+
*/
|
|
41549
|
+
function isColorField(component, field) {
|
|
41550
|
+
if (component === Sprite || component === NineSlice) return field === "tint";
|
|
41551
|
+
if (component === Shape) return field === "fill" || field === "stroke";
|
|
41552
|
+
return false;
|
|
41553
|
+
}
|
|
41554
|
+
//#endregion
|
|
41500
41555
|
//#region src/plugins/anim/tween/cells.ts
|
|
41501
41556
|
/** The running sum of `sumOffsets`: a cell, so neither the sum nor its callback allocates. */
|
|
41502
41557
|
const SUM = /* @__PURE__ */ new Float64Array(1);
|
|
@@ -41789,6 +41844,20 @@ function beginTrack(actx, track, stored) {
|
|
|
41789
41844
|
}
|
|
41790
41845
|
}
|
|
41791
41846
|
/**
|
|
41847
|
+
* The value of a slot between two values at the eased time in `values[slot]`: a number mixed as
|
|
41848
|
+
* one, a colour per channel and rounded (F219), so white to grey passes only greys.
|
|
41849
|
+
*
|
|
41850
|
+
* @param track - The track, its eased time in `values[slot]`.
|
|
41851
|
+
* @param slot - The slot.
|
|
41852
|
+
* @param from - The value at eased time 0.
|
|
41853
|
+
* @param to - The value at eased time 1.
|
|
41854
|
+
* @returns The value of the slot now.
|
|
41855
|
+
*/
|
|
41856
|
+
function mixed(track, slot, from, to) {
|
|
41857
|
+
const t = track.values[slot] ?? 0;
|
|
41858
|
+
return track.colors[slot] === 1 ? mixColor(from, to, t) : from + (to - from) * t;
|
|
41859
|
+
}
|
|
41860
|
+
/**
|
|
41792
41861
|
* Walks the keyframe segments of a track to its normalised time `clock[1]`, for one slot. Each
|
|
41793
41862
|
* segment eases, with its own curve or the track's, from where the segment before left the
|
|
41794
41863
|
* field; a segment that does not name the field holds it, and past the last segment the field
|
|
@@ -41817,7 +41886,7 @@ function walkSlot(track, segments, slot) {
|
|
|
41817
41886
|
return;
|
|
41818
41887
|
}
|
|
41819
41888
|
easeCell(segment.ease ?? track.ease, values, slot);
|
|
41820
|
-
values[slot] =
|
|
41889
|
+
values[slot] = mixed(track, slot, from, target);
|
|
41821
41890
|
return;
|
|
41822
41891
|
}
|
|
41823
41892
|
from = target;
|
|
@@ -41846,7 +41915,7 @@ function slotValue(track, slot, final) {
|
|
|
41846
41915
|
const start = track.starts[slot] ?? 0;
|
|
41847
41916
|
values[slot] = track.clock[1] ?? 0;
|
|
41848
41917
|
easeCell(track.ease, values, slot);
|
|
41849
|
-
values[slot] =
|
|
41918
|
+
values[slot] = mixed(track, slot, start, track.targets[slot] ?? 0);
|
|
41850
41919
|
} else walkSlot(track, segments, slot);
|
|
41851
41920
|
if (track.additive && !walksOffsets) values[slot] = (values[slot] ?? 0) - (track.starts[slot] ?? 0);
|
|
41852
41921
|
}
|
|
@@ -42282,6 +42351,7 @@ function startTrack$1(actx, entity, component, to, options, muted, driven = fals
|
|
|
42282
42351
|
live: new Uint8Array(names.length).fill(1),
|
|
42283
42352
|
moved: new Uint8Array(names.length),
|
|
42284
42353
|
values: new Float64Array(names.length),
|
|
42354
|
+
colors: Uint8Array.from(names, (field) => isColorField(component, field) ? 1 : 0),
|
|
42285
42355
|
seen: new Float64Array(names.length).fill(NaN),
|
|
42286
42356
|
muted,
|
|
42287
42357
|
additive: options.additive === true,
|
|
@@ -55169,30 +55239,6 @@ function along(curve, t) {
|
|
|
55169
55239
|
return curve.from + (curve.to - curve.from) * t;
|
|
55170
55240
|
}
|
|
55171
55241
|
/**
|
|
55172
|
-
* A colour between two colours, linear per channel.
|
|
55173
|
-
*
|
|
55174
|
-
* @param curve - The two `0xrrggbb` ends.
|
|
55175
|
-
* @param t - Where between them, 0..1.
|
|
55176
|
-
* @returns The `0xrrggbb` colour at `t`.
|
|
55177
|
-
* @example
|
|
55178
|
-
* ```ts
|
|
55179
|
-
* mixColor({ from: 0x000000, to: 0xff_ff_ff }, 0.5); // 0x808080
|
|
55180
|
-
* ```
|
|
55181
|
-
*/
|
|
55182
|
-
function mixColor(curve, t) {
|
|
55183
|
-
let color = 0;
|
|
55184
|
-
for (const shift of [
|
|
55185
|
-
16,
|
|
55186
|
-
8,
|
|
55187
|
-
0
|
|
55188
|
-
]) {
|
|
55189
|
-
const from = curve.from >> shift & 255;
|
|
55190
|
-
const to = curve.to >> shift & 255;
|
|
55191
|
-
color |= Math.round(from + (to - from) * t) << shift;
|
|
55192
|
-
}
|
|
55193
|
-
return color;
|
|
55194
|
-
}
|
|
55195
|
-
/**
|
|
55196
55242
|
* How far from the origin a particle is born at most.
|
|
55197
55243
|
*
|
|
55198
55244
|
* @param shape - The birth shape.
|
|
@@ -55241,7 +55287,7 @@ function bakeEmitter(definition, textures) {
|
|
|
55241
55287
|
const t = index / 63;
|
|
55242
55288
|
scaleTable[index] = along(config.scale, t);
|
|
55243
55289
|
alphaTable[index] = along(config.alpha, t);
|
|
55244
|
-
tintTable[index] = toBgr(mixColor(config.tint, t));
|
|
55290
|
+
tintTable[index] = toBgr(mixColor(config.tint.from, config.tint.to, t));
|
|
55245
55291
|
colorTable[index] = ((tintTable[index] ?? 0) | alphaByte(alphaTable[index] ?? 1) << 24) >>> 0;
|
|
55246
55292
|
}
|
|
55247
55293
|
const maxSide = Math.max(...textures.map((texture) => Math.max(texture.width, texture.height)));
|
|
@@ -57314,6 +57360,8 @@ async function startI18n(ctx) {
|
|
|
57314
57360
|
* hot swap calls. This is the only place in the
|
|
57315
57361
|
* engine where a locale is read.
|
|
57316
57362
|
*/
|
|
57363
|
+
/** The parameters of a message without any: one frozen object, so a format builds none. */
|
|
57364
|
+
const EMPTY_PARAMS = Object.freeze({});
|
|
57317
57365
|
/**
|
|
57318
57366
|
* Answers the formatter kit of one locale, building it on first use.
|
|
57319
57367
|
*
|
|
@@ -57367,6 +57415,54 @@ function missing(ctx, key, locale) {
|
|
|
57367
57415
|
return missingParts(key);
|
|
57368
57416
|
}
|
|
57369
57417
|
/**
|
|
57418
|
+
* Tells whether a parameter is a message `tr` built: an object with a string `key` and no
|
|
57419
|
+
* `type`, which an element passed as a parameter always has.
|
|
57420
|
+
*
|
|
57421
|
+
* @param value - One parameter of a message.
|
|
57422
|
+
* @returns True for a message.
|
|
57423
|
+
* @example
|
|
57424
|
+
* ```ts
|
|
57425
|
+
* isMessage({ key: "album.set" }); // true
|
|
57426
|
+
* ```
|
|
57427
|
+
*/
|
|
57428
|
+
function isMessage(value) {
|
|
57429
|
+
if (typeof value !== "object" || value === null || Array.isArray(value)) return false;
|
|
57430
|
+
return typeof value.key === "string" && !("type" in value);
|
|
57431
|
+
}
|
|
57432
|
+
/**
|
|
57433
|
+
* The parameters a compiled message reads: a message passed as a parameter is replaced by its
|
|
57434
|
+
* words in the same locale (F209). The parameters themselves when none is a message, so a label
|
|
57435
|
+
* without one builds nothing.
|
|
57436
|
+
*
|
|
57437
|
+
* @param ctx - Kernel context of the i18n plugin.
|
|
57438
|
+
* @param params - The parameters of the outer message.
|
|
57439
|
+
* @param locale - The locale the outer message is read in.
|
|
57440
|
+
* @returns The parameters to hand the compiled message.
|
|
57441
|
+
*/
|
|
57442
|
+
function paramsIn(ctx, params, locale) {
|
|
57443
|
+
let words;
|
|
57444
|
+
for (const name in params) {
|
|
57445
|
+
const value = params[name];
|
|
57446
|
+
if (!isMessage(value)) continue;
|
|
57447
|
+
words ??= { ...params };
|
|
57448
|
+
words[name] = plainOf$1(formatAt(ctx, value, locale));
|
|
57449
|
+
}
|
|
57450
|
+
return words ?? params;
|
|
57451
|
+
}
|
|
57452
|
+
/**
|
|
57453
|
+
* Formats one message in a locale that can be read, through the fallback chain.
|
|
57454
|
+
*
|
|
57455
|
+
* @param ctx - Kernel context of the i18n plugin.
|
|
57456
|
+
* @param message - What `tr` returned.
|
|
57457
|
+
* @param target - The locale to read first.
|
|
57458
|
+
* @returns The parts of the sentence, adjacent text merged.
|
|
57459
|
+
*/
|
|
57460
|
+
function formatAt(ctx, message, target) {
|
|
57461
|
+
const compiled = resolve$1(ctx.state, message.key, target, ctx.config.fallback);
|
|
57462
|
+
if (compiled === void 0) return missing(ctx, message.key, target);
|
|
57463
|
+
return mergeParts(compiled(paramsIn(ctx, message.params ?? EMPTY_PARAMS, target), kitOf(ctx.state, target)));
|
|
57464
|
+
}
|
|
57465
|
+
/**
|
|
57370
57466
|
* Formats one message in one locale, through the fallback chain.
|
|
57371
57467
|
*
|
|
57372
57468
|
* @param ctx - Kernel context of the i18n plugin.
|
|
@@ -57376,10 +57472,7 @@ function missing(ctx, key, locale) {
|
|
|
57376
57472
|
* @throws {Error} When a named locale is not registered or not loaded.
|
|
57377
57473
|
*/
|
|
57378
57474
|
function formatIn(ctx, message, locale) {
|
|
57379
|
-
|
|
57380
|
-
const compiled = resolve$1(ctx.state, message.key, target, ctx.config.fallback);
|
|
57381
|
-
if (compiled === void 0) return missing(ctx, message.key, target);
|
|
57382
|
-
return mergeParts(compiled(message.params ?? {}, kitOf(ctx.state, target)));
|
|
57475
|
+
return formatAt(ctx, message, locale === void 0 ? ctx.state.locale : readable(ctx, locale));
|
|
57383
57476
|
}
|
|
57384
57477
|
/**
|
|
57385
57478
|
* Joins the text parts of a sentence, elements dropped, and reads every `\<` as the `<` it
|
package/dist/testing.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Bn as NodeTable, Ir as ClockSource, Jn as Hint, Mn as FeaturePlugin, Pn as AnyFlow, Rr as FakeClock, Wn as Descriptor, Wr as Json, Yn as NodeFx } from "./types-VJcIdmHU.mjs";
|
|
2
|
-
import { t as createApp } from "./index-
|
|
3
|
-
import { b as memory, x as saveOf, y as WithGameState } from "./types-
|
|
2
|
+
import { t as createApp } from "./index-DbmGsQgB.mjs";
|
|
3
|
+
import { b as memory, x as saveOf, y as WithGameState } from "./types-Chv5YFWw.mjs";
|
|
4
4
|
import { a as createHeadless, i as ReproResult, n as HeadlessGame, o as runRepro, r as Repro, s as stepFrames, t as HeadlessApp } from "./headless-CO19o31k.mjs";
|
|
5
5
|
import { AnyPluginInstance } from "@moku-labs/core";
|
|
6
6
|
|
package/dist/testing.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dn as refuseStart, gn as type, pn as exit, t as createApp, w as flattenFeatures } from "./src-
|
|
1
|
+
import { dn as refuseStart, gn as type, pn as exit, t as createApp, w as flattenFeatures } from "./src-nsjSGfQQ.mjs";
|
|
2
2
|
import { n as saveOf, t as memory } from "./memory-DeD9wis6.mjs";
|
|
3
3
|
import { n as fakeClock } from "./fake-hnJcJeYf.mjs";
|
|
4
4
|
import { i as stepFrames, r as runRepro, t as createHeadless } from "./headless-yi2XmYWC.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { $ as Config$2, Hr as Config, Ir as ClockSource, Mn as FeaturePlugin, Pn as AnyFlow, Rr as FakeClock, Un as TypeTag, Wr as Json, Xr as ProviderCall, Yr as PlayerStateProvider, Zr as SaveDoc, _t as Orientation, a as Config$3, d as Manifest, ei as SnapshotOf, gn as Config$1, it as PixiModule, n as AssetsIo } from "./types-VJcIdmHU.mjs";
|
|
2
|
-
import { o as AudioContextLike, s as Config$4 } from "./types-
|
|
2
|
+
import { o as AudioContextLike, s as Config$4 } from "./types-CtcQGXWl.mjs";
|
|
3
3
|
import { J as StringTable, U as I18nApi, Y as TextKey } from "./types-BaarAgv8.mjs";
|
|
4
|
-
import { Et as PlatformProvider, It as audioPlugin, Nt as effectsPlugin, i as screen, t as createApp, wt as platformPlugin } from "./index-
|
|
4
|
+
import { Et as PlatformProvider, It as audioPlugin, Nt as effectsPlugin, i as screen, t as createApp, wt as platformPlugin } from "./index-DbmGsQgB.mjs";
|
|
5
5
|
import { AnyPluginInstance } from "@moku-labs/core";
|
|
6
6
|
|
|
7
7
|
//#region src/plugins/model/store/providers/memory.d.ts
|
|
@@ -125,7 +125,8 @@ type Track = {
|
|
|
125
125
|
* Per slot, the numbers of the write that runs: first what the slot contributes, then what the
|
|
126
126
|
* field reads, the base plus every offset. Kept here so no number crosses a call boxed.
|
|
127
127
|
*/
|
|
128
|
-
readonly values: Float64Array;
|
|
128
|
+
readonly values: Float64Array; /** `1` for a slot that is a colour field (`isColorField`): it mixes per channel and rounds (F219). */
|
|
129
|
+
readonly colors: Uint8Array;
|
|
129
130
|
/**
|
|
130
131
|
* Per slot, the value this track last left in the field or found there, `NaN` while unknown: at
|
|
131
132
|
* the start and while another writer holds the field. A frame whose value moved off it writes
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Ar as Api$1, Fr as Api$4, Q as Api, Vr as Api$2, ii as Api$3 } from "./types-VJcIdmHU.mjs";
|
|
2
|
-
import { W as AnimApi, r as UiApi } from "./types-
|
|
2
|
+
import { W as AnimApi, r as UiApi } from "./types-CtcQGXWl.mjs";
|
|
3
3
|
import { R as InputApi } from "./types-BaarAgv8.mjs";
|
|
4
4
|
import { r as Repro } from "./headless-CO19o31k.mjs";
|
|
5
5
|
import { i as ControlApp, o as InputOf } from "./types-CbSTnp8T.mjs";
|
|
6
|
-
import { t as commands } from "./commands-
|
|
6
|
+
import { t as commands } from "./commands-BjKkbgWs.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/visual/types.d.ts
|
|
9
9
|
/** The base commands of the `/control` door, keyed by their short names. */
|
package/dist/visual.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as VisualApp, c as VisualRenderer, d as VisualStart, f as VisualStep, h as VisualTolerance, i as CheckpointResult, l as VisualReport, m as VisualTestResult, n as runVisualTests, o as VisualOptions, p as VisualTest, r as defineVisualTest, s as VisualPage, t as parseVisualArgv, u as VisualSetup } from "./visual-
|
|
1
|
+
import { a as VisualApp, c as VisualRenderer, d as VisualStart, f as VisualStep, h as VisualTolerance, i as CheckpointResult, l as VisualReport, m as VisualTestResult, n as runVisualTests, o as VisualOptions, p as VisualTest, r as defineVisualTest, s as VisualPage, t as parseVisualArgv, u as VisualSetup } from "./visual-DubaCpDs.mjs";
|
|
2
2
|
export { type CheckpointResult, type VisualApp, type VisualOptions, type VisualPage, type VisualRenderer, type VisualReport, type VisualSetup, type VisualStart, type VisualStep, type VisualTest, type VisualTestResult, type VisualTolerance, defineVisualTest, parseVisualArgv, runVisualTests };
|