@origingame/engine 0.2.0 → 0.3.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.
Files changed (107) hide show
  1. package/bin/og.mjs +1 -1
  2. package/dist/web/origin-engine.d.ts +219 -5
  3. package/dist/web/origin-engine.js +1344 -125
  4. package/dist/web/origin-engine_bg.wasm +0 -0
  5. package/dist/web/origin-engine_bg.wasm.d.ts +68 -3
  6. package/dist/web-publish/origin-engine-lanes.js +1007 -22
  7. package/dist/web-publish/origin-engine-lanes_bg.wasm +0 -0
  8. package/dist/web-publish/origin-engine.d.ts +162 -5
  9. package/dist/web-publish/origin-engine.js +1004 -19
  10. package/dist/web-publish/origin-engine_bg.wasm +0 -0
  11. package/dist/web-publish/origin-engine_bg.wasm.d.ts +52 -3
  12. package/dist/web-publish-2d/origin-engine-lanes.js +1007 -22
  13. package/dist/web-publish-2d/origin-engine-lanes_bg.wasm +0 -0
  14. package/dist/web-publish-2d/origin-engine.d.ts +162 -5
  15. package/dist/web-publish-2d/origin-engine.js +1004 -19
  16. package/dist/web-publish-2d/origin-engine_bg.wasm +0 -0
  17. package/dist/web-publish-2d/origin-engine_bg.wasm.d.ts +52 -3
  18. package/knowledge/looks/catalogue.json +40 -40
  19. package/knowledge/package.json +1 -1
  20. package/knowledge/scaffold/distribution.json +14 -0
  21. package/knowledge/scaffold/origin-engine.json +2 -2
  22. package/knowledge/scaffold/template/README.md +2 -1
  23. package/knowledge/scaffold/template/assets/audio/sting.ogt +10 -0
  24. package/knowledge/scaffold/template/assets/timelines/intro.ogt +101 -0
  25. package/knowledge/scaffold/template/assets/timelines/narration.srt +11 -0
  26. package/knowledge/scaffold/template/host.d.ts +46 -0
  27. package/knowledge/scaffold/template/package.json +1 -1
  28. package/knowledge/scaffold/template/project.ogt +1 -1
  29. package/knowledge/scaffold/template/src/main.ts +1 -1
  30. package/knowledge/scaffold/template/tests/frames.ts +134 -0
  31. package/knowledge/scaffold/template/tests/intro.og.ts +65 -0
  32. package/knowledge/scaffold/template/tests/smoke.og.ts +30 -36
  33. package/knowledge/scaffold/template/tsconfig.json +1 -1
  34. package/knowledge/scripts/mount.ts +2 -1
  35. package/knowledge/scripts/validate.ts +19 -10
  36. package/knowledge/skills/og-build/SKILL.md +8 -5
  37. package/knowledge/skills/og-core/SKILL.md +11 -0
  38. package/knowledge/skills/og-game/SKILL.md +877 -8
  39. package/knowledge/skills/og-platform-sdk/SKILL.md +1 -0
  40. package/knowledge/skills/og-taste/SKILL.md +82 -73
  41. package/knowledge/skills/og-ui/SKILL.md +65 -50
  42. package/knowledge/wiki/ai.md +20 -20
  43. package/knowledge/wiki/anim.md +384 -41
  44. package/knowledge/wiki/atmosphere.md +36 -13
  45. package/knowledge/wiki/audio.md +18 -18
  46. package/knowledge/wiki/camera.md +19 -13
  47. package/knowledge/wiki/commands.md +19 -13
  48. package/knowledge/wiki/debug.md +414 -0
  49. package/knowledge/wiki/game.md +8 -8
  50. package/knowledge/wiki/i18n.md +7 -7
  51. package/knowledge/wiki/index.md +262 -7
  52. package/knowledge/wiki/input.md +47 -47
  53. package/knowledge/wiki/load.md +236 -68
  54. package/knowledge/wiki/math.md +2607 -0
  55. package/knowledge/wiki/nav.md +34 -34
  56. package/knowledge/wiki/net.md +340 -0
  57. package/knowledge/wiki/path.md +402 -0
  58. package/knowledge/wiki/physics.md +95 -95
  59. package/knowledge/wiki/platform.md +463 -29
  60. package/knowledge/wiki/probe.md +681 -67
  61. package/knowledge/wiki/reflect.md +15 -15
  62. package/knowledge/wiki/render.md +3893 -1896
  63. package/knowledge/wiki/rng.md +14 -14
  64. package/knowledge/wiki/stream.md +15 -15
  65. package/knowledge/wiki/system.md +8 -8
  66. package/knowledge/wiki/systems.md +2 -2
  67. package/knowledge/wiki/terrain.md +19 -19
  68. package/knowledge/wiki/tilemap.md +13 -13
  69. package/knowledge/wiki/time.md +4 -4
  70. package/knowledge/wiki/timeline.md +396 -0
  71. package/knowledge/wiki/transform.md +8 -8
  72. package/knowledge/wiki/tween.md +17 -17
  73. package/knowledge/wiki/ui.md +559 -629
  74. package/knowledge/wiki/video.md +157 -0
  75. package/knowledge/wiki/world.md +36 -36
  76. package/package.json +4 -3
  77. package/schema/api.schema.json +21707 -14725
  78. package/shell/page.ts +26 -2
  79. package/shell/platform.ts +46 -0
  80. package/shell/player.ts +7 -0
  81. package/src/depth.ts +71 -0
  82. package/src/e6.ts +32 -1
  83. package/src/env.d.ts +5 -1
  84. package/src/generated/abi.ts +189 -3
  85. package/src/index.ts +25 -4
  86. package/src/light.ts +18 -0
  87. package/src/math.ts +622 -0
  88. package/src/node/index.ts +17 -0
  89. package/src/node/playtest-run.ts +114 -18
  90. package/src/node/polish.ts +13 -3
  91. package/src/node/render.ts +291 -0
  92. package/src/node/run.ts +86 -5
  93. package/src/p2.ts +19 -1
  94. package/src/playtest.ts +57 -4
  95. package/src/runtime.ts +13 -3
  96. package/src/targets.ts +28 -0
  97. package/src/trace.ts +169 -0
  98. package/src/ui-kit/huds.ts +34 -34
  99. package/src/ui-kit/menus.ts +12 -12
  100. package/src/ui-kit/settings.ts +2 -2
  101. package/src/ui-kit/store.ts +18 -18
  102. package/src/ui-kit/story.ts +6 -4
  103. package/src/ui-kit/util.ts +8 -8
  104. package/src/web/shell.ts +58 -0
  105. package/src/web/worker.ts +103 -2
  106. package/types/bindings.json +9101 -6647
  107. package/types/index.d.ts +15503 -11564
@@ -0,0 +1,414 @@
1
+ <!-- Generated from crates/og-api/api.ogt by `og api gen`. Do not edit: `og api check` fails on any difference; change api.ogt and regenerate. -->
2
+
3
+ # The `debug` module
4
+
5
+ Debug draw: lines, boxes, spheres, arrows, axes and labels in the world, each for a number of ticks, drawn over the finished frame (after every post effect, before the UI) so they read in every capture and never hide behind geometry; and the debug views (physics, navigation, bounds) the command channel's `debug:` actions switch.
6
+
7
+ Development only: not in publish builds, where every member does nothing and answers its default, so a game may leave its debug draws in. Debug draw is rendering: it never feeds back into the simulation, and its draws are not world state (a snapshot or a replay does not carry them).
8
+
9
+ - **TypeScript**: functions are the namespace `og.debug`; components, resources and events are tokens on `og`.
10
+ - **Publish builds**: dropped (members may override).
11
+ - **Skill**: `og-game`, which teaches the module (how much of it to use, and how to prove it).
12
+ - **Index**: [every module and name](index.md).
13
+
14
+ ```ogt
15
+ module debug {
16
+ # declarations follow, each quoted below
17
+ ```
18
+
19
+ <sub>`api.ogt` line 13424</sub>
20
+
21
+ ## Contents
22
+
23
+ | Name | Kind | Summary |
24
+ |---|---|---|
25
+ | [`DebugDrawDesc`](#type-DebugDrawDesc) | desc struct | How a debug shape looks and how long it lasts. |
26
+ | [`og.debug.line`](#fn-line) | function | A line from one point to another. |
27
+ | [`og.debug.box`](#fn-box) | function | A box's twelve edges, as three.js Box3Helper (turned by desc.rotation). |
28
+ | [`og.debug.sphere`](#fn-sphere) | function | A sphere as its three great circles. |
29
+ | [`og.debug.arrow`](#fn-arrow) | function | An arrow from one point to another, its head a fifth of its length (three.js ArrowHelper): a velocity, a force, a direction to a target. |
30
+ | [`og.debug.axes`](#fn-axes) | function | A frame's three axes, as three.js AxesHelper: +x red, +y green, +z blue (desc.color is not read). |
31
+ | [`og.debug.text`](#fn-text) | function | A label anchored at a world point, drawn in screen space at a constant size in the UI's body font (a world with no UI font draws none), centred above the point: an entity's state, a counter, a name. |
32
+ | [`og.debug.clear`](#fn-clear) | function | Remove every debug draw that is still showing. |
33
+ | [`og.debug.setView`](#fn-setView) | function | Show a debug view besides og.debug's draws (the command channel's `debug:<view>`); none shows the draws alone. |
34
+ | [`og.debug.view`](#fn-view) | function | The debug view shown. |
35
+ | [`og.debug.setEnabled`](#fn-setEnabled) | function | Show or hide every debug draw and view (`debug:on`, `debug:off`); on by default outside publish builds. |
36
+ | [`og.debug.enabled`](#fn-enabled) | function | Whether debug draws and views show. |
37
+
38
+ ## Functions
39
+
40
+ <a id="fn-line"></a>
41
+
42
+ ### `og.debug.line`
43
+
44
+ A line from one point to another.
45
+
46
+ ```ts
47
+ og.debug.line(world: World, from: Vector3, to: Vector3, desc?: DebugDrawDesc): void
48
+ ```
49
+
50
+ | Parameter | Type | Optional | Doc |
51
+ |---|---|---|---|
52
+ | `world` | `World` | no | The world drawn in. |
53
+ | `from` | `Vector3` | no | Where it starts. |
54
+ | `to` | `Vector3` | no | Where it ends. |
55
+ | `desc` | `DebugDrawDesc` | yes | Colour, width, duration. |
56
+
57
+ **Returns** `void`.
58
+
59
+ Binding symbol `og_debug_line` · publish builds: dropped
60
+
61
+ ```ogt
62
+ fn line {
63
+ doc "A line from one point to another."
64
+ param world World "The world drawn in."
65
+ param from Vector3 "Where it starts."
66
+ param to Vector3 "Where it ends."
67
+ param desc DebugDrawDesc "Colour, width, duration."
68
+ }
69
+ ```
70
+
71
+ <sub>`api.ogt` line 13446</sub>
72
+
73
+ <a id="fn-box"></a>
74
+
75
+ ### `og.debug.box`
76
+
77
+ A box's twelve edges, as three.js Box3Helper (turned by desc.rotation).
78
+
79
+ ```ts
80
+ og.debug.box(world: World, center: Vector3, size: Vector3, desc?: DebugDrawDesc): void
81
+ ```
82
+
83
+ | Parameter | Type | Optional | Doc |
84
+ |---|---|---|---|
85
+ | `world` | `World` | no | The world drawn in. |
86
+ | `center` | `Vector3` | no | Its centre. |
87
+ | `size` | `Vector3` | no | Its extent along each axis. |
88
+ | `desc` | `DebugDrawDesc` | yes | Colour, width, duration, rotation. |
89
+
90
+ **Returns** `void`.
91
+
92
+ Binding symbol `og_debug_box` · publish builds: dropped
93
+
94
+ ```ogt
95
+ fn box {
96
+ doc "A box's twelve edges, as three.js Box3Helper (turned by desc.rotation)."
97
+ param world World "The world drawn in."
98
+ param center Vector3 "Its centre."
99
+ param size Vector3 "Its extent along each axis."
100
+ param desc DebugDrawDesc "Colour, width, duration, rotation."
101
+ }
102
+ ```
103
+
104
+ <sub>`api.ogt` line 13454</sub>
105
+
106
+ <a id="fn-sphere"></a>
107
+
108
+ ### `og.debug.sphere`
109
+
110
+ A sphere as its three great circles.
111
+
112
+ ```ts
113
+ og.debug.sphere(world: World, center: Vector3, radius: number, desc?: DebugDrawDesc): void
114
+ ```
115
+
116
+ | Parameter | Type | Optional | Doc |
117
+ |---|---|---|---|
118
+ | `world` | `World` | no | The world drawn in. |
119
+ | `center` | `Vector3` | no | Its centre. |
120
+ | `radius` | `number` | no | Its radius. |
121
+ | `desc` | `DebugDrawDesc` | yes | Colour, width, duration, rotation. |
122
+
123
+ **Returns** `void`.
124
+
125
+ Binding symbol `og_debug_sphere` · publish builds: dropped
126
+
127
+ ```ogt
128
+ fn sphere {
129
+ doc "A sphere as its three great circles."
130
+ param world World "The world drawn in."
131
+ param center Vector3 "Its centre."
132
+ param radius f32 "Its radius."
133
+ param desc DebugDrawDesc "Colour, width, duration, rotation."
134
+ }
135
+ ```
136
+
137
+ <sub>`api.ogt` line 13462</sub>
138
+
139
+ <a id="fn-arrow"></a>
140
+
141
+ ### `og.debug.arrow`
142
+
143
+ An arrow from one point to another, its head a fifth of its length (three.js ArrowHelper): a velocity, a force, a direction to a target.
144
+
145
+ ```ts
146
+ og.debug.arrow(world: World, from: Vector3, to: Vector3, desc?: DebugDrawDesc): void
147
+ ```
148
+
149
+ | Parameter | Type | Optional | Doc |
150
+ |---|---|---|---|
151
+ | `world` | `World` | no | The world drawn in. |
152
+ | `from` | `Vector3` | no | Its tail. |
153
+ | `to` | `Vector3` | no | Its tip. |
154
+ | `desc` | `DebugDrawDesc` | yes | Colour, width, duration. |
155
+
156
+ **Returns** `void`.
157
+
158
+ Binding symbol `og_debug_arrow` · publish builds: dropped
159
+
160
+ ```ogt
161
+ fn arrow {
162
+ doc "An arrow from one point to another, its head a fifth of its length (three.js ArrowHelper): a velocity, a force, a direction to a target."
163
+ param world World "The world drawn in."
164
+ param from Vector3 "Its tail."
165
+ param to Vector3 "Its tip."
166
+ param desc DebugDrawDesc "Colour, width, duration."
167
+ }
168
+ ```
169
+
170
+ <sub>`api.ogt` line 13470</sub>
171
+
172
+ <a id="fn-axes"></a>
173
+
174
+ ### `og.debug.axes`
175
+
176
+ A frame's three axes, as three.js AxesHelper: +x red, +y green, +z blue (desc.color is not read).
177
+
178
+ ```ts
179
+ og.debug.axes(world: World, position: Vector3, size: number, desc?: DebugDrawDesc): void
180
+ ```
181
+
182
+ | Parameter | Type | Optional | Doc |
183
+ |---|---|---|---|
184
+ | `world` | `World` | no | The world drawn in. |
185
+ | `position` | `Vector3` | no | The frame's origin. |
186
+ | `size` | `number` | no | Each axis's length. |
187
+ | `desc` | `DebugDrawDesc` | yes | Width, duration and the frame's rotation. |
188
+
189
+ **Returns** `void`.
190
+
191
+ Binding symbol `og_debug_axes` · publish builds: dropped
192
+
193
+ ```ogt
194
+ fn axes {
195
+ doc "A frame's three axes, as three.js AxesHelper: +x red, +y green, +z blue (desc.color is not read)."
196
+ param world World "The world drawn in."
197
+ param position Vector3 "The frame's origin."
198
+ param size f32 "Each axis's length."
199
+ param desc DebugDrawDesc "Width, duration and the frame's rotation."
200
+ }
201
+ ```
202
+
203
+ <sub>`api.ogt` line 13478</sub>
204
+
205
+ <a id="fn-text"></a>
206
+
207
+ ### `og.debug.text`
208
+
209
+ A label anchored at a world point, drawn in screen space at a constant size in the UI's body font (a world with no UI font draws none), centred above the point: an entity's state, a counter, a name.
210
+
211
+ ```ts
212
+ og.debug.text(world: World, position: Vector3, text: string, desc?: DebugDrawDesc): void
213
+ ```
214
+
215
+ | Parameter | Type | Optional | Doc |
216
+ |---|---|---|---|
217
+ | `world` | `World` | no | The world drawn in. |
218
+ | `position` | `Vector3` | no | The point the label sits above. |
219
+ | `text` | `string` | no | The label. |
220
+ | `desc` | `DebugDrawDesc` | yes | Colour and duration (width is the text's size in CSS pixels, 14 where it is 2 or less). |
221
+
222
+ **Returns** `void`.
223
+
224
+ Binding symbol `og_debug_text` · publish builds: dropped
225
+
226
+ ```ogt
227
+ fn text {
228
+ doc "A label anchored at a world point, drawn in screen space at a constant size in the UI's body font (a world with no UI font draws none), centred above the point: an entity's state, a counter, a name."
229
+ param world World "The world drawn in."
230
+ param position Vector3 "The point the label sits above."
231
+ param text String "The label."
232
+ param desc DebugDrawDesc "Colour and duration (width is the text's size in CSS pixels, 14 where it is 2 or less)."
233
+ }
234
+ ```
235
+
236
+ <sub>`api.ogt` line 13486</sub>
237
+
238
+ <a id="fn-clear"></a>
239
+
240
+ ### `og.debug.clear`
241
+
242
+ Remove every debug draw that is still showing.
243
+
244
+ ```ts
245
+ og.debug.clear(world: World): void
246
+ ```
247
+
248
+ | Parameter | Type | Optional | Doc |
249
+ |---|---|---|---|
250
+ | `world` | `World` | no | The world drawn in. |
251
+
252
+ **Returns** `void`.
253
+
254
+ Binding symbol `og_debug_clear` · publish builds: dropped
255
+
256
+ ```ogt
257
+ fn clear {
258
+ doc "Remove every debug draw that is still showing."
259
+ param world World "The world drawn in."
260
+ }
261
+ ```
262
+
263
+ <sub>`api.ogt` line 13494</sub>
264
+
265
+ <a id="fn-setView"></a>
266
+
267
+ ### `og.debug.setView`
268
+
269
+ Show a debug view besides og.debug's draws (the command channel's `debug:<view>`); none shows the draws alone.
270
+
271
+ ```ts
272
+ og.debug.setView(world: World, view: DebugView): void
273
+ ```
274
+
275
+ | Parameter | Type | Optional | Doc |
276
+ |---|---|---|---|
277
+ | `world` | `World` | no | The world drawn in. |
278
+ | `view` | `DebugView` | no | The view. |
279
+
280
+ **Returns** `void`.
281
+
282
+ Binding symbol `og_debug_set_view` · publish builds: dropped
283
+
284
+ ```ogt
285
+ fn setView {
286
+ doc "Show a debug view besides og.debug's draws (the command channel's `debug:<view>`); none shows the draws alone."
287
+ param world World "The world drawn in."
288
+ param view DebugView "The view."
289
+ }
290
+ ```
291
+
292
+ <sub>`api.ogt` line 13499</sub>
293
+
294
+ <a id="fn-view"></a>
295
+
296
+ ### `og.debug.view`
297
+
298
+ The debug view shown.
299
+
300
+ ```ts
301
+ og.debug.view(world: World): DebugView
302
+ ```
303
+
304
+ | Parameter | Type | Optional | Doc |
305
+ |---|---|---|---|
306
+ | `world` | `World` | no | The world asked. |
307
+
308
+ **Returns** `DebugView`.
309
+
310
+ Binding symbol `og_debug_view` · publish builds: dropped
311
+
312
+ ```ogt
313
+ fn view {
314
+ doc "The debug view shown."
315
+ param world World "The world asked."
316
+ returns DebugView
317
+ }
318
+ ```
319
+
320
+ <sub>`api.ogt` line 13505</sub>
321
+
322
+ <a id="fn-setEnabled"></a>
323
+
324
+ ### `og.debug.setEnabled`
325
+
326
+ Show or hide every debug draw and view (`debug:on`, `debug:off`); on by default outside publish builds.
327
+
328
+ ```ts
329
+ og.debug.setEnabled(world: World, enabled: boolean): void
330
+ ```
331
+
332
+ | Parameter | Type | Optional | Doc |
333
+ |---|---|---|---|
334
+ | `world` | `World` | no | The world drawn in. |
335
+ | `enabled` | `boolean` | no | Whether they show. |
336
+
337
+ **Returns** `void`.
338
+
339
+ Binding symbol `og_debug_set_enabled` · publish builds: dropped
340
+
341
+ ```ogt
342
+ fn setEnabled {
343
+ doc "Show or hide every debug draw and view (`debug:on`, `debug:off`); on by default outside publish builds."
344
+ param world World "The world drawn in."
345
+ param enabled bool "Whether they show."
346
+ }
347
+ ```
348
+
349
+ <sub>`api.ogt` line 13511</sub>
350
+
351
+ <a id="fn-enabled"></a>
352
+
353
+ ### `og.debug.enabled`
354
+
355
+ Whether debug draws and views show.
356
+
357
+ ```ts
358
+ og.debug.enabled(world: World): boolean
359
+ ```
360
+
361
+ | Parameter | Type | Optional | Doc |
362
+ |---|---|---|---|
363
+ | `world` | `World` | no | The world asked. |
364
+
365
+ **Returns** `boolean`.
366
+
367
+ Binding symbol `og_debug_enabled` · publish builds: dropped
368
+
369
+ ```ogt
370
+ fn enabled {
371
+ doc "Whether debug draws and views show."
372
+ param world World "The world asked."
373
+ returns bool
374
+ }
375
+ ```
376
+
377
+ <sub>`api.ogt` line 13517</sub>
378
+
379
+ ## Types
380
+
381
+ <a id="type-DebugDrawDesc"></a>
382
+
383
+ ### `DebugDrawDesc` (desc struct)
384
+
385
+ How a debug shape looks and how long it lasts.
386
+
387
+ A desc: every field may be omitted and takes its default; `{}` is valid.
388
+
389
+ | Field | Type | Default | Range | Unit | Notes | Doc |
390
+ |---|---|---|---|---|---|---|
391
+ | `color` | `Color` | `{ r: 1, g: 1, b: 0 }` | — | — | — | The linear colour. |
392
+ | `width` | `number` | `2` | ≥ 0 | — | — | Line width in CSS pixels. |
393
+ | `duration` | `number` | `0` | — | `ticks` | — | How many ticks after this one it stays; 0 is this frame only (draw it every tick it should show). |
394
+ | `rotation` | `Quaternion` | `{ x: 0, y: 0, z: 0, w: 1 }` | — | — | — | The shape's rotation: a box's or a sphere's circles', the axes' frame. |
395
+
396
+ ```ogt
397
+ struct DebugDrawDesc {
398
+ doc "How a debug shape looks and how long it lasts."
399
+ desc true
400
+ field color Color "The linear colour." {
401
+ default 1 1 0
402
+ }
403
+ field width f32 "Line width in CSS pixels." {
404
+ default 2
405
+ min 0
406
+ }
407
+ field duration u32 "How many ticks after this one it stays; 0 is this frame only (draw it every tick it should show)." {
408
+ unit ticks
409
+ }
410
+ field rotation Quaternion "The shape's rotation: a box's or a sphere's circles', the axes' frame."
411
+ }
412
+ ```
413
+
414
+ <sub>`api.ogt` line 13430</sub>
@@ -14,7 +14,7 @@ module game {
14
14
  # declarations follow, each quoted below
15
15
  ```
16
16
 
17
- <sub>`api.ogt` line 471</sub>
17
+ <sub>`api.ogt` line 1044</sub>
18
18
 
19
19
  ## Contents
20
20
 
@@ -54,7 +54,7 @@ fn game {
54
54
  }
55
55
  ```
56
56
 
57
- <sub>`api.ogt` line 523</sub>
57
+ <sub>`api.ogt` line 1096</sub>
58
58
 
59
59
  ## Interfaces
60
60
 
@@ -70,7 +70,7 @@ interface Game {
70
70
  # members follow, each quoted below
71
71
  ```
72
72
 
73
- <sub>`api.ogt` line 517</sub>
73
+ <sub>`api.ogt` line 1090</sub>
74
74
 
75
75
  <a id="member-Game-tick"></a>
76
76
 
@@ -88,7 +88,7 @@ Binding symbol `og_game_get_tick` · publish builds: kept
88
88
  prop tick u32 "GameDesc.tick, or 60 when it is unset (the engine then runs at project.ogt's `tick` when the host passes the project, as og run and og build do)."
89
89
  ```
90
90
 
91
- <sub>`api.ogt` line 519</sub>
91
+ <sub>`api.ogt` line 1092</sub>
92
92
 
93
93
  <a id="member-Game-systems"></a>
94
94
 
@@ -106,7 +106,7 @@ Binding symbol `og_game_get_systems` · publish builds: kept
106
106
  prop systems List.System "The systems in declaration order."
107
107
  ```
108
108
 
109
- <sub>`api.ogt` line 520</sub>
109
+ <sub>`api.ogt` line 1093</sub>
110
110
 
111
111
  ## Types
112
112
 
@@ -134,7 +134,7 @@ callback FactsFn {
134
134
  }
135
135
  ```
136
136
 
137
- <sub>`api.ogt` line 476</sub>
137
+ <sub>`api.ogt` line 1049</sub>
138
138
 
139
139
  <a id="type-StartFn"></a>
140
140
 
@@ -159,7 +159,7 @@ callback StartFn {
159
159
  }
160
160
  ```
161
161
 
162
- <sub>`api.ogt` line 482</sub>
162
+ <sub>`api.ogt` line 1055</sub>
163
163
 
164
164
  <a id="type-GameDesc"></a>
165
165
 
@@ -217,4 +217,4 @@ struct GameDesc {
217
217
  }
218
218
  ```
219
219
 
220
- <sub>`api.ogt` line 487</sub>
220
+ <sub>`api.ogt` line 1060</sub>
@@ -16,7 +16,7 @@ module i18n {
16
16
  # declarations follow, each quoted below
17
17
  ```
18
18
 
19
- <sub>`api.ogt` line 7750</sub>
19
+ <sub>`api.ogt` line 9498</sub>
20
20
 
21
21
  ## Contents
22
22
 
@@ -59,7 +59,7 @@ fn load {
59
59
  }
60
60
  ```
61
61
 
62
- <sub>`api.ogt` line 7764</sub>
62
+ <sub>`api.ogt` line 9512</sub>
63
63
 
64
64
  <a id="fn-setLocale"></a>
65
65
 
@@ -89,7 +89,7 @@ fn setLocale {
89
89
  }
90
90
  ```
91
91
 
92
- <sub>`api.ogt` line 7771</sub>
92
+ <sub>`api.ogt` line 9519</sub>
93
93
 
94
94
  <a id="fn-locale"></a>
95
95
 
@@ -117,7 +117,7 @@ fn locale {
117
117
  }
118
118
  ```
119
119
 
120
- <sub>`api.ogt` line 7778</sub>
120
+ <sub>`api.ogt` line 9526</sub>
121
121
 
122
122
  <a id="fn-t"></a>
123
123
 
@@ -151,7 +151,7 @@ fn t {
151
151
  }
152
152
  ```
153
153
 
154
- <sub>`api.ogt` line 7784</sub>
154
+ <sub>`api.ogt` line 9532</sub>
155
155
 
156
156
  <a id="fn-has"></a>
157
157
 
@@ -181,7 +181,7 @@ fn has {
181
181
  }
182
182
  ```
183
183
 
184
- <sub>`api.ogt` line 7794</sub>
184
+ <sub>`api.ogt` line 9542</sub>
185
185
 
186
186
  ## Types
187
187
 
@@ -210,4 +210,4 @@ struct LocaleInfo {
210
210
  }
211
211
  ```
212
212
 
213
- <sub>`api.ogt` line 7755</sub>
213
+ <sub>`api.ogt` line 9503</sub>