@verticopolis/components 0.0.0-stage → 0.2.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 (791) hide show
  1. package/ASSETS-LICENSE.md +49 -0
  2. package/LICENSE +21 -0
  3. package/README.md +121 -2
  4. package/lib/audio/Audio.d.ts +110 -0
  5. package/lib/audio/Audio.js +199 -0
  6. package/lib/audio/Audio.js.map +1 -0
  7. package/lib/audio/ToneAudioEngine.d.ts +125 -0
  8. package/lib/audio/ToneAudioEngine.js +452 -0
  9. package/lib/audio/ToneAudioEngine.js.map +1 -0
  10. package/lib/audio/audioAssets.d.ts +25 -0
  11. package/lib/audio/audioAssets.js +28 -0
  12. package/lib/audio/audioAssets.js.map +1 -0
  13. package/lib/audio/awayWatch.d.ts +17 -0
  14. package/lib/audio/awayWatch.js +33 -0
  15. package/lib/audio/awayWatch.js.map +1 -0
  16. package/lib/audio/firstCueLatch.d.ts +18 -0
  17. package/lib/audio/firstCueLatch.js +34 -0
  18. package/lib/audio/firstCueLatch.js.map +1 -0
  19. package/lib/audio/lightEnvelope.d.ts +64 -0
  20. package/lib/audio/lightEnvelope.js +124 -0
  21. package/lib/audio/lightEnvelope.js.map +1 -0
  22. package/lib/audio/lightSynth.d.ts +125 -0
  23. package/lib/audio/lightSynth.js +203 -0
  24. package/lib/audio/lightSynth.js.map +1 -0
  25. package/lib/audio/toneContext.d.ts +30 -0
  26. package/lib/audio/toneContext.js +79 -0
  27. package/lib/audio/toneContext.js.map +1 -0
  28. package/lib/audio/toneCrowd.d.ts +62 -0
  29. package/lib/audio/toneCrowd.js +429 -0
  30. package/lib/audio/toneCrowd.js.map +1 -0
  31. package/lib/audio/toneCrowdData.d.ts +144 -0
  32. package/lib/audio/toneCrowdData.js +317 -0
  33. package/lib/audio/toneCrowdData.js.map +1 -0
  34. package/lib/audio/toneCrowdPrograms.d.ts +71 -0
  35. package/lib/audio/toneCrowdPrograms.js +273 -0
  36. package/lib/audio/toneCrowdPrograms.js.map +1 -0
  37. package/lib/audio/toneCrowdVoices.d.ts +49 -0
  38. package/lib/audio/toneCrowdVoices.js +212 -0
  39. package/lib/audio/toneCrowdVoices.js.map +1 -0
  40. package/lib/audio/toneMusicVoices.d.ts +11 -0
  41. package/lib/audio/toneMusicVoices.js +31 -0
  42. package/lib/audio/toneMusicVoices.js.map +1 -0
  43. package/lib/audio/tonePercussion.d.ts +45 -0
  44. package/lib/audio/tonePercussion.js +97 -0
  45. package/lib/audio/tonePercussion.js.map +1 -0
  46. package/lib/audio/toneRain.d.ts +23 -0
  47. package/lib/audio/toneRain.js +39 -0
  48. package/lib/audio/toneRain.js.map +1 -0
  49. package/lib/audio/toneRecordingMock.d.ts +89 -0
  50. package/lib/audio/toneRecordingMock.js +145 -0
  51. package/lib/audio/toneRecordingMock.js.map +1 -0
  52. package/lib/audio/toneRoomTone.d.ts +11 -0
  53. package/lib/audio/toneRoomTone.js +27 -0
  54. package/lib/audio/toneRoomTone.js.map +1 -0
  55. package/lib/audio/toneScenes.d.ts +57 -0
  56. package/lib/audio/toneScenes.js +208 -0
  57. package/lib/audio/toneScenes.js.map +1 -0
  58. package/lib/audio/toneTracks.d.ts +50 -0
  59. package/lib/audio/toneTracks.js +356 -0
  60. package/lib/audio/toneTracks.js.map +1 -0
  61. package/lib/audio/toneVoices.d.ts +57 -0
  62. package/lib/audio/toneVoices.js +208 -0
  63. package/lib/audio/toneVoices.js.map +1 -0
  64. package/lib/catalog/catalogTypes.d.ts +428 -0
  65. package/lib/catalog/catalogTypes.js +102 -0
  66. package/lib/catalog/catalogTypes.js.map +1 -0
  67. package/lib/catalog/skyBridgeTypes.d.ts +25 -0
  68. package/lib/catalog/skyBridgeTypes.js +7 -0
  69. package/lib/catalog/skyBridgeTypes.js.map +1 -0
  70. package/lib/catalog/starDutyTypes.d.ts +22 -0
  71. package/lib/catalog/starDutyTypes.js +7 -0
  72. package/lib/catalog/starDutyTypes.js.map +1 -0
  73. package/lib/catalog/towerCatalog.d.ts +32 -0
  74. package/lib/catalog/towerCatalog.js +44 -0
  75. package/lib/catalog/towerCatalog.js.map +1 -0
  76. package/lib/engineBinding/binding.d.ts +36 -0
  77. package/lib/engineBinding/binding.js +90 -0
  78. package/lib/engineBinding/binding.js.map +1 -0
  79. package/lib/engineBinding/catalog.d.ts +24 -0
  80. package/lib/engineBinding/catalog.js +267 -0
  81. package/lib/engineBinding/catalog.js.map +1 -0
  82. package/lib/engineBinding/engine.d.ts +866 -0
  83. package/lib/engineBinding/exportTiers.d.ts +289 -0
  84. package/lib/engineBinding/exportTiers.js +283 -0
  85. package/lib/engineBinding/exportTiers.js.map +1 -0
  86. package/lib/engineBinding/toolingMethods.d.ts +12 -0
  87. package/lib/engineBinding/toolingMethods.js +20 -0
  88. package/lib/engineBinding/toolingMethods.js.map +1 -0
  89. package/lib/events/gameplayCatalog.d.ts +57 -0
  90. package/lib/events/gameplayCatalog.js +214 -0
  91. package/lib/events/gameplayCatalog.js.map +1 -0
  92. package/lib/events/gameplayEventRules.d.ts +4 -0
  93. package/lib/events/gameplayEventRules.js +32 -0
  94. package/lib/events/gameplayEventRules.js.map +1 -0
  95. package/lib/events/gameplayEvents.d.ts +284 -0
  96. package/lib/presentation/clockText.d.ts +28 -0
  97. package/lib/presentation/clockText.js +38 -0
  98. package/lib/presentation/clockText.js.map +1 -0
  99. package/lib/presentation/facilityPresentation.d.ts +20 -0
  100. package/lib/presentation/facilityPresentation.js +164 -0
  101. package/lib/presentation/facilityPresentation.js.map +1 -0
  102. package/lib/presentation/statsCopy.d.ts +20 -0
  103. package/lib/presentation/statsCopy.js +37 -0
  104. package/lib/presentation/statsCopy.js.map +1 -0
  105. package/lib/presentation/traffic.d.ts +75 -0
  106. package/lib/presentation/traffic.js +79 -0
  107. package/lib/presentation/traffic.js.map +1 -0
  108. package/lib/presentation/viewKinds.d.ts +33 -0
  109. package/lib/presentation/viewKinds.js +88 -0
  110. package/lib/presentation/viewKinds.js.map +1 -0
  111. package/lib/presentation/viewWorld.d.ts +29 -0
  112. package/lib/presentation/viewWorld.js +31 -0
  113. package/lib/presentation/viewWorld.js.map +1 -0
  114. package/lib/render/atlas/archive.d.ts +78 -0
  115. package/lib/render/atlas/archive.js +427 -0
  116. package/lib/render/atlas/archive.js.map +1 -0
  117. package/lib/render/atlas/bake.d.ts +132 -0
  118. package/lib/render/atlas/bake.js +331 -0
  119. package/lib/render/atlas/bake.js.map +1 -0
  120. package/lib/render/atlas/bakeAdditions.d.ts +24 -0
  121. package/lib/render/atlas/bakeAdditions.js +46 -0
  122. package/lib/render/atlas/bakeAdditions.js.map +1 -0
  123. package/lib/render/atlas/browserEntry.d.ts +12 -0
  124. package/lib/render/atlas/browserEntry.js +222 -0
  125. package/lib/render/atlas/browserEntry.js.map +1 -0
  126. package/lib/render/atlas/catalog.d.ts +118 -0
  127. package/lib/render/atlas/catalog.js +253 -0
  128. package/lib/render/atlas/catalog.js.map +1 -0
  129. package/lib/render/atlas/catalogExtras.d.ts +45 -0
  130. package/lib/render/atlas/catalogExtras.js +217 -0
  131. package/lib/render/atlas/catalogExtras.js.map +1 -0
  132. package/lib/render/atlas/compose.d.ts +30 -0
  133. package/lib/render/atlas/compose.js +125 -0
  134. package/lib/render/atlas/compose.js.map +1 -0
  135. package/lib/render/atlas/cycles.d.ts +25 -0
  136. package/lib/render/atlas/cycles.js +41 -0
  137. package/lib/render/atlas/cycles.js.map +1 -0
  138. package/lib/render/atlas/lookup.d.ts +65 -0
  139. package/lib/render/atlas/lookup.js +83 -0
  140. package/lib/render/atlas/lookup.js.map +1 -0
  141. package/lib/render/atlas/pack.d.ts +23 -0
  142. package/lib/render/atlas/pack.js +50 -0
  143. package/lib/render/atlas/pack.js.map +1 -0
  144. package/lib/render/atlas/paint.d.ts +120 -0
  145. package/lib/render/atlas/paint.js +154 -0
  146. package/lib/render/atlas/paint.js.map +1 -0
  147. package/lib/render/atlas/pixels.d.ts +46 -0
  148. package/lib/render/atlas/pixels.js +158 -0
  149. package/lib/render/atlas/pixels.js.map +1 -0
  150. package/lib/render/atlas/png.d.ts +3 -0
  151. package/lib/render/atlas/png.js +102 -0
  152. package/lib/render/atlas/png.js.map +1 -0
  153. package/lib/render/atlas/raster.d.ts +34 -0
  154. package/lib/render/atlas/raster.js +114 -0
  155. package/lib/render/atlas/raster.js.map +1 -0
  156. package/lib/render/atlas/recyclingFill.d.ts +5 -0
  157. package/lib/render/atlas/recyclingFill.js +65 -0
  158. package/lib/render/atlas/recyclingFill.js.map +1 -0
  159. package/lib/render/atlas/samples.d.ts +24 -0
  160. package/lib/render/atlas/samples.js +75 -0
  161. package/lib/render/atlas/samples.js.map +1 -0
  162. package/lib/render/atlas/scenery.d.ts +230 -0
  163. package/lib/render/atlas/scenery.js +242 -0
  164. package/lib/render/atlas/scenery.js.map +1 -0
  165. package/lib/render/atlas/schema.d.ts +189 -0
  166. package/lib/render/atlas/schema.js +31 -0
  167. package/lib/render/atlas/schema.js.map +1 -0
  168. package/lib/render/atlas/shellMarks.d.ts +16 -0
  169. package/lib/render/atlas/shellMarks.js +72 -0
  170. package/lib/render/atlas/shellMarks.js.map +1 -0
  171. package/lib/render/atlas/store.d.ts +75 -0
  172. package/lib/render/atlas/store.js +127 -0
  173. package/lib/render/atlas/store.js.map +1 -0
  174. package/lib/render/atlas/verify.d.ts +43 -0
  175. package/lib/render/atlas/verify.js +87 -0
  176. package/lib/render/atlas/verify.js.map +1 -0
  177. package/lib/render/atlas/verifyExtras.d.ts +19 -0
  178. package/lib/render/atlas/verifyExtras.js +310 -0
  179. package/lib/render/atlas/verifyExtras.js.map +1 -0
  180. package/lib/render/cameraBounds.d.ts +71 -0
  181. package/lib/render/cameraBounds.js +107 -0
  182. package/lib/render/cameraBounds.js.map +1 -0
  183. package/lib/render/carIndicator.d.ts +41 -0
  184. package/lib/render/carIndicator.js +45 -0
  185. package/lib/render/carIndicator.js.map +1 -0
  186. package/lib/render/carMotion.d.ts +33 -0
  187. package/lib/render/carMotion.js +42 -0
  188. package/lib/render/carMotion.js.map +1 -0
  189. package/lib/render/catalogScale.d.ts +40 -0
  190. package/lib/render/catalogScale.js +33 -0
  191. package/lib/render/catalogScale.js.map +1 -0
  192. package/lib/render/climbPath.d.ts +59 -0
  193. package/lib/render/climbPath.js +115 -0
  194. package/lib/render/climbPath.js.map +1 -0
  195. package/lib/render/depthPlanes.d.ts +55 -0
  196. package/lib/render/depthPlanes.js +58 -0
  197. package/lib/render/depthPlanes.js.map +1 -0
  198. package/lib/render/excalibur/TowerEngine.d.ts +348 -0
  199. package/lib/render/excalibur/TowerEngine.js +415 -0
  200. package/lib/render/excalibur/TowerEngine.js.map +1 -0
  201. package/lib/render/excalibur/cabGraphics.d.ts +75 -0
  202. package/lib/render/excalibur/cabGraphics.js +108 -0
  203. package/lib/render/excalibur/cabGraphics.js.map +1 -0
  204. package/lib/render/excalibur/cabParts.d.ts +32 -0
  205. package/lib/render/excalibur/cabParts.js +79 -0
  206. package/lib/render/excalibur/cabParts.js.map +1 -0
  207. package/lib/render/excalibur/cabRiders.d.ts +72 -0
  208. package/lib/render/excalibur/cabRiders.js +176 -0
  209. package/lib/render/excalibur/cabRiders.js.map +1 -0
  210. package/lib/render/excalibur/crowdCull.d.ts +34 -0
  211. package/lib/render/excalibur/crowdCull.js +72 -0
  212. package/lib/render/excalibur/crowdCull.js.map +1 -0
  213. package/lib/render/excalibur/crowdFigure.d.ts +42 -0
  214. package/lib/render/excalibur/crowdFigure.js +99 -0
  215. package/lib/render/excalibur/crowdFigure.js.map +1 -0
  216. package/lib/render/excalibur/crowdLook.d.ts +137 -0
  217. package/lib/render/excalibur/crowdLook.js +186 -0
  218. package/lib/render/excalibur/crowdLook.js.map +1 -0
  219. package/lib/render/excalibur/frameHold.d.ts +23 -0
  220. package/lib/render/excalibur/frameHold.js +30 -0
  221. package/lib/render/excalibur/frameHold.js.map +1 -0
  222. package/lib/render/excalibur/guardPosition.d.ts +17 -0
  223. package/lib/render/excalibur/guardPosition.js +37 -0
  224. package/lib/render/excalibur/guardPosition.js.map +1 -0
  225. package/lib/render/excalibur/keyboardHost.d.ts +15 -0
  226. package/lib/render/excalibur/keyboardHost.js +22 -0
  227. package/lib/render/excalibur/keyboardHost.js.map +1 -0
  228. package/lib/render/excalibur/longPress.d.ts +16 -0
  229. package/lib/render/excalibur/longPress.js +71 -0
  230. package/lib/render/excalibur/longPress.js.map +1 -0
  231. package/lib/render/excalibur/peopleGfx.d.ts +16 -0
  232. package/lib/render/excalibur/peopleGfx.js +46 -0
  233. package/lib/render/excalibur/peopleGfx.js.map +1 -0
  234. package/lib/render/excalibur/peopleWindow.d.ts +35 -0
  235. package/lib/render/excalibur/peopleWindow.js +38 -0
  236. package/lib/render/excalibur/peopleWindow.js.map +1 -0
  237. package/lib/render/excalibur/personFocus.d.ts +36 -0
  238. package/lib/render/excalibur/personFocus.js +169 -0
  239. package/lib/render/excalibur/personFocus.js.map +1 -0
  240. package/lib/render/excalibur/pointerButtonGuard.d.ts +35 -0
  241. package/lib/render/excalibur/pointerButtonGuard.js +86 -0
  242. package/lib/render/excalibur/pointerButtonGuard.js.map +1 -0
  243. package/lib/render/excalibur/pressLifecycle.d.ts +26 -0
  244. package/lib/render/excalibur/pressLifecycle.js +66 -0
  245. package/lib/render/excalibur/pressLifecycle.js.map +1 -0
  246. package/lib/render/excalibur/rainShelter.d.ts +16 -0
  247. package/lib/render/excalibur/rainShelter.js +94 -0
  248. package/lib/render/excalibur/rainShelter.js.map +1 -0
  249. package/lib/render/excalibur/roomSignature.d.ts +30 -0
  250. package/lib/render/excalibur/roomSignature.js +49 -0
  251. package/lib/render/excalibur/roomSignature.js.map +1 -0
  252. package/lib/render/excalibur/sceneBake.d.ts +9 -0
  253. package/lib/render/excalibur/sceneBake.js +12 -0
  254. package/lib/render/excalibur/sceneBake.js.map +1 -0
  255. package/lib/render/excalibur/thiefSpan.d.ts +18 -0
  256. package/lib/render/excalibur/thiefSpan.js +51 -0
  257. package/lib/render/excalibur/thiefSpan.js.map +1 -0
  258. package/lib/render/excalibur/towerBridgeTiles.d.ts +30 -0
  259. package/lib/render/excalibur/towerBridgeTiles.js +43 -0
  260. package/lib/render/excalibur/towerBridgeTiles.js.map +1 -0
  261. package/lib/render/excalibur/towerCrowd.d.ts +73 -0
  262. package/lib/render/excalibur/towerCrowd.js +464 -0
  263. package/lib/render/excalibur/towerCrowd.js.map +1 -0
  264. package/lib/render/excalibur/towerCrowdLayout.d.ts +40 -0
  265. package/lib/render/excalibur/towerCrowdLayout.js +77 -0
  266. package/lib/render/excalibur/towerCrowdLayout.js.map +1 -0
  267. package/lib/render/excalibur/towerFireResponse.d.ts +25 -0
  268. package/lib/render/excalibur/towerFireResponse.js +89 -0
  269. package/lib/render/excalibur/towerFireResponse.js.map +1 -0
  270. package/lib/render/excalibur/towerFrame.d.ts +8 -0
  271. package/lib/render/excalibur/towerFrame.js +57 -0
  272. package/lib/render/excalibur/towerFrame.js.map +1 -0
  273. package/lib/render/excalibur/towerGhostLabel.d.ts +9 -0
  274. package/lib/render/excalibur/towerGhostLabel.js +37 -0
  275. package/lib/render/excalibur/towerGhostLabel.js.map +1 -0
  276. package/lib/render/excalibur/towerHallDoors.d.ts +42 -0
  277. package/lib/render/excalibur/towerHallDoors.js +129 -0
  278. package/lib/render/excalibur/towerHallDoors.js.map +1 -0
  279. package/lib/render/excalibur/towerHaloRings.d.ts +34 -0
  280. package/lib/render/excalibur/towerHaloRings.js +45 -0
  281. package/lib/render/excalibur/towerHaloRings.js.map +1 -0
  282. package/lib/render/excalibur/towerInputCamera.d.ts +90 -0
  283. package/lib/render/excalibur/towerInputCamera.js +480 -0
  284. package/lib/render/excalibur/towerInputCamera.js.map +1 -0
  285. package/lib/render/excalibur/towerMetro.d.ts +31 -0
  286. package/lib/render/excalibur/towerMetro.js +115 -0
  287. package/lib/render/excalibur/towerMetro.js.map +1 -0
  288. package/lib/render/excalibur/towerNoiseReach.d.ts +32 -0
  289. package/lib/render/excalibur/towerNoiseReach.js +75 -0
  290. package/lib/render/excalibur/towerNoiseReach.js.map +1 -0
  291. package/lib/render/excalibur/towerOverlay.d.ts +59 -0
  292. package/lib/render/excalibur/towerOverlay.js +453 -0
  293. package/lib/render/excalibur/towerOverlay.js.map +1 -0
  294. package/lib/render/excalibur/towerReconcile.d.ts +17 -0
  295. package/lib/render/excalibur/towerReconcile.js +404 -0
  296. package/lib/render/excalibur/towerReconcile.js.map +1 -0
  297. package/lib/render/excalibur/towerRegions.d.ts +61 -0
  298. package/lib/render/excalibur/towerRegions.js +193 -0
  299. package/lib/render/excalibur/towerRegions.js.map +1 -0
  300. package/lib/render/excalibur/towerScene.d.ts +66 -0
  301. package/lib/render/excalibur/towerScene.js +443 -0
  302. package/lib/render/excalibur/towerScene.js.map +1 -0
  303. package/lib/render/excalibur/towerScenery.d.ts +12 -0
  304. package/lib/render/excalibur/towerScenery.js +299 -0
  305. package/lib/render/excalibur/towerScenery.js.map +1 -0
  306. package/lib/render/excalibur/towerSceneryDraw.d.ts +86 -0
  307. package/lib/render/excalibur/towerSceneryDraw.js +288 -0
  308. package/lib/render/excalibur/towerSceneryDraw.js.map +1 -0
  309. package/lib/render/excalibur/towerShaftNumbers.d.ts +23 -0
  310. package/lib/render/excalibur/towerShaftNumbers.js +90 -0
  311. package/lib/render/excalibur/towerShaftNumbers.js.map +1 -0
  312. package/lib/render/excalibur/towerStructTiles.d.ts +56 -0
  313. package/lib/render/excalibur/towerStructTiles.js +238 -0
  314. package/lib/render/excalibur/towerStructTiles.js.map +1 -0
  315. package/lib/render/excalibur/towerSyncSchedule.d.ts +84 -0
  316. package/lib/render/excalibur/towerSyncSchedule.js +137 -0
  317. package/lib/render/excalibur/towerSyncSchedule.js.map +1 -0
  318. package/lib/render/excalibur/towerWalkerBuild.d.ts +30 -0
  319. package/lib/render/excalibur/towerWalkerBuild.js +126 -0
  320. package/lib/render/excalibur/towerWalkerBuild.js.map +1 -0
  321. package/lib/render/excalibur/trafficSpotlight.d.ts +29 -0
  322. package/lib/render/excalibur/trafficSpotlight.js +64 -0
  323. package/lib/render/excalibur/trafficSpotlight.js.map +1 -0
  324. package/lib/render/facadeGeometry.d.ts +50 -0
  325. package/lib/render/facadeGeometry.js +79 -0
  326. package/lib/render/facadeGeometry.js.map +1 -0
  327. package/lib/render/groundEntrances.d.ts +44 -0
  328. package/lib/render/groundEntrances.js +118 -0
  329. package/lib/render/groundEntrances.js.map +1 -0
  330. package/lib/render/lateNight.d.ts +14 -0
  331. package/lib/render/lateNight.js +18 -0
  332. package/lib/render/lateNight.js.map +1 -0
  333. package/lib/render/lobbyHalls.d.ts +44 -0
  334. package/lib/render/lobbyHalls.js +63 -0
  335. package/lib/render/lobbyHalls.js.map +1 -0
  336. package/lib/render/metroTrainSchedule.d.ts +20 -0
  337. package/lib/render/metroTrainSchedule.js +65 -0
  338. package/lib/render/metroTrainSchedule.js.map +1 -0
  339. package/lib/render/overviewMap/drawList.d.ts +67 -0
  340. package/lib/render/overviewMap/drawList.js +103 -0
  341. package/lib/render/overviewMap/drawList.js.map +1 -0
  342. package/lib/render/overviewMap/extent.d.ts +70 -0
  343. package/lib/render/overviewMap/extent.js +155 -0
  344. package/lib/render/overviewMap/extent.js.map +1 -0
  345. package/lib/render/overviewMap/floorSpans.d.ts +27 -0
  346. package/lib/render/overviewMap/floorSpans.js +32 -0
  347. package/lib/render/overviewMap/floorSpans.js.map +1 -0
  348. package/lib/render/overviewMap/gaps.d.ts +48 -0
  349. package/lib/render/overviewMap/gaps.js +148 -0
  350. package/lib/render/overviewMap/gaps.js.map +1 -0
  351. package/lib/render/overviewMap/geometry.d.ts +139 -0
  352. package/lib/render/overviewMap/geometry.js +245 -0
  353. package/lib/render/overviewMap/geometry.js.map +1 -0
  354. package/lib/render/overviewMap/heatView.d.ts +91 -0
  355. package/lib/render/overviewMap/heatView.js +143 -0
  356. package/lib/render/overviewMap/heatView.js.map +1 -0
  357. package/lib/render/overviewMap/hotelView.d.ts +82 -0
  358. package/lib/render/overviewMap/hotelView.js +136 -0
  359. package/lib/render/overviewMap/hotelView.js.map +1 -0
  360. package/lib/render/overviewMap/model.d.ts +97 -0
  361. package/lib/render/overviewMap/model.js +116 -0
  362. package/lib/render/overviewMap/model.js.map +1 -0
  363. package/lib/render/overviewMap/paint.d.ts +63 -0
  364. package/lib/render/overviewMap/paint.js +168 -0
  365. package/lib/render/overviewMap/paint.js.map +1 -0
  366. package/lib/render/overviewMap/style.d.ts +46 -0
  367. package/lib/render/overviewMap/style.js +117 -0
  368. package/lib/render/overviewMap/style.js.map +1 -0
  369. package/lib/render/overviewMap/tierView.d.ts +103 -0
  370. package/lib/render/overviewMap/tierView.js +209 -0
  371. package/lib/render/overviewMap/tierView.js.map +1 -0
  372. package/lib/render/overviewMap/viewMark.d.ts +69 -0
  373. package/lib/render/overviewMap/viewMark.js +103 -0
  374. package/lib/render/overviewMap/viewMark.js.map +1 -0
  375. package/lib/render/overviewMap/views.d.ts +24 -0
  376. package/lib/render/overviewMap/views.js +29 -0
  377. package/lib/render/overviewMap/views.js.map +1 -0
  378. package/lib/render/pinchTracker.d.ts +91 -0
  379. package/lib/render/pinchTracker.js +145 -0
  380. package/lib/render/pinchTracker.js.map +1 -0
  381. package/lib/render/pixelSprites/amusements.d.ts +32 -0
  382. package/lib/render/pixelSprites/amusements.js +243 -0
  383. package/lib/render/pixelSprites/amusements.js.map +1 -0
  384. package/lib/render/pixelSprites/artScale.d.ts +97 -0
  385. package/lib/render/pixelSprites/artScale.js +151 -0
  386. package/lib/render/pixelSprites/artScale.js.map +1 -0
  387. package/lib/render/pixelSprites/boutique.d.ts +30 -0
  388. package/lib/render/pixelSprites/boutique.js +244 -0
  389. package/lib/render/pixelSprites/boutique.js.map +1 -0
  390. package/lib/render/pixelSprites/clinic.d.ts +30 -0
  391. package/lib/render/pixelSprites/clinic.js +184 -0
  392. package/lib/render/pixelSprites/clinic.js.map +1 -0
  393. package/lib/render/pixelSprites/common.d.ts +185 -0
  394. package/lib/render/pixelSprites/common.js +449 -0
  395. package/lib/render/pixelSprites/common.js.map +1 -0
  396. package/lib/render/pixelSprites/daycare.d.ts +3 -0
  397. package/lib/render/pixelSprites/daycare.js +99 -0
  398. package/lib/render/pixelSprites/daycare.js.map +1 -0
  399. package/lib/render/pixelSprites/dollhouse.d.ts +45 -0
  400. package/lib/render/pixelSprites/dollhouse.js +110 -0
  401. package/lib/render/pixelSprites/dollhouse.js.map +1 -0
  402. package/lib/render/pixelSprites/fitness.d.ts +30 -0
  403. package/lib/render/pixelSprites/fitness.js +176 -0
  404. package/lib/render/pixelSprites/fitness.js.map +1 -0
  405. package/lib/render/pixelSprites/food.d.ts +27 -0
  406. package/lib/render/pixelSprites/food.interiors.d.ts +38 -0
  407. package/lib/render/pixelSprites/food.interiors.js +516 -0
  408. package/lib/render/pixelSprites/food.interiors.js.map +1 -0
  409. package/lib/render/pixelSprites/food.js +36 -0
  410. package/lib/render/pixelSprites/food.js.map +1 -0
  411. package/lib/render/pixelSprites/food.kit.d.ts +50 -0
  412. package/lib/render/pixelSprites/food.kit.js +140 -0
  413. package/lib/render/pixelSprites/food.kit.js.map +1 -0
  414. package/lib/render/pixelSprites/food.looks.d.ts +45 -0
  415. package/lib/render/pixelSprites/food.looks.js +56 -0
  416. package/lib/render/pixelSprites/food.looks.js.map +1 -0
  417. package/lib/render/pixelSprites/layers.d.ts +49 -0
  418. package/lib/render/pixelSprites/layers.js +61 -0
  419. package/lib/render/pixelSprites/layers.js.map +1 -0
  420. package/lib/render/pixelSprites/nightclub.d.ts +3 -0
  421. package/lib/render/pixelSprites/nightclub.js +108 -0
  422. package/lib/render/pixelSprites/nightclub.js.map +1 -0
  423. package/lib/render/pixelSprites/people.d.ts +168 -0
  424. package/lib/render/pixelSprites/people.js +431 -0
  425. package/lib/render/pixelSprites/people.js.map +1 -0
  426. package/lib/render/pixelSprites/residential.d.ts +5 -0
  427. package/lib/render/pixelSprites/residential.js +506 -0
  428. package/lib/render/pixelSprites/residential.js.map +1 -0
  429. package/lib/render/pixelSprites/residential.looks.d.ts +40 -0
  430. package/lib/render/pixelSprites/residential.looks.js +43 -0
  431. package/lib/render/pixelSprites/residential.looks.js.map +1 -0
  432. package/lib/render/pixelSprites/residential.roaches.d.ts +38 -0
  433. package/lib/render/pixelSprites/residential.roaches.js +88 -0
  434. package/lib/render/pixelSprites/residential.roaches.js.map +1 -0
  435. package/lib/render/pixelSprites/residentialRentalSprites.d.ts +11 -0
  436. package/lib/render/pixelSprites/residentialRentalSprites.js +19 -0
  437. package/lib/render/pixelSprites/residentialRentalSprites.js.map +1 -0
  438. package/lib/render/pixelSprites/shop.d.ts +14 -0
  439. package/lib/render/pixelSprites/shop.interiors.d.ts +50 -0
  440. package/lib/render/pixelSprites/shop.interiors.js +382 -0
  441. package/lib/render/pixelSprites/shop.interiors.js.map +1 -0
  442. package/lib/render/pixelSprites/shop.js +72 -0
  443. package/lib/render/pixelSprites/shop.js.map +1 -0
  444. package/lib/render/pixelSprites/shop.looks.d.ts +17 -0
  445. package/lib/render/pixelSprites/shop.looks.js +24 -0
  446. package/lib/render/pixelSprites/shop.looks.js.map +1 -0
  447. package/lib/render/pixelSprites/skyBar.d.ts +11 -0
  448. package/lib/render/pixelSprites/skyBar.js +125 -0
  449. package/lib/render/pixelSprites/skyBar.js.map +1 -0
  450. package/lib/render/pixelSprites/spa.d.ts +3 -0
  451. package/lib/render/pixelSprites/spa.js +88 -0
  452. package/lib/render/pixelSprites/spa.js.map +1 -0
  453. package/lib/render/pixelSprites.d.ts +33 -0
  454. package/lib/render/pixelSprites.js +167 -0
  455. package/lib/render/pixelSprites.js.map +1 -0
  456. package/lib/render/regionGrid.d.ts +49 -0
  457. package/lib/render/regionGrid.js +82 -0
  458. package/lib/render/regionGrid.js.map +1 -0
  459. package/lib/render/regionPaint.d.ts +15 -0
  460. package/lib/render/regionPaint.js +33 -0
  461. package/lib/render/regionPaint.js.map +1 -0
  462. package/lib/render/renderSim.d.ts +104 -0
  463. package/lib/render/renderSim.js +2 -0
  464. package/lib/render/renderSim.js.map +1 -0
  465. package/lib/render/roomPortrait.d.ts +35 -0
  466. package/lib/render/roomPortrait.js +142 -0
  467. package/lib/render/roomPortrait.js.map +1 -0
  468. package/lib/render/roomShading.d.ts +29 -0
  469. package/lib/render/roomShading.js +43 -0
  470. package/lib/render/roomShading.js.map +1 -0
  471. package/lib/render/scale.d.ts +31 -0
  472. package/lib/render/scale.js +34 -0
  473. package/lib/render/scale.js.map +1 -0
  474. package/lib/render/sceneryLayout.d.ts +234 -0
  475. package/lib/render/sceneryLayout.js +199 -0
  476. package/lib/render/sceneryLayout.js.map +1 -0
  477. package/lib/render/sprites/common.d.ts +41 -0
  478. package/lib/render/sprites/common.js +46 -0
  479. package/lib/render/sprites/common.js.map +1 -0
  480. package/lib/render/sprites/escalator.d.ts +27 -0
  481. package/lib/render/sprites/escalator.js +156 -0
  482. package/lib/render/sprites/escalator.js.map +1 -0
  483. package/lib/render/sprites/events.d.ts +56 -0
  484. package/lib/render/sprites/events.js +280 -0
  485. package/lib/render/sprites/events.js.map +1 -0
  486. package/lib/render/sprites/facilities/garage.d.ts +23 -0
  487. package/lib/render/sprites/facilities/garage.js +230 -0
  488. package/lib/render/sprites/facilities/garage.js.map +1 -0
  489. package/lib/render/sprites/facilities/recycling.d.ts +3 -0
  490. package/lib/render/sprites/facilities/recycling.js +210 -0
  491. package/lib/render/sprites/facilities/recycling.js.map +1 -0
  492. package/lib/render/sprites/facilities/recyclingLook.d.ts +49 -0
  493. package/lib/render/sprites/facilities/recyclingLook.js +52 -0
  494. package/lib/render/sprites/facilities/recyclingLook.js.map +1 -0
  495. package/lib/render/sprites/facilities/service.d.ts +14 -0
  496. package/lib/render/sprites/facilities/service.js +437 -0
  497. package/lib/render/sprites/facilities/service.js.map +1 -0
  498. package/lib/render/sprites/facilities/serviceKit.d.ts +61 -0
  499. package/lib/render/sprites/facilities/serviceKit.js +113 -0
  500. package/lib/render/sprites/facilities/serviceKit.js.map +1 -0
  501. package/lib/render/sprites/facilities/vehicles.d.ts +38 -0
  502. package/lib/render/sprites/facilities/vehicles.js +276 -0
  503. package/lib/render/sprites/facilities/vehicles.js.map +1 -0
  504. package/lib/render/sprites/facilities/venue.d.ts +28 -0
  505. package/lib/render/sprites/facilities/venue.js +211 -0
  506. package/lib/render/sprites/facilities/venue.js.map +1 -0
  507. package/lib/render/sprites/facilities/weddingHall.d.ts +9 -0
  508. package/lib/render/sprites/facilities/weddingHall.js +410 -0
  509. package/lib/render/sprites/facilities/weddingHall.js.map +1 -0
  510. package/lib/render/sprites/facilities.d.ts +22 -0
  511. package/lib/render/sprites/facilities.js +24 -0
  512. package/lib/render/sprites/facilities.js.map +1 -0
  513. package/lib/render/sprites/helicopter.d.ts +11 -0
  514. package/lib/render/sprites/helicopter.js +60 -0
  515. package/lib/render/sprites/helicopter.js.map +1 -0
  516. package/lib/render/sprites/sky.d.ts +67 -0
  517. package/lib/render/sprites/sky.js +85 -0
  518. package/lib/render/sprites/sky.js.map +1 -0
  519. package/lib/render/sprites/spiralStair.d.ts +19 -0
  520. package/lib/render/sprites/spiralStair.js +111 -0
  521. package/lib/render/sprites/spiralStair.js.map +1 -0
  522. package/lib/render/sprites/structure/entrance.d.ts +35 -0
  523. package/lib/render/sprites/structure/entrance.js +347 -0
  524. package/lib/render/sprites/structure/entrance.js.map +1 -0
  525. package/lib/render/sprites/structure/lobby.d.ts +88 -0
  526. package/lib/render/sprites/structure/lobby.js +350 -0
  527. package/lib/render/sprites/structure/lobby.js.map +1 -0
  528. package/lib/render/sprites/structure/revolvingDoor.d.ts +53 -0
  529. package/lib/render/sprites/structure/revolvingDoor.js +184 -0
  530. package/lib/render/sprites/structure/revolvingDoor.js.map +1 -0
  531. package/lib/render/sprites/structure/rooftop.d.ts +93 -0
  532. package/lib/render/sprites/structure/rooftop.js +302 -0
  533. package/lib/render/sprites/structure/rooftop.js.map +1 -0
  534. package/lib/render/sprites/structure/shell.d.ts +19 -0
  535. package/lib/render/sprites/structure/shell.js +142 -0
  536. package/lib/render/sprites/structure/shell.js.map +1 -0
  537. package/lib/render/sprites/structure/skyBridge.d.ts +28 -0
  538. package/lib/render/sprites/structure/skyBridge.js +259 -0
  539. package/lib/render/sprites/structure/skyBridge.js.map +1 -0
  540. package/lib/render/sprites/structure/tallLobby.d.ts +8 -0
  541. package/lib/render/sprites/structure/tallLobby.js +166 -0
  542. package/lib/render/sprites/structure/tallLobby.js.map +1 -0
  543. package/lib/render/sprites/structure/tallLobbyPieces.d.ts +18 -0
  544. package/lib/render/sprites/structure/tallLobbyPieces.js +82 -0
  545. package/lib/render/sprites/structure/tallLobbyPieces.js.map +1 -0
  546. package/lib/render/sprites/structure.d.ts +15 -0
  547. package/lib/render/sprites/structure.js +16 -0
  548. package/lib/render/sprites/structure.js.map +1 -0
  549. package/lib/render/sprites/transport.d.ts +30 -0
  550. package/lib/render/sprites/transport.js +376 -0
  551. package/lib/render/sprites/transport.js.map +1 -0
  552. package/lib/render/sprites.d.ts +16 -0
  553. package/lib/render/sprites.js +108 -0
  554. package/lib/render/sprites.js.map +1 -0
  555. package/lib/render/venueFlights.d.ts +61 -0
  556. package/lib/render/venueFlights.js +50 -0
  557. package/lib/render/venueFlights.js.map +1 -0
  558. package/lib/shared/engineTypes.d.ts +256 -0
  559. package/lib/shared/engineTypes.js +8 -0
  560. package/lib/shared/engineTypes.js.map +1 -0
  561. package/lib/shared/floorRuns.d.ts +22 -0
  562. package/lib/shared/floorRuns.js +39 -0
  563. package/lib/shared/floorRuns.js.map +1 -0
  564. package/lib/shared/inputEvents.d.ts +18 -0
  565. package/lib/shared/inputEvents.js +23 -0
  566. package/lib/shared/inputEvents.js.map +1 -0
  567. package/lib/shared/serializedGame.d.ts +142 -0
  568. package/lib/shared/serializedGame.js +2 -0
  569. package/lib/shared/serializedGame.js.map +1 -0
  570. package/lib/shared/types.d.ts +298 -0
  571. package/lib/shared/types.js +47 -0
  572. package/lib/shared/types.js.map +1 -0
  573. package/lib/shared/unitState.d.ts +36 -0
  574. package/lib/shared/unitState.js +42 -0
  575. package/lib/shared/unitState.js.map +1 -0
  576. package/lib/shared/vacateReasonText.d.ts +20 -0
  577. package/lib/shared/vacateReasonText.js +23 -0
  578. package/lib/shared/vacateReasonText.js.map +1 -0
  579. package/lib/shared/viewZoom.d.ts +14 -0
  580. package/lib/shared/viewZoom.js +17 -0
  581. package/lib/shared/viewZoom.js.map +1 -0
  582. package/lib/shared/wellFormed.d.ts +14 -0
  583. package/lib/shared/wellFormed.js +19 -0
  584. package/lib/shared/wellFormed.js.map +1 -0
  585. package/lib/simport/cards.d.ts +26 -0
  586. package/lib/simport/cards.js +138 -0
  587. package/lib/simport/cards.js.map +1 -0
  588. package/lib/simport/clockView.d.ts +24 -0
  589. package/lib/simport/clockView.js +43 -0
  590. package/lib/simport/clockView.js.map +1 -0
  591. package/lib/simport/commands.d.ts +215 -0
  592. package/lib/simport/commands.js +2 -0
  593. package/lib/simport/commands.js.map +1 -0
  594. package/lib/simport/emergencyReads.d.ts +19 -0
  595. package/lib/simport/emergencyReads.js +47 -0
  596. package/lib/simport/emergencyReads.js.map +1 -0
  597. package/lib/simport/enginePort.d.ts +433 -0
  598. package/lib/simport/enginePort.js +11 -0
  599. package/lib/simport/enginePort.js.map +1 -0
  600. package/lib/simport/fixtures/catalog.classic.json +2137 -0
  601. package/lib/simport/fixtures/catalog.modern.json +2515 -0
  602. package/lib/simport/fixtures/viewLayout.json +927 -0
  603. package/lib/simport/headerClock.d.ts +31 -0
  604. package/lib/simport/headerClock.js +29 -0
  605. package/lib/simport/headerClock.js.map +1 -0
  606. package/lib/simport/panels.d.ts +243 -0
  607. package/lib/simport/panels.js +2 -0
  608. package/lib/simport/panels.js.map +1 -0
  609. package/lib/simport/personCards.d.ts +63 -0
  610. package/lib/simport/personCards.js +55 -0
  611. package/lib/simport/personCards.js.map +1 -0
  612. package/lib/simport/portCodes.d.ts +41 -0
  613. package/lib/simport/portCodes.js +49 -0
  614. package/lib/simport/portCodes.js.map +1 -0
  615. package/lib/simport/portEvents.d.ts +39 -0
  616. package/lib/simport/portEvents.js +43 -0
  617. package/lib/simport/portEvents.js.map +1 -0
  618. package/lib/simport/portRenderSim.d.ts +70 -0
  619. package/lib/simport/portRenderSim.js +129 -0
  620. package/lib/simport/portRenderSim.js.map +1 -0
  621. package/lib/simport/queries.d.ts +64 -0
  622. package/lib/simport/queries.js +30 -0
  623. package/lib/simport/queries.js.map +1 -0
  624. package/lib/simport/recyclingPort.d.ts +13 -0
  625. package/lib/simport/recyclingPort.js +2 -0
  626. package/lib/simport/recyclingPort.js.map +1 -0
  627. package/lib/simport/request.d.ts +44 -0
  628. package/lib/simport/request.js +214 -0
  629. package/lib/simport/request.js.map +1 -0
  630. package/lib/simport/roomTiers.d.ts +102 -0
  631. package/lib/simport/roomTiers.js +122 -0
  632. package/lib/simport/roomTiers.js.map +1 -0
  633. package/lib/simport/scheduleSlots.d.ts +19 -0
  634. package/lib/simport/scheduleSlots.js +87 -0
  635. package/lib/simport/scheduleSlots.js.map +1 -0
  636. package/lib/simport/skyBridgePort.d.ts +20 -0
  637. package/lib/simport/skyBridgePort.js +2 -0
  638. package/lib/simport/skyBridgePort.js.map +1 -0
  639. package/lib/simport/skyBridgeView.d.ts +15 -0
  640. package/lib/simport/skyBridgeView.js +42 -0
  641. package/lib/simport/skyBridgeView.js.map +1 -0
  642. package/lib/simport/statsSheet.d.ts +15 -0
  643. package/lib/simport/statsSheet.js +101 -0
  644. package/lib/simport/statsSheet.js.map +1 -0
  645. package/lib/simport/tdtRecords.d.ts +9 -0
  646. package/lib/simport/tdtRecords.js +112 -0
  647. package/lib/simport/tdtRecords.js.map +1 -0
  648. package/lib/simport/tdtReportFacts.d.ts +110 -0
  649. package/lib/simport/tdtReportFacts.js +8 -0
  650. package/lib/simport/tdtReportFacts.js.map +1 -0
  651. package/lib/simport/trafficPort.d.ts +22 -0
  652. package/lib/simport/trafficPort.js +2 -0
  653. package/lib/simport/trafficPort.js.map +1 -0
  654. package/lib/simport/view.d.ts +275 -0
  655. package/lib/simport/view.js +2 -0
  656. package/lib/simport/view.js.map +1 -0
  657. package/lib/simport/viewReader.d.ts +89 -0
  658. package/lib/simport/viewReader.js +426 -0
  659. package/lib/simport/viewReader.js.map +1 -0
  660. package/lib/styles/game/appearance.css +108 -0
  661. package/lib/styles/game/base.css +68 -0
  662. package/lib/styles/game/components.css +69 -0
  663. package/lib/styles/game/desk-title.css +183 -0
  664. package/lib/styles/game/desk.css +487 -0
  665. package/lib/styles/game/dialogs.css +360 -0
  666. package/lib/styles/game/editor-sidebar.css +116 -0
  667. package/lib/styles/game/elevator-schedule.css +217 -0
  668. package/lib/styles/game/file-dialog.css +470 -0
  669. package/lib/styles/game/help.css +141 -0
  670. package/lib/styles/game/launch-fireworks.css +17 -0
  671. package/lib/styles/game/media-landscape.css +333 -0
  672. package/lib/styles/game/media-phone.css +303 -0
  673. package/lib/styles/game/media-tablet-touch.css +177 -0
  674. package/lib/styles/game/menubar.css +158 -0
  675. package/lib/styles/game/new-tower.css +219 -0
  676. package/lib/styles/game/onboarding.css +32 -0
  677. package/lib/styles/game/screen-saver.css +85 -0
  678. package/lib/styles/game/splash.css +413 -0
  679. package/lib/styles/game/stats-saves.css +106 -0
  680. package/lib/styles/game/tools-stage.css +340 -0
  681. package/lib/styles/game/topbar.css +191 -0
  682. package/lib/styles/menu-bar.css +108 -0
  683. package/lib/styles/not-found.css +335 -0
  684. package/lib/styles/overview-map-views.css +88 -0
  685. package/lib/styles/overview-map.css +195 -0
  686. package/lib/styles/retro-components.css +179 -0
  687. package/lib/styles/retro-page.css +254 -0
  688. package/lib/styles/retro-tokens.css +122 -0
  689. package/lib/styles/schemes/high-contrast.css +173 -0
  690. package/lib/styles/schemes/skyline.css +134 -0
  691. package/lib/styles.css +66 -0
  692. package/lib/ui/desk/deskGeometry.d.ts +59 -0
  693. package/lib/ui/desk/deskGeometry.js +106 -0
  694. package/lib/ui/desk/deskGeometry.js.map +1 -0
  695. package/lib/ui/desk/deskWindow.d.ts +90 -0
  696. package/lib/ui/desk/deskWindow.js +253 -0
  697. package/lib/ui/desk/deskWindow.js.map +1 -0
  698. package/lib/ui/desk/deskWindowMenu.d.ts +55 -0
  699. package/lib/ui/desk/deskWindowMenu.js +143 -0
  700. package/lib/ui/desk/deskWindowMenu.js.map +1 -0
  701. package/lib/ui/escape.d.ts +1 -0
  702. package/lib/ui/escape.js +14 -0
  703. package/lib/ui/escape.js.map +1 -0
  704. package/lib/ui/format.d.ts +14 -0
  705. package/lib/ui/format.js +36 -0
  706. package/lib/ui/format.js.map +1 -0
  707. package/lib/ui/iconPaths.generated.d.ts +4 -0
  708. package/lib/ui/iconPaths.generated.js +68 -0
  709. package/lib/ui/iconPaths.generated.js.map +1 -0
  710. package/lib/ui/icons.d.ts +83 -0
  711. package/lib/ui/icons.js +156 -0
  712. package/lib/ui/icons.js.map +1 -0
  713. package/lib/ui/menuBar.d.ts +94 -0
  714. package/lib/ui/menuBar.js +361 -0
  715. package/lib/ui/menuBar.js.map +1 -0
  716. package/lib/ui/modalPrecedence.d.ts +108 -0
  717. package/lib/ui/modalPrecedence.js +165 -0
  718. package/lib/ui/modalPrecedence.js.map +1 -0
  719. package/lib/ui/movableWindow.d.ts +124 -0
  720. package/lib/ui/movableWindow.js +247 -0
  721. package/lib/ui/movableWindow.js.map +1 -0
  722. package/lib/ui/overviewMapInput.d.ts +109 -0
  723. package/lib/ui/overviewMapInput.js +135 -0
  724. package/lib/ui/overviewMapInput.js.map +1 -0
  725. package/lib/ui/uiModal.d.ts +38 -0
  726. package/lib/ui/uiModal.js +70 -0
  727. package/lib/ui/uiModal.js.map +1 -0
  728. package/lib/wasmhost/buildSection.d.ts +54 -0
  729. package/lib/wasmhost/buildSection.js +143 -0
  730. package/lib/wasmhost/buildSection.js.map +1 -0
  731. package/lib/wasmhost/catalogCheck.d.ts +11 -0
  732. package/lib/wasmhost/catalogCheck.js +43 -0
  733. package/lib/wasmhost/catalogCheck.js.map +1 -0
  734. package/lib/wasmhost/engineAssets.d.ts +57 -0
  735. package/lib/wasmhost/engineAssets.js +63 -0
  736. package/lib/wasmhost/engineAssets.js.map +1 -0
  737. package/lib/wasmhost/engineBoot.d.ts +165 -0
  738. package/lib/wasmhost/engineBoot.js +254 -0
  739. package/lib/wasmhost/engineBoot.js.map +1 -0
  740. package/lib/wasmhost/engineChoice.d.ts +6 -0
  741. package/lib/wasmhost/engineChoice.js +2 -0
  742. package/lib/wasmhost/engineChoice.js.map +1 -0
  743. package/lib/wasmhost/engineDiagnostics.d.ts +66 -0
  744. package/lib/wasmhost/engineDiagnostics.js +189 -0
  745. package/lib/wasmhost/engineDiagnostics.js.map +1 -0
  746. package/lib/wasmhost/engineDiagnosticsLive.d.ts +15 -0
  747. package/lib/wasmhost/engineDiagnosticsLive.js +31 -0
  748. package/lib/wasmhost/engineDiagnosticsLive.js.map +1 -0
  749. package/lib/wasmhost/engineIdentity.d.ts +30 -0
  750. package/lib/wasmhost/engineIdentity.js +59 -0
  751. package/lib/wasmhost/engineIdentity.js.map +1 -0
  752. package/lib/wasmhost/engineLabel.d.ts +40 -0
  753. package/lib/wasmhost/engineLabel.js +50 -0
  754. package/lib/wasmhost/engineLabel.js.map +1 -0
  755. package/lib/wasmhost/engineLoad.d.ts +48 -0
  756. package/lib/wasmhost/engineLoad.js +53 -0
  757. package/lib/wasmhost/engineLoad.js.map +1 -0
  758. package/lib/wasmhost/enginePackageCheck.d.ts +77 -0
  759. package/lib/wasmhost/enginePackageCheck.js +274 -0
  760. package/lib/wasmhost/enginePackageCheck.js.map +1 -0
  761. package/lib/wasmhost/enginePackageNames.d.ts +25 -0
  762. package/lib/wasmhost/enginePackageNames.js +28 -0
  763. package/lib/wasmhost/enginePackageNames.js.map +1 -0
  764. package/lib/wasmhost/enginePackageRecord.d.ts +78 -0
  765. package/lib/wasmhost/enginePackageRecord.js +108 -0
  766. package/lib/wasmhost/enginePackageRecord.js.map +1 -0
  767. package/lib/wasmhost/engineRepair.d.ts +55 -0
  768. package/lib/wasmhost/engineRepair.js +183 -0
  769. package/lib/wasmhost/engineRepair.js.map +1 -0
  770. package/lib/wasmhost/frameView.d.ts +87 -0
  771. package/lib/wasmhost/frameView.js +133 -0
  772. package/lib/wasmhost/frameView.js.map +1 -0
  773. package/lib/wasmhost/hostFault.d.ts +40 -0
  774. package/lib/wasmhost/hostFault.js +94 -0
  775. package/lib/wasmhost/hostFault.js.map +1 -0
  776. package/lib/wasmhost/loadEngineModule.d.ts +79 -0
  777. package/lib/wasmhost/loadEngineModule.js +66 -0
  778. package/lib/wasmhost/loadEngineModule.js.map +1 -0
  779. package/lib/wasmhost/packageHash.d.ts +48 -0
  780. package/lib/wasmhost/packageHash.js +436 -0
  781. package/lib/wasmhost/packageHash.js.map +1 -0
  782. package/lib/wasmhost/rustEngine.d.ts +49 -0
  783. package/lib/wasmhost/rustEngine.js +63 -0
  784. package/lib/wasmhost/rustEngine.js.map +1 -0
  785. package/lib/wasmhost/slotPopulation.d.ts +19 -0
  786. package/lib/wasmhost/slotPopulation.js +69 -0
  787. package/lib/wasmhost/slotPopulation.js.map +1 -0
  788. package/lib/wasmhost/telemetry.d.ts +31 -0
  789. package/lib/wasmhost/telemetry.js +13 -0
  790. package/lib/wasmhost/telemetry.js.map +1 -0
  791. package/package.json +80 -4
@@ -0,0 +1,866 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+
4
+ /**
5
+ * One running simulation. Construct with `newGame`, `fromSave` or
6
+ * `fromVctower`; drive it with the command methods; read it back with
7
+ * `serialize` and the two hashed views.
8
+ */
9
+ export class Engine {
10
+ private constructor();
11
+ free(): void;
12
+ [Symbol.dispose](): void;
13
+ /**
14
+ * `addCar(id)`: JSON `{ ok, reason?, delta }`; the engine checks the car
15
+ * limit and the balance and pays for the car itself. The id is typed
16
+ * `number` but read raw (#923): anything but a whole JS number within
17
+ * `Number.isSafeInteger` is refused with `INVALID_REQUEST`, never coerced.
18
+ */
19
+ addCar(id: number): string;
20
+ /**
21
+ * `adjustRent(id, dir)`: the new rent, or null when nothing moved. Read
22
+ * raw (#996): an id that is not a whole JS number within
23
+ * `Number.isSafeInteger`, or a `dir` that is not exactly 1 or -1, is
24
+ * refused with null.
25
+ */
26
+ adjustRent(id: number, dir: number): number | undefined;
27
+ adoptTdt(): Float64Array;
28
+ /**
29
+ * Move the clock by `minutes` and run nothing: the TypeScript
30
+ * `clock.advance(minutes)`. Whatever pass the move skips is owed and runs
31
+ * on the next tick, as on the TypeScript engine. Tooling only (the
32
+ * gallery's clock pin); no game command reaches it.
33
+ */
34
+ advanceClock(minutes: number): void;
35
+ advance(owed: number, dt_ms: number, minutes_per_second: number, steady_clock: boolean, step: boolean): Float64Array;
36
+ answerChoice(accept: boolean): Float64Array;
37
+ /**
38
+ * `applyRentBatch(kind, target, onlyDefaultPriced)` with the target as
39
+ * JSON text (a number, `"default"` or `"noRate"`): the result counters
40
+ * as JSON, or null when the batch does not apply: an unknown or unpriced
41
+ * kind, a No Rate target off the ladder, or a target that is not
42
+ * `"default"`, `"noRate"` or a finite number, as in TypeScript.
43
+ */
44
+ applyRentBatch(kind: string, target: string, only_default_priced: boolean): string | undefined;
45
+ /**
46
+ * `sim.autoBridge`.
47
+ */
48
+ autoBridge(): boolean;
49
+ /**
50
+ * The Auto-tune proposal for a shaft (`wasm_port_life.rs`): a keyed
51
+ * object, read-only. `draft` is the dialog's working schedule in
52
+ * `scheduleShaft`'s slots, or empty for none.
53
+ */
54
+ autoTuneProposal(id: number, draft: Float64Array, weekend_view: boolean): any;
55
+ /**
56
+ * `beginExtend(id)`: open an extend gesture on an elevator (#990), its
57
+ * high-water mark starting at the shaft's span; any open gesture is
58
+ * dropped first. False, with no gesture open, when `id` is not a whole
59
+ * JS number or names no elevator. The id is read raw, as for `addCar`.
60
+ */
61
+ beginExtend(id: number): boolean;
62
+ /**
63
+ * The bomb search while one runs, as JSON `{ deadline, sweeping,
64
+ * searched, seq, lockdown }` (`sweeping` holds `{ floor, left, right }`
65
+ * for each floor a guard is on, `searched` the floors already clear,
66
+ * `lockdown` whether guards are still out so people and cars hold
67
+ * still), or null. The bomb's hiding place stays out. A host reads it
68
+ * when the frame's `bombSearchSeq` moves.
69
+ */
70
+ bombSearch(): string | undefined;
71
+ /**
72
+ * Tooling: a bomb threat, outside an open gesture as a fire is.
73
+ */
74
+ bombThreat(): void;
75
+ bookExterminator(): Float64Array;
76
+ buildAt(kind: number, floor: number, x: number): Float64Array;
77
+ buildShaft(kind: number, x: number, bottom: number, top: number): Float64Array;
78
+ /**
79
+ * `buildSkyBridge(floor, x)` (Modern): lays the whole sky bridge a
80
+ * click at the cell asks for, every missing tile of the gap between
81
+ * two sky lobbies, or nothing, in look `look` (an index into the
82
+ * catalog's `rules.skyBridge.looks`; the glass skywalk when omitted).
83
+ * `[status, delta, tiles]`.
84
+ */
85
+ buildSkyBridge(floor: number, x: number, look: number): Float64Array;
86
+ /**
87
+ * `buildTransport(kind, x, bottom, top)`: JSON `{ ok, reason? }`. An
88
+ * unknown kind is refused with "Unknown facility.".
89
+ */
90
+ buildTransport(kind: string, x: number, bottom: number, top: number): string;
91
+ /**
92
+ * `build(kind, floor, x)`: JSON `{ ok, reason? }`. An unknown kind is
93
+ * refused with "Unknown facility.", as TypeScript's `build` does.
94
+ */
95
+ build(kind: string, floor: number, x: number): string;
96
+ /**
97
+ * `callExterminator()`: JSON `{ ok, reason?, cost?, rooms? }`, the
98
+ * TypeScript `ExterminatorResult`: `cost` and `rooms` ride on a booking
99
+ * and on the "funds" refusal, the other refusals carry the reason alone.
100
+ */
101
+ callExterminator(): string;
102
+ callFireRescue(): Float64Array;
103
+ /**
104
+ * `canBuild(kind, floor, x)`: JSON `{ ok, reason?, cost }`, the dry run
105
+ * `build` makes first. When the placement fits, `cost` is its full
106
+ * price: the facility (a lobby tile where there is no floor yet with
107
+ * that floor), the floor tiles laid under a room, and the tiles
108
+ * bridged to the tower when bridging is on; a "Not enough money."
109
+ * refusal carries that same full price. Any other refusal (placement or
110
+ * star gate) carries the reason `build` would give and the facility's
111
+ * base price. An unknown kind answers the way TypeScript does, with
112
+ * "Unknown facility." and a cost of 0.
113
+ */
114
+ canBuild(kind: string, floor: number, x: number): string;
115
+ changeCars(id: number, add: boolean): Float64Array;
116
+ changeFilm(id: number, tier: number, screen: number): Float64Array;
117
+ chooseAutoBridge(value: boolean): Float64Array;
118
+ /**
119
+ * Tooling only: clear every unit's four retail tallies (patronage and
120
+ * profit, today and yesterday), the render-only fields no economy path
121
+ * reads, so a test can show that clearing them changes no money.
122
+ */
123
+ clearRetailTallies(): void;
124
+ clearStops(id: number): boolean;
125
+ /**
126
+ * Changes whenever a completed trip contributes a commute sample.
127
+ */
128
+ commuteStressRevision(): number;
129
+ /**
130
+ * `crowd.commuteStressByFloor`: the per-origin-floor commute-stress
131
+ * average as JSON `[[floor, seconds], ...]`, by floor. A save carries
132
+ * it with the crowd; a save without one starts empty and fills as trips finish.
133
+ */
134
+ commuteStress(): string;
135
+ /**
136
+ * The ids of the transports behind one floor's congestion reading
137
+ * (`Simulation::congestion_cause`), in the tower's transport order:
138
+ * what the Traffic readout points at when the player taps it. Empty for
139
+ * a floor with no reading and for one that is not a whole number. It
140
+ * builds the reading, so it is a read for a tap, not a frame.
141
+ */
142
+ congestionCause(floor: number): Float64Array;
143
+ congestion(): number;
144
+ crewCoverage(): Float64Array;
145
+ /**
146
+ * The crowd view's hash, as the lock records it.
147
+ */
148
+ crowdDigest(): string;
149
+ /**
150
+ * The hashed crowd view (people, id source, rng), as canonical JSON.
151
+ */
152
+ crowdView(): string;
153
+ demolishTile(floor: number, x: number, bulldoze: boolean): Float64Array;
154
+ demolish(id: number, bulldoze: boolean): Float64Array;
155
+ /**
156
+ * The facts behind the inspector's diagnostics for one unit, as JSON
157
+ * text (`diagnostics::DiagnosticFacts`); TypeScript keeps the wording.
158
+ * Undefined for an id that names no unit (a transport's, zero or a
159
+ * negative one) and for a malformed one (fractional, not finite, past
160
+ * the safe integers), read raw so it cannot wrap onto a real unit.
161
+ * The read may fill the engine's caches, which sit outside the save; it
162
+ * changes nothing in the game.
163
+ */
164
+ diagnosticFacts(id: number): string | undefined;
165
+ drainEvents(): Float64Array;
166
+ /**
167
+ * The gameplay events emitted since the last drain, oldest first, as
168
+ * JSON `[{ name, payload }]` (`engine-rs/src/gameplay/catalog.json`); the
169
+ * buffer is empty afterwards.
170
+ */
171
+ drainGameplayEvents(): string;
172
+ dropStops(id: number): Float64Array;
173
+ /**
174
+ * The hourly elevator telemetry (`elevatorUtil`, `elevatorHourly`,
175
+ * `elevatorOrigins`) as JSON; see `Simulation::telemetry_json`.
176
+ */
177
+ elevatorTelemetry(): string;
178
+ /**
179
+ * `sim.emit(text, kind)`: a log entry at the engine's clock.
180
+ */
181
+ emit(text: string, kind: string): void;
182
+ /**
183
+ * `endExtend()`: close the open extend gesture, if any.
184
+ */
185
+ endExtend(): void;
186
+ evaluateStar(): void;
187
+ evaluatedTower(): boolean;
188
+ eventText(i: number): string | undefined;
189
+ /**
190
+ * The tower as a binary `.vctower` file, stamped as `exportVctower`
191
+ * stamps it; undefined, with the reason in `lastReason()`, on a refusal.
192
+ */
193
+ exportVctowerBytes(app_version: string, saved_at_ms: number): Uint8Array | undefined;
194
+ exportVctower(app_version: string, saved_at_ms: number): string | undefined;
195
+ expressStops(id: number): Float64Array;
196
+ extendShaft(id: number, up: boolean, target_floor: number): Float64Array;
197
+ /**
198
+ * `extendTransport(id, end, targetFloor)`: JSON `{ ok, reason?, delta,
199
+ * bottom, top, added }`, the floors billed past the high-water mark: the
200
+ * open gesture's when `beginExtend` opened one on this shaft, the
201
+ * shaft's span otherwise. Every argument is read raw (#923): an id or
202
+ * floor that is not a whole JS number, or an `end` that is not exactly
203
+ * `"up"` or `"down"`, is refused with `INVALID_REQUEST` and the shaft's
204
+ * ends as they stand.
205
+ */
206
+ extendTransport(id: number, end: "up" | "down", target_floor: number): string;
207
+ /**
208
+ * Security's guards and the rescue helicopter answering a fire, as JSON
209
+ * `{ floor, x, width, guards, helicopter, out, seq }` (`guards` in the
210
+ * bomb search's guard shape, `right` the tile each fights from;
211
+ * `helicopter` `{ called, arrive, sprayEnd, leave }` or null), or null
212
+ * while nobody answers one. A host reads it when the frame's
213
+ * `fireResponseSeq` moves.
214
+ */
215
+ fireResponse(): string | undefined;
216
+ /**
217
+ * The number of units on fire.
218
+ */
219
+ fires(): number;
220
+ flipAutoBridge(): Float64Array;
221
+ /**
222
+ * The raw congestion ratio of one floor (0 for a floor with no reading
223
+ * or one that is not a whole number): the value `hotspot` takes its peak
224
+ * from.
225
+ */
226
+ floorCongestion(floor: number): number;
227
+ /**
228
+ * Tooling only: whether `floor` carries a lobby.
229
+ */
230
+ floorHasLobby(floor: number): boolean;
231
+ /**
232
+ * `floorHeatmap(mode)`'s cells as JSON; a mode that is not one of the
233
+ * four overlays is an error.
234
+ */
235
+ floorHeatmap(mode: string): string;
236
+ foundTower(seed: number, mode: number, calendar: number, unbridged: boolean): Float64Array;
237
+ founder(): boolean;
238
+ /**
239
+ * The per-frame read model as one flat number array (see
240
+ * `frame_view` for the layout): what the host reads every frame while
241
+ * the engine runs the simulation.
242
+ */
243
+ frameView(): Float64Array;
244
+ /**
245
+ * `Simulation.deserialize(JSON.parse(text))`: a serialized game, migrated
246
+ * and loaded, with a lone surrogate escape read as U+FFFD
247
+ * (`load::parse_save_json`). Nothing else the import path does (the
248
+ * founder mark) runs.
249
+ * `markers`, when given, is JSON `{ lastHour, lastDay, lastQuarter,
250
+ * lastMonth, extendGesture?, commuteStress? }`: the live engine's
251
+ * boundary markers, open extend gesture `{ id, bottom, top }` (#990) and
252
+ * commute-stress rows (#1083), which a save does not carry (a load
253
+ * rebuilds the markers from the clock, a founded game keeps them unset
254
+ * until the first boundary, and a load has no gesture and no averages),
255
+ * so a shadow can start exactly where the live engine stands.
256
+ */
257
+ static fromSave(text: string, markers?: string | null): Engine;
258
+ /**
259
+ * `fromVctower` for a file's bytes, which opens the binary `.vctower`
260
+ * file (`VCTOWER2`) as well as the text one.
261
+ */
262
+ static fromVctowerBytes(bytes: Uint8Array, mode?: string | null): Engine;
263
+ /**
264
+ * The import path for a `.vctower` file: decode, migrate and load, then
265
+ * mark a save from before 2.0 as a founder's tower. `mode`, when given,
266
+ * overwrites the save's mode before loading, as a scenario start does.
267
+ */
268
+ static fromVctower(text: string, mode?: string | null): Engine;
269
+ /**
270
+ * How many gameplay events a full buffer has pushed out since this
271
+ * engine was made (a host that drains every frame never sees one).
272
+ */
273
+ gameplayEventsDropped(): number;
274
+ /**
275
+ * How many gameplay events wait for the next drain. A host reads it
276
+ * before draining, so a batch whose text it cannot read is counted as
277
+ * lost (the drain empties the buffer either way).
278
+ */
279
+ gameplayEventsPending(): number;
280
+ generation(): number;
281
+ heatCells(mode: number): Float64Array;
282
+ /**
283
+ * Tooling only: the highest floor anything stands on.
284
+ */
285
+ highestFloor(): number;
286
+ hotspot(): Float64Array;
287
+ /**
288
+ * `housekeepingCoverage()`, as JSON.
289
+ */
290
+ housekeepingCoverage(): string;
291
+ /**
292
+ * `economy.housekeepingReport()`: yesterday's shift result as JSON
293
+ * `{ cleaned, leftover }`, or nothing (`undefined`) before the first
294
+ * morning checkout.
295
+ */
296
+ housekeepingReport(): string | undefined;
297
+ /**
298
+ * Tooling only: whether a shaft or a stair reaches `floor` from the
299
+ * ground lobby.
300
+ */
301
+ isFloorServed(floor: number): boolean;
302
+ labelUnit(id: number, text: string): Float64Array;
303
+ lastReason(): string | undefined;
304
+ /**
305
+ * The closed code of the last refused tower file read or write, one of
306
+ * `too_large`, `not_tower`, `damaged`, `newer_version`, `not_save`,
307
+ * `unreadable`, `modern` or `refused`; undefined when the last one
308
+ * worked. Only the file members set or clear it. Unlike `lastReason()`
309
+ * it never quotes the file, so a host may send it as analytics (#2075).
310
+ */
311
+ lastRefusalCode(): string | undefined;
312
+ loadSave(text: string): Float64Array;
313
+ loadTdt(bytes: Uint8Array, filename: string): Float64Array;
314
+ /**
315
+ * `loadVctower` for a file's bytes: a binary file (`VCTOWER2`) is read as
316
+ * it is, any other as its UTF-8 text.
317
+ */
318
+ loadVctowerBytes(bytes: Uint8Array): Float64Array;
319
+ loadVctower(text: string): Float64Array;
320
+ /**
321
+ * `lobbyHeights()` (#308, #2068): every lobby hall taller than one
322
+ * story, as flat `[floor, x0, x1, height, ...]` quads by floor and then
323
+ * column, `x1` being the hall's last column. Neighboring halls of
324
+ * different heights are separate quads; a one-story hall is in none.
325
+ * Empty when no lobby is tall.
326
+ */
327
+ lobbyHeights(): Float64Array;
328
+ /**
329
+ * `lobbyRise(floor, x)` (#308, #2068): how many stories a lobby tile
330
+ * laid at `(floor, x)` now rises, from the height set by
331
+ * `setLobbyHeight` and the lobby already there: in Modern the hall it
332
+ * is laid against, in Classic the floor's. What `quoteBuild` prices a
333
+ * lobby tile at. 1 when either argument is not a whole number.
334
+ */
335
+ lobbyRise(floor: number, x: number): number;
336
+ logAfter(seq: number): Float64Array;
337
+ logLine(text: string, kind: number): Float64Array;
338
+ /**
339
+ * The log entries emitted after `seq` (the `logSeq` the host last saw),
340
+ * oldest first, as JSON `[{ seq, minute, text, kind }]`. The engine keeps
341
+ * a ring of the last entries, so a host that falls further behind than
342
+ * the ring gets the ring.
343
+ */
344
+ logSince(seq: number): string;
345
+ logText(seq: number): string | undefined;
346
+ /**
347
+ * The loop's pass memos as `[lastHour, lastDay, lastMonth, lastQuarter]`,
348
+ * the counterpart of `seedLoopMemos`. Tooling only: the gallery's handoff
349
+ * carries a hosted tower's owed passes across the load that restarts it.
350
+ */
351
+ loopMemos(): Float64Array;
352
+ markStop(id: number, floor: number, stop: boolean): Float64Array;
353
+ mode(): string;
354
+ money(): number;
355
+ nameTower(text?: string | null): Float64Array;
356
+ /**
357
+ * `Simulation.newGame(seed, mode, modernCalendar, startUnbridged)`; the
358
+ * calendar defaults to the real-world one and the tower starts bridged,
359
+ * as the TypeScript defaults do.
360
+ */
361
+ static newGame(seed: number, mode: string, modern_calendar?: string | null, start_unbridged?: boolean | null): Engine;
362
+ noRate(id: number): Float64Array;
363
+ /**
364
+ * The five onboarding facts as JSON.
365
+ */
366
+ onboardingFacts(): string;
367
+ onboarding(): number;
368
+ /**
369
+ * `paintBrush(kind, floor, tiles)` with the tiles as JSON text: JSON
370
+ * `{ placed, reason? }`, the floor and lobby brush (`brush.rs`) in one
371
+ * call. Every argument is read raw, so a malformed brush is refused
372
+ * with "That request is not valid." as TypeScript refuses it.
373
+ */
374
+ paintBrush(kind: string, floor: number, tiles: string): string;
375
+ paintTiles(kind: number, floor: number, tiles: Float64Array): Float64Array;
376
+ parkingSet(): Float64Array;
377
+ parkingUsage(spots: number): number;
378
+ /**
379
+ * `peakCongestionHotspot()`: `{ ratio, floor }` as JSON.
380
+ */
381
+ peakCongestionHotspot(): string;
382
+ /**
383
+ * The pending player choice as JSON `{ kind, cost, message }`, or null.
384
+ */
385
+ pendingChoice(): string | undefined;
386
+ /**
387
+ * Person `id`'s trip (#2092) as the layout's `personCard` record: why
388
+ * they are out, where the leg they are on began and ends, their wait,
389
+ * and whether they gave up waiting to set out (`gaveUp`, #2188: then
390
+ * the leg runs from where they stand back to where the trip began).
391
+ * Empty for an id that names nobody now. Read only while a card is open.
392
+ */
393
+ personCard(id: number): Float64Array;
394
+ /**
395
+ * Tooling only: `placeBare(kind, floor, x)`, the TypeScript `tower.place`, the bare placement with
396
+ * no charge, star gate or log line. JSON `{ ok, reason?, unitId? }`.
397
+ */
398
+ placeBare(kind: string, floor: number, x: number): string;
399
+ /**
400
+ * Tooling only: `placeTransportBare(kind, x, bottom, top)`, the
401
+ * TypeScript `tower.placeTransport`, the bare
402
+ * shaft placement. JSON `{ ok, reason?, transportId? }`.
403
+ */
404
+ placeTransportBare(kind: string, x: number, bottom: number, top: number): string;
405
+ /**
406
+ * `tower.placeTransportDryRun(kind, x, bottom, top)`: whether
407
+ * `validateTransport` accepts the shaft, read the same way.
408
+ */
409
+ placeTransportDryRun(kind: string, x: number, bottom: number, top: number): boolean;
410
+ positionReachable(floor: number, x: number): boolean;
411
+ /**
412
+ * `previewRentBatch(kind, target, onlyDefaultPriced)` with the target as
413
+ * JSON text, as for `applyRentBatch`: the counters that call would
414
+ * report, as JSON, with nothing written; null where it would not apply.
415
+ * A kind that is not a string is an unknown kind, and the flag is read
416
+ * by JavaScript truthiness, as TypeScript's `opts.onlyDefaultPriced` is.
417
+ */
418
+ previewRentBatch(kind: string, target: string, only_default_priced: boolean): string | undefined;
419
+ /**
420
+ * `priceUnit(u, target)`: the new price, or null when not repriceable.
421
+ */
422
+ priceUnit(id: number, target: number): number | undefined;
423
+ /**
424
+ * The stretch of floor the waiting line at elevator `shaft` on `floor`
425
+ * covers, `[from, to]` in tiles with `from <= to`: from the shaft face
426
+ * it starts at to the rider standing farthest from it. Lines run beside the
427
+ * shaft across any shaft next to it, so this tells a frontend which
428
+ * riders stand in which line. Empty when nobody waits there, the shaft
429
+ * is not an elevator or the floor is not a whole number. One pass over
430
+ * the crowd, so it is a read for a tap, not a frame.
431
+ */
432
+ queueLine(shaft: number, floor: number): Float64Array;
433
+ queueView(): Float64Array;
434
+ quoteBuild(kind: number, floor: number, x: number): Float64Array;
435
+ quoteRentBatch(kind: number, target: number, only_default: boolean): Float64Array;
436
+ quoteShaft(kind: number, x: number, bottom: number, top: number): Float64Array;
437
+ /**
438
+ * `quoteSkyBridge(floor, x)` (Modern): `[ok, cost, from, to]`, the
439
+ * tiles `from..to` a click would lay and their full price, for the
440
+ * tool's ghost; a refusal's text is `lastReason()`.
441
+ */
442
+ quoteSkyBridge(floor: number, x: number): Float64Array;
443
+ recyclingCapacity(): number;
444
+ recyclingCard(): Float64Array;
445
+ recyclingDemandMet(): boolean;
446
+ recyclingFill(): number;
447
+ redo(): Float64Array;
448
+ /**
449
+ * `removeCar(id)`: JSON `{ ok, reason?, delta }` with the half-back refund.
450
+ * The id is read raw, as for `addCar` (#923).
451
+ */
452
+ removeCar(id: number): string;
453
+ /**
454
+ * `removeFacility(id, method)`: the player's sell or bulldoze of a unit
455
+ * or shaft by id, paying the refund. JSON `{ ok, reason?, delta }`. Read
456
+ * raw (#923): an id that is not a whole JS number or a method that is not
457
+ * exactly `"sell"` or `"bulldoze"` is refused with `INVALID_REQUEST`.
458
+ */
459
+ removeFacility(id: number, method: "sell" | "bulldoze"): string;
460
+ /**
461
+ * `tower.removeTransport(id)`: whether a shaft went.
462
+ */
463
+ removeTransport(id: number): boolean;
464
+ /**
465
+ * `tower.removeUnit(id)`: whether a unit went.
466
+ */
467
+ removeUnit(id: number): boolean;
468
+ rentBatch(kind: number, target: number, only_default: boolean): Float64Array;
469
+ /**
470
+ * `rerollSubtype(id)`: the new subtype, or null.
471
+ */
472
+ rerollSubtype(id: number): string | undefined;
473
+ rerollUnit(id: number): Float64Array;
474
+ /**
475
+ * `resizeTransport(id, bottom, top)`, the simulation-layer edit that
476
+ * reports `capacity_changed`: JSON `{ ok: true, added,
477
+ * floorTilesCreated }` or `{ ok: false, reason }`. Read raw (#996): an
478
+ * id or floor that is not a whole JS number within
479
+ * `Number.isSafeInteger` is refused with `INVALID_REQUEST`.
480
+ */
481
+ resizeTransport(id: number, bottom: number, top: number): string;
482
+ /**
483
+ * `resolveChoice(accept ? "accept" : "decline")`.
484
+ */
485
+ resolveChoice(accept: boolean): void;
486
+ restore(text: string): Float64Array;
487
+ /**
488
+ * `restyleSkyBridge(floor, x, look)` (Modern): dresses the whole sky
489
+ * bridge at the cell in look `look`, an index into the catalog's
490
+ * `rules.skyBridge.looks`. Free. `[status, delta]`.
491
+ */
492
+ restyleSkyBridge(floor: number, x: number, look: number): Float64Array;
493
+ /**
494
+ * Tooling only: the room covering a tile (structure excluded),
495
+ * serialized as the save would, or null.
496
+ */
497
+ roomAt(floor: number, x: number): string | undefined;
498
+ /**
499
+ * The Map's Eval and Pricing read (#343 S7): one `roomTier` row (`id`,
500
+ * `floor`, `x`, `evalTier`, `rentTier`) for each room that carries an
501
+ * evaluation or a rent level, in the view's room order, with codes from
502
+ * the layout's `evalTiers` and `rentTiers`. One pass over the rooms, so
503
+ * S8 reads it only on the triggers the Map SPEC lists (the Cost bullet of
504
+ * its S7 section), and not more than once a frame.
505
+ */
506
+ roomTiers(): Float64Array;
507
+ /**
508
+ * `serialize()` stamped with `savedAt` and `appVersion` (appended as the
509
+ * last two keys, as `JSON.stringify` writes them), as UTF-8 bytes: what
510
+ * the game stores for a save, without a JavaScript string in between.
511
+ */
512
+ saveBytes(app_version: string, saved_at_ms: number): Uint8Array;
513
+ /**
514
+ * What moved in the save since the last sync: `{ units, rest }` as JSON
515
+ * text (the changed unit records, and every other top-level key).
516
+ * `undefined` when units were added, removed or reordered, or no full
517
+ * save was taken yet: the host then takes a full one.
518
+ */
519
+ saveDelta(): string | undefined;
520
+ /**
521
+ * The advice and staging facts for a shaft (`wasm_port_life.rs`): a
522
+ * keyed object, read-only. `draft` is the dialog's working schedule in
523
+ * `scheduleShaft`'s slots, or empty for none.
524
+ */
525
+ scheduleFacts(id: number, draft: Float64Array, weekend_view: boolean): any;
526
+ /**
527
+ * The rows and homes a named preset (`rush`, `balanced`, `feeder` or
528
+ * `stage-up-tower`) sets for a shaft (`wasm_port_life.rs`): a keyed
529
+ * object, read-only.
530
+ */
531
+ schedulePreset(id: number, preset: string): any;
532
+ scheduleShaft(id: number, slots: Float64Array): Float64Array;
533
+ /**
534
+ * Replace the elevator telemetry with an `elevatorTelemetry` document.
535
+ * Tooling only (the gallery's engine leg); no game command reaches it.
536
+ */
537
+ seedElevatorTelemetry(json: string): void;
538
+ /**
539
+ * Set the loop's pass memos (`lastHour`, `lastDay`, `lastMonth`,
540
+ * `lastQuarter`), which a load derives from the clock. Tooling only: the
541
+ * gallery's engine leg hands over a tower built in place, whose memos
542
+ * still owe its first passes, and this keeps them owed.
543
+ */
544
+ seedLoopMemos(last_hour: number, last_day: number, last_month: number, last_quarter: number): void;
545
+ /**
546
+ * `sellAt(floor, x)`: whether a facility went. Read raw (#996): a floor
547
+ * or column that is not a whole JS number within `Number.isSafeInteger`
548
+ * is refused with `false`, never coerced.
549
+ */
550
+ sellAt(floor: number, x: number): boolean;
551
+ /**
552
+ * `serialize()`, byte for byte, which also becomes the base the next
553
+ * `saveDelta` is taken against (#1045, `crate::save_delta`).
554
+ */
555
+ serializeForSync(): string;
556
+ /**
557
+ * Tooling only: the save with every unit listed on its own and the
558
+ * version a plain list is stamped with (`Simulation::serialize_unfolded`),
559
+ * the form the conformance state view and checkpoint detail hash, so a
560
+ * harness that hashes a save itself matches the engine's own hashes
561
+ * whatever the floor runs (`save_floor_runs`) fold.
562
+ */
563
+ serializeUnfolded(): string;
564
+ /**
565
+ * `serialize()` as JSON text.
566
+ */
567
+ serialize(): string;
568
+ serviceDiagnostics(id: number): any;
569
+ /**
570
+ * `sim.autoBridge = value`, the direct write an undo restore makes.
571
+ */
572
+ setAutoBridge(value: boolean): void;
573
+ setBackdrop(on: boolean): void;
574
+ setCamera(tile: number, floor: number, zoom: number): Float64Array;
575
+ /**
576
+ * `setCars(id, cars)`: the simulation-layer edit, which reports
577
+ * `capacity_changed`. Read raw (#996): an id or count that is not a
578
+ * whole JS number within `Number.isSafeInteger` is refused with `false`.
579
+ */
580
+ setCars(id: number, cars: number): boolean;
581
+ /**
582
+ * Tooling only: put the clock at `minutes`, forward or back, and run
583
+ * nothing: the TypeScript `sim.clock = new Clock(minutes, calendar)`
584
+ * that tests use to pin an hour once the crowd exists. The loop's pass
585
+ * memos stay as they are, as with `advanceClock`, so a pass the move
586
+ * skips runs once on the next tick. A literal 0 is 07:00 on day 0, as at
587
+ * founding. False, changing nothing, for a value that is not finite, is
588
+ * below 0 or is past [`MAX_TOOL_CLOCK_MINUTES`].
589
+ */
590
+ setClock(minutes: number): boolean;
591
+ /**
592
+ * Tooling only: set a unit's live customer tally (`customersIn`), which
593
+ * no save carries, so a test can fill a venue to capacity mid-run, with
594
+ * the follow-ups a counted arrival makes (an attendance or meal venue's
595
+ * occupants mirror, the meal overlay revision). False for an unknown unit or a
596
+ * count that is not a whole number from 0 to [`MAX_TOOL_OCCUPANTS`];
597
+ * nothing changes then. The unit's kind and its venue cap are not
598
+ * checked: any unit takes the stamp, at any count in that range.
599
+ */
600
+ setCustomersIn(id: number, count: number): boolean;
601
+ /**
602
+ * `setExpressStops(id)`: whether the id names a shaft, as TypeScript's
603
+ * answers; a shaft's stops are rebuilt, an unknown id (or any id while a
604
+ * bomb search locks edits) changes nothing.
605
+ */
606
+ setExpressStops(id: number): boolean;
607
+ /**
608
+ * `setFilmPolicy(id, policy)`: the policy stored, or null.
609
+ */
610
+ setFilmPolicy(id: number, policy: string): string | undefined;
611
+ setFilm(id: number, policy: number, screen: number): Float64Array;
612
+ /**
613
+ * The editor's rename of a unit.
614
+ */
615
+ setLabel(id: number, label: string): boolean;
616
+ /**
617
+ * `setLobbyHeight(height)` (#308): the height, 1 to 3 stories, that a
618
+ * floor's first lobby tile rises to from now on, where the mode lets
619
+ * that floor's lobby rise. Every later `buildAt`, `paintTiles` and
620
+ * `quoteBuild` uses it; a floor that holds a lobby keeps its own
621
+ * height. A height that is not a whole number counts as 1.
622
+ */
623
+ setLobbyHeight(height: number): void;
624
+ setMoney(amount: number): void;
625
+ /**
626
+ * `setNoRate(id)`: whether the unit is now off the market. The id is
627
+ * read raw (#996), as for `sellAt`.
628
+ */
629
+ setNoRate(id: number): boolean;
630
+ setPeopleWindow(floor_lo: number, floor_hi: number, x_lo: number, x_hi: number): void;
631
+ setRent(id: number, target: number): Float64Array;
632
+ /**
633
+ * `Tower.setSchedule(id, schedule)` with the schedule as JSON text. The
634
+ * id is read raw (#996): one that is not a whole JS number within
635
+ * `Number.isSafeInteger` is refused with `false` before the text is read.
636
+ */
637
+ setSchedule(id: number, schedule: string): boolean;
638
+ /**
639
+ * `tower.setStop(id, floor, stop)`: whether the stop is set. Read raw
640
+ * (#996): an id or floor that is not a whole JS number within
641
+ * `Number.isSafeInteger`, or a `stop` that is not a JS boolean, is
642
+ * refused with `false`.
643
+ */
644
+ setStop(id: number, floor: number, stop: boolean): boolean;
645
+ setTicketPrice(id: number, price: number): Float64Array;
646
+ /**
647
+ * `tower.towerName = name`; null clears it, as the host's `undefined`
648
+ * leaves the key out of the save.
649
+ */
650
+ setTowerName(name?: string | null): void;
651
+ /**
652
+ * Tooling only: write unit `id`'s price as given, with no ladder snap
653
+ * or band clamp, or clear it with null, the TypeScript `u.rent = value`.
654
+ * A test uses it for a legacy off-ladder price or an unpriced room,
655
+ * which a load would snap onto the ladder. False, changing nothing, for
656
+ * an unknown unit or a price that is not finite or is below 0.
657
+ */
658
+ setUnitRent(id: number, rent?: number | null): boolean;
659
+ /**
660
+ * Tooling only: set a unit's state by its save name, and its occupants
661
+ * when given (a test holds a venue open or a condo full). False for an
662
+ * unknown unit or state, for "construction" and "fire" (each needs its
663
+ * own timer or event record, which this write cannot make), or for
664
+ * occupants that are not a whole number from 0 to
665
+ * [`MAX_TOOL_OCCUPANTS`]; nothing changes then.
666
+ */
667
+ setUnitState(id: number, state: string, occupants?: number | null): boolean;
668
+ /**
669
+ * `sim.view = view`, the camera a save carries, as JSON text (null clears).
670
+ */
671
+ setView(view?: string | null): void;
672
+ /**
673
+ * Tooling only: set today's weather by its save name ("clear",
674
+ * "cloudy" or "rain"), the TypeScript `sim.weather = w`. No save carries
675
+ * it, and the next day's roll replaces it. False, changing nothing, for
676
+ * any other name.
677
+ */
678
+ setWeather(name: string): boolean;
679
+ shaftCard(id: number): Float64Array;
680
+ shaftSchedule(id: number): Float64Array;
681
+ /**
682
+ * `skyBridgeLooks()`: every sky bridge as `[floor, from, to, look]`,
683
+ * four numbers each, `from..to` its columns and `look` an index into the
684
+ * catalog's `rules.skyBridge.looks`. Read once per layout change.
685
+ */
686
+ skyBridgeLooks(): Float64Array;
687
+ startExtend(id: number): Float64Array;
688
+ /**
689
+ * Tooling only: the daily roll's fire outbreak in room `id`, with the
690
+ * paid-rescue offer it raises, so a test can set a chosen room ablaze
691
+ * mid-run (`startFire` picks a room at random and offers nothing). It
692
+ * draws nothing from the random stream. False, changing nothing, while
693
+ * a fire burns or a choice is pending, or when `id` names no room that
694
+ * can catch fire. Like `startFire`, this is not part of an open undo step.
695
+ */
696
+ startFireAt(id: number): boolean;
697
+ /**
698
+ * Tooling: a fire, which is no edit, so it is no part of an open
699
+ * gesture's undo step.
700
+ */
701
+ startFire(): void;
702
+ /**
703
+ * The state view's hash, as the lock records it.
704
+ */
705
+ stateDigest(): string;
706
+ /**
707
+ * The hashed state view: the saved game minus prose, as canonical JSON.
708
+ */
709
+ stateView(): string;
710
+ /**
711
+ * Everything the stats screen reads beyond `stats()`, as JSON.
712
+ */
713
+ statsReport(): string;
714
+ statsSheet(): Float64Array;
715
+ statsStrip(): Float64Array;
716
+ stepRent(id: number, dir: number): Float64Array;
717
+ stopExtend(): Float64Array;
718
+ /**
719
+ * Tooling only: the kind of the structure tile (a floor or a lobby) at
720
+ * a tile, or null.
721
+ */
722
+ structureKindAt(floor: number, x: number): string | undefined;
723
+ tdtExport(): Float64Array;
724
+ tdtFile(): Uint8Array | undefined;
725
+ /**
726
+ * The file name a `.TDT` export of this tower downloads as: A to Z and
727
+ * 0 to 9 from its name, upper-cased and cut to 8 characters, and
728
+ * `TOWER1.TDT` for a name with none or a DOS device name (#1676).
729
+ */
730
+ tdtFilename(): string;
731
+ tdtNote(i: number): string | undefined;
732
+ tdtTowerName(): string | undefined;
733
+ tick(dt_minutes: number): void;
734
+ /**
735
+ * `toggleAutoBridge()`: the preference after the flip.
736
+ */
737
+ toggleAutoBridge(): boolean;
738
+ /**
739
+ * The tower's name, or undefined when it has none (the save then leaves
740
+ * the key out). Read on a new engine; `setTowerName` is how it changes.
741
+ */
742
+ towerName(): string | undefined;
743
+ towerSignature(): bigint;
744
+ /**
745
+ * `stats()`: the HUD strip's counters, as JSON.
746
+ */
747
+ towerStats(): string;
748
+ /**
749
+ * The shaft covering a tile, serialized as the save would, or null.
750
+ */
751
+ transportAt(floor: number, x: number): string | undefined;
752
+ /**
753
+ * The transport inspector and editor card for shaft `id`, as JSON, or null.
754
+ */
755
+ transportDetail(id: number): string | undefined;
756
+ /**
757
+ * Tooling only: shaft `id` serialized as the save would, or null.
758
+ */
759
+ transportRecord(id: number): string | undefined;
760
+ undoCapture(label: string): void;
761
+ undoClear(): void;
762
+ undoCommit(): boolean;
763
+ undoDepths(): Float64Array;
764
+ undoDiscard(): void;
765
+ undoNotice(): string | undefined;
766
+ undoSignature(): string;
767
+ undo(): Float64Array;
768
+ /**
769
+ * The unit covering a tile, serialized as the save would, or null.
770
+ */
771
+ unitAt(floor: number, x: number): string | undefined;
772
+ unitCard(id: number): Float64Array;
773
+ /**
774
+ * The unit inspector and editor card for unit `id`, as JSON, or null.
775
+ */
776
+ unitDetail(id: number): string | undefined;
777
+ unitFacts(id: number): Float64Array;
778
+ unitLabel(id: number): string | undefined;
779
+ unitMetaChanged(since: number): Float64Array;
780
+ unitMetaSince(since: number): string;
781
+ /**
782
+ * Tooling only: unit `id` serialized as the save would, or null.
783
+ */
784
+ unitRecord(id: number): string | undefined;
785
+ unitSubtype(id: number): string | undefined;
786
+ /**
787
+ * Tooling only: a tenant leaves unit `id` for `reason` (a departure
788
+ * cause's save name), the TypeScript `sim.vacate(u, reason)`, so a test
789
+ * can empty a chosen room mid-run. It is the churn pass's departure, so
790
+ * a sold condo is bought back. Like a fire, it is not part of an open
791
+ * undo step. The unit's kind is not checked. False, changing nothing,
792
+ * for an unknown unit or cause.
793
+ */
794
+ vacateUnit(id: number, reason: string): boolean;
795
+ /**
796
+ * `tower.validateTransport(kind, x, bottom, top)`: JSON `{ ok, reason? }`,
797
+ * nothing written. An unknown kind is refused with "Unknown facility."; a
798
+ * coordinate that is not a whole JS number within `Number.isSafeInteger`
799
+ * is refused with `INVALID_REQUEST`, never coerced (#923).
800
+ */
801
+ validateTransport(kind: string, x: number, bottom: number, top: number): string;
802
+ viewFrame(full: boolean): Float64Array;
803
+ viewLayout(): string;
804
+ viewStructure(): Float64Array;
805
+ /**
806
+ * The camera the save carries, as JSON text, or undefined when there is
807
+ * none. Read on a new engine; `setView` is how it changes.
808
+ */
809
+ view(): string | undefined;
810
+ /**
811
+ * `walkwayTop(kind, x, bottom, top)` (#308, #2068): the top a
812
+ * stairway or escalator at column `x` asked for from `bottom` to `top`
813
+ * is built to. Out of a tall lobby a one-story flight climbs the whole
814
+ * lobby (in Modern, the hall under the flight), so the build preview
815
+ * draws the flight a click would place. `top` for any other kind or
816
+ * span, or when an argument is not a whole number or a known kind.
817
+ */
818
+ walkwayTop(kind: number, x: number, bottom: number, top: number): number;
819
+ }
820
+
821
+ /**
822
+ * Every price, size and build rule a frontend shows, resolved for `mode`
823
+ * (`classic` or `modern`), as canonical JSON in the shape of the `Catalog`
824
+ * type (declared in `src/catalog/catalogTypes.ts`, read through `readCatalog`
825
+ * in `src/engineBinding/catalog.ts`; see `verticopolis_engine::catalog`). It needs
826
+ * no running game.
827
+ */
828
+ export function catalog(mode: string): string;
829
+
830
+ /**
831
+ * `encodeVctower(saveJson, appVersion, savedAtMs)`: the `.vctower` file
832
+ * text for a serialized game (what `serialize` returns), stamped the way
833
+ * `SaveGame.export` stamps it (`load::stamp_save`). Text that is not JSON,
834
+ * a save that is not a tower, a time no `Date` holds, a build name that
835
+ * reads as before 2.0 (which would mark the tower as a founder's) and a
836
+ * save whose JSON passes 32 MiB (more than a reader will hold) are
837
+ * JavaScript errors. A lone surrogate escape reads as U+FFFD
838
+ * (`load::parse_save_json`).
839
+ */
840
+ export function encodeVctower(save_json: string, app_version: string, saved_at_ms: number): string;
841
+
842
+ /**
843
+ * Which engine this is and which contracts it speaks, as canonical JSON in
844
+ * the shape of `verticopolis_engine::identity::identity`: the record's
845
+ * schema, the crate's name and version, the save version it writes and the
846
+ * oldest it loads, the frame layout version, the catalog version with each
847
+ * mode's digest, and the conformance lock digest. It needs no running game
848
+ * and holds no build hash: a hash of the sources cannot be compiled into
849
+ * them, so the served package's `BUILD.json` records it.
850
+ */
851
+ export function engineIdentity(): string;
852
+
853
+ /**
854
+ * `exportTdt(saveJson)`: the `.TDT` bytes for a serialized game (what
855
+ * `serialize` returns). A tower the format cannot hold is a JavaScript error
856
+ * with the player-readable message.
857
+ */
858
+ export function exportTdt(save_json: string): Uint8Array;
859
+
860
+ /**
861
+ * `importTdt(bytes, filename)`: a 1994 `.TDT` file as JSON text
862
+ * `{ "save": <serialized game>, "warnings": [...] }`, where `save` is what
863
+ * `fromSave` takes. A file that cannot be read is a JavaScript error with
864
+ * the player-readable message.
865
+ */
866
+ export function importTdt(bytes: Uint8Array, filename: string): string;