sfml.js 1.0.0-rc.2 → 1.1.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.ja.md +16 -11
- package/README.ko.md +16 -11
- package/README.md +16 -11
- package/README.zh-CN.md +16 -11
- package/assets/breakout.png +0 -0
- package/binding.gyp +23 -16
- package/dist/audio/effect-processor.js +9 -3
- package/dist/audio/input-sound-file.js +41 -15
- package/dist/audio/listener.js +33 -11
- package/dist/audio/music.js +41 -18
- package/dist/audio/output-sound-file.js +4 -2
- package/dist/audio/playback-device.js +11 -3
- package/dist/audio/sound-buffer-recorder.js +8 -5
- package/dist/audio/sound-buffer.js +40 -17
- package/dist/audio/sound-file-factory.js +21 -9
- package/dist/audio/sound-file-reader.js +21 -7
- package/dist/audio/sound-recorder.js +36 -15
- package/dist/audio/sound-source.js +117 -40
- package/dist/audio/sound-stream.js +14 -5
- package/dist/audio/sound.js +9 -4
- package/dist/audio/value.js +42 -16
- package/dist/graphics/blend-mode.js +2 -1
- package/dist/graphics/boolean-vector.d.ts +1 -2
- package/dist/graphics/boolean-vector.js +19 -9
- package/dist/graphics/color.js +2 -1
- package/dist/graphics/convex-shape.js +7 -3
- package/dist/graphics/font.js +52 -23
- package/dist/graphics/glsl-matrix.js +8 -3
- package/dist/graphics/glsl.js +47 -16
- package/dist/graphics/glyph.js +27 -10
- package/dist/graphics/image.js +30 -14
- package/dist/graphics/rect.js +15 -8
- package/dist/graphics/render-states.js +18 -9
- package/dist/graphics/render-target.js +49 -23
- package/dist/graphics/render-texture.js +24 -12
- package/dist/graphics/render-window.js +6 -3
- package/dist/graphics/shader.js +67 -32
- package/dist/graphics/shape.js +25 -13
- package/dist/graphics/sprite.js +19 -9
- package/dist/graphics/stencil-mode.js +10 -6
- package/dist/graphics/swap.js +2 -1
- package/dist/graphics/text.js +123 -48
- package/dist/graphics/texture.js +48 -24
- package/dist/graphics/transform.js +29 -13
- package/dist/graphics/transformable.js +2 -1
- package/dist/graphics/vertex-array.js +40 -18
- package/dist/graphics/vertex-buffer.js +39 -19
- package/dist/graphics/vertex.js +6 -3
- package/dist/graphics/view.js +30 -14
- package/dist/index.d.ts +4 -4
- package/dist/internal/audio-codec-registry.js +12 -6
- package/dist/internal/audio-input-stream.js +2 -1
- package/dist/internal/audio-music-pump.js +58 -24
- package/dist/internal/audio-recorder-session.js +17 -7
- package/dist/internal/audio-worker-session.js +28 -10
- package/dist/internal/audio-worker.js +40 -21
- package/dist/internal/glsl-value.d.ts +3 -1
- package/dist/internal/glsl-value.js +18 -8
- package/dist/internal/graphics-state.js +29 -15
- package/dist/internal/input-stream.d.ts +3 -1
- package/dist/internal/input-stream.js +16 -7
- package/dist/internal/numeric-properties.js +2 -1
- package/dist/internal/render-states.js +2 -1
- package/dist/internal/scalar.js +22 -13
- package/dist/internal/shaped-glyph.d.ts +3 -1
- package/dist/internal/shaped-glyph.js +12 -4
- package/dist/internal/struct-view.d.ts +3 -1
- package/dist/internal/struct-view.js +3 -1
- package/dist/internal/transformable.js +2 -1
- package/dist/network/common.js +23 -11
- package/dist/network/dns.js +25 -17
- package/dist/network/ftp.js +43 -18
- package/dist/network/http.js +126 -56
- package/dist/network/ip-address.js +50 -25
- package/dist/network/packet.js +63 -25
- package/dist/network/sftp.js +175 -74
- package/dist/network/socket-selector.js +28 -14
- package/dist/network/socket.js +71 -30
- package/dist/network/tcp-listener.js +42 -19
- package/dist/network/tcp-socket.js +111 -53
- package/dist/network/tls-material.js +2 -1
- package/dist/network/udp-socket.js +68 -33
- package/dist/system/angle.js +2 -1
- package/dist/system/clock.js +4 -2
- package/dist/system/err.js +5 -2
- package/dist/system/file-input-stream.js +8 -4
- package/dist/system/input-stream.js +6 -3
- package/dist/system/operators.d.ts +1 -1
- package/dist/system/operators.js +90 -50
- package/dist/system/sleep.js +4 -2
- package/dist/system/time.js +12 -6
- package/dist/system/vector2.js +6 -7
- package/dist/system/vector3.js +11 -6
- package/dist/window/clipboard.js +2 -1
- package/dist/window/context.js +10 -5
- package/dist/window/cursor.js +2 -1
- package/dist/window/event.js +9 -5
- package/dist/window/mouse.js +4 -2
- package/dist/window/video-mode.js +2 -1
- package/dist/window/window.js +19 -12
- package/native/addon.cc +25 -12
- package/native/audio-binding.cc +266 -126
- package/native/audio-codec-binding.cc +147 -77
- package/native/audio-device-binding.cc +76 -49
- package/native/audio-file-binding.cc +116 -67
- package/native/audio-recorder-binding.cc +147 -98
- package/native/audio-recorder.h +1 -1
- package/native/audio-state.h +53 -30
- package/native/audio-stream-binding.cc +148 -94
- package/native/audio-stream.h +5 -4
- package/native/audio-worker-binding.cc +163 -81
- package/native/audio-worker.h +35 -19
- package/native/batch-drawable.cc +29 -16
- package/native/batch-drawable.h +11 -8
- package/native/context-binding.cc +40 -27
- package/native/context-settings.h +15 -8
- package/native/deferred-delete.cc +9 -6
- package/native/deferred-delete.h +7 -8
- package/native/error-stream-binding.cc +42 -28
- package/native/font-binding.cc +89 -48
- package/native/graphics-binding.cc +122 -72
- package/native/graphics-state.h +50 -36
- package/native/image-binding.cc +38 -24
- package/native/image-state.h +26 -18
- package/native/input-binding.cc +42 -27
- package/native/render-window-binding.cc +38 -23
- package/native/shader-binding.cc +115 -50
- package/native/shape-binding.cc +94 -49
- package/native/shape-state.h +18 -9
- package/native/shaped-glyph-storage.h +9 -5
- package/native/stream-binding.cc +143 -117
- package/native/system-binding.cc +17 -12
- package/native/text-binding.cc +68 -35
- package/native/text-state.h +25 -18
- package/native/texture-binding.cc +42 -33
- package/native/texture-resource.h +20 -12
- package/native/time-value.h +3 -1
- package/native/transformable-binding.cc +12 -6
- package/native/transformable-state.h +6 -6
- package/native/value-binding.h +46 -28
- package/native/value-layout.h +10 -10
- package/native/values-binding.cc +29 -23
- package/native/vertex-binding.cc +18 -12
- package/native/vertex-buffer-binding.cc +38 -24
- package/native/vertex-storage.h +2 -2
- package/native/view-data.h +4 -3
- package/native/window-binding.cc +75 -45
- package/native/window-event.h +20 -11
- package/native/window-owner.h +15 -12
- package/package.json +43 -50
- package/src/audio/effect-processor.ts +9 -3
- package/src/audio/input-sound-file.ts +108 -36
- package/src/audio/listener.ts +39 -13
- package/src/audio/music.ts +112 -47
- package/src/audio/output-sound-file.ts +40 -11
- package/src/audio/playback-device.ts +23 -8
- package/src/audio/sound-buffer-recorder.ts +35 -13
- package/src/audio/sound-buffer.ts +166 -58
- package/src/audio/sound-file-factory.ts +127 -49
- package/src/audio/sound-file-reader.ts +49 -15
- package/src/audio/sound-recorder.ts +100 -34
- package/src/audio/sound-source.ts +142 -45
- package/src/audio/sound-stream.ts +15 -5
- package/src/audio/sound.ts +12 -4
- package/src/audio/value.ts +89 -26
- package/src/graphics/blend-mode.ts +3 -1
- package/src/graphics/boolean-vector.ts +56 -26
- package/src/graphics/color.ts +3 -1
- package/src/graphics/convex-shape.ts +10 -3
- package/src/graphics/font.ts +171 -50
- package/src/graphics/glsl-matrix.ts +9 -3
- package/src/graphics/glsl.ts +81 -35
- package/src/graphics/glyph.ts +67 -26
- package/src/graphics/image.ts +119 -45
- package/src/graphics/rect.ts +56 -24
- package/src/graphics/render-states.ts +31 -14
- package/src/graphics/render-target.ts +197 -81
- package/src/graphics/render-texture.ts +36 -12
- package/src/graphics/render-window.ts +9 -3
- package/src/graphics/shader.ts +186 -61
- package/src/graphics/shape.ts +93 -35
- package/src/graphics/sprite.ts +64 -25
- package/src/graphics/stencil-mode.ts +12 -6
- package/src/graphics/swap.ts +3 -2
- package/src/graphics/text.ts +229 -74
- package/src/graphics/texture.ts +180 -61
- package/src/graphics/transform.ts +132 -47
- package/src/graphics/transformable.ts +3 -1
- package/src/graphics/vertex-array.ts +87 -35
- package/src/graphics/vertex-buffer.ts +97 -33
- package/src/graphics/vertex.ts +9 -3
- package/src/graphics/view.ts +59 -21
- package/src/index.ts +101 -23
- package/src/internal/audio-codec-registry.ts +18 -6
- package/src/internal/audio-input-stream.ts +6 -2
- package/src/internal/audio-music-pump.ts +116 -41
- package/src/internal/audio-native.ts +249 -96
- package/src/internal/audio-recorder-session.ts +68 -24
- package/src/internal/audio-worker-session.ts +65 -21
- package/src/internal/audio-worker.ts +85 -41
- package/src/internal/glsl-value.ts +26 -11
- package/src/internal/graphics-state.ts +57 -20
- package/src/internal/input-stream.ts +23 -10
- package/src/internal/native.ts +252 -99
- package/src/internal/numeric-properties.ts +2 -1
- package/src/internal/render-states.ts +3 -1
- package/src/internal/scalar.ts +33 -14
- package/src/internal/shaped-glyph.ts +25 -12
- package/src/internal/struct-view.ts +40 -13
- package/src/internal/transformable.ts +3 -1
- package/src/network/common.ts +35 -11
- package/src/network/dns.ts +95 -38
- package/src/network/ftp.ts +129 -47
- package/src/network/http.ts +232 -77
- package/src/network/ip-address.ts +118 -48
- package/src/network/packet.ts +161 -54
- package/src/network/sftp.ts +498 -168
- package/src/network/socket-selector.ts +66 -26
- package/src/network/socket.ts +133 -46
- package/src/network/tcp-listener.ts +78 -29
- package/src/network/tcp-socket.ts +240 -95
- package/src/network/tls-material.ts +6 -2
- package/src/network/udp-socket.ts +147 -53
- package/src/system/angle.ts +3 -1
- package/src/system/clock.ts +12 -4
- package/src/system/err.ts +5 -2
- package/src/system/file-input-stream.ts +12 -4
- package/src/system/input-stream.ts +9 -3
- package/src/system/operators.ts +290 -115
- package/src/system/sleep.ts +6 -2
- package/src/system/time.ts +18 -6
- package/src/system/timeout-with-predicate.ts +19 -8
- package/src/system/vector2.ts +101 -49
- package/src/system/vector3.ts +85 -36
- package/src/window/clipboard.ts +3 -1
- package/src/window/context.ts +15 -5
- package/src/window/cursor.ts +3 -1
- package/src/window/event.ts +26 -12
- package/src/window/mouse.ts +6 -2
- package/src/window/video-mode.ts +3 -1
- package/src/window/window.ts +119 -37
- package/test/native/audio-probes.cc +74 -36
- package/test/native/deferred-delete-probes.cc +17 -11
- package/test/native/drawable-probes.cc +70 -36
- package/test/native/exception-probes.cc +14 -9
- package/test/native/image-probes.cc +20 -10
- package/test/native/matrix-probes.cc +8 -4
- package/test/native/network-oracle.cc +17 -11
- package/test/native/render-texture-probes.cc +33 -24
- package/test/native/shader-probes.cc +9 -9
- package/test/native/shape-probes.cc +37 -23
- package/test/native/sprite-probes.cc +41 -25
- package/test/native/system-probes.cc +58 -35
- package/test/native/text-probes.cc +77 -44
- package/test/native/texture-probes.cc +43 -26
- package/test/native/time-probes.cc +18 -12
- package/test/native/transform-probes.cc +15 -10
- package/test/native/transformable-probes.cc +23 -17
- package/test/native/value-oracle.h +9 -4
- package/test/native/value-probes.cc +31 -23
- package/test/native/vertex-array-probes.cc +22 -14
- package/test/native/vertex-buffer-probes.cc +28 -17
- package/test/native/view-probes.cc +29 -17
- package/test/native/window-probes.cc +66 -33
- package/tools/ensure-sfml.cjs +9 -0
- package/tools/generate-network-constants.cjs +11 -6
- package/tools/generate-window-constants.cjs +31 -12
- package/docs/README.ja.md +0 -30
- package/docs/README.ko.md +0 -30
- package/docs/README.md +0 -30
- package/docs/README.zh-CN.md +0 -30
- package/docs/api.ja.md +0 -84
- package/docs/api.ko.md +0 -84
- package/docs/api.md +0 -81
- package/docs/api.zh-CN.md +0 -81
- package/docs/audio.ja.md +0 -249
- package/docs/audio.ko.md +0 -251
- package/docs/audio.md +0 -252
- package/docs/audio.zh-CN.md +0 -252
- package/docs/concepts.ja.md +0 -130
- package/docs/concepts.ko.md +0 -130
- package/docs/concepts.md +0 -131
- package/docs/concepts.zh-CN.md +0 -131
- package/docs/development.ja.md +0 -148
- package/docs/development.ko.md +0 -148
- package/docs/development.md +0 -150
- package/docs/development.zh-CN.md +0 -150
- package/docs/getting-started.ja.md +0 -154
- package/docs/getting-started.ko.md +0 -154
- package/docs/getting-started.md +0 -156
- package/docs/getting-started.zh-CN.md +0 -156
- package/docs/graphics.ja.md +0 -256
- package/docs/graphics.ko.md +0 -254
- package/docs/graphics.md +0 -255
- package/docs/graphics.zh-CN.md +0 -257
- package/docs/network.ja.md +0 -214
- package/docs/network.ko.md +0 -216
- package/docs/network.md +0 -218
- package/docs/network.zh-CN.md +0 -218
- package/docs/system.ja.md +0 -169
- package/docs/system.ko.md +0 -171
- package/docs/system.md +0 -173
- package/docs/system.zh-CN.md +0 -173
- package/docs/window.ja.md +0 -138
- package/docs/window.ko.md +0 -140
- package/docs/window.md +0 -141
- package/docs/window.zh-CN.md +0 -141
- package/native/exception-boundary.h +0 -97
- package/native/numeric-fields.h +0 -96
- package/native/shared-handle.h +0 -69
- package/test/tsconfig.json +0 -8
- package/tools/configure-lsp.cjs +0 -23
- package/tools/lib_downloader.cjs +0 -92
- package/tools/lib_downloader_urls.cjs +0 -23
|
@@ -6,15 +6,21 @@ export const graphicsNative: unique symbol = Symbol('Graphics.native');
|
|
|
6
6
|
export const spriteState: unique symbol = Symbol('Sprite.state');
|
|
7
7
|
export const shapeState: unique symbol = Symbol('Shape.state');
|
|
8
8
|
export const recordShape: unique symbol = Symbol('RenderTarget.shape');
|
|
9
|
-
export const graphicsShapeReads: unique symbol = Symbol(
|
|
9
|
+
export const graphicsShapeReads: unique symbol = Symbol(
|
|
10
|
+
'Graphics.shapeReads',
|
|
11
|
+
);
|
|
10
12
|
export const textureId: unique symbol = Symbol('Texture.id');
|
|
11
13
|
export const textureOwner: unique symbol = Symbol('Texture.owner');
|
|
12
14
|
export const graphicsFlush: unique symbol = Symbol('Graphics.flush');
|
|
13
15
|
export const graphicsReads: unique symbol = Symbol('Graphics.reads');
|
|
14
16
|
export const dispatchDrawable: unique symbol = Symbol('Drawable.dispatch');
|
|
15
17
|
export const recordSprite: unique symbol = Symbol('RenderTarget.sprite');
|
|
16
|
-
export const recordVertices: unique symbol = Symbol(
|
|
17
|
-
|
|
18
|
+
export const recordVertices: unique symbol = Symbol(
|
|
19
|
+
'RenderTarget.vertices',
|
|
20
|
+
);
|
|
21
|
+
export const recordVertexBuffer: unique symbol = Symbol(
|
|
22
|
+
'RenderTarget.vertexBuffer',
|
|
23
|
+
);
|
|
18
24
|
export const vertexBufferId: unique symbol = Symbol('VertexBuffer.id');
|
|
19
25
|
export const vertexArrayBytes: unique symbol = Symbol('VertexArray.bytes');
|
|
20
26
|
export const shaderId: unique symbol = Symbol('Shader.id');
|
|
@@ -57,8 +63,11 @@ export function registerTarget(target: PendingTarget): void {
|
|
|
57
63
|
export function flushGraphics(): void {
|
|
58
64
|
for (const reference of targets) {
|
|
59
65
|
const target = reference.deref();
|
|
60
|
-
if (target)
|
|
61
|
-
|
|
66
|
+
if (target) {
|
|
67
|
+
target[graphicsFlush]();
|
|
68
|
+
} else {
|
|
69
|
+
targets.delete(reference);
|
|
70
|
+
}
|
|
62
71
|
}
|
|
63
72
|
}
|
|
64
73
|
|
|
@@ -66,32 +75,46 @@ export function flushGraphics(): void {
|
|
|
66
75
|
export function flushShapeReaders(shape: object): void {
|
|
67
76
|
for (const reference of targets) {
|
|
68
77
|
const target = reference.deref();
|
|
69
|
-
if (!target)
|
|
70
|
-
|
|
78
|
+
if (!target) {
|
|
79
|
+
targets.delete(reference);
|
|
80
|
+
} else if (target[graphicsShapeReads]?.().has(shape)) {
|
|
81
|
+
target[graphicsFlush]();
|
|
82
|
+
}
|
|
71
83
|
}
|
|
72
84
|
}
|
|
73
85
|
|
|
74
86
|
/** Reject feedback or a new cycle before reserving any command/vertex space. */
|
|
75
87
|
export function validateTextureRead(
|
|
76
|
-
reader: PendingTarget,
|
|
88
|
+
reader: PendingTarget,
|
|
89
|
+
texture: ReadonlyTexture | null,
|
|
77
90
|
): void {
|
|
78
91
|
const owner = texture?.[textureOwner];
|
|
79
|
-
if (!owner)
|
|
92
|
+
if (!owner) {
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
80
95
|
if (owner === reader) {
|
|
81
|
-
throw new SFMLError(
|
|
96
|
+
throw new SFMLError(
|
|
97
|
+
'Cannot sample a render target from its own texture',
|
|
98
|
+
);
|
|
82
99
|
}
|
|
83
100
|
const pending = [ owner ];
|
|
84
101
|
const visited = new Set<PendingTarget>();
|
|
85
102
|
while (pending.length) {
|
|
86
103
|
const target = pending.pop()!;
|
|
87
104
|
if (target === reader) {
|
|
88
|
-
throw new SFMLError(
|
|
105
|
+
throw new SFMLError(
|
|
106
|
+
'Cyclic texture dependency: display an intermediate target',
|
|
107
|
+
);
|
|
108
|
+
}
|
|
109
|
+
if (visited.has(target)) {
|
|
110
|
+
continue;
|
|
89
111
|
}
|
|
90
|
-
if (visited.has(target)) continue;
|
|
91
112
|
visited.add(target);
|
|
92
113
|
for (const source of target[graphicsReads]()) {
|
|
93
114
|
const dependency = source[textureOwner];
|
|
94
|
-
if (dependency)
|
|
115
|
+
if (dependency) {
|
|
116
|
+
pending.push(dependency);
|
|
117
|
+
}
|
|
95
118
|
}
|
|
96
119
|
}
|
|
97
120
|
}
|
|
@@ -107,9 +130,13 @@ export function flushTextureReaders(writer: PendingTarget): void {
|
|
|
107
130
|
}
|
|
108
131
|
for (const texture of target[graphicsReads]()) {
|
|
109
132
|
const owner = texture[textureOwner];
|
|
110
|
-
if (!owner)
|
|
133
|
+
if (!owner) {
|
|
134
|
+
continue;
|
|
135
|
+
}
|
|
111
136
|
let consumers = readers.get(owner);
|
|
112
|
-
if (!consumers)
|
|
137
|
+
if (!consumers) {
|
|
138
|
+
readers.set(owner, (consumers = new Set()));
|
|
139
|
+
}
|
|
113
140
|
consumers.add(target);
|
|
114
141
|
}
|
|
115
142
|
}
|
|
@@ -117,15 +144,25 @@ export function flushTextureReaders(writer: PendingTarget): void {
|
|
|
117
144
|
const visiting = new Set<PendingTarget>();
|
|
118
145
|
const done = new Set<PendingTarget>();
|
|
119
146
|
const visit = (source: PendingTarget) => {
|
|
120
|
-
if (visiting.has(source))
|
|
121
|
-
|
|
147
|
+
if (visiting.has(source)) {
|
|
148
|
+
throw new SFMLError('Cyclic texture dependency');
|
|
149
|
+
}
|
|
150
|
+
if (done.has(source)) {
|
|
151
|
+
return;
|
|
152
|
+
}
|
|
122
153
|
visiting.add(source);
|
|
123
|
-
for (const target of readers.get(source) ?? [])
|
|
154
|
+
for (const target of readers.get(source) ?? []) {
|
|
155
|
+
visit(target);
|
|
156
|
+
}
|
|
124
157
|
visiting.delete(source);
|
|
125
158
|
done.add(source);
|
|
126
|
-
if (source !== writer)
|
|
159
|
+
if (source !== writer) {
|
|
160
|
+
ordered.push(source);
|
|
161
|
+
}
|
|
127
162
|
};
|
|
128
163
|
visit(writer);
|
|
129
164
|
// Collect the complete order before performing any native submissions.
|
|
130
|
-
for (const target of ordered)
|
|
165
|
+
for (const target of ordered) {
|
|
166
|
+
target[graphicsFlush]();
|
|
167
|
+
}
|
|
131
168
|
}
|
|
@@ -2,21 +2,34 @@ import type { InputStream } from '../system/input-stream';
|
|
|
2
2
|
import { SFMLError } from '../system/error';
|
|
3
3
|
import type { NativeStreamDispatch } from './native';
|
|
4
4
|
|
|
5
|
-
/**
|
|
5
|
+
/**
|
|
6
|
+
* Keep the stream alive until native decoding and every pending read finish.
|
|
7
|
+
*/
|
|
6
8
|
export function streamDispatch(
|
|
7
|
-
stream: InputStream,
|
|
9
|
+
stream: InputStream,
|
|
10
|
+
onError: (error: unknown) => void,
|
|
8
11
|
): NativeStreamDispatch {
|
|
9
|
-
if (
|
|
10
|
-
|
|
11
|
-
|
|
12
|
+
if (
|
|
13
|
+
!stream ||
|
|
14
|
+
[ 'read', 'seek', 'tell', 'getSize' ].some(
|
|
15
|
+
key => typeof stream[key as keyof InputStream] !== 'function',
|
|
16
|
+
)
|
|
17
|
+
) {
|
|
18
|
+
throw new TypeError('Expected an InputStream');
|
|
19
|
+
}
|
|
12
20
|
return (operation, data, position, complete) => {
|
|
13
21
|
const execute = async () => {
|
|
14
22
|
switch (operation) {
|
|
15
|
-
case 0:
|
|
16
|
-
|
|
17
|
-
case
|
|
18
|
-
|
|
19
|
-
|
|
23
|
+
case 0:
|
|
24
|
+
return await stream.read(data!);
|
|
25
|
+
case 1:
|
|
26
|
+
return await stream.seek(position);
|
|
27
|
+
case 2:
|
|
28
|
+
return await stream.tell();
|
|
29
|
+
case 3:
|
|
30
|
+
return await stream.getSize();
|
|
31
|
+
default:
|
|
32
|
+
throw new SFMLError('Unknown stream operation');
|
|
20
33
|
}
|
|
21
34
|
};
|
|
22
35
|
void execute().then(
|