@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,356 @@
1
+ /**
2
+ * Composed music for the tower: the fixed note data for the two looping tracks
3
+ * the game plays, plus the deterministic builders that expand it into timed
4
+ * note events. This module carries NO Tone.js dependency and no live state, so
5
+ * {@link ToneAudioEngine} can turn a program into a looping `Tone.Part` and
6
+ * tests can assert the material directly.
7
+ *
8
+ * Every melody, rhythm, and percussion figure here is transcribed from the
9
+ * owner's own recordings (hums, chest hits, object taps); the accompaniment is
10
+ * one bass root per bar plus a quiet held fifth, nothing more. The design
11
+ * record is the "Human-recorded audio theme" GDD amendment and
12
+ * `_bmad-output/specs/spec-human-audio-theme/`.
13
+ *
14
+ * - {@link splashProgram} is "Terrace + Heartbeat": the owner's hummed tune as
15
+ * the hook an octave up, their chest-hit pulse underneath (96 BPM, 10 bars).
16
+ * - {@link gameProgram} is "Two Chapters": their long wandering hum verbatim,
17
+ * then the same tune as the splash but slow and low, one shared 76 BPM pulse
18
+ * throughout, their object-tap groove on one continuous grid (~101 s loop).
19
+ */
20
+ // ---- The owner's recorded material, quantized -----------------------------
21
+ // Melody rows are [beatFromStart, durBeats, midi, recordedVel]. The velocities
22
+ // are the recording's own dynamics; the builders lift or trim them per track.
23
+ /** The Hummm tune (splash hook; also chapter two of the bed). D dorian. */
24
+ const TERRACE_TUNE = [
25
+ [0.0, 1.0, 50, 0.45],
26
+ [1.0, 0.5, 52, 0.4],
27
+ [1.5, 0.5, 50, 0.4],
28
+ [2.0, 0.5, 52, 0.45],
29
+ [2.5, 1.0, 53, 0.5],
30
+ [3.5, 1.5, 55, 0.55],
31
+ [5.0, 0.5, 55, 0.5],
32
+ [5.5, 1.0, 53, 0.5],
33
+ [6.5, 0.5, 52, 0.4],
34
+ [7.0, 1.0, 50, 0.45],
35
+ [9.0, 0.5, 59, 0.5],
36
+ [9.5, 2.5, 57, 0.5],
37
+ [12.0, 0.5, 60, 0.65],
38
+ [12.5, 0.5, 62, 0.6],
39
+ [13.0, 2.0, 59, 0.6],
40
+ [15.0, 1.5, 57, 0.45],
41
+ [18.0, 0.5, 48, 0.35],
42
+ [18.5, 1.5, 50, 0.45],
43
+ [20.0, 0.5, 52, 0.45],
44
+ [20.5, 1.5, 53, 0.5],
45
+ [22.0, 1.0, 55, 0.5],
46
+ [23.0, 1.0, 53, 0.45],
47
+ [25.0, 0.5, 57, 0.5],
48
+ [25.5, 1.5, 57, 0.5],
49
+ [27.0, 1.0, 59, 0.55],
50
+ [28.0, 2.0, 60, 0.65],
51
+ [30.0, 0.5, 59, 0.55],
52
+ [30.5, 1.0, 57, 0.45],
53
+ [32.0, 1.0, 53, 0.5],
54
+ [33.0, 0.5, 52, 0.4],
55
+ [33.5, 0.5, 50, 0.45],
56
+ [34.0, 2.0, 50, 0.4],
57
+ ];
58
+ /** The Hummm tune as the bed hears it: the same song auto-quantized straight
59
+ * from the recording (chapter two keeps the take's own phrasing, which
60
+ * differs in small ways from the hand-cleaned splash table above). */
61
+ const TERRACE_TUNE_SUNG = [
62
+ [0.0, 1.0, 50, 0.22],
63
+ [1.0, 0.5, 52, 0.23],
64
+ [1.5, 0.5, 50, 0.29],
65
+ [2.0, 0.5, 52, 0.38],
66
+ [2.5, 1.0, 53, 0.34],
67
+ [3.5, 0.5, 55, 0.4],
68
+ [5.0, 0.5, 55, 0.45],
69
+ [5.5, 1.0, 53, 0.4],
70
+ [6.5, 0.5, 52, 0.27],
71
+ [7.0, 0.5, 50, 0.31],
72
+ [9.0, 0.5, 59, 0.46],
73
+ [9.5, 2.5, 57, 0.35],
74
+ [12.0, 0.5, 60, 0.75],
75
+ [12.5, 0.5, 62, 0.49],
76
+ [13.0, 2.0, 59, 0.56],
77
+ [15.0, 2.0, 57, 0.26],
78
+ [18.0, 0.5, 50, 0.25],
79
+ [18.5, 0.5, 48, 0.33],
80
+ [20.0, 0.5, 52, 0.32],
81
+ [20.5, 1.5, 53, 0.4],
82
+ [22.0, 1.0, 55, 0.34],
83
+ [23.0, 1.0, 53, 0.27],
84
+ [25.0, 0.5, 57, 0.37],
85
+ [25.5, 1.5, 57, 0.37],
86
+ [27.0, 1.0, 59, 0.49],
87
+ [28.0, 2.0, 60, 0.57],
88
+ [30.0, 0.5, 59, 0.51],
89
+ [30.5, 1.0, 57, 0.26],
90
+ [32.0, 0.5, 52, 0.41],
91
+ [33.0, 0.5, 50, 0.44],
92
+ [34.0, 2.5, 50, 0.21],
93
+ ];
94
+ /** The New_humm hum, verbatim: chapter one of the bed. G minor territory. */
95
+ const WANDER_HUM = [
96
+ [0.0, 1.0, 51, 0.33],
97
+ [1.0, 1.5, 55, 0.34],
98
+ [2.5, 1.0, 58, 0.4],
99
+ [3.5, 1.0, 50, 0.23],
100
+ [4.5, 0.5, 51, 0.17],
101
+ [5.0, 0.5, 53, 0.18],
102
+ [5.5, 0.5, 60, 0.33],
103
+ [6.0, 0.5, 60, 0.47],
104
+ [7.0, 2.0, 55, 0.2],
105
+ [9.0, 1.0, 55, 0.23],
106
+ [10.0, 0.5, 58, 0.13],
107
+ [12.0, 0.5, 60, 0.31],
108
+ [12.5, 0.5, 56, 0.21],
109
+ [13.0, 0.5, 53, 0.2],
110
+ [13.5, 0.5, 56, 0.28],
111
+ [14.0, 0.5, 56, 0.26],
112
+ [14.5, 0.5, 50, 0.23],
113
+ [15.0, 1.0, 55, 0.22],
114
+ [16.0, 0.5, 50, 0.18],
115
+ [16.5, 0.5, 53, 0.2],
116
+ [17.0, 0.5, 53, 0.14],
117
+ [17.5, 0.5, 50, 0.19],
118
+ [18.0, 0.5, 56, 0.25],
119
+ [18.5, 0.5, 60, 0.29],
120
+ [19.0, 0.5, 58, 0.21],
121
+ [19.5, 1.0, 58, 0.27],
122
+ [20.5, 0.5, 55, 0.16],
123
+ [21.0, 0.5, 55, 0.18],
124
+ [21.5, 0.5, 55, 0.1],
125
+ [23.0, 0.5, 60, 0.39],
126
+ [23.5, 1.0, 60, 0.36],
127
+ [24.5, 0.5, 55, 0.21],
128
+ [25.0, 0.5, 55, 0.2],
129
+ [25.5, 0.5, 55, 0.16],
130
+ [26.0, 0.5, 50, 0.17],
131
+ [26.5, 0.5, 50, 0.17],
132
+ [27.0, 0.5, 50, 0.16],
133
+ [27.5, 0.5, 53, 0.17],
134
+ [28.0, 0.5, 55, 0.15],
135
+ [28.5, 0.5, 60, 0.34],
136
+ [29.5, 1.0, 63, 0.51],
137
+ [30.5, 0.5, 62, 0.56],
138
+ [31.0, 0.5, 60, 0.57],
139
+ [31.5, 0.5, 58, 0.36],
140
+ [32.0, 1.0, 56, 0.2],
141
+ [33.0, 0.5, 55, 0.28],
142
+ [35.0, 0.5, 58, 0.9],
143
+ [35.5, 0.5, 58, 0.57],
144
+ [36.0, 0.5, 55, 0.35],
145
+ [36.5, 0.5, 58, 0.34],
146
+ [37.0, 0.5, 58, 0.35],
147
+ [37.5, 0.5, 62, 0.45],
148
+ [38.5, 0.5, 60, 0.39],
149
+ [39.0, 1.0, 58, 0.48],
150
+ [40.0, 0.5, 55, 0.3],
151
+ [42.0, 0.5, 55, 0.31],
152
+ [42.5, 0.5, 56, 0.33],
153
+ [43.0, 0.5, 53, 0.28],
154
+ [43.5, 0.5, 55, 0.22],
155
+ [44.0, 0.5, 60, 0.32],
156
+ [44.5, 0.5, 58, 0.36],
157
+ [45.0, 0.5, 55, 0.3],
158
+ [45.5, 0.5, 55, 0.29],
159
+ [46.0, 0.5, 55, 0.26],
160
+ [46.5, 0.5, 55, 0.2],
161
+ [47.0, 0.5, 51, 0.14],
162
+ [49.0, 0.5, 48, 0.25],
163
+ [50.0, 0.5, 62, 0.29],
164
+ [50.5, 0.5, 60, 0.24],
165
+ [52.0, 0.5, 50, 0.17],
166
+ [52.5, 0.5, 53, 0.17],
167
+ [53.0, 0.5, 50, 0.16],
168
+ [53.5, 0.5, 58, 0.24],
169
+ [54.0, 0.5, 60, 0.18],
170
+ [55.5, 0.5, 62, 0.4],
171
+ [56.0, 0.5, 60, 0.3],
172
+ [56.5, 0.5, 58, 0.2],
173
+ [57.0, 0.5, 55, 0.18],
174
+ [57.5, 0.5, 55, 0.18],
175
+ [58.0, 0.5, 55, 0.12],
176
+ [58.5, 0.5, 55, 0.13],
177
+ [59.0, 0.5, 53, 0.07],
178
+ [59.5, 1.0, 63, 0.19],
179
+ [61.0, 0.5, 48, 0.12],
180
+ [61.5, 0.5, 53, 0.14],
181
+ [62.0, 0.5, 53, 0.11],
182
+ [62.5, 0.5, 60, 0.21],
183
+ [63.0, 0.5, 58, 0.18],
184
+ [64.5, 1.0, 51, 0.14],
185
+ [66.0, 0.5, 60, 0.15],
186
+ [66.5, 0.5, 58, 0.1],
187
+ [68.0, 0.5, 58, 0.15],
188
+ [68.5, 0.5, 60, 0.21],
189
+ [69.0, 0.5, 62, 0.23],
190
+ [69.5, 0.5, 63, 0.17],
191
+ [71.0, 0.5, 51, 0.19],
192
+ [72.0, 0.5, 55, 0.15],
193
+ [72.5, 0.5, 56, 0.1],
194
+ [74.0, 0.5, 60, 0.36],
195
+ [74.5, 0.5, 60, 0.1],
196
+ [75.5, 0.5, 56, 0.17],
197
+ [76.0, 0.5, 55, 0.16],
198
+ [76.5, 0.5, 50, 0.14],
199
+ [77.0, 0.5, 48, 0.14],
200
+ [77.5, 0.5, 48, 0.12],
201
+ ];
202
+ /** The owner's object-tap groove: one 16-beat cycle of [beatPos, velocity],
203
+ * distilled from the taps at the end of the New_humm recording. */
204
+ const TAP_CYCLE = [
205
+ [0.0, 0.5],
206
+ [1.0, 0.3],
207
+ [1.5, 0.35],
208
+ [4.0, 0.45],
209
+ [4.5, 0.4],
210
+ [6.5, 0.3],
211
+ [9.0, 0.6],
212
+ [9.5, 0.3],
213
+ [10.5, 0.4],
214
+ [12.0, 0.45],
215
+ [12.5, 0.4],
216
+ [14.0, 0.3],
217
+ [15.5, 0.25],
218
+ ];
219
+ /** Chord bank: bar root (low midi). The quiet pad plays a fifth (+19 st)
220
+ * above whichever root is active. The pad rides the `arp` voice name (the
221
+ * engine's old arpeggio synth, reused as-is); no arpeggio RUNS exist in this
222
+ * music, only these held fifths. */
223
+ const ROOTS = {
224
+ Dm: 50, C: 48, G: 43, F: 53, Am: 45, DmLow: 38,
225
+ Gm: 43, Eb: 51, Bb: 46, Cm: 48,
226
+ Fpiv: 41, BbPiv: 46,
227
+ };
228
+ /** Splash chords, one per bar. */
229
+ const SPLASH_CHORDS = ["Dm", "C", "G", "F", "Dm", "C", "Am", "F", "Dm", "DmLow"];
230
+ /** Bed chapter one chords (per-bar roots fitted to the hum; the first bar is
231
+ * pinned to Gm so chapter two's D-minor ending resolves v-i at the loop wrap). */
232
+ const BED_CH1_CHORDS = [
233
+ "Gm", "Cm", "Gm", "Cm", "Bb", "Cm", "Gm", "Cm", "Gm", "Gm",
234
+ "Gm", "Eb", "Cm", "Bb", "Cm", "F", "Cm", "Cm", "Cm", "Cm",
235
+ ];
236
+ /** Bed chapter two chords. */
237
+ const BED_CH2_CHORDS = ["Dm", "Dm", "Dm", "G", "C", "Dm", "Dm", "F", "Dm", "Dm"];
238
+ const SPLASH_BPM = 96;
239
+ const BED_BPM = 76;
240
+ /** Support for one bar: the bass root and the quiet held fifth (pad rides the
241
+ * `arp` synth; only the note data changed when the arpeggios were retired). */
242
+ function barSupport(t0, root, barLen, bassVel, padVel) {
243
+ return [
244
+ { t: t0, midi: root, dur: barLen * 0.96, vel: bassVel, voice: "bass" },
245
+ { t: t0, midi: root + 19, dur: barLen * 0.96, vel: padVel, voice: "arp" },
246
+ ];
247
+ }
248
+ /** Expand a melody table into hook events. */
249
+ function melody(table, beat, t0, opts) {
250
+ return table.map(([b, db, m, v]) => ({
251
+ t: t0 + b * beat,
252
+ midi: m + opts.transpose,
253
+ dur: db * beat,
254
+ vel: Math.min(opts.cap, v + opts.lift) * (opts.scale ?? 1),
255
+ voice: "hook",
256
+ }));
257
+ }
258
+ /** SPLASH: "Terrace + Heartbeat". The tune an octave up over bar roots and
259
+ * fifths, with the chest-hit pulse on every eighth (strong on the beat). */
260
+ function splashProgram() {
261
+ const beat = 60 / SPLASH_BPM;
262
+ const barLen = 4 * beat;
263
+ const events = [];
264
+ SPLASH_CHORDS.forEach((name, bar) => {
265
+ events.push(...barSupport(bar * barLen, ROOTS[name], barLen, 0.6, 0.18));
266
+ });
267
+ events.push(...melody(TERRACE_TUNE, beat, 0, { transpose: 12, lift: 0.25, cap: 0.85 }));
268
+ const loopEnd = SPLASH_CHORDS.length * barLen;
269
+ // Heartbeat events sit at midi 42 (~92.5 Hz): the bottom of the owner-tested
270
+ // audible band; the thump voice's half-octave sweep starts each hit ~131 Hz.
271
+ for (let i = 0; i * (beat / 2) < loopEnd - 0.05; i++) {
272
+ events.push({
273
+ t: i * (beat / 2),
274
+ midi: 42,
275
+ dur: 0.16,
276
+ vel: i % 2 === 0 ? 1 : 0.55,
277
+ voice: "thump",
278
+ });
279
+ }
280
+ return { events, loopEnd };
281
+ }
282
+ /** Tap level across the bed: quieter in chapter two, breathing down to 30%
283
+ * within two bars of each seam (and of the loop wrap) instead of stopping. */
284
+ function bedTapLevel(t, seams, ch2Start, loopEnd) {
285
+ const base = t >= ch2Start ? 0.3 : 0.4;
286
+ const breathe = 2 * 4 * (60 / BED_BPM);
287
+ let g = 1;
288
+ for (const s of seams) {
289
+ // Circular distance, so the wrap seam breathes on BOTH sides: taps ease
290
+ // down into the loop end and ease back up out of t=0, never snapping.
291
+ const lin = Math.abs(t - s);
292
+ const d = Math.min(lin, loopEnd - lin);
293
+ if (d < breathe)
294
+ g = Math.min(g, Math.max(0.3, d / breathe));
295
+ }
296
+ return base * g;
297
+ }
298
+ /** IN-GAME BED: "Two Chapters" on one shared 76 BPM pulse. Chapter one is the
299
+ * wandering hum verbatim; a breathing F bar walks into chapter two (the
300
+ * splash tune, slow and in its sung register); a rising F-to-Bb bar walks
301
+ * back out so the wrap resolves Dm into Gm. The tap groove never changes
302
+ * grid. Melody sits 20% under the audition mix because in-game it plays
303
+ * beneath crowd din and jingles (party refinement, 2026-08-06). */
304
+ function gameProgram() {
305
+ const beat = 60 / BED_BPM;
306
+ const barLen = 4 * beat;
307
+ const events = [];
308
+ const bedMel = { transpose: 0, lift: 0.12, cap: 0.7, scale: 0.8 };
309
+ BED_CH1_CHORDS.forEach((name, bar) => {
310
+ events.push(...barSupport(bar * barLen, ROOTS[name], barLen, 0.5, 0.16));
311
+ });
312
+ events.push(...melody(WANDER_HUM, beat, 0, bedMel));
313
+ const seam1 = BED_CH1_CHORDS.length * barLen;
314
+ // Seam one: a breathing bar on F, a low C held then stepping up to D.
315
+ events.push(...barSupport(seam1, ROOTS.Fpiv, barLen, 0.45, 0.13));
316
+ events.push({ t: seam1 + 0.5 * beat, midi: 48, dur: 2 * beat, vel: 0.3, voice: "hook" });
317
+ events.push({ t: seam1 + 3 * beat, midi: 50, dur: beat, vel: 0.26, voice: "hook" });
318
+ const ch2Start = seam1 + barLen;
319
+ BED_CH2_CHORDS.forEach((name, bar) => {
320
+ events.push(...barSupport(ch2Start + bar * barLen, ROOTS[name], barLen, 0.5, 0.16));
321
+ });
322
+ events.push(...melody(TERRACE_TUNE_SUNG, beat, ch2Start, bedMel));
323
+ const seam2 = ch2Start + BED_CH2_CHORDS.length * barLen;
324
+ // Seam two: bass walks F up to Bb, the hook climbs C to D, and the wrap
325
+ // lands on chapter one's Gm as a v-i cadence.
326
+ events.push({ t: seam2, midi: ROOTS.Fpiv, dur: 2 * beat * 0.95, vel: 0.45, voice: "bass" });
327
+ events.push({ t: seam2 + 2 * beat, midi: ROOTS.BbPiv, dur: 2 * beat * 0.95, vel: 0.45, voice: "bass" });
328
+ events.push({ t: seam2, midi: ROOTS.Fpiv + 19, dur: barLen * 0.95, vel: 0.12, voice: "arp" });
329
+ events.push({ t: seam2 + beat, midi: 48, dur: 1.5 * beat, vel: 0.26, voice: "hook" });
330
+ events.push({ t: seam2 + 3 * beat, midi: 50, dur: beat, vel: 0.3, voice: "hook" });
331
+ const loopEnd = seam2 + barLen;
332
+ // The owner's tap groove: one continuous 16-beat cycle for the whole loop.
333
+ const seams = [seam1, seam2, loopEnd];
334
+ for (let cycle = 0; cycle * 16 * beat < loopEnd - 0.05; cycle++) {
335
+ for (const [pos, vel] of TAP_CYCLE) {
336
+ const t = cycle * 16 * beat + pos * beat;
337
+ if (t >= loopEnd - 0.05)
338
+ break;
339
+ events.push({
340
+ t,
341
+ midi: 93,
342
+ dur: 0.07,
343
+ vel: vel * bedTapLevel(t, seams, ch2Start, loopEnd),
344
+ voice: "tap",
345
+ });
346
+ }
347
+ }
348
+ return { events, loopEnd };
349
+ }
350
+ /** Resolve a program by kind. */
351
+ function programFor(kind) {
352
+ return kind === "splash" ? splashProgram() : gameProgram();
353
+ }
354
+
355
+ export { gameProgram, programFor, splashProgram };
356
+ //# sourceMappingURL=toneTracks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toneTracks.js","sources":["../../src/audio/toneTracks.ts"],"sourcesContent":["/**\n * Composed music for the tower: the fixed note data for the two looping tracks\n * the game plays, plus the deterministic builders that expand it into timed\n * note events. This module carries NO Tone.js dependency and no live state, so\n * {@link ToneAudioEngine} can turn a program into a looping `Tone.Part` and\n * tests can assert the material directly.\n *\n * Every melody, rhythm, and percussion figure here is transcribed from the\n * owner's own recordings (hums, chest hits, object taps); the accompaniment is\n * one bass root per bar plus a quiet held fifth, nothing more. The design\n * record is the \"Human-recorded audio theme\" GDD amendment and\n * `_bmad-output/specs/spec-human-audio-theme/`.\n *\n * - {@link splashProgram} is \"Terrace + Heartbeat\": the owner's hummed tune as\n * the hook an octave up, their chest-hit pulse underneath (96 BPM, 10 bars).\n * - {@link gameProgram} is \"Two Chapters\": their long wandering hum verbatim,\n * then the same tune as the splash but slow and low, one shared 76 BPM pulse\n * throughout, their object-tap groove on one continuous grid (~101 s loop).\n */\n\n/** Which voice an event plays through. The engine owns the actual synths;\n * `thump` is the low chest-hit membrane, `tap` the bright object-tap one. */\nexport type TrackVoice = \"arp\" | \"bass\" | \"hook\" | \"thump\" | \"tap\";\n\n/** One scheduled note. `t` and `dur` are seconds from the loop start; `vel` is\n * a 0..1 velocity (the overall mix level is the engine's music bus). */\nexport interface TrackEvent {\n t: number;\n midi: number;\n dur: number;\n vel: number;\n voice: TrackVoice;\n}\n\n/** A looping track: its events and the loop length in seconds. */\nexport interface Program {\n events: TrackEvent[];\n loopEnd: number;\n}\n\n/** Which track to play. Splash screen vs. in-game. */\nexport type ProgramKind = \"splash\" | \"game\";\n\n// ---- The owner's recorded material, quantized -----------------------------\n// Melody rows are [beatFromStart, durBeats, midi, recordedVel]. The velocities\n// are the recording's own dynamics; the builders lift or trim them per track.\n\n/** The Hummm tune (splash hook; also chapter two of the bed). D dorian. */\nconst TERRACE_TUNE: ReadonlyArray<readonly [number, number, number, number]> = [\n [0.0, 1.0, 50, 0.45],\n [1.0, 0.5, 52, 0.4],\n [1.5, 0.5, 50, 0.4],\n [2.0, 0.5, 52, 0.45],\n [2.5, 1.0, 53, 0.5],\n [3.5, 1.5, 55, 0.55],\n [5.0, 0.5, 55, 0.5],\n [5.5, 1.0, 53, 0.5],\n [6.5, 0.5, 52, 0.4],\n [7.0, 1.0, 50, 0.45],\n [9.0, 0.5, 59, 0.5],\n [9.5, 2.5, 57, 0.5],\n [12.0, 0.5, 60, 0.65],\n [12.5, 0.5, 62, 0.6],\n [13.0, 2.0, 59, 0.6],\n [15.0, 1.5, 57, 0.45],\n [18.0, 0.5, 48, 0.35],\n [18.5, 1.5, 50, 0.45],\n [20.0, 0.5, 52, 0.45],\n [20.5, 1.5, 53, 0.5],\n [22.0, 1.0, 55, 0.5],\n [23.0, 1.0, 53, 0.45],\n [25.0, 0.5, 57, 0.5],\n [25.5, 1.5, 57, 0.5],\n [27.0, 1.0, 59, 0.55],\n [28.0, 2.0, 60, 0.65],\n [30.0, 0.5, 59, 0.55],\n [30.5, 1.0, 57, 0.45],\n [32.0, 1.0, 53, 0.5],\n [33.0, 0.5, 52, 0.4],\n [33.5, 0.5, 50, 0.45],\n [34.0, 2.0, 50, 0.4],\n];\n\n/** The Hummm tune as the bed hears it: the same song auto-quantized straight\n * from the recording (chapter two keeps the take's own phrasing, which\n * differs in small ways from the hand-cleaned splash table above). */\nconst TERRACE_TUNE_SUNG: ReadonlyArray<readonly [number, number, number, number]> = [\n [0.0, 1.0, 50, 0.22],\n [1.0, 0.5, 52, 0.23],\n [1.5, 0.5, 50, 0.29],\n [2.0, 0.5, 52, 0.38],\n [2.5, 1.0, 53, 0.34],\n [3.5, 0.5, 55, 0.4],\n [5.0, 0.5, 55, 0.45],\n [5.5, 1.0, 53, 0.4],\n [6.5, 0.5, 52, 0.27],\n [7.0, 0.5, 50, 0.31],\n [9.0, 0.5, 59, 0.46],\n [9.5, 2.5, 57, 0.35],\n [12.0, 0.5, 60, 0.75],\n [12.5, 0.5, 62, 0.49],\n [13.0, 2.0, 59, 0.56],\n [15.0, 2.0, 57, 0.26],\n [18.0, 0.5, 50, 0.25],\n [18.5, 0.5, 48, 0.33],\n [20.0, 0.5, 52, 0.32],\n [20.5, 1.5, 53, 0.4],\n [22.0, 1.0, 55, 0.34],\n [23.0, 1.0, 53, 0.27],\n [25.0, 0.5, 57, 0.37],\n [25.5, 1.5, 57, 0.37],\n [27.0, 1.0, 59, 0.49],\n [28.0, 2.0, 60, 0.57],\n [30.0, 0.5, 59, 0.51],\n [30.5, 1.0, 57, 0.26],\n [32.0, 0.5, 52, 0.41],\n [33.0, 0.5, 50, 0.44],\n [34.0, 2.5, 50, 0.21],\n];\n\n/** The New_humm hum, verbatim: chapter one of the bed. G minor territory. */\nconst WANDER_HUM: ReadonlyArray<readonly [number, number, number, number]> = [\n [0.0, 1.0, 51, 0.33],\n [1.0, 1.5, 55, 0.34],\n [2.5, 1.0, 58, 0.4],\n [3.5, 1.0, 50, 0.23],\n [4.5, 0.5, 51, 0.17],\n [5.0, 0.5, 53, 0.18],\n [5.5, 0.5, 60, 0.33],\n [6.0, 0.5, 60, 0.47],\n [7.0, 2.0, 55, 0.2],\n [9.0, 1.0, 55, 0.23],\n [10.0, 0.5, 58, 0.13],\n [12.0, 0.5, 60, 0.31],\n [12.5, 0.5, 56, 0.21],\n [13.0, 0.5, 53, 0.2],\n [13.5, 0.5, 56, 0.28],\n [14.0, 0.5, 56, 0.26],\n [14.5, 0.5, 50, 0.23],\n [15.0, 1.0, 55, 0.22],\n [16.0, 0.5, 50, 0.18],\n [16.5, 0.5, 53, 0.2],\n [17.0, 0.5, 53, 0.14],\n [17.5, 0.5, 50, 0.19],\n [18.0, 0.5, 56, 0.25],\n [18.5, 0.5, 60, 0.29],\n [19.0, 0.5, 58, 0.21],\n [19.5, 1.0, 58, 0.27],\n [20.5, 0.5, 55, 0.16],\n [21.0, 0.5, 55, 0.18],\n [21.5, 0.5, 55, 0.1],\n [23.0, 0.5, 60, 0.39],\n [23.5, 1.0, 60, 0.36],\n [24.5, 0.5, 55, 0.21],\n [25.0, 0.5, 55, 0.2],\n [25.5, 0.5, 55, 0.16],\n [26.0, 0.5, 50, 0.17],\n [26.5, 0.5, 50, 0.17],\n [27.0, 0.5, 50, 0.16],\n [27.5, 0.5, 53, 0.17],\n [28.0, 0.5, 55, 0.15],\n [28.5, 0.5, 60, 0.34],\n [29.5, 1.0, 63, 0.51],\n [30.5, 0.5, 62, 0.56],\n [31.0, 0.5, 60, 0.57],\n [31.5, 0.5, 58, 0.36],\n [32.0, 1.0, 56, 0.2],\n [33.0, 0.5, 55, 0.28],\n [35.0, 0.5, 58, 0.9],\n [35.5, 0.5, 58, 0.57],\n [36.0, 0.5, 55, 0.35],\n [36.5, 0.5, 58, 0.34],\n [37.0, 0.5, 58, 0.35],\n [37.5, 0.5, 62, 0.45],\n [38.5, 0.5, 60, 0.39],\n [39.0, 1.0, 58, 0.48],\n [40.0, 0.5, 55, 0.3],\n [42.0, 0.5, 55, 0.31],\n [42.5, 0.5, 56, 0.33],\n [43.0, 0.5, 53, 0.28],\n [43.5, 0.5, 55, 0.22],\n [44.0, 0.5, 60, 0.32],\n [44.5, 0.5, 58, 0.36],\n [45.0, 0.5, 55, 0.3],\n [45.5, 0.5, 55, 0.29],\n [46.0, 0.5, 55, 0.26],\n [46.5, 0.5, 55, 0.2],\n [47.0, 0.5, 51, 0.14],\n [49.0, 0.5, 48, 0.25],\n [50.0, 0.5, 62, 0.29],\n [50.5, 0.5, 60, 0.24],\n [52.0, 0.5, 50, 0.17],\n [52.5, 0.5, 53, 0.17],\n [53.0, 0.5, 50, 0.16],\n [53.5, 0.5, 58, 0.24],\n [54.0, 0.5, 60, 0.18],\n [55.5, 0.5, 62, 0.4],\n [56.0, 0.5, 60, 0.3],\n [56.5, 0.5, 58, 0.2],\n [57.0, 0.5, 55, 0.18],\n [57.5, 0.5, 55, 0.18],\n [58.0, 0.5, 55, 0.12],\n [58.5, 0.5, 55, 0.13],\n [59.0, 0.5, 53, 0.07],\n [59.5, 1.0, 63, 0.19],\n [61.0, 0.5, 48, 0.12],\n [61.5, 0.5, 53, 0.14],\n [62.0, 0.5, 53, 0.11],\n [62.5, 0.5, 60, 0.21],\n [63.0, 0.5, 58, 0.18],\n [64.5, 1.0, 51, 0.14],\n [66.0, 0.5, 60, 0.15],\n [66.5, 0.5, 58, 0.1],\n [68.0, 0.5, 58, 0.15],\n [68.5, 0.5, 60, 0.21],\n [69.0, 0.5, 62, 0.23],\n [69.5, 0.5, 63, 0.17],\n [71.0, 0.5, 51, 0.19],\n [72.0, 0.5, 55, 0.15],\n [72.5, 0.5, 56, 0.1],\n [74.0, 0.5, 60, 0.36],\n [74.5, 0.5, 60, 0.1],\n [75.5, 0.5, 56, 0.17],\n [76.0, 0.5, 55, 0.16],\n [76.5, 0.5, 50, 0.14],\n [77.0, 0.5, 48, 0.14],\n [77.5, 0.5, 48, 0.12],\n];\n\n/** The owner's object-tap groove: one 16-beat cycle of [beatPos, velocity],\n * distilled from the taps at the end of the New_humm recording. */\nconst TAP_CYCLE: ReadonlyArray<readonly [number, number]> = [\n [0.0, 0.5],\n [1.0, 0.3],\n [1.5, 0.35],\n [4.0, 0.45],\n [4.5, 0.4],\n [6.5, 0.3],\n [9.0, 0.6],\n [9.5, 0.3],\n [10.5, 0.4],\n [12.0, 0.45],\n [12.5, 0.4],\n [14.0, 0.3],\n [15.5, 0.25],\n];\n\n/** Chord bank: bar root (low midi). The quiet pad plays a fifth (+19 st)\n * above whichever root is active. The pad rides the `arp` voice name (the\n * engine's old arpeggio synth, reused as-is); no arpeggio RUNS exist in this\n * music, only these held fifths. */\nconst ROOTS: Record<string, number> = {\n Dm: 50, C: 48, G: 43, F: 53, Am: 45, DmLow: 38,\n Gm: 43, Eb: 51, Bb: 46, Cm: 48,\n Fpiv: 41, BbPiv: 46,\n};\n\n/** Splash chords, one per bar. */\nconst SPLASH_CHORDS = [\"Dm\", \"C\", \"G\", \"F\", \"Dm\", \"C\", \"Am\", \"F\", \"Dm\", \"DmLow\"] as const;\n\n/** Bed chapter one chords (per-bar roots fitted to the hum; the first bar is\n * pinned to Gm so chapter two's D-minor ending resolves v-i at the loop wrap). */\nconst BED_CH1_CHORDS = [\n \"Gm\", \"Cm\", \"Gm\", \"Cm\", \"Bb\", \"Cm\", \"Gm\", \"Cm\", \"Gm\", \"Gm\",\n \"Gm\", \"Eb\", \"Cm\", \"Bb\", \"Cm\", \"F\", \"Cm\", \"Cm\", \"Cm\", \"Cm\",\n] as const;\n\n/** Bed chapter two chords. */\nconst BED_CH2_CHORDS = [\"Dm\", \"Dm\", \"Dm\", \"G\", \"C\", \"Dm\", \"Dm\", \"F\", \"Dm\", \"Dm\"] as const;\n\nconst SPLASH_BPM = 96;\nconst BED_BPM = 76;\n\n/** Support for one bar: the bass root and the quiet held fifth (pad rides the\n * `arp` synth; only the note data changed when the arpeggios were retired). */\nfunction barSupport(t0: number, root: number, barLen: number, bassVel: number, padVel: number): TrackEvent[] {\n return [\n { t: t0, midi: root, dur: barLen * 0.96, vel: bassVel, voice: \"bass\" },\n { t: t0, midi: root + 19, dur: barLen * 0.96, vel: padVel, voice: \"arp\" },\n ];\n}\n\n/** Expand a melody table into hook events. */\nfunction melody(\n table: ReadonlyArray<readonly [number, number, number, number]>,\n beat: number,\n t0: number,\n opts: { transpose: number; lift: number; cap: number; scale?: number },\n): TrackEvent[] {\n return table.map(([b, db, m, v]) => ({\n t: t0 + b * beat,\n midi: m + opts.transpose,\n dur: db * beat,\n vel: Math.min(opts.cap, v + opts.lift) * (opts.scale ?? 1),\n voice: \"hook\" as const,\n }));\n}\n\n/** SPLASH: \"Terrace + Heartbeat\". The tune an octave up over bar roots and\n * fifths, with the chest-hit pulse on every eighth (strong on the beat). */\nexport function splashProgram(): Program {\n const beat = 60 / SPLASH_BPM;\n const barLen = 4 * beat;\n const events: TrackEvent[] = [];\n SPLASH_CHORDS.forEach((name, bar) => {\n events.push(...barSupport(bar * barLen, ROOTS[name], barLen, 0.6, 0.18));\n });\n events.push(...melody(TERRACE_TUNE, beat, 0, { transpose: 12, lift: 0.25, cap: 0.85 }));\n const loopEnd = SPLASH_CHORDS.length * barLen;\n // Heartbeat events sit at midi 42 (~92.5 Hz): the bottom of the owner-tested\n // audible band; the thump voice's half-octave sweep starts each hit ~131 Hz.\n for (let i = 0; i * (beat / 2) < loopEnd - 0.05; i++) {\n events.push({\n t: i * (beat / 2),\n midi: 42,\n dur: 0.16,\n vel: i % 2 === 0 ? 1 : 0.55,\n voice: \"thump\",\n });\n }\n return { events, loopEnd };\n}\n\n/** Tap level across the bed: quieter in chapter two, breathing down to 30%\n * within two bars of each seam (and of the loop wrap) instead of stopping. */\nfunction bedTapLevel(t: number, seams: readonly number[], ch2Start: number, loopEnd: number): number {\n const base = t >= ch2Start ? 0.3 : 0.4;\n const breathe = 2 * 4 * (60 / BED_BPM);\n let g = 1;\n for (const s of seams) {\n // Circular distance, so the wrap seam breathes on BOTH sides: taps ease\n // down into the loop end and ease back up out of t=0, never snapping.\n const lin = Math.abs(t - s);\n const d = Math.min(lin, loopEnd - lin);\n if (d < breathe) g = Math.min(g, Math.max(0.3, d / breathe));\n }\n return base * g;\n}\n\n/** IN-GAME BED: \"Two Chapters\" on one shared 76 BPM pulse. Chapter one is the\n * wandering hum verbatim; a breathing F bar walks into chapter two (the\n * splash tune, slow and in its sung register); a rising F-to-Bb bar walks\n * back out so the wrap resolves Dm into Gm. The tap groove never changes\n * grid. Melody sits 20% under the audition mix because in-game it plays\n * beneath crowd din and jingles (party refinement, 2026-08-06). */\nexport function gameProgram(): Program {\n const beat = 60 / BED_BPM;\n const barLen = 4 * beat;\n const events: TrackEvent[] = [];\n const bedMel = { transpose: 0, lift: 0.12, cap: 0.7, scale: 0.8 };\n\n BED_CH1_CHORDS.forEach((name, bar) => {\n events.push(...barSupport(bar * barLen, ROOTS[name], barLen, 0.5, 0.16));\n });\n events.push(...melody(WANDER_HUM, beat, 0, bedMel));\n const seam1 = BED_CH1_CHORDS.length * barLen;\n\n // Seam one: a breathing bar on F, a low C held then stepping up to D.\n events.push(...barSupport(seam1, ROOTS.Fpiv, barLen, 0.45, 0.13));\n events.push({ t: seam1 + 0.5 * beat, midi: 48, dur: 2 * beat, vel: 0.3, voice: \"hook\" });\n events.push({ t: seam1 + 3 * beat, midi: 50, dur: beat, vel: 0.26, voice: \"hook\" });\n\n const ch2Start = seam1 + barLen;\n BED_CH2_CHORDS.forEach((name, bar) => {\n events.push(...barSupport(ch2Start + bar * barLen, ROOTS[name], barLen, 0.5, 0.16));\n });\n events.push(...melody(TERRACE_TUNE_SUNG, beat, ch2Start, bedMel));\n const seam2 = ch2Start + BED_CH2_CHORDS.length * barLen;\n\n // Seam two: bass walks F up to Bb, the hook climbs C to D, and the wrap\n // lands on chapter one's Gm as a v-i cadence.\n events.push({ t: seam2, midi: ROOTS.Fpiv, dur: 2 * beat * 0.95, vel: 0.45, voice: \"bass\" });\n events.push({ t: seam2 + 2 * beat, midi: ROOTS.BbPiv, dur: 2 * beat * 0.95, vel: 0.45, voice: \"bass\" });\n events.push({ t: seam2, midi: ROOTS.Fpiv + 19, dur: barLen * 0.95, vel: 0.12, voice: \"arp\" });\n events.push({ t: seam2 + beat, midi: 48, dur: 1.5 * beat, vel: 0.26, voice: \"hook\" });\n events.push({ t: seam2 + 3 * beat, midi: 50, dur: beat, vel: 0.3, voice: \"hook\" });\n const loopEnd = seam2 + barLen;\n\n // The owner's tap groove: one continuous 16-beat cycle for the whole loop.\n const seams = [seam1, seam2, loopEnd];\n for (let cycle = 0; cycle * 16 * beat < loopEnd - 0.05; cycle++) {\n for (const [pos, vel] of TAP_CYCLE) {\n const t = cycle * 16 * beat + pos * beat;\n if (t >= loopEnd - 0.05) break;\n events.push({\n t,\n midi: 93,\n dur: 0.07,\n vel: vel * bedTapLevel(t, seams, ch2Start, loopEnd),\n voice: \"tap\",\n });\n }\n }\n return { events, loopEnd };\n}\n\n/** Resolve a program by kind. */\nexport function programFor(kind: ProgramKind): Program {\n return kind === \"splash\" ? splashProgram() : gameProgram();\n}\n"],"names":[],"mappings":"AAAA;;;;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,EAAE;QAC/D,KAAK,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,IAAI,SAAS,EAAE;YAClC,MAAM,CAAC,GAAG,KAAK,GAAG,EAAE,GAAG,IAAI,GAAG,GAAG,GAAG,IAAI;AACxC,YAAA,IAAI,CAAC,IAAI,OAAO,GAAG,IAAI;gBAAE;YACzB,MAAM,CAAC,IAAI,CAAC;gBACV,CAAC;AACD,gBAAA,IAAI,EAAE,EAAE;AACR,gBAAA,GAAG,EAAE,IAAI;AACT,gBAAA,GAAG,EAAE,GAAG,GAAG,WAAW,CAAC,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,CAAC;AACnD,gBAAA,KAAK,EAAE,KAAK;AACb,aAAA,CAAC;QACJ;IACF;AACA,IAAA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE;AAC5B;AAEA;AACM,SAAU,UAAU,CAAC,IAAiB,EAAA;AAC1C,IAAA,OAAO,IAAI,KAAK,QAAQ,GAAG,aAAa,EAAE,GAAG,WAAW,EAAE;AAC5D;;"}
@@ -0,0 +1,57 @@
1
+ import * as Tone from "tone";
2
+ import { type SfxName } from "./toneScenes";
3
+ import { LightMonoSynth, LightPolySynth } from "./lightSynth";
4
+ /**
5
+ * The one-shot action jingles (build, sell, promote, and friends) the game
6
+ * fires on demand through the sfx bus. This module once also carried the
7
+ * scene melody and the close-up accent cues; the melody was replaced by the
8
+ * composed tracks (`./toneTracks.ts`) and the accents by the crowd/venue
9
+ * ambience layer (`./toneCrowd.ts`), leaving the jingles as its whole job.
10
+ *
11
+ * Every cue is human-voiced: the owner recorded a "bloop" and a "ping" with
12
+ * their own voice, and the synth recipes here are ear-approved recreations
13
+ * (GDD crowd-din-ambience, "Human-recorded audio theme" amendment). The bloop
14
+ * family carries build, click, sell, and error; the ping bell carries notify
15
+ * and the promote phrase, which quotes the splash theme's peak turn so the
16
+ * milestones ring the same tune the start screen sings. `money` keeps the
17
+ * legacy jingle recipe, defined but uncalled.
18
+ *
19
+ * Audibility rule (owner-tested on phone and laptop speakers): no bloop ramps
20
+ * below 160 Hz, and the deep cues add quiet octave/twelfth partials so small
21
+ * speakers reconstruct the low pitch. The error cue reads by its slow
22
+ * double-bloop gesture, never by depth alone.
23
+ */
24
+ /** The instrument set `playSfx` plays through. All owned by ToneAudioEngine
25
+ * and connected to the sfx bus, so every cue follows the Effects slider. */
26
+ export interface SfxVoices {
27
+ /** Short percussive sine synth: the legacy money jingle. */
28
+ jingle: LightPolySynth;
29
+ /** Mono sine with a schedulable frequency glide: every bloop is a ramp. */
30
+ bloop: LightMonoSynth;
31
+ /** Second mono glide voice: the trailing bloop of a two-bloop gesture
32
+ * (sell, error) lives here so a gesture's own second swoop can never
33
+ * cancel its first's ramp, and a build or click can never cancel a
34
+ * pending second swoop. Two OVERLAPPING two-bloop gestures can still
35
+ * collide here; error-into-error is holdoff-guarded, and the remaining
36
+ * window (a sell inside an error's 0.28 s gap) is accepted as rare and
37
+ * brief rather than guarded. Two starts at the very same time threw
38
+ * on Tone's mono voices, so `monoStart` still moves the later one aside. */
39
+ bloop2: LightMonoSynth;
40
+ /** The bomb search's clock: a dry woodblock knock, its own mono voice so
41
+ * its near-instant attack never reshapes the bloops. */
42
+ tick: LightMonoSynth;
43
+ /** Quiet partials over the deeper bloops (octave + twelfth), poly so a
44
+ * double bloop's partials can overlap. */
45
+ bloopPartial: LightPolySynth;
46
+ /** Bell fundamentals: long natural decay, no sustain. */
47
+ bell: LightPolySynth;
48
+ /** Bell color: one quiet inharmonic partial per strike, shorter decay. */
49
+ bellPartial: LightPolySynth;
50
+ }
51
+ /** Build the full jingle instrument set on the given bus, deliberately dry:
52
+ * a reverb send here would escape the Effects slider. The recipes live in
53
+ * this module beside the cues that play them; ToneAudioEngine owns the
54
+ * lifecycle (it disposes every synth returned here). */
55
+ export declare function createSfxVoices(bus: Tone.ToneAudioNode): SfxVoices;
56
+ /** Play a one-shot action jingle through the sfx voices. */
57
+ export declare function playSfx(voices: SfxVoices, name: SfxName): void;