@series-inc/rundot-syncplay 6.0.0-rc.92 → 6.0.0-rc.94

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 (43) hide show
  1. package/README.md +5 -2
  2. package/core/native/physics/cellular_field3d.cpp +3 -0
  3. package/core/native/physics/cellular_field3d.hpp +364 -2
  4. package/core/native/physics/cellular_field3d_abi_setup.inc +606 -36
  5. package/core/native/physics/cellular_field3d_checkpoints.inc +361 -66
  6. package/core/native/physics/cellular_field3d_codec.inc +1285 -105
  7. package/core/native/physics/cellular_field3d_dirty.inc +198 -12
  8. package/core/native/physics/cellular_field3d_edits.inc +602 -41
  9. package/core/native/physics/cellular_field3d_internal.hpp +861 -13
  10. package/core/native/physics/cellular_field3d_lifecycle.inc +395 -136
  11. package/core/native/physics/cellular_field3d_pages.inc +1190 -76
  12. package/core/native/physics/cellular_field3d_queries.inc +222 -54
  13. package/core/native/physics/cellular_field3d_serialize.inc +743 -104
  14. package/core/native/physics/cellular_field3d_step.inc +1677 -237
  15. package/core/native/physics/cellular_teardown3d.cpp +101 -49
  16. package/core/native/physics/cellular_teardown3d.hpp +15 -3
  17. package/core/native/physics/cellular_teardown3d_delta.inc +99 -0
  18. package/core/native/physics/cellular_teardown3d_pages.inc +27 -0
  19. package/core/native/physics/cellular_teardown3d_snapshot.inc +150 -19
  20. package/core/scripts/build-wasm-physics.mjs +39 -0
  21. package/core/src/physics/cellular-field3d.d.mts +243 -10
  22. package/core/src/physics/cellular-field3d.mjs +958 -66
  23. package/core/src/physics/cellular-teardown-lz4.mjs +12 -8
  24. package/core/src/physics/cellular-teardown3d.d.mts +3 -2
  25. package/core/src/physics/cellular-teardown3d.mjs +80 -24
  26. package/core/src/physics/physics-profile-wasm-module.generated.mjs +5 -5
  27. package/core/src/physics/physics-profile.wasm +0 -0
  28. package/core/src/physics/physics-wasm-module.generated.mjs +5 -5
  29. package/core/src/physics/physics.wasm +0 -0
  30. package/core/src/physics2d/physics2d-wasm-module.generated.mjs +1 -1
  31. package/dist/index.d.ts +1 -1
  32. package/dist/index.js +1 -1
  33. package/dist/networked-client.js +8 -4
  34. package/dist/physics/3d.d.ts +1 -1
  35. package/dist/physics/3d.js +1 -1
  36. package/dist/physics/cellular-field3d.d.ts +22 -6
  37. package/dist/physics/cellular-field3d.js +9 -3
  38. package/dist/physics/cellular-teardown3d.js +111 -17
  39. package/dist/physics/installed-checkpoint3d.d.ts +12 -2
  40. package/dist/physics/installed-checkpoint3d.js +26 -13
  41. package/dist/physics/installed-runtime3d.d.ts +4 -1
  42. package/dist/physics/installed-runtime3d.js +87 -12
  43. package/package.json +5 -4
package/README.md CHANGED
@@ -702,7 +702,10 @@ gives the APIs, ownership, and limits. The render adapter supplies dirty-chunk
702
702
  projection and packed attribute data. The game connects those outputs to its
703
703
  renderer.
704
704
 
