@oasys/oecs 0.5.3 → 0.5.4
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/CHANGELOG.md +194 -28
- package/README.md +198 -145
- package/dist/core/ecs/access_check.d.cts +3 -3
- package/dist/core/ecs/access_check.d.ts +3 -3
- package/dist/core/ecs/archetype.d.cts +103 -43
- package/dist/core/ecs/archetype.d.ts +103 -43
- package/dist/core/ecs/archetype.d.ts.map +1 -1
- package/dist/core/ecs/archetype_graph.d.cts +8 -8
- package/dist/core/ecs/archetype_graph.d.ts +8 -8
- package/dist/core/ecs/archetype_graph.d.ts.map +1 -1
- package/dist/core/ecs/builtin_relations.d.cts +1 -1
- package/dist/core/ecs/builtin_relations.d.ts +1 -1
- package/dist/core/ecs/command_log.d.cts +4 -4
- package/dist/core/ecs/command_log.d.ts +4 -4
- package/dist/core/ecs/command_log.d.ts.map +1 -1
- package/dist/core/ecs/component.d.cts +4 -4
- package/dist/core/ecs/component.d.ts +4 -4
- package/dist/core/ecs/deferred_commands.d.cts +1 -1
- package/dist/core/ecs/deferred_commands.d.ts +1 -1
- package/dist/core/ecs/deferred_commands.d.ts.map +1 -1
- package/dist/core/ecs/ecs.d.cts +85 -43
- package/dist/core/ecs/ecs.d.ts +85 -43
- package/dist/core/ecs/ecs.d.ts.map +1 -1
- package/dist/core/ecs/ecs_memory.d.cts +10 -10
- package/dist/core/ecs/ecs_memory.d.ts +10 -10
- package/dist/core/ecs/ecs_memory.d.ts.map +1 -1
- package/dist/core/ecs/entity_allocator.d.cts +6 -6
- package/dist/core/ecs/entity_allocator.d.ts +6 -6
- package/dist/core/ecs/entity_allocator.d.ts.map +1 -1
- package/dist/core/ecs/event.d.cts +2 -2
- package/dist/core/ecs/event.d.ts +2 -2
- package/dist/core/ecs/event_registry.d.cts +1 -1
- package/dist/core/ecs/event_registry.d.ts +1 -1
- package/dist/core/ecs/event_registry.d.ts.map +1 -1
- package/dist/core/ecs/facades.d.cts +15 -15
- package/dist/core/ecs/facades.d.ts +15 -15
- package/dist/core/ecs/facades.d.ts.map +1 -1
- package/dist/core/ecs/frame_trace.d.cts +2 -2
- package/dist/core/ecs/frame_trace.d.ts +2 -2
- package/dist/core/ecs/host_commands.d.cts +12 -12
- package/dist/core/ecs/host_commands.d.ts +12 -12
- package/dist/core/ecs/host_commands.d.ts.map +1 -1
- package/dist/core/ecs/index.d.cts +1 -1
- package/dist/core/ecs/index.d.ts +1 -1
- package/dist/core/ecs/index.d.ts.map +1 -1
- package/dist/core/ecs/observer.d.cts +9 -9
- package/dist/core/ecs/observer.d.ts +9 -9
- package/dist/core/ecs/observer.d.ts.map +1 -1
- package/dist/core/ecs/query.d.cts +91 -70
- package/dist/core/ecs/query.d.ts +91 -70
- package/dist/core/ecs/query.d.ts.map +1 -1
- package/dist/core/ecs/ref.d.cts +53 -1
- package/dist/core/ecs/ref.d.ts +53 -1
- package/dist/core/ecs/ref.d.ts.map +1 -1
- package/dist/core/ecs/relation.d.cts +15 -15
- package/dist/core/ecs/relation.d.ts +15 -15
- package/dist/core/ecs/relation.d.ts.map +1 -1
- package/dist/core/ecs/relation_service.d.cts +14 -14
- package/dist/core/ecs/relation_service.d.ts +14 -14
- package/dist/core/ecs/relation_service.d.ts.map +1 -1
- package/dist/core/ecs/resource.d.cts +1 -1
- package/dist/core/ecs/resource.d.ts +1 -1
- package/dist/core/ecs/resource_registry.d.cts +2 -2
- package/dist/core/ecs/resource_registry.d.ts +2 -2
- package/dist/core/ecs/resume.d.cts +3 -3
- package/dist/core/ecs/resume.d.ts +3 -3
- package/dist/core/ecs/resume.d.ts.map +1 -1
- package/dist/core/ecs/schedule.d.cts +22 -9
- package/dist/core/ecs/schedule.d.ts +22 -9
- package/dist/core/ecs/schedule.d.ts.map +1 -1
- package/dist/core/ecs/snapshot_service.d.cts +3 -3
- package/dist/core/ecs/snapshot_service.d.ts +3 -3
- package/dist/core/ecs/sparse_store.d.cts +6 -6
- package/dist/core/ecs/sparse_store.d.ts +6 -6
- package/dist/core/ecs/sparse_store.d.ts.map +1 -1
- package/dist/core/ecs/store.d.cts +189 -110
- package/dist/core/ecs/store.d.ts +189 -110
- package/dist/core/ecs/store.d.ts.map +1 -1
- package/dist/core/ecs/store_layout_listener.d.cts +2 -2
- package/dist/core/ecs/store_layout_listener.d.ts +2 -2
- package/dist/core/ecs/system.d.cts +8 -8
- package/dist/core/ecs/system.d.ts +8 -8
- package/dist/core/ecs/system.d.ts.map +1 -1
- package/dist/core/ecs/utils/error.d.cts +7 -0
- package/dist/core/ecs/utils/error.d.ts +7 -0
- package/dist/core/ecs/utils/error.d.ts.map +1 -1
- package/dist/core/store/action_ring.d.cts +7 -8
- package/dist/core/store/action_ring.d.ts +7 -8
- package/dist/core/store/action_ring.d.ts.map +1 -1
- package/dist/core/store/allocator.d.cts +26 -28
- package/dist/core/store/allocator.d.ts +26 -28
- package/dist/core/store/allocator.d.ts.map +1 -1
- package/dist/core/store/buffer_backed_column.d.cts +5 -6
- package/dist/core/store/buffer_backed_column.d.ts +5 -6
- package/dist/core/store/buffer_backed_column.d.ts.map +1 -1
- package/dist/core/store/column_store.d.cts +22 -22
- package/dist/core/store/column_store.d.ts +22 -22
- package/dist/core/store/column_store.d.ts.map +1 -1
- package/dist/core/store/command_dispatch.d.cts +1 -1
- package/dist/core/store/command_dispatch.d.ts +1 -1
- package/dist/core/store/command_ring.d.cts +6 -7
- package/dist/core/store/command_ring.d.ts +6 -7
- package/dist/core/store/command_ring.d.ts.map +1 -1
- package/dist/core/store/descriptor.d.cts +2 -2
- package/dist/core/store/descriptor.d.ts +2 -2
- package/dist/core/store/entity_index.d.cts +3 -3
- package/dist/core/store/entity_index.d.ts +3 -3
- package/dist/core/store/event_ring.d.cts +7 -7
- package/dist/core/store/event_ring.d.ts +7 -7
- package/dist/core/store/extend.d.cts +2 -2
- package/dist/core/store/extend.d.ts +2 -2
- package/dist/core/store/grow.d.cts +1 -1
- package/dist/core/store/grow.d.ts +1 -1
- package/dist/core/store/grow.d.ts.map +1 -1
- package/dist/core/store/header.d.cts +9 -9
- package/dist/core/store/header.d.ts +9 -9
- package/dist/core/store/header.d.ts.map +1 -1
- package/dist/core/store/layout_ops.d.cts +7 -7
- package/dist/core/store/layout_ops.d.ts +7 -7
- package/dist/core/store/state_hash.d.cts +3 -3
- package/dist/core/store/state_hash.d.ts +3 -3
- package/dist/extensions/editor/editor.d.cts +4 -4
- package/dist/extensions/editor/editor.d.ts +4 -4
- package/dist/extensions/editor/editor.d.ts.map +1 -1
- package/dist/extensions/editor/field_handle.d.cts +1 -1
- package/dist/extensions/editor/field_handle.d.ts +1 -1
- package/dist/extensions/editor/index.d.cts +2 -2
- package/dist/extensions/editor/index.d.ts +2 -2
- package/dist/extensions/editor/index.development.js +4 -4
- package/dist/extensions/editor/index.js +4 -4
- package/dist/extensions/reactive/ecs_sync.d.cts +4 -4
- package/dist/extensions/reactive/ecs_sync.d.ts +4 -4
- package/dist/extensions/reactive/index.d.cts +4 -4
- package/dist/extensions/reactive/index.d.ts +4 -4
- package/dist/extensions/reactive/index.development.js +3 -3
- package/dist/extensions/reactive/index.js +3 -3
- package/dist/extensions/solid/index.d.cts +1 -1
- package/dist/extensions/solid/index.d.ts +1 -1
- package/dist/extensions/solid/index.development.js +1 -1
- package/dist/extensions/solid/index.js +1 -1
- package/dist/extensions/solid/kernel_solid.d.cts +1 -1
- package/dist/extensions/solid/kernel_solid.d.ts +1 -1
- package/dist/extensions/solid/kernel_solid.d.ts.map +1 -1
- package/dist/{host_commands-3jyFfWNg.js → host_commands-BlR3oZ3x.js} +472 -392
- package/dist/host_commands-C2cpU3yC.cjs +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.development.cjs +1 -1
- package/dist/index.development.js +3344 -2965
- package/dist/index.js +1494 -1132
- package/dist/{internal-C9jjL90H.js → internal-BoxWl4dG.js} +409 -329
- package/dist/internal-CGBEwfeB.cjs +2 -0
- package/dist/internal.cjs +1 -1
- package/dist/internal.development.cjs +1 -1
- package/dist/internal.development.js +1 -1
- package/dist/internal.js +1 -1
- package/dist/primitives.development.js +1 -1
- package/dist/primitives.js +1 -1
- package/dist/reactive/index.d.cts +2 -2
- package/dist/reactive/index.d.ts +2 -2
- package/dist/reactive/index.development.js +1 -1
- package/dist/reactive/index.js +1 -1
- package/dist/reactive/kernel.d.cts +5 -5
- package/dist/reactive/kernel.d.ts +5 -5
- package/dist/reactive/shallow.d.cts +1 -1
- package/dist/reactive/shallow.d.ts +1 -1
- package/dist/{shallow-DfnAm9vG.js → shallow-Bs39EPh1.js} +1 -1
- package/dist/{shallow-9S1pY_Iw.js → shallow-CiFC70Dz.js} +1 -1
- package/dist/{shared-DQKK0i-E.js → shared-B4v0L1cw.js} +4 -4
- package/dist/shared-DU78k0pU.cjs +1 -0
- package/dist/shared.cjs +1 -1
- package/dist/shared.development.cjs +1 -1
- package/dist/shared.development.js +1 -1
- package/dist/shared.js +1 -1
- package/dist/type_primitives/typed_arrays/typed_arrays.d.cts +2 -2
- package/dist/type_primitives/typed_arrays/typed_arrays.d.ts +2 -2
- package/dist/{typed_arrays-BcXcnzB4.js → typed_arrays-DIVwVy5_.js} +1 -1
- package/dist/version.d.cts +2 -2
- package/dist/version.d.ts +2 -2
- package/package.json +1 -1
- package/dist/host_commands-DNf0f6ko.cjs +0 -1
- package/dist/internal-RZN14uMw.cjs +0 -2
- package/dist/shared-BMXh9hxm.cjs +0 -1
|
@@ -12,7 +12,7 @@ export declare enum SCHEDULE {
|
|
|
12
12
|
POST_UPDATE = "POST_UPDATE"
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
|
-
* An opaque handle for a named group of systems
|
|
15
|
+
* An opaque handle for a named group of systems. A set carries a shared
|
|
16
16
|
* run condition and shared ordering that every member inherits. Sets are
|
|
17
17
|
* identified by **object identity**, not by name — create one with
|
|
18
18
|
* `systemSet(name)`, hold the handle, and reuse it across `addSystems`
|
|
@@ -22,13 +22,13 @@ export declare enum SCHEDULE {
|
|
|
22
22
|
export interface SystemSet {
|
|
23
23
|
readonly name: string;
|
|
24
24
|
}
|
|
25
|
-
/** Create a `SystemSet` handle
|
|
25
|
+
/** Create a `SystemSet` handle. Two calls with the same name are two
|
|
26
26
|
* distinct sets — keep the returned handle and pass it around. */
|
|
27
27
|
export declare function systemSet(name: string): SystemSet;
|
|
28
28
|
/** A `before`/`after` ordering target: either a concrete system or a whole set
|
|
29
29
|
* (expanded to its members within the same phase at sort time). */
|
|
30
30
|
export type SystemOrderingTarget = SystemDescriptor | SystemSet;
|
|
31
|
-
/** Shared configuration applied to a `SystemSet` via `configureSet
|
|
31
|
+
/** Shared configuration applied to a `SystemSet` via `configureSet`.
|
|
32
32
|
* Accumulates across calls — conditions AND together, ordering targets union. */
|
|
33
33
|
export interface SystemSetConfig {
|
|
34
34
|
/** Condition(s) every member is gated by (ANDed with each member's own). */
|
|
@@ -46,10 +46,10 @@ export interface SystemEntry {
|
|
|
46
46
|
system: SystemDescriptor;
|
|
47
47
|
ordering?: SystemOrdering;
|
|
48
48
|
/** Run condition(s) gating just this system — ANDed with any set conditions
|
|
49
|
-
* it inherits
|
|
49
|
+
* it inherits. A `false` verdict skips the body that tick. */
|
|
50
50
|
runIf?: RunCondition | readonly RunCondition[];
|
|
51
51
|
/** Set membership — the system inherits each set's shared condition and
|
|
52
|
-
* ordering
|
|
52
|
+
* ordering. */
|
|
53
53
|
set?: SystemSet | readonly SystemSet[];
|
|
54
54
|
}
|
|
55
55
|
export declare class Schedule {
|
|
@@ -57,6 +57,9 @@ export declare class Schedule {
|
|
|
57
57
|
private readonly sortedCache;
|
|
58
58
|
private readonly systemIndex;
|
|
59
59
|
private readonly systemLastRun;
|
|
60
|
+
private readonly lastRunSlots;
|
|
61
|
+
private readonly freeLastRunSlots;
|
|
62
|
+
private _driveDepth;
|
|
60
63
|
private readonly gatedSystems;
|
|
61
64
|
private readonly setConditions;
|
|
62
65
|
private readonly setOrdering;
|
|
@@ -65,17 +68,19 @@ export declare class Schedule {
|
|
|
65
68
|
/** Dev-diagnostic sink (`ECSOptions.onWarn`); defaults to `console.warn`.
|
|
66
69
|
* The only schedule diagnostic today is `warnDroppedEdge`. */
|
|
67
70
|
private readonly onWarn;
|
|
71
|
+
/** The `FIXED_UPDATE` node list, held directly for `hasFixedSystems`. */
|
|
72
|
+
private readonly _fixedNodes;
|
|
68
73
|
constructor(onWarn?: (message: string) => void);
|
|
69
74
|
addSystems(label: SCHEDULE, ...entries: (SystemDescriptor | SystemEntry)[]): void;
|
|
70
75
|
/**
|
|
71
|
-
* Configure a `SystemSet`
|
|
76
|
+
* Configure a `SystemSet` — its shared run condition(s) and/or
|
|
72
77
|
* ordering, inherited by every member. Additive and order-independent w.r.t.
|
|
73
78
|
* `addSystems`: conditions accumulate (ANDed), ordering targets union, and
|
|
74
79
|
* a member added before or after this call picks the configuration up.
|
|
75
80
|
*/
|
|
76
81
|
configureSet(set: SystemSet, config: SystemSetConfig): void;
|
|
77
82
|
removeSystem(system: SystemDescriptor): void;
|
|
78
|
-
/** Attach (or, with `null`, detach) the opt-in compute backend
|
|
83
|
+
/** Attach (or, with `null`, detach) the opt-in compute backend. Driven
|
|
79
84
|
* by `ECS.attachBackend`; routes any scheduled system carrying a
|
|
80
85
|
* `backendHandle` to `backend.run(handle)` in place of its `fn`. */
|
|
81
86
|
setBackend(backend: ComputeBackend | null): void;
|
|
@@ -85,6 +90,14 @@ export declare class Schedule {
|
|
|
85
90
|
hasFixedSystems(): boolean;
|
|
86
91
|
getAllSystems(): SystemDescriptor[];
|
|
87
92
|
hasSystem(system: SystemDescriptor): boolean;
|
|
93
|
+
/** Hand `descriptor` its `systemLastRun` slot, keeping the array packed (no
|
|
94
|
+
* holes ⇒ no undefined-check on the read in `runLabel`, which is the whole
|
|
95
|
+
* point of it not being a `Map`). Idempotent for a descriptor already in this
|
|
96
|
+
* schedule — `getSorted` re-asks for every system it sorts. A descriptor that
|
|
97
|
+
* was removed and re-added gets a *fresh* slot starting at tick 0, which is
|
|
98
|
+
* what the previous `Map`-based bookkeeping did (`delete` on remove, `set(…, 0)`
|
|
99
|
+
* on re-add). */
|
|
100
|
+
private _assignLastRunSlot;
|
|
88
101
|
clear(): void;
|
|
89
102
|
private runLabel;
|
|
90
103
|
/**
|
|
@@ -95,7 +108,7 @@ export declare class Schedule {
|
|
|
95
108
|
* memo lives only for a single `runLabel` pass. Short-circuits on the first
|
|
96
109
|
* `false`. The system's own conditions evaluate per system, in canonical order.
|
|
97
110
|
*
|
|
98
|
-
*
|
|
111
|
+
* SEMANTIC NOTE: this evaluates a set's conditions once-per-set-per-phase
|
|
99
112
|
* rather than once-per-member. Equivalent for pure RunConditions; observably
|
|
100
113
|
* different only if a set condition reads state mutated earlier in the SAME
|
|
101
114
|
* phase (resources write immediately). That is intentional — the set gates as a
|
|
@@ -114,7 +127,7 @@ export declare class Schedule {
|
|
|
114
127
|
*/
|
|
115
128
|
private sortSystems;
|
|
116
129
|
/**
|
|
117
|
-
* Add the topo edges for one ordering list
|
|
130
|
+
* Add the topo edges for one ordering list. For `"before"` the source
|
|
118
131
|
* runs before each target (edge source→target); for `"after"` it runs after
|
|
119
132
|
* each target (edge target→source). A `SystemSet` target expands to every
|
|
120
133
|
* member within this phase (self-edges skipped, so a member ordered against
|
|
@@ -12,7 +12,7 @@ export declare enum SCHEDULE {
|
|
|
12
12
|
POST_UPDATE = "POST_UPDATE"
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
|
-
* An opaque handle for a named group of systems
|
|
15
|
+
* An opaque handle for a named group of systems. A set carries a shared
|
|
16
16
|
* run condition and shared ordering that every member inherits. Sets are
|
|
17
17
|
* identified by **object identity**, not by name — create one with
|
|
18
18
|
* `systemSet(name)`, hold the handle, and reuse it across `addSystems`
|
|
@@ -22,13 +22,13 @@ export declare enum SCHEDULE {
|
|
|
22
22
|
export interface SystemSet {
|
|
23
23
|
readonly name: string;
|
|
24
24
|
}
|
|
25
|
-
/** Create a `SystemSet` handle
|
|
25
|
+
/** Create a `SystemSet` handle. Two calls with the same name are two
|
|
26
26
|
* distinct sets — keep the returned handle and pass it around. */
|
|
27
27
|
export declare function systemSet(name: string): SystemSet;
|
|
28
28
|
/** A `before`/`after` ordering target: either a concrete system or a whole set
|
|
29
29
|
* (expanded to its members within the same phase at sort time). */
|
|
30
30
|
export type SystemOrderingTarget = SystemDescriptor | SystemSet;
|
|
31
|
-
/** Shared configuration applied to a `SystemSet` via `configureSet
|
|
31
|
+
/** Shared configuration applied to a `SystemSet` via `configureSet`.
|
|
32
32
|
* Accumulates across calls — conditions AND together, ordering targets union. */
|
|
33
33
|
export interface SystemSetConfig {
|
|
34
34
|
/** Condition(s) every member is gated by (ANDed with each member's own). */
|
|
@@ -46,10 +46,10 @@ export interface SystemEntry {
|
|
|
46
46
|
system: SystemDescriptor;
|
|
47
47
|
ordering?: SystemOrdering;
|
|
48
48
|
/** Run condition(s) gating just this system — ANDed with any set conditions
|
|
49
|
-
* it inherits
|
|
49
|
+
* it inherits. A `false` verdict skips the body that tick. */
|
|
50
50
|
runIf?: RunCondition | readonly RunCondition[];
|
|
51
51
|
/** Set membership — the system inherits each set's shared condition and
|
|
52
|
-
* ordering
|
|
52
|
+
* ordering. */
|
|
53
53
|
set?: SystemSet | readonly SystemSet[];
|
|
54
54
|
}
|
|
55
55
|
export declare class Schedule {
|
|
@@ -57,6 +57,9 @@ export declare class Schedule {
|
|
|
57
57
|
private readonly sortedCache;
|
|
58
58
|
private readonly systemIndex;
|
|
59
59
|
private readonly systemLastRun;
|
|
60
|
+
private readonly lastRunSlots;
|
|
61
|
+
private readonly freeLastRunSlots;
|
|
62
|
+
private _driveDepth;
|
|
60
63
|
private readonly gatedSystems;
|
|
61
64
|
private readonly setConditions;
|
|
62
65
|
private readonly setOrdering;
|
|
@@ -65,17 +68,19 @@ export declare class Schedule {
|
|
|
65
68
|
/** Dev-diagnostic sink (`ECSOptions.onWarn`); defaults to `console.warn`.
|
|
66
69
|
* The only schedule diagnostic today is `warnDroppedEdge`. */
|
|
67
70
|
private readonly onWarn;
|
|
71
|
+
/** The `FIXED_UPDATE` node list, held directly for `hasFixedSystems`. */
|
|
72
|
+
private readonly _fixedNodes;
|
|
68
73
|
constructor(onWarn?: (message: string) => void);
|
|
69
74
|
addSystems(label: SCHEDULE, ...entries: (SystemDescriptor | SystemEntry)[]): void;
|
|
70
75
|
/**
|
|
71
|
-
* Configure a `SystemSet`
|
|
76
|
+
* Configure a `SystemSet` — its shared run condition(s) and/or
|
|
72
77
|
* ordering, inherited by every member. Additive and order-independent w.r.t.
|
|
73
78
|
* `addSystems`: conditions accumulate (ANDed), ordering targets union, and
|
|
74
79
|
* a member added before or after this call picks the configuration up.
|
|
75
80
|
*/
|
|
76
81
|
configureSet(set: SystemSet, config: SystemSetConfig): void;
|
|
77
82
|
removeSystem(system: SystemDescriptor): void;
|
|
78
|
-
/** Attach (or, with `null`, detach) the opt-in compute backend
|
|
83
|
+
/** Attach (or, with `null`, detach) the opt-in compute backend. Driven
|
|
79
84
|
* by `ECS.attachBackend`; routes any scheduled system carrying a
|
|
80
85
|
* `backendHandle` to `backend.run(handle)` in place of its `fn`. */
|
|
81
86
|
setBackend(backend: ComputeBackend | null): void;
|
|
@@ -85,6 +90,14 @@ export declare class Schedule {
|
|
|
85
90
|
hasFixedSystems(): boolean;
|
|
86
91
|
getAllSystems(): SystemDescriptor[];
|
|
87
92
|
hasSystem(system: SystemDescriptor): boolean;
|
|
93
|
+
/** Hand `descriptor` its `systemLastRun` slot, keeping the array packed (no
|
|
94
|
+
* holes ⇒ no undefined-check on the read in `runLabel`, which is the whole
|
|
95
|
+
* point of it not being a `Map`). Idempotent for a descriptor already in this
|
|
96
|
+
* schedule — `getSorted` re-asks for every system it sorts. A descriptor that
|
|
97
|
+
* was removed and re-added gets a *fresh* slot starting at tick 0, which is
|
|
98
|
+
* what the previous `Map`-based bookkeeping did (`delete` on remove, `set(…, 0)`
|
|
99
|
+
* on re-add). */
|
|
100
|
+
private _assignLastRunSlot;
|
|
88
101
|
clear(): void;
|
|
89
102
|
private runLabel;
|
|
90
103
|
/**
|
|
@@ -95,7 +108,7 @@ export declare class Schedule {
|
|
|
95
108
|
* memo lives only for a single `runLabel` pass. Short-circuits on the first
|
|
96
109
|
* `false`. The system's own conditions evaluate per system, in canonical order.
|
|
97
110
|
*
|
|
98
|
-
*
|
|
111
|
+
* SEMANTIC NOTE: this evaluates a set's conditions once-per-set-per-phase
|
|
99
112
|
* rather than once-per-member. Equivalent for pure RunConditions; observably
|
|
100
113
|
* different only if a set condition reads state mutated earlier in the SAME
|
|
101
114
|
* phase (resources write immediately). That is intentional — the set gates as a
|
|
@@ -114,7 +127,7 @@ export declare class Schedule {
|
|
|
114
127
|
*/
|
|
115
128
|
private sortSystems;
|
|
116
129
|
/**
|
|
117
|
-
* Add the topo edges for one ordering list
|
|
130
|
+
* Add the topo edges for one ordering list. For `"before"` the source
|
|
118
131
|
* runs before each target (edge source→target); for `"after"` it runs after
|
|
119
132
|
* each target (edge target→source). A `SystemSet` target expands to every
|
|
120
133
|
* member within this phase (self-edges skipped, so a member ordered against
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schedule.d.ts","sourceRoot":"","sources":["../../../src/core/ecs/schedule.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAmCK;AAGL,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAMpD,oBAAY,QAAQ;IACnB,WAAW,gBAAgB;IAC3B,OAAO,YAAY;IACnB,YAAY,iBAAiB;IAC7B,YAAY,iBAAiB;IAC7B,UAAU,eAAe;IAC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AQ;IAqEhB;;;;;;;;;;;;;OAaG;IACH,OAAO,CAAC,SAAS;IAwBjB;;kEAE8D;IAC9D,OAAO,CAAC,cAAc;IAetB,OAAO,CAAC,SAAS;IAcjB;;;;OAIG;IACH,OAAO,CAAC,WAAW;IA2FnB;;;;;;;;OAQG;IACH,OAAO,CAAC,YAAY;IA4BpB;4EACwE;IACxE,OAAO,CAAC,eAAe;IAevB;;;;;;;;;;OAUG;IACH,OAAO,CAAC,eAAe;CAgBvB"}
|
|
@@ -38,7 +38,7 @@ export interface SnapshotHost {
|
|
|
38
38
|
}
|
|
39
39
|
export declare class SnapshotService {
|
|
40
40
|
private readonly host;
|
|
41
|
-
/** The allocator IS its own snapshot seam
|
|
41
|
+
/** The allocator IS its own snapshot seam: free-list copy on
|
|
42
42
|
* capture; `setHighWater` + `restoreHostState` on mount. */
|
|
43
43
|
private readonly allocator;
|
|
44
44
|
constructor(host: SnapshotHost, allocator: EntityAllocator);
|
|
@@ -49,7 +49,7 @@ export declare class SnapshotService {
|
|
|
49
49
|
* by the relation side data (`snapshotRelations` — multi forward target
|
|
50
50
|
* sets, which live outside the sparse store). Both are written in canonical
|
|
51
51
|
* entity-index order, so two worlds with identical contents inserted in
|
|
52
|
-
* different orders snapshot byte-for-byte the same
|
|
52
|
+
* different orders snapshot byte-for-byte the same. The reverse index
|
|
53
53
|
* is derived and never serialized — `restoreSparse` rebuilds it. */
|
|
54
54
|
snapshotSparse(): Uint8Array;
|
|
55
55
|
/** Repopulate the sparse stores from `snapshotSparse` bytes, replacing all
|
|
@@ -70,7 +70,7 @@ export declare class SnapshotService {
|
|
|
70
70
|
* `(source index → target EntityID)`, which is exactly one reverse edge. */
|
|
71
71
|
private rebuildRelationIndices;
|
|
72
72
|
/** Capture the full live world to one self-contained byte buffer that
|
|
73
|
-
* `restoreInto` can mount back onto a live, ticking world
|
|
73
|
+
* `restoreInto` can mount back onto a live, ticking world. Three
|
|
74
74
|
* sections (see `resume.ts`): the dense SAB column bytes, the sparse +
|
|
75
75
|
* relation bytes, and the host-side bookkeeping the SAB omits. */
|
|
76
76
|
snapshot(): Uint8Array;
|
|
@@ -38,7 +38,7 @@ export interface SnapshotHost {
|
|
|
38
38
|
}
|
|
39
39
|
export declare class SnapshotService {
|
|
40
40
|
private readonly host;
|
|
41
|
-
/** The allocator IS its own snapshot seam
|
|
41
|
+
/** The allocator IS its own snapshot seam: free-list copy on
|
|
42
42
|
* capture; `setHighWater` + `restoreHostState` on mount. */
|
|
43
43
|
private readonly allocator;
|
|
44
44
|
constructor(host: SnapshotHost, allocator: EntityAllocator);
|
|
@@ -49,7 +49,7 @@ export declare class SnapshotService {
|
|
|
49
49
|
* by the relation side data (`snapshotRelations` — multi forward target
|
|
50
50
|
* sets, which live outside the sparse store). Both are written in canonical
|
|
51
51
|
* entity-index order, so two worlds with identical contents inserted in
|
|
52
|
-
* different orders snapshot byte-for-byte the same
|
|
52
|
+
* different orders snapshot byte-for-byte the same. The reverse index
|
|
53
53
|
* is derived and never serialized — `restoreSparse` rebuilds it. */
|
|
54
54
|
snapshotSparse(): Uint8Array;
|
|
55
55
|
/** Repopulate the sparse stores from `snapshotSparse` bytes, replacing all
|
|
@@ -70,7 +70,7 @@ export declare class SnapshotService {
|
|
|
70
70
|
* `(source index → target EntityID)`, which is exactly one reverse edge. */
|
|
71
71
|
private rebuildRelationIndices;
|
|
72
72
|
/** Capture the full live world to one self-contained byte buffer that
|
|
73
|
-
* `restoreInto` can mount back onto a live, ticking world
|
|
73
|
+
* `restoreInto` can mount back onto a live, ticking world. Three
|
|
74
74
|
* sections (see `resume.ts`): the dense SAB column bytes, the sparse +
|
|
75
75
|
* relation bytes, and the host-side bookkeeping the SAB omits. */
|
|
76
76
|
snapshot(): Uint8Array;
|
|
@@ -25,11 +25,11 @@ export declare class SparseComponentStore {
|
|
|
25
25
|
get size(): number;
|
|
26
26
|
/** Live entity indices that hold this component (dense, iteration order is
|
|
27
27
|
* SparseMap insertion/swap order — NOT canonical). Used by the hot query
|
|
28
|
-
* integration path
|
|
28
|
+
* integration path; for the determinism surface use
|
|
29
29
|
* `canonicalIndices` instead. */
|
|
30
30
|
get indices(): readonly number[];
|
|
31
31
|
/** Live entity indices in **canonical** (ascending) order — the determinism
|
|
32
|
-
* ordering for `stateHash` + snapshot/restore
|
|
32
|
+
* ordering for `stateHash` + snapshot/restore. The native
|
|
33
33
|
* `indices` getter is insertion/swap order and would make two worlds with
|
|
34
34
|
* identical contents reached by different add/remove histories diverge, so
|
|
35
35
|
* the cold determinism paths sort here. Allocates a sorted copy each call;
|
|
@@ -66,7 +66,7 @@ export declare class SparseRestoreError extends Error {
|
|
|
66
66
|
* `snapshotColumnStore`). Members are emitted in canonical (ascending
|
|
67
67
|
* entity-index) order so the bytes are independent of insertion / removal
|
|
68
68
|
* history: two worlds with identical sparse contents reached by different
|
|
69
|
-
* mutation orders serialize byte-for-byte the same
|
|
69
|
+
* mutation orders serialize byte-for-byte the same.
|
|
70
70
|
*
|
|
71
71
|
* Layout (all integers little-endian, to match the dense SAB snapshot and stay
|
|
72
72
|
* architecture-independent):
|
|
@@ -84,7 +84,7 @@ export declare class SparseRestoreError extends Error {
|
|
|
84
84
|
* `restoreSparseStores` can reject a snapshot whose shape doesn't match the
|
|
85
85
|
* stores it's restoring into; `schemaHash` (a `schemaFingerprint` over the
|
|
86
86
|
* field names + types) goes further and rejects a buffer whose shape matches
|
|
87
|
-
* field-for-field but whose field **identity** doesn't
|
|
87
|
+
* field-for-field but whose field **identity** doesn't. */
|
|
88
88
|
export declare function snapshotSparseStores(stores: readonly SparseComponentStore[]): Uint8Array;
|
|
89
89
|
/** Repopulate already-registered sparse stores from `snapshotSparseStores`
|
|
90
90
|
* bytes, giving full-equality round-trip (membership + data). The `stores`
|
|
@@ -98,10 +98,10 @@ export declare function snapshotSparseStores(stores: readonly SparseComponentSto
|
|
|
98
98
|
* or a truncated / over-long buffer) rather than silently corrupting state.
|
|
99
99
|
* The index bound matters because the index keys a `SparseMap` whose backing
|
|
100
100
|
* array grows to `index` length — an unvalidated crafted u32 (up to ~4.29e9)
|
|
101
|
-
* would allocate multi-GB
|
|
101
|
+
* would allocate multi-GB. */
|
|
102
102
|
export declare function restoreSparseStores(stores: readonly SparseComponentStore[], bytes: Uint8Array): void;
|
|
103
103
|
/** Read-only validation of a `snapshotSparseStores` buffer against the live
|
|
104
|
-
* registry, WITHOUT mutating any store
|
|
104
|
+
* registry, WITHOUT mutating any store. Mirrors `restoreSparseStores`'s
|
|
105
105
|
* shape/field-identity/index-bounds/frame checks so `Store.restoreInto` can fail
|
|
106
106
|
* closed on a sparse-registration mismatch BEFORE the dense mount overwrites live
|
|
107
107
|
* column data. Throws `SparseRestoreError` on any mismatch / malformed buffer. */
|
|
@@ -25,11 +25,11 @@ export declare class SparseComponentStore {
|
|
|
25
25
|
get size(): number;
|
|
26
26
|
/** Live entity indices that hold this component (dense, iteration order is
|
|
27
27
|
* SparseMap insertion/swap order — NOT canonical). Used by the hot query
|
|
28
|
-
* integration path
|
|
28
|
+
* integration path; for the determinism surface use
|
|
29
29
|
* `canonicalIndices` instead. */
|
|
30
30
|
get indices(): readonly number[];
|
|
31
31
|
/** Live entity indices in **canonical** (ascending) order — the determinism
|
|
32
|
-
* ordering for `stateHash` + snapshot/restore
|
|
32
|
+
* ordering for `stateHash` + snapshot/restore. The native
|
|
33
33
|
* `indices` getter is insertion/swap order and would make two worlds with
|
|
34
34
|
* identical contents reached by different add/remove histories diverge, so
|
|
35
35
|
* the cold determinism paths sort here. Allocates a sorted copy each call;
|
|
@@ -66,7 +66,7 @@ export declare class SparseRestoreError extends Error {
|
|
|
66
66
|
* `snapshotColumnStore`). Members are emitted in canonical (ascending
|
|
67
67
|
* entity-index) order so the bytes are independent of insertion / removal
|
|
68
68
|
* history: two worlds with identical sparse contents reached by different
|
|
69
|
-
* mutation orders serialize byte-for-byte the same
|
|
69
|
+
* mutation orders serialize byte-for-byte the same.
|
|
70
70
|
*
|
|
71
71
|
* Layout (all integers little-endian, to match the dense SAB snapshot and stay
|
|
72
72
|
* architecture-independent):
|
|
@@ -84,7 +84,7 @@ export declare class SparseRestoreError extends Error {
|
|
|
84
84
|
* `restoreSparseStores` can reject a snapshot whose shape doesn't match the
|
|
85
85
|
* stores it's restoring into; `schemaHash` (a `schemaFingerprint` over the
|
|
86
86
|
* field names + types) goes further and rejects a buffer whose shape matches
|
|
87
|
-
* field-for-field but whose field **identity** doesn't
|
|
87
|
+
* field-for-field but whose field **identity** doesn't. */
|
|
88
88
|
export declare function snapshotSparseStores(stores: readonly SparseComponentStore[]): Uint8Array;
|
|
89
89
|
/** Repopulate already-registered sparse stores from `snapshotSparseStores`
|
|
90
90
|
* bytes, giving full-equality round-trip (membership + data). The `stores`
|
|
@@ -98,10 +98,10 @@ export declare function snapshotSparseStores(stores: readonly SparseComponentSto
|
|
|
98
98
|
* or a truncated / over-long buffer) rather than silently corrupting state.
|
|
99
99
|
* The index bound matters because the index keys a `SparseMap` whose backing
|
|
100
100
|
* array grows to `index` length — an unvalidated crafted u32 (up to ~4.29e9)
|
|
101
|
-
* would allocate multi-GB
|
|
101
|
+
* would allocate multi-GB. */
|
|
102
102
|
export declare function restoreSparseStores(stores: readonly SparseComponentStore[], bytes: Uint8Array): void;
|
|
103
103
|
/** Read-only validation of a `snapshotSparseStores` buffer against the live
|
|
104
|
-
* registry, WITHOUT mutating any store
|
|
104
|
+
* registry, WITHOUT mutating any store. Mirrors `restoreSparseStores`'s
|
|
105
105
|
* shape/field-identity/index-bounds/frame checks so `Store.restoreInto` can fail
|
|
106
106
|
* closed on a sparse-registration mismatch BEFORE the dense mount overwrites live
|
|
107
107
|
* column data. Throws `SparseRestoreError` on any mismatch / malformed buffer. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sparse_store.d.ts","sourceRoot":"","sources":["../../../src/core/ecs/sparse_store.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;KA0BK;AAEL,OAAO,EAAE,KAAK,EAAa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