705
- Session snapshots use binary transfer, LZ4-style compression, seed-baseline
706
- page deltas, and optional pinned asynchronous donation. Read
705
+ Session snapshots use binary transfer, LZ4-style compression, and optional
706
+ pinned asynchronous donation. Installed voxel runtimes can use native deltas
707
+ against retained tick-0 checkpoints. Unchanged chunks use no record. A
708
+ Teardown chunk with only solid-to-air changes can use one bit per changed
709
+ brick cell. Read
707
710
  [binary snapshots](../sdk-docs/rundot-developer-platform/api/SYNCPLAY.md#binary-snapshots-and-baseline-deltas)
708
711
  before you change the transport or the size limits.
@@ -1,3 +1,6 @@
1
+ #ifdef CELLULAR_NATIVE_THREADS
2
+ #include <thread>
3
+ #endif
1
4
  #include "cellular_field3d.hpp"
2
5
  #include "cellular_field3d_internal.hpp"
3
6
 
@@ -17,6 +17,14 @@ inline constexpr std::int32_t kCellularRayHitStride = 12;
17
17
  inline constexpr std::int32_t kCellularAabbQueryStride = 11;
18
18
  inline constexpr std::int32_t kCellularAabbResultStride = 9;
19
19
  inline constexpr std::int32_t kCellularStatsStride = 9;
20
+ inline constexpr std::int32_t kCellularStepCountersStride = 14;
21
+ inline constexpr std::int32_t kCellularKeepMeta = -2;
22
+ inline constexpr std::int32_t kCellularKeepTag = -2;
23
+ inline constexpr std::int32_t kCellularMinEventCapacity = 64;
24
+ inline constexpr std::int32_t kCellularMaxEventCapacity = 65536;
25
+ inline constexpr std::int32_t kCellularEventStrideBytes = 16;
26
+ inline constexpr std::int32_t kCellularMaxWakeRadius = 8;
27
+ inline constexpr std::int32_t kCellularMaxLiquidDispersion = 4;
20
28
 
21
29
  enum MaterialKind : std::uint8_t {
22
30
  kKindEmpty = 0,
@@ -39,6 +47,42 @@ enum MaterialFlags : std::uint16_t {
39
47
  kFlagDestructible = 1u << 7,
40
48
  };
41
49
 
50
+ enum DirectionMask : std::uint8_t {
51
+ kDirPosX = 1u << 0,
52
+ kDirNegX = 1u << 1,
53
+ kDirPosY = 1u << 2,
54
+ kDirNegY = 1u << 3,
55
+ kDirPosZ = 1u << 4,
56
+ kDirNegZ = 1u << 5,
57
+ kDirAll = 0x3fu,
58
+ };
59
+
60
+ enum RuleFlags : std::uint8_t {
61
+ kRuleFlagNone = 0u,
62
+ kRuleFlagAlways = 1u << 0,
63
+ kRuleFlagEachNeighbor = 1u << 1,
64
+ kRuleFlagEmitEvent = 1u << 2,
65
+ };
66
+
67
+ enum FieldCreateFlags : std::uint32_t {
68
+ kFieldFlagNone = 0u,
69
+ kFieldFlagCellTag = 1u << 0,
70
+ kFieldFlagEditWakeCanMove = 1u << 1,
71
+ };
72
+
73
+ enum ConfigExtFlags : std::uint8_t {
74
+ kConfigExtNone = 0u,
75
+ kConfigExtS1 = 1u << 0,
76
+ kConfigExtCellTag = 1u << 1,
77
+ kConfigExtS2EditWakeCanMove = 1u << 2,
78
+ kConfigExtS4BoundedScheduler = 1u << 3,
79
+ kConfigExtS4MoveRules = 1u << 4,
80
+ };
81
+
82
+ inline constexpr std::uint8_t kConfigExtAllMask =
83
+ kConfigExtS1 | kConfigExtCellTag | kConfigExtS2EditWakeCanMove |
84
+ kConfigExtS4BoundedScheduler | kConfigExtS4MoveRules;
85
+
42
86
  enum StatusCode : std::int32_t {
43
87
  kStatusOk = 0,
44
88
  kStatusInvalidHandle = -1,
@@ -50,6 +94,13 @@ enum StatusCode : std::int32_t {
50
94
  kStatusNoBaseline = -7,
51
95
  kStatusCorruptData = -8,
52
96
  kStatusCapacityExceeded = -9,
97
+ kStatusVersionUnsupported = -10,
98
+ kStatusConfigMismatch = -11,
99
+ kStatusDeltaVersionUnsupported = -12,
100
+ kStatusDeltaStateMissing = -13,
101
+ kStatusBudgetTooSmall = -14,
102
+ kStatusBaselineMismatch = -16,
103
+ kStatusViewCold = -17,
53
104
  };
54
105
 
55
106
  } // namespace rundot::kinetix::cellular
@@ -68,6 +119,59 @@ std::uint32_t rundot_kinetix_cellular_create(
68
119
  double originZ,
69
120
  std::int32_t maxCheckpoints) noexcept;
70
121
 
122
+ std::uint32_t rundot_kinetix_cellular_create_ex(
123
+ std::int32_t chunksX,
124
+ std::int32_t chunksY,
125
+ std::int32_t chunksZ,
126
+ double cellSizeMeters,
127
+ double originX,
128
+ double originY,
129
+ double originZ,
130
+ std::int32_t maxCheckpoints,
131
+ std::int32_t eventCapacity,
132
+ std::uint32_t createFlags) noexcept;
133
+
134
+ std::int32_t rundot_kinetix_cellular_set_event_capacity(
135
+ std::uint32_t handle,
136
+ std::int32_t eventCapacity) noexcept;
137
+
138
+ std::int32_t rundot_kinetix_cellular_get_edit_wake(std::uint32_t handle) noexcept;
139
+
140
+ std::int32_t rundot_kinetix_cellular_set_scheduler(
141
+ std::uint32_t handle,
142
+ std::int32_t bounded,
143
+ std::uint32_t stepBudgetLo,
144
+ std::uint32_t stepBudgetHi,
145
+ std::int32_t focusShare,
146
+ std::int32_t wChunk,
147
+ std::int32_t wScan,
148
+ std::int32_t wMove,
149
+ std::int32_t wReact,
150
+ std::int32_t wLife) noexcept;
151
+
152
+ std::int32_t rundot_kinetix_cellular_get_scheduler(
153
+ std::uint32_t handle,
154
+ std::uint32_t* out9U32Ptr) noexcept;
155
+
156
+ std::int32_t rundot_kinetix_cellular_read_scheduler_state(
157
+ std::uint32_t handle,
158
+ std::int32_t* out26I32Ptr) noexcept;
159
+
160
+ std::int32_t rundot_kinetix_cellular_set_move_rules(
161
+ std::uint32_t handle,
162
+ std::int32_t powderSlideClearKindsMask,
163
+ std::int32_t liquidSpreadMode,
164
+ std::int32_t moveMatrix) noexcept;
165
+
166
+ std::int32_t rundot_kinetix_cellular_get_move_rules(
167
+ std::uint32_t handle,
168
+ std::uint8_t* out3U8Ptr) noexcept;
169
+
170
+ std::int32_t rundot_kinetix_cellular_set_material_rises(
171
+ std::uint32_t handle,
172
+ std::int32_t matId,
173
+ std::int32_t rises) noexcept;
174
+
71
175
  std::int32_t rundot_kinetix_cellular_destroy(std::uint32_t handle) noexcept;
72
176
 
73
177
  std::int32_t rundot_kinetix_cellular_set_material(
@@ -85,6 +189,36 @@ std::int32_t rundot_kinetix_cellular_set_material(
85
189
  std::int32_t a,
86
190
  std::int32_t emissiveByte) noexcept;
87
191
 
192
+ std::int32_t rundot_kinetix_cellular_set_material_ex(
193
+ std::uint32_t handle,
194
+ std::int32_t matId,
195
+ std::int32_t kind,
196
+ std::int32_t density,
197
+ std::int32_t dispersion,
198
+ std::int32_t decayChance,
199
+ std::int32_t defaultMeta,
200
+ std::int32_t flags,
201
+ std::int32_t r,
202
+ std::int32_t g,
203
+ std::int32_t b,
204
+ std::int32_t a,
205
+ std::int32_t emissiveByte,
206
+ std::int32_t hasMetaRule,
207
+ std::int32_t metaOp,
208
+ std::int32_t metaStep,
209
+ std::int32_t metaStart,
210
+ std::int32_t metaMin,
211
+ std::int32_t metaMax,
212
+ std::int32_t metaThreshold,
213
+ std::int32_t metaCompare,
214
+ std::int32_t metaToMat,
215
+ std::int32_t metaToMeta,
216
+ std::int32_t metaToTag,
217
+ std::int32_t metaChance,
218
+ std::int32_t metaElseMat,
219
+ std::int32_t metaElseMeta,
220
+ std::int32_t metaElseTag) noexcept;
221
+
88
222
  std::int32_t rundot_kinetix_cellular_clear_rules(std::uint32_t handle) noexcept;
89
223
 
90
224
  std::int32_t rundot_kinetix_cellular_add_rule(
@@ -98,6 +232,22 @@ std::int32_t rundot_kinetix_cellular_add_rule(
98
232
  std::int32_t nextNeighborMeta,
99
233
  std::int32_t wakeRadius) noexcept;
100
234
 
235
+ std::int32_t rundot_kinetix_cellular_add_rule_ex(
236
+ std::uint32_t handle,
237
+ std::int32_t selfMat,
238
+ std::int32_t neighborMat,
239
+ std::int32_t chanceByte,
240
+ std::int32_t nextSelfMat,
241
+ std::int32_t nextNeighborMat,
242
+ std::int32_t nextSelfMeta,
243
+ std::int32_t nextNeighborMeta,
244
+ std::int32_t nextSelfTag,
245
+ std::int32_t nextNeighborTag,
246
+ std::int32_t wakeRadius,
247
+ std::int32_t ruleFlags,
248
+ std::int32_t excludedDirections,
249
+ std::int32_t eventPayload) noexcept;
250
+
101
251
  std::uintptr_t rundot_kinetix_cellular_chunk_materials_ptr(
102
252
  std::uint32_t handle,
103
253
  std::int32_t cx,
@@ -110,6 +260,12 @@ std::uintptr_t rundot_kinetix_cellular_chunk_meta_ptr(
110
260
  std::int32_t cy,
111
261
  std::int32_t cz) noexcept;
112
262
 
263
+ std::uintptr_t rundot_kinetix_cellular_chunk_tags_ptr(
264
+ std::uint32_t handle,
265
+ std::int32_t cx,
266
+ std::int32_t cy,
267
+ std::int32_t cz) noexcept;
268
+
113
269
  std::uintptr_t rundot_kinetix_cellular_material_visuals_ptr(std::uint32_t handle) noexcept;
114
270
 
115
271
  std::uintptr_t rundot_kinetix_cellular_merkle_root_ptr(std::uint32_t handle) noexcept;
@@ -126,6 +282,13 @@ std::int32_t rundot_kinetix_cellular_get_cell(
126
282
  std::int32_t wy,
127
283
  std::int32_t wz) noexcept;
128
284
 
285
+ std::int32_t rundot_kinetix_cellular_get_cell_at(
286
+ std::uint32_t handle,
287
+ std::int32_t checkpointToken,
288
+ std::int32_t wx,
289
+ std::int32_t wy,
290
+ std::int32_t wz) noexcept;
291
+
129
292
  std::int32_t rundot_kinetix_cellular_set_cell(
130
293
  std::uint32_t handle,
131
294
  std::int32_t wx,
@@ -134,11 +297,30 @@ std::int32_t rundot_kinetix_cellular_set_cell(
134
297
  std::int32_t matId,
135
298
  std::int32_t meta) noexcept;
136
299
 
300
+ std::int32_t rundot_kinetix_cellular_set_cell_ex(
301
+ std::uint32_t handle,
302
+ std::int32_t wx,
303
+ std::int32_t wy,
304
+ std::int32_t wz,
305
+ std::int32_t matId,
306
+ std::int32_t meta,
307
+ std::int32_t tag) noexcept;
308
+
137
309
  std::int32_t rundot_kinetix_cellular_set_cells_batch(
138
310
  std::uint32_t handle,
139
311
  const std::int32_t* cellsPtr,
140
312
  std::int32_t count) noexcept;
141
313
 
314
+ std::int32_t rundot_kinetix_cellular_set_cells_batch_ex(
315
+ std::uint32_t handle,
316
+ const std::int32_t* cellsPtr,
317
+ std::int32_t count,
318
+ std::int32_t stride,
319
+ const std::uint8_t* onlyWhereMask32Ptr,
320
+ std::int32_t wakeAll,
321
+ std::uint32_t* outReplaced256Ptr,
322
+ std::uint32_t* outKept256Ptr) noexcept;
323
+
142
324
  std::int32_t rundot_kinetix_cellular_edit_sphere(
143
325
  std::uint32_t handle,
144
326
  double centerX,
@@ -149,6 +331,17 @@ std::int32_t rundot_kinetix_cellular_edit_sphere(
149
331
  std::int32_t meta,
150
332
  std::int32_t respectIndestructible) noexcept;
151
333
 
334
+ std::int32_t rundot_kinetix_cellular_edit_sphere_ex(
335
+ std::uint32_t handle,
336
+ double centerX,
337
+ double centerY,
338
+ double centerZ,
339
+ double radiusMeters,
340
+ std::int32_t matId,
341
+ std::int32_t meta,
342
+ std::int32_t tag,
343
+ std::int32_t respectIndestructible) noexcept;
344
+
152
345
  std::int32_t rundot_kinetix_cellular_edit_box(
153
346
  std::uint32_t handle,
154
347
  double minX,
@@ -161,6 +354,19 @@ std::int32_t rundot_kinetix_cellular_edit_box(
161
354
  std::int32_t meta,
162
355
  std::int32_t respectIndestructible) noexcept;
163
356
 
357
+ std::int32_t rundot_kinetix_cellular_edit_box_ex(
358
+ std::uint32_t handle,
359
+ double minX,
360
+ double minY,
361
+ double minZ,
362
+ double maxX,
363
+ double maxY,
364
+ double maxZ,
365
+ std::int32_t matId,
366
+ std::int32_t meta,
367
+ std::int32_t tag,
368
+ std::int32_t respectIndestructible) noexcept;
369
+
164
370
  std::int32_t rundot_kinetix_cellular_edit_capsule(
165
371
  std::uint32_t handle,
166
372
  double p0x,
@@ -174,12 +380,78 @@ std::int32_t rundot_kinetix_cellular_edit_capsule(
174
380
  std::int32_t meta,
175
381
  std::int32_t respectIndestructible) noexcept;
176
382
 
383
+ std::int32_t rundot_kinetix_cellular_edit_capsule_ex(
384
+ std::uint32_t handle,
385
+ double p0x,
386
+ double p0y,
387
+ double p0z,
388
+ double p1x,
389
+ double p1y,
390
+ double p1z,
391
+ double radiusMeters,
392
+ std::int32_t matId,
393
+ std::int32_t meta,
394
+ std::int32_t tag,
395
+ std::int32_t respectIndestructible) noexcept;
396
+
397
+ std::int32_t rundot_kinetix_cellular_wake_box(
398
+ std::uint32_t handle,
399
+ double minX,
400
+ double minY,
401
+ double minZ,
402
+ double maxX,
403
+ double maxY,
404
+ double maxZ) noexcept;
405
+
406
+ std::int32_t rundot_kinetix_cellular_load_volume(
407
+ std::uint32_t handle,
408
+ std::int32_t x0,
409
+ std::int32_t y0,
410
+ std::int32_t z0,
411
+ std::int32_t x1,
412
+ std::int32_t y1,
413
+ std::int32_t z1,
414
+ const std::uint8_t* matsPtr,
415
+ const std::uint8_t* metaPtr,
416
+ const std::uint8_t* tagsPtr) noexcept;
417
+
418
+ std::int32_t rundot_kinetix_cellular_fill_uniform(
419
+ std::uint32_t handle,
420
+ std::int32_t x0,
421
+ std::int32_t y0,
422
+ std::int32_t z0,
423
+ std::int32_t x1,
424
+ std::int32_t y1,
425
+ std::int32_t z1,
426
+ std::int32_t matId,
427
+ std::int32_t meta,
428
+ std::int32_t tag) noexcept;
429
+
177
430
  std::int32_t rundot_kinetix_cellular_step(std::uint32_t handle, std::uint32_t tickSeed) noexcept;
178
431
 
432
+ std::int32_t rundot_kinetix_cellular_step_with_focus(
433
+ std::uint32_t handle,
434
+ std::uint32_t tickSeed,
435
+ const std::int32_t* focusXYZPtr,
436
+ std::int32_t focusCount) noexcept;
437
+
438
+ void rundot_kinetix_cellular_hash_probe(
439
+ std::uint32_t tickSeed,
440
+ std::int32_t wx,
441
+ std::int32_t wy,
442
+ std::int32_t wz,
443
+ std::uint32_t laneLo,
444
+ std::uint32_t laneHi,
445
+ std::uint32_t* out4U32Ptr) noexcept;
446
+
179
447
  std::int32_t rundot_kinetix_cellular_read_stats(
180
448
  std::uint32_t handle,
181
449
  std::uint32_t* outStatsPtr) noexcept;
182
450
 
451
+ std::int32_t rundot_kinetix_cellular_read_step_counters(
452
+ std::uint32_t handle,
453
+ std::uint32_t* outCountersPtr) noexcept;
454
+
183
455
  std::int32_t rundot_kinetix_cellular_chunk_masks(
184
456
  std::uint32_t handle,
185
457
  std::int32_t cx,
@@ -229,12 +501,61 @@ std::int32_t rundot_kinetix_cellular_raycast_batch(
229
501
  std::int32_t count,
230
502
  double* hitsOut) noexcept;
231
503
 
504
+ std::int32_t rundot_kinetix_cellular_raycast_batch_at(
505
+ std::uint32_t handle,
506
+ std::int32_t checkpointToken,
507
+ const double* raysIn,
508
+ std::int32_t count,
509
+ double* hitsOut) noexcept;
510
+
232
511
  std::int32_t rundot_kinetix_cellular_resolve_aabb_batch(
233
512
  std::uint32_t handle,
234
513
  const double* queriesIn,
235
514
  std::int32_t count,
236
515
  double* resultsOut) noexcept;
237
516
 
517
+ std::int32_t rundot_kinetix_cellular_resolve_aabb_batch_at(
518
+ std::uint32_t handle,
519
+ std::int32_t checkpointToken,
520
+ const double* queriesIn,
521
+ std::int32_t count,
522
+ double* resultsOut) noexcept;
523
+
524
+ std::int32_t rundot_kinetix_cellular_read_box(
525
+ std::uint32_t handle,
526
+ std::int32_t checkpointToken,
527
+ std::int32_t x0,
528
+ std::int32_t y0,
529
+ std::int32_t z0,
530
+ std::int32_t x1,
531
+ std::int32_t y1,
532
+ std::int32_t z1,
533
+ std::uint8_t* matsOutPtr,
534
+ std::uint8_t* metaOutPtr,
535
+ std::uint8_t* tagsOutPtr) noexcept;
536
+
537
+ std::int32_t rundot_kinetix_cellular_changed_chunks_since(
538
+ std::uint32_t handle,
539
+ std::uint32_t sinceRevision,
540
+ std::uint32_t* outLatestRevisionPtr,
541
+ std::uint32_t* outChunkIndicesPtr,
542
+ std::int32_t maxCount) noexcept;
543
+
544
+ std::int32_t rundot_kinetix_cellular_chunk_summary(
545
+ std::uint32_t handle,
546
+ std::int32_t checkpointToken,
547
+ std::int32_t cx,
548
+ std::int32_t cy,
549
+ std::int32_t cz,
550
+ std::uint32_t* outSummary4Ptr) noexcept;
551
+
552
+ std::int32_t rundot_kinetix_cellular_read_events(
553
+ std::uint32_t handle,
554
+ std::int32_t checkpointToken,
555
+ std::uint32_t* outMeta3Ptr,
556
+ std::uint8_t* outEventsPtr,
557
+ std::int32_t maxEvents) noexcept;
558
+
238
559
  std::int32_t rundot_kinetix_cellular_consume_dirty_render_chunks(
239
560
  std::uint32_t handle,
240
561
  std::int32_t* outCoordsXYZ,
@@ -264,18 +585,30 @@ std::int32_t rundot_kinetix_cellular_checkpoint_merkle_root(
264
585
 
265
586
  std::int32_t rundot_kinetix_cellular_serialize_checkpoint_bound(
266
587
  std::uint32_t handle,
267
- std::int32_t checkpointToken) noexcept;
588
+ std::int32_t checkpointToken, std::int32_t baselineToken = 0) noexcept;
268
589
 
269
590
  std::int32_t rundot_kinetix_cellular_serialize_checkpoint(
270
591
  std::uint32_t handle,
271
592
  std::int32_t checkpointToken,
272
593
  std::uint8_t* outBytes,
594
+ std::int32_t maxBytes, std::int32_t baselineToken = 0) noexcept;
595
+
596
+ std::int32_t rundot_kinetix_cellular_serialize_checkpoint_bound_ex(
597
+ std::uint32_t handle,
598
+ std::int32_t checkpointToken,
599
+ std::int32_t mode) noexcept;
600
+
601
+ std::int32_t rundot_kinetix_cellular_serialize_checkpoint_ex(
602
+ std::uint32_t handle,
603
+ std::int32_t checkpointToken,
604
+ std::int32_t mode,
605
+ std::uint8_t* outBytes,
273
606
  std::int32_t maxBytes) noexcept;
274
607
 
275
608
  std::int32_t rundot_kinetix_cellular_import_checkpoint(
276
609
  std::uint32_t handle,
277
610
  const std::uint8_t* bytes,
278
- std::int32_t byteLength) noexcept;
611
+ std::int32_t byteLength, std::int32_t baselineToken = 0) noexcept;
279
612
 
280
613
  std::int32_t rundot_kinetix_cellular_clear_dirty_collider_chunk(
281
614
  std::uint32_t handle,
@@ -285,4 +618,33 @@ std::int32_t rundot_kinetix_cellular_clear_dirty_collider_chunk(
285
618
 
286
619
  std::int32_t rundot_kinetix_cellular_mark_all_colliders_dirty(std::uint32_t handle) noexcept;
287
620
 
621
+ std::int32_t rundot_kinetix_cellular_set_retention_depth(
622
+ std::uint32_t handle,
623
+ std::int32_t retentionDepth) noexcept;
624
+
625
+ std::int32_t rundot_kinetix_cellular_get_retention_depth(std::uint32_t handle) noexcept;
626
+
627
+ std::int32_t rundot_kinetix_cellular_pin_baseline_checkpoint(
628
+ std::uint32_t handle,
629
+ std::int32_t checkpointToken) noexcept;
630
+
631
+ std::int32_t rundot_kinetix_cellular_read_move_stats(
632
+ std::uint32_t handle,
633
+ std::uint32_t* outStats4Ptr) noexcept;
634
+
635
+ std::int32_t rundot_kinetix_cellular_chunk_form(
636
+ std::uint32_t handle,
637
+ std::int32_t cx,
638
+ std::int32_t cy,
639
+ std::int32_t cz,
640
+ std::int32_t checkpointToken) noexcept;
641
+
642
+ std::int32_t rundot_kinetix_cellular_extract_chunk_halo(
643
+ std::uint32_t handle,
644
+ std::int32_t cx,
645
+ std::int32_t cy,
646
+ std::int32_t cz,
647
+ std::int32_t checkpointToken,
648
+ std::uint8_t* outHalo5832Ptr) noexcept;
649
+
288
650
  } // extern "C"