@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,156 @@
1
+ /**
2
+ * Escalators: the one-story run, the switchback up a tall lobby (#308), and
3
+ * the half-turn a one-story escalator beside a venue takes in Modern
4
+ * (`../venueFlights.ts`). Static structure only: the routed riders ride over
5
+ * it. Split out of `transport.ts`.
6
+ */
7
+ /** An escalator up a tall lobby (#308): one run a story, each turning back
8
+ * the way the last came, from a steel platform at the turn held up by a
9
+ * post to the hall floor. The bottom run climbs left to right like a
10
+ * one-story escalator. Drawn strictly inside `[sx, sx + w]`. */
11
+ function drawEscalatorSwitchback(ctx, sx, w, topY, floorH, stories) {
12
+ const hallFloor = topY + (stories + 1) * floorH;
13
+ for (let k = 0; k < stories; k++) {
14
+ const bandTop = topY + (stories - k) * floorH;
15
+ if (k % 2 === 0) {
16
+ drawEscalatorRun(ctx, sx, w, bandTop, bandTop + floorH);
17
+ }
18
+ else {
19
+ // Mirrored about the shaft's middle, so this run climbs right to left.
20
+ ctx.save();
21
+ ctx.translate(2 * sx + w, 0);
22
+ ctx.scale(-1, 1);
23
+ drawEscalatorRun(ctx, sx, w, bandTop, bandTop + floorH);
24
+ ctx.restore();
25
+ }
26
+ }
27
+ // A platform at each turn, on the side the run below arrives at.
28
+ for (let k = 1; k < stories; k++) {
29
+ drawTurnPlatform(ctx, sx, w, topY + (stories - k + 1) * floorH, k % 2 === 1, hallFloor);
30
+ }
31
+ }
32
+ /** A one-story escalator beside a venue: two runs of half a story each, the
33
+ * upper one turning back from a steel landing at the turn, so it climbs
34
+ * left to right and then right to left. Lands at the left of the arrival deck
35
+ * at `bandTop`. The landing sits a pixel above the halfway line so both runs
36
+ * keep whole-pixel bands. Drawn strictly inside `[sx, sx + w]`. */
37
+ function drawEscalatorHalfTurn(ctx, sx, w, bandTop, bandBottom) {
38
+ const turn = halfTurnY(bandTop, bandBottom);
39
+ drawEscalatorRun(ctx, sx, w, turn, bandBottom);
40
+ ctx.save();
41
+ ctx.translate(2 * sx + w, 0);
42
+ ctx.scale(-1, 1);
43
+ drawEscalatorRun(ctx, sx, w, bandTop, turn);
44
+ ctx.restore();
45
+ drawTurnPlatform(ctx, sx, w, turn, true, bandBottom);
46
+ }
47
+ /** Where a one-story half-turn escalator turns back: the band's middle,
48
+ * rounded up a pixel on an odd band. */
49
+ function halfTurnY(bandTop, bandBottom) {
50
+ return Math.floor((bandTop + bandBottom) / 2);
51
+ }
52
+ /** The steel platform a switchback turns on, at the right or left of the
53
+ * shaft, whose run below arrives at `y`, held up by a post to `floorY`. */
54
+ function drawTurnPlatform(ctx, sx, w, y, right, floorY) {
55
+ const pw = 14;
56
+ const px = right ? sx + w - 2 - pw : sx + 2;
57
+ const deck = y - 12;
58
+ ctx.fillStyle = "#3A3E46"; // the post down to the hall floor
59
+ ctx.fillRect(px + Math.floor(pw / 2) - 1, deck + 6, 3, floorY - deck - 6);
60
+ ctx.fillStyle = "#6A6E76"; // steel deck
61
+ ctx.fillRect(px, deck, pw, 6);
62
+ ctx.fillStyle = "#8A8E96"; // lit edge
63
+ ctx.fillRect(px, deck, pw, 1);
64
+ ctx.fillStyle = "#2A2D33"; // shaded underside
65
+ ctx.fillRect(px, deck + 5, pw, 1);
66
+ ctx.fillStyle = "#1A1D24"; // guard rail along the deck
67
+ ctx.fillRect(px, deck - 9, pw, 2);
68
+ ctx.fillRect(right ? px + pw - 2 : px, deck - 9, 2, 9);
69
+ }
70
+ /** One escalator run: a clean inclined belt of metallic warm-gray steps with
71
+ * legible amber step edges, a glass side balustrade with a dark moving handrail,
72
+ * and comb-plate landings top and bottom. Confined to the band
73
+ * `[bandTop, bandBottom)` like the stair flight and drawn strictly inside
74
+ * `[sx, sx + w]`. Structure only, NO baked rider: the engine's routed sims ride
75
+ * over it, so an empty tower shows a bare, unoccupied run. Integer coordinates. */
76
+ function drawEscalatorRun(ctx, sx, w, bandTop, bandBottom) {
77
+ const railH = 10; // handrail height above the belt top
78
+ const beltThk = 8; // belt thickness
79
+ const x0 = sx + 10; // bottom landing on the left
80
+ const x1 = sx + w - 12; // top landing on the right
81
+ if (x1 - x0 < 8)
82
+ return;
83
+ // Keep the belt inside the band: the belt is `beltThk` thick below the incline
84
+ // line, so its top clears the band bottom by that much (a run that leaked past
85
+ // bandBottom would paint onto the floor below).
86
+ const yBot = bandBottom - beltThk - 2; // belt top at the lower deck
87
+ // The belt top and top landing reach the arrival deck (bandTop) so the run
88
+ // connects to the second floor; the handrail is clamped below the deck.
89
+ const yTop = bandTop + 2; // belt top at the upper deck
90
+ if (yBot - yTop < 6)
91
+ return;
92
+ const line = (x) => yBot - ((x - x0) / (x1 - x0)) * (yBot - yTop);
93
+ // Soft drop shadow under the belt. Height 1 so the deepest column (at x0, where
94
+ // line === yBot) ends on bandBottom - 1 and never paints the bandBottom row,
95
+ // which belongs to the floor below.
96
+ ctx.fillStyle = "rgba(0,0,0,0.28)";
97
+ for (let x = x0; x < x1; x++)
98
+ ctx.fillRect(x + 1, Math.round(line(x)) + beltThk + 1, 1, 1);
99
+ // The metal belt: a mid-gray band with a light top edge and a dark underside.
100
+ for (let x = x0; x <= x1; x++) {
101
+ const t = Math.round(line(x));
102
+ ctx.fillStyle = "#6E747C";
103
+ ctx.fillRect(x, t, 1, beltThk);
104
+ ctx.fillStyle = "#9AA0A8"; // lit top edge of the belt
105
+ ctx.fillRect(x, t, 1, 1);
106
+ ctx.fillStyle = "#3A3E46"; // dark underside
107
+ ctx.fillRect(x, t + beltThk - 1, 1, 1);
108
+ }
109
+ // Step edges: a dark groove with a bright amber nose, evenly spaced, so the
110
+ // moving steps read at a glance.
111
+ for (let x = x0 + 2; x < x1; x += 4) {
112
+ const t = Math.round(line(x));
113
+ ctx.fillStyle = "#3A3E46";
114
+ ctx.fillRect(x, t + 1, 1, beltThk - 2);
115
+ ctx.fillStyle = "#F0C24A";
116
+ ctx.fillRect(x - 1, t + 1, 1, beltThk - 2);
117
+ }
118
+ // Glass side balustrade with a dark moving handrail on top. The rail is clamped
119
+ // so it never rises above the arrival deck (bandTop): near the top it levels
120
+ // onto the landing and ends in a short newel, so the run reads as reaching the
121
+ // second floor.
122
+ const railTop = (x) => Math.max(bandTop, Math.round(line(x)) - railH);
123
+ ctx.fillStyle = "rgba(191,208,224,0.18)";
124
+ for (let x = x0; x <= x1; x++) {
125
+ const rt = railTop(x);
126
+ ctx.fillRect(x, rt, 1, Math.max(1, Math.round(line(x)) - rt));
127
+ }
128
+ for (let x = x0; x <= x1; x++) {
129
+ const rt = railTop(x);
130
+ ctx.fillStyle = "#1A1D24";
131
+ ctx.fillRect(x, rt, 1, 2);
132
+ ctx.fillStyle = "#4A4E56"; // handrail highlight
133
+ ctx.fillRect(x, rt, 1, 1);
134
+ }
135
+ // Comb-plate landings top and bottom, inside [sx, sx + w]. The top comb plate
136
+ // sits on bandTop (the arrival deck), so the run lands flush on the second floor.
137
+ ctx.fillStyle = "#6A6E76";
138
+ ctx.fillRect(sx + 2, yBot - 2, x0 - sx - 2, 5);
139
+ ctx.fillStyle = "#8A8E96";
140
+ ctx.fillRect(sx + 2, yBot - 2, x0 - sx - 2, 1);
141
+ const rlx = x1;
142
+ const rlw = sx + w - 2 - x1;
143
+ ctx.fillStyle = "#6A6E76";
144
+ ctx.fillRect(rlx, bandTop, rlw, 5);
145
+ ctx.fillStyle = "#8A8E96";
146
+ ctx.fillRect(rlx, bandTop, rlw, 1);
147
+ ctx.fillStyle = "#3A3E46";
148
+ ctx.fillRect(rlx, bandTop + 5, rlw, 1);
149
+ // Newel where the handrail meets the top landing, drawn AFTER the landing so it
150
+ // stands proud of it rather than being overpainted.
151
+ ctx.fillStyle = "#1A1D24";
152
+ ctx.fillRect(x1 - 1, bandTop, 2, Math.min(8, yBot - bandTop));
153
+ }
154
+
155
+ export { drawEscalatorHalfTurn, drawEscalatorRun, drawEscalatorSwitchback, halfTurnY };
156
+ //# sourceMappingURL=escalator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"escalator.js","sources":["../../../src/render/sprites/escalator.ts"],"sourcesContent":["/**\n * Escalators: the one-story run, the switchback up a tall lobby (#308), and\n * the half-turn a one-story escalator beside a venue takes in Modern\n * (`../venueFlights.ts`). Static structure only: the routed riders ride over\n * it. Split out of `transport.ts`.\n */\n\n/** An escalator up a tall lobby (#308): one run a story, each turning back\n * the way the last came, from a steel platform at the turn held up by a\n * post to the hall floor. The bottom run climbs left to right like a\n * one-story escalator. Drawn strictly inside `[sx, sx + w]`. */\nexport function drawEscalatorSwitchback(ctx: CanvasRenderingContext2D, sx: number, w: number, topY: number, floorH: number, stories: number): void {\n const hallFloor = topY + (stories + 1) * floorH;\n for (let k = 0; k < stories; k++) {\n const bandTop = topY + (stories - k) * floorH;\n if (k % 2 === 0) {\n drawEscalatorRun(ctx, sx, w, bandTop, bandTop + floorH);\n } else {\n // Mirrored about the shaft's middle, so this run climbs right to left.\n ctx.save();\n ctx.translate(2 * sx + w, 0);\n ctx.scale(-1, 1);\n drawEscalatorRun(ctx, sx, w, bandTop, bandTop + floorH);\n ctx.restore();\n }\n }\n // A platform at each turn, on the side the run below arrives at.\n for (let k = 1; k < stories; k++) {\n drawTurnPlatform(ctx, sx, w, topY + (stories - k + 1) * floorH, k % 2 === 1, hallFloor);\n }\n}\n\n/** A one-story escalator beside a venue: two runs of half a story each, the\n * upper one turning back from a steel landing at the turn, so it climbs\n * left to right and then right to left. Lands at the left of the arrival deck\n * at `bandTop`. The landing sits a pixel above the halfway line so both runs\n * keep whole-pixel bands. Drawn strictly inside `[sx, sx + w]`. */\nexport function drawEscalatorHalfTurn(ctx: CanvasRenderingContext2D, sx: number, w: number, bandTop: number, bandBottom: number): void {\n const turn = halfTurnY(bandTop, bandBottom);\n drawEscalatorRun(ctx, sx, w, turn, bandBottom);\n ctx.save();\n ctx.translate(2 * sx + w, 0);\n ctx.scale(-1, 1);\n drawEscalatorRun(ctx, sx, w, bandTop, turn);\n ctx.restore();\n drawTurnPlatform(ctx, sx, w, turn, true, bandBottom);\n}\n\n/** Where a one-story half-turn escalator turns back: the band's middle,\n * rounded up a pixel on an odd band. */\nexport function halfTurnY(bandTop: number, bandBottom: number): number {\n return Math.floor((bandTop + bandBottom) / 2);\n}\n\n/** The steel platform a switchback turns on, at the right or left of the\n * shaft, whose run below arrives at `y`, held up by a post to `floorY`. */\nfunction drawTurnPlatform(ctx: CanvasRenderingContext2D, sx: number, w: number, y: number, right: boolean, floorY: number): void {\n const pw = 14;\n const px = right ? sx + w - 2 - pw : sx + 2;\n const deck = y - 12;\n ctx.fillStyle = \"#3A3E46\"; // the post down to the hall floor\n ctx.fillRect(px + Math.floor(pw / 2) - 1, deck + 6, 3, floorY - deck - 6);\n ctx.fillStyle = \"#6A6E76\"; // steel deck\n ctx.fillRect(px, deck, pw, 6);\n ctx.fillStyle = \"#8A8E96\"; // lit edge\n ctx.fillRect(px, deck, pw, 1);\n ctx.fillStyle = \"#2A2D33\"; // shaded underside\n ctx.fillRect(px, deck + 5, pw, 1);\n ctx.fillStyle = \"#1A1D24\"; // guard rail along the deck\n ctx.fillRect(px, deck - 9, pw, 2);\n ctx.fillRect(right ? px + pw - 2 : px, deck - 9, 2, 9);\n}\n\n/** One escalator run: a clean inclined belt of metallic warm-gray steps with\n * legible amber step edges, a glass side balustrade with a dark moving handrail,\n * and comb-plate landings top and bottom. Confined to the band\n * `[bandTop, bandBottom)` like the stair flight and drawn strictly inside\n * `[sx, sx + w]`. Structure only, NO baked rider: the engine's routed sims ride\n * over it, so an empty tower shows a bare, unoccupied run. Integer coordinates. */\nexport function drawEscalatorRun(ctx: CanvasRenderingContext2D, sx: number, w: number, bandTop: number, bandBottom: number): void {\n const railH = 10; // handrail height above the belt top\n const beltThk = 8; // belt thickness\n const x0 = sx + 10; // bottom landing on the left\n const x1 = sx + w - 12; // top landing on the right\n if (x1 - x0 < 8) return;\n // Keep the belt inside the band: the belt is `beltThk` thick below the incline\n // line, so its top clears the band bottom by that much (a run that leaked past\n // bandBottom would paint onto the floor below).\n const yBot = bandBottom - beltThk - 2; // belt top at the lower deck\n // The belt top and top landing reach the arrival deck (bandTop) so the run\n // connects to the second floor; the handrail is clamped below the deck.\n const yTop = bandTop + 2; // belt top at the upper deck\n if (yBot - yTop < 6) return;\n const line = (x: number) => yBot - ((x - x0) / (x1 - x0)) * (yBot - yTop);\n // Soft drop shadow under the belt. Height 1 so the deepest column (at x0, where\n // line === yBot) ends on bandBottom - 1 and never paints the bandBottom row,\n // which belongs to the floor below.\n ctx.fillStyle = \"rgba(0,0,0,0.28)\";\n for (let x = x0; x < x1; x++) ctx.fillRect(x + 1, Math.round(line(x)) + beltThk + 1, 1, 1);\n // The metal belt: a mid-gray band with a light top edge and a dark underside.\n for (let x = x0; x <= x1; x++) {\n const t = Math.round(line(x));\n ctx.fillStyle = \"#6E747C\";\n ctx.fillRect(x, t, 1, beltThk);\n ctx.fillStyle = \"#9AA0A8\"; // lit top edge of the belt\n ctx.fillRect(x, t, 1, 1);\n ctx.fillStyle = \"#3A3E46\"; // dark underside\n ctx.fillRect(x, t + beltThk - 1, 1, 1);\n }\n // Step edges: a dark groove with a bright amber nose, evenly spaced, so the\n // moving steps read at a glance.\n for (let x = x0 + 2; x < x1; x += 4) {\n const t = Math.round(line(x));\n ctx.fillStyle = \"#3A3E46\";\n ctx.fillRect(x, t + 1, 1, beltThk - 2);\n ctx.fillStyle = \"#F0C24A\";\n ctx.fillRect(x - 1, t + 1, 1, beltThk - 2);\n }\n // Glass side balustrade with a dark moving handrail on top. The rail is clamped\n // so it never rises above the arrival deck (bandTop): near the top it levels\n // onto the landing and ends in a short newel, so the run reads as reaching the\n // second floor.\n const railTop = (x: number) => Math.max(bandTop, Math.round(line(x)) - railH);\n ctx.fillStyle = \"rgba(191,208,224,0.18)\";\n for (let x = x0; x <= x1; x++) {\n const rt = railTop(x);\n ctx.fillRect(x, rt, 1, Math.max(1, Math.round(line(x)) - rt));\n }\n for (let x = x0; x <= x1; x++) {\n const rt = railTop(x);\n ctx.fillStyle = \"#1A1D24\";\n ctx.fillRect(x, rt, 1, 2);\n ctx.fillStyle = \"#4A4E56\"; // handrail highlight\n ctx.fillRect(x, rt, 1, 1);\n }\n // Comb-plate landings top and bottom, inside [sx, sx + w]. The top comb plate\n // sits on bandTop (the arrival deck), so the run lands flush on the second floor.\n ctx.fillStyle = \"#6A6E76\";\n ctx.fillRect(sx + 2, yBot - 2, x0 - sx - 2, 5);\n ctx.fillStyle = \"#8A8E96\";\n ctx.fillRect(sx + 2, yBot - 2, x0 - sx - 2, 1);\n const rlx = x1;\n const rlw = sx + w - 2 - x1;\n ctx.fillStyle = \"#6A6E76\";\n ctx.fillRect(rlx, bandTop, rlw, 5);\n ctx.fillStyle = \"#8A8E96\";\n ctx.fillRect(rlx, bandTop, rlw, 1);\n ctx.fillStyle = \"#3A3E46\";\n ctx.fillRect(rlx, bandTop + 5, rlw, 1);\n // Newel where the handrail meets the top landing, drawn AFTER the landing so it\n // stands proud of it rather than being overpainted.\n ctx.fillStyle = \"#1A1D24\";\n ctx.fillRect(x1 - 1, bandTop, 2, Math.min(8, yBot - bandTop));\n}\n\n"],"names":[],"mappings":"AAAA;;;;;AAKG;AAEH;;;AAGiE;AAC3D,SAAU,uBAAuB,CAAC,GAA6B,EAAE,EAAU,EAAE,CAAS,EAAE,IAAY,EAAE,MAAc,EAAE,OAAe,EAAA;IACzI,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC,OAAO,GAAG,CAAC,IAAI,MAAM;AAC/C,IAAA,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,OAAO,EAAE,CAAC,EAAE,EAAE;QAChC,MAAM,OAAO,GAAG,IAAI,GAAG,CAAC,OAAO,GAAG,CAAC,IAAI,MAAM;AAC7C,QAAA,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE;AACf,YAAA,gBAAgB,CAAC,GAAG,EAAE,EAAE,EAAE,CAAC,EAAE,OAAO,EAAE,OAAO,GAAG,MAAM,CAAC;QACzD;aAAO;;YAEL,GAAG,CAAC,IAAI,EAAE;YACV,GAAG,CAAC,SAAS,CAAC,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC;YAC5B,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;AAChB,YAAA,gBAAgB,CAAC,GAAG,EAAE,EAAE,EAAE,CAAC,EAAE,OAAO,EAAE,OAAO,GAAG,MAAM,CAAC;YACvD,GAAG,CAAC,OAAO,EAAE;QACf;IACF;;AAEA,IAAA,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,OAAO,EAAE,CAAC,EAAE,EAAE;QAChC,gBAAgB,CAAC,GAAG,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,GAAG,CAAC,OAAO,GAAG,CAAC,GAAG,CAAC,IAAI,MAAM,EAAE,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,SAAS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ate mode on the sky/overlay canvases —
3
+ * deliberately NOT Excalibur actors, so there is no actor to leak or tear down
4
+ * (the class of bug PR #105 had to fix). Both are pure `(ctx, …)` draws the
5
+ * TowerEngine calls each frame while an event is playing; when the play-out
6
+ * window closes the engine simply stops calling them.
7
+ *
8
+ * - {@link drawSanta}: the holiday cameo — Santa's sleigh and reindeer crossing
9
+ * the sky (canon: "Santa Claus and his reindeer fly across the tower").
10
+ * - {@link drawExplosion}: the bomb-detonation flash at the blast epicenter,
11
+ * a fading starburst over the rooms it guts.
12
+ * - {@link drawThief}: a masked thief running across a floor with a loot sack;
13
+ * a security guard stands behind him when he's caught.
14
+ * - {@link drawTreasure}: a gold sparkle + coins rising from an unearthed find.
15
+ * - {@link drawVipLimo}: the VIP's limousine, arriving at the lobby for a review.
16
+ */
17
+ /**
18
+ * Santa's sleigh + team, centered at (x, y), facing right. `scale` sizes the
19
+ * whole rig. Drawn in screen space on the sky layer. The reindeer, sleigh, and
20
+ * reins are the preserved canon sky rig; only the rider is the enriched board
21
+ * figure.
22
+ */
23
+ export declare function drawSanta(ctx: CanvasRenderingContext2D, x: number, y: number, scale?: number): void;
24
+ /**
25
+ * A bomb-blast starburst centered at (x, y), expanding to `radius`. `phase`
26
+ * runs 0→1 over the flash's lifetime; the whole thing fades as it grows.
27
+ */
28
+ export declare function drawExplosion(ctx: CanvasRenderingContext2D, x: number, y: number, radius: number, phase: number): void;
29
+ /** How tall the guard and thief figures are at size 1, from the guard's
30
+ * alert beacon to the contact shadow under them. */
31
+ export declare const FIGURE_HEIGHT = 30;
32
+ /** What the overlay's figures are doing, from the event that drives them. */
33
+ export interface EventFigureState {
34
+ /** The walk or climb frame (0 to 3), from the overlay's clock. */
35
+ readonly frame?: number;
36
+ /** Lit from the upper left (Modern's `rules.shadedLook`). */
37
+ readonly lit?: boolean;
38
+ }
39
+ /** A guard sweeping a floor for Classic's bomb, feet at (x, footY), sized by
40
+ * `s`: the cast's security guard (#2097), climbing on the emergency stairs
41
+ * and walking the floor's rooms. */
42
+ export declare function drawSearchGuard(ctx: CanvasRenderingContext2D, x: number, footY: number, s: number, climbing?: boolean, state?: EventFigureState): void;
43
+ /**
44
+ * The masked thief running rightward with a swag sack, feet at (x, y), in the
45
+ * cast's look (#2097). When `caught`, he throws his hands up and a security
46
+ * guard stands close behind him with an alert light. Drawn in screen space
47
+ * on the overlay (in front of the tower).
48
+ */
49
+ export declare function drawThief(ctx: CanvasRenderingContext2D, x: number, y: number, scale?: number, caught?: boolean, state?: EventFigureState): void;
50
+ /**
51
+ * A gold sparkle + coins rising from an unearthed treasure, centered at (x, y).
52
+ * `phase` runs 0→1: the sparkle grows and drifts up as it fades.
53
+ */
54
+ export declare function drawTreasure(ctx: CanvasRenderingContext2D, x: number, y: number, scale?: number, phase?: number): void;
55
+ /** A black VIP limousine facing right, its wheels resting on the line y. */
56
+ export declare function drawVipLimo(ctx: CanvasRenderingContext2D, x: number, y: number, scale?: number): void;
@@ -0,0 +1,280 @@
1
+ import { drawPerson, STAFF_LOOK } from '../pixelSprites/people.js';
2
+
3
+ /**
4
+ * One-off EVENT visuals drawn in immediate mode on the sky/overlay canvases —
5
+ * deliberately NOT Excalibur actors, so there is no actor to leak or tear down
6
+ * (the class of bug PR #105 had to fix). Both are pure `(ctx, …)` draws the
7
+ * TowerEngine calls each frame while an event is playing; when the play-out
8
+ * window closes the engine simply stops calling them.
9
+ *
10
+ * - {@link drawSanta}: the holiday cameo — Santa's sleigh and reindeer crossing
11
+ * the sky (canon: "Santa Claus and his reindeer fly across the tower").
12
+ * - {@link drawExplosion}: the bomb-detonation flash at the blast epicenter,
13
+ * a fading starburst over the rooms it guts.
14
+ * - {@link drawThief}: a masked thief running across a floor with a loot sack;
15
+ * a security guard stands behind him when he's caught.
16
+ * - {@link drawTreasure}: a gold sparkle + coins rising from an unearthed find.
17
+ * - {@link drawVipLimo}: the VIP's limousine, arriving at the lobby for a review.
18
+ */
19
+ /** One reindeer facing right: body, head, antlers, legs, a red nose. */
20
+ function drawReindeer(ctx, x, y, s) {
21
+ ctx.fillStyle = "#7a5230";
22
+ ctx.fillRect(x - 7 * s, y - 4 * s, 12 * s, 5 * s); // body
23
+ ctx.fillRect(x + 4 * s, y - 8 * s, 4 * s, 5 * s); // head/neck
24
+ // legs
25
+ ctx.fillRect(x - 5 * s, y + 1 * s, 1.5 * s, 5 * s);
26
+ ctx.fillRect(x + 2 * s, y + 1 * s, 1.5 * s, 5 * s);
27
+ // antlers
28
+ ctx.strokeStyle = "#5a3c22";
29
+ ctx.lineWidth = 1 * s;
30
+ ctx.beginPath();
31
+ ctx.moveTo(x + 6 * s, y - 8 * s);
32
+ ctx.lineTo(x + 4 * s, y - 12 * s);
33
+ ctx.moveTo(x + 7 * s, y - 8 * s);
34
+ ctx.lineTo(x + 10 * s, y - 12 * s);
35
+ ctx.stroke();
36
+ // Rudolph's nose
37
+ ctx.fillStyle = "#ff5252";
38
+ ctx.beginPath();
39
+ ctx.arc(x + 8 * s, y - 5 * s, 1.4 * s, 0, Math.PI * 2);
40
+ ctx.fill();
41
+ }
42
+ /**
43
+ * The board Santa in the sleigh seat, feet at (x, footY), sized by `s`. A
44
+ * bespoke integer-rect port (no `person()` dependency): dark boots, a red coat
45
+ * with edge shades, a belt and gold buckle, a fur hem, a skin face with a white
46
+ * beard and a rosy cheek, a pom hat, and a toy sack with a poking-out gift.
47
+ * Every rect rounds to integer device pixels after scaling. The gift is a
48
+ * NON-reserved festive red (`#D0483E`), never the board build script's reserved
49
+ * stress red `#C24A3A`.
50
+ */
51
+ function drawSantaFigure(ctx, x, footY, s) {
52
+ const px = (ax, ay, aw, ah, c) => {
53
+ ctx.fillStyle = c;
54
+ ctx.fillRect(Math.round(x + ax * s), Math.round(footY + ay * s), Math.max(1, Math.round(aw * s)), Math.max(1, Math.round(ah * s)));
55
+ };
56
+ // Toy sack behind Santa, with a gift poking out the top.
57
+ px(-6, -11, 4, 10, "#8A5A3A");
58
+ px(-6, -11, 4, 1, "#A06E48"); // sack highlight
59
+ px(-5, -13, 3, 2, "#D0483E"); // festive-red gift (not the reserved stress red)
60
+ px(-4, -13, 1, 2, "#5AA85A"); // green ribbon bit
61
+ // Boots.
62
+ px(0, -4, 2, 4, "#2A2A2A");
63
+ px(4, -4, 2, 4, "#2A2A2A");
64
+ // Red coat with edge shades.
65
+ px(0, -13, 6, 9, "#B8342E");
66
+ px(0, -13, 1, 9, "#8A241E");
67
+ px(5, -13, 1, 9, "#D0483E");
68
+ // Belt with a gold buckle.
69
+ px(0, -8, 6, 1, "#2A2A2A");
70
+ px(2, -8, 2, 1, "#E8C14A");
71
+ // Fur hem + white cuffs at the coat bottom.
72
+ px(0, -5, 6, 1, "#F4F0EC");
73
+ px(0, -5, 1, 1, "#FFFFFF");
74
+ px(5, -5, 1, 1, "#FFFFFF");
75
+ // Skin face, then a white beard onto the chest and a rosy cheek.
76
+ px(1, -17, 4, 4, "#E8C9A0");
77
+ px(1, -14, 4, 2, "#F4F0EC");
78
+ px(4, -15, 1, 1, "#E8B090");
79
+ // Hat: red crown with a floppy tip, a white fur brim, and a white pom.
80
+ px(1, -18, 4, 2, "#B8342E");
81
+ px(-1, -18, 2, 1, "#B8342E");
82
+ px(-2, -18, 1, 1, "#FFFFFF"); // pom
83
+ px(1, -16, 4, 1, "#FFFFFF"); // brim
84
+ }
85
+ /**
86
+ * Santa's sleigh + team, centered at (x, y), facing right. `scale` sizes the
87
+ * whole rig. Drawn in screen space on the sky layer. The reindeer, sleigh, and
88
+ * reins are the preserved canon sky rig; only the rider is the enriched board
89
+ * figure.
90
+ */
91
+ function drawSanta(ctx, x, y, scale = 1) {
92
+ const s = scale;
93
+ ctx.save();
94
+ // Rein line from the sleigh to the lead reindeer.
95
+ ctx.strokeStyle = "rgba(120,90,60,0.85)";
96
+ ctx.lineWidth = 1.4 * s;
97
+ ctx.beginPath();
98
+ ctx.moveTo(x - 20 * s, y - 2 * s);
99
+ ctx.lineTo(x + 46 * s, y - 3 * s);
100
+ ctx.stroke();
101
+ // Two reindeer leading (to the right).
102
+ drawReindeer(ctx, x + 22 * s, y, s);
103
+ drawReindeer(ctx, x + 40 * s, y, s);
104
+ // Sleigh body with a curled front runner.
105
+ ctx.fillStyle = "#c0331f";
106
+ ctx.fillRect(x - 24 * s, y - 6 * s, 22 * s, 8 * s);
107
+ ctx.beginPath();
108
+ ctx.moveTo(x - 2 * s, y + 2 * s);
109
+ ctx.quadraticCurveTo(x + 6 * s, y + 2 * s, x + 4 * s, y - 5 * s); // curled prow
110
+ ctx.lineTo(x - 2 * s, y - 5 * s);
111
+ ctx.closePath();
112
+ ctx.fill();
113
+ // Gold trim + runner.
114
+ ctx.strokeStyle = "#f0c14b";
115
+ ctx.lineWidth = 1.2 * s;
116
+ ctx.beginPath();
117
+ ctx.moveTo(x - 26 * s, y + 3 * s);
118
+ ctx.lineTo(x + 4 * s, y + 3 * s);
119
+ ctx.stroke();
120
+ // The board Santa in the sleigh seat (enriched rider; the rig above is canon).
121
+ drawSantaFigure(ctx, x - 18 * s, y - 4 * s, s);
122
+ ctx.restore();
123
+ }
124
+ /**
125
+ * A bomb-blast starburst centered at (x, y), expanding to `radius`. `phase`
126
+ * runs 0→1 over the flash's lifetime; the whole thing fades as it grows.
127
+ */
128
+ function drawExplosion(ctx, x, y, radius, phase) {
129
+ const alpha = Math.max(0, 1 - phase);
130
+ if (alpha <= 0 || radius <= 0)
131
+ return;
132
+ ctx.save();
133
+ ctx.globalAlpha = alpha;
134
+ // Soft outer glow.
135
+ ctx.fillStyle = "rgba(255,140,0,0.5)";
136
+ ctx.beginPath();
137
+ ctx.arc(x, y, radius, 0, Math.PI * 2);
138
+ ctx.fill();
139
+ // Jagged starburst.
140
+ ctx.fillStyle = "#ffcf3a";
141
+ const spikes = 10;
142
+ ctx.beginPath();
143
+ for (let i = 0; i < spikes * 2; i++) {
144
+ const ang = (Math.PI * i) / spikes;
145
+ const rr = i % 2 === 0 ? radius : radius * 0.5;
146
+ const px = x + Math.cos(ang) * rr;
147
+ const py = y + Math.sin(ang) * rr;
148
+ if (i === 0)
149
+ ctx.moveTo(px, py);
150
+ else
151
+ ctx.lineTo(px, py);
152
+ }
153
+ ctx.closePath();
154
+ ctx.fill();
155
+ // Hot core.
156
+ ctx.fillStyle = "#fff6d5";
157
+ ctx.beginPath();
158
+ ctx.arc(x, y, radius * 0.34, 0, Math.PI * 2);
159
+ ctx.fill();
160
+ ctx.restore();
161
+ }
162
+ /** How tall the guard and thief figures are at size 1, from the guard's
163
+ * alert beacon to the contact shadow under them. */
164
+ const FIGURE_HEIGHT = 30;
165
+ /** The static red alert beacon over a guard on a call (a functional cue). */
166
+ function drawBeacon(ctx, x, footY, s) {
167
+ ctx.fillStyle = "rgba(255,64,64,0.92)";
168
+ ctx.fillRect(Math.round(x + 4 * s), Math.round(footY - 29 * s), Math.max(1, Math.round(2 * s)), Math.max(1, Math.round(2 * s)));
169
+ }
170
+ /** A guard sweeping a floor for Classic's bomb, feet at (x, footY), sized by
171
+ * `s`: the cast's security guard (#2097), climbing on the emergency stairs
172
+ * and walking the floor's rooms. */
173
+ function drawSearchGuard(ctx, x, footY, s, climbing = false, state = {}) {
174
+ ctx.save();
175
+ drawPerson(ctx, x, footY, STAFF_LOOK.security, { lit: state.lit ?? false, frame: state.frame ?? 1, pose: climbing ? "climb" : "walk", scale: s });
176
+ drawBeacon(ctx, x, footY, s);
177
+ ctx.restore();
178
+ }
179
+ /**
180
+ * The masked thief running rightward with a swag sack, feet at (x, y), in the
181
+ * cast's look (#2097). When `caught`, he throws his hands up and a security
182
+ * guard stands close behind him with an alert light. Drawn in screen space
183
+ * on the overlay (in front of the tower).
184
+ */
185
+ function drawThief(ctx, x, y, scale = 1, caught = false, state = {}) {
186
+ const s = scale;
187
+ const lit = state.lit ?? false;
188
+ ctx.save();
189
+ if (caught) {
190
+ drawPerson(ctx, x - 13 * s, y, STAFF_LOOK.security, { lit, frame: 1, pose: "stand", scale: s, empty: true });
191
+ drawBeacon(ctx, x - 13 * s, y, s);
192
+ }
193
+ drawPerson(ctx, x, y, STAFF_LOOK.thief, { lit, frame: caught ? 1 : (state.frame ?? 0), pose: caught ? "caught" : "run", scale: s, empty: caught });
194
+ ctx.restore();
195
+ }
196
+ /**
197
+ * A gold sparkle + coins rising from an unearthed treasure, centered at (x, y).
198
+ * `phase` runs 0→1: the sparkle grows and drifts up as it fades.
199
+ */
200
+ function drawTreasure(ctx, x, y, scale = 1, phase = 0) {
201
+ const alpha = Math.max(0, 1 - phase);
202
+ if (alpha <= 0)
203
+ return;
204
+ const s = scale;
205
+ const rise = phase * 12 * s;
206
+ ctx.save();
207
+ ctx.globalAlpha = alpha;
208
+ // Coins.
209
+ ctx.fillStyle = "#f2c14e";
210
+ for (let i = 0; i < 3; i++) {
211
+ ctx.beginPath();
212
+ ctx.arc(x + (i - 1) * 5 * s, y - rise - i * 2 * s, 2.5 * s, 0, Math.PI * 2);
213
+ ctx.fill();
214
+ }
215
+ // Four-point sparkle.
216
+ ctx.fillStyle = "#fff7cc";
217
+ const cy = y - rise;
218
+ const R = (4 + phase * 4) * s;
219
+ const r = R * 0.38;
220
+ ctx.beginPath();
221
+ for (let i = 0; i < 8; i++) {
222
+ const ang = (Math.PI * i) / 4;
223
+ const rr = i % 2 === 0 ? R : r;
224
+ const px = x + Math.cos(ang) * rr;
225
+ const py = cy + Math.sin(ang) * rr;
226
+ if (i === 0)
227
+ ctx.moveTo(px, py);
228
+ else
229
+ ctx.lineTo(px, py);
230
+ }
231
+ ctx.closePath();
232
+ ctx.fill();
233
+ ctx.restore();
234
+ }
235
+ /** A black VIP limousine facing right, its wheels resting on the line y. */
236
+ function drawVipLimo(ctx, x, y, scale = 1) {
237
+ const s = scale;
238
+ const w = 44 * s;
239
+ const h = 9 * s;
240
+ ctx.save();
241
+ // Body + cabin.
242
+ ctx.fillStyle = "#15171c";
243
+ ctx.fillRect(x - w / 2, y - h, w, h);
244
+ ctx.fillRect(x - w / 2 + 8 * s, y - h - 5 * s, w - 18 * s, 6 * s);
245
+ // Tinted windows.
246
+ ctx.fillStyle = "#6ea0d8";
247
+ ctx.fillRect(x - w / 2 + 10 * s, y - h - 3.5 * s, 10 * s, 3 * s);
248
+ ctx.fillRect(x + 2 * s, y - h - 3.5 * s, 10 * s, 3 * s);
249
+ // Wheels with hubs.
250
+ ctx.fillStyle = "#0a0b0e";
251
+ for (const wx of [x - w / 2 + 9 * s, x + w / 2 - 9 * s]) {
252
+ ctx.beginPath();
253
+ ctx.arc(wx, y, 3.2 * s, 0, Math.PI * 2);
254
+ ctx.fill();
255
+ }
256
+ ctx.fillStyle = "#cfd3da";
257
+ for (const wx of [x - w / 2 + 9 * s, x + w / 2 - 9 * s]) {
258
+ ctx.beginPath();
259
+ ctx.arc(wx, y, 1.3 * s, 0, Math.PI * 2);
260
+ ctx.fill();
261
+ }
262
+ // Little gold pennant on the hood.
263
+ ctx.strokeStyle = "#c9a227";
264
+ ctx.lineWidth = 1 * s;
265
+ ctx.beginPath();
266
+ ctx.moveTo(x + w / 2 - 2 * s, y - h);
267
+ ctx.lineTo(x + w / 2 - 2 * s, y - h - 8 * s);
268
+ ctx.stroke();
269
+ ctx.fillStyle = "#c9a227";
270
+ ctx.beginPath();
271
+ ctx.moveTo(x + w / 2 - 2 * s, y - h - 8 * s);
272
+ ctx.lineTo(x + w / 2 + 4 * s, y - h - 6 * s);
273
+ ctx.lineTo(x + w / 2 - 2 * s, y - h - 4 * s);
274
+ ctx.closePath();
275
+ ctx.fill();
276
+ ctx.restore();
277
+ }
278
+
279
+ export { FIGURE_HEIGHT, drawExplosion, drawSanta, drawSearchGuard, drawThief, drawTreasure, drawVipLimo };
280
+ //# sourceMappingURL=events.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"events.js","sources":["../../../src/render/sprites/events.ts"],"sourcesContent":["/**\n * One-off EVENT visuals drawn in immediate mode on the sky/overlay canvases —\n * deliberately NOT Excalibur actors, so there is no actor to leak or tear down\n * (the class of bug PR #105 had to fix). Both are pure `(ctx, …)` draws the\n * TowerEngine calls each frame while an event is playing; when the play-out\n * window closes the engine simply stops calling them.\n *\n * - {@link drawSanta}: the holiday cameo — Santa's sleigh and reindeer crossing\n * the sky (canon: \"Santa Claus and his reindeer fly across the tower\").\n * - {@link drawExplosion}: the bomb-detonation flash at the blast epicenter,\n * a fading starburst over the rooms it guts.\n * - {@link drawThief}: a masked thief running across a floor with a loot sack;\n * a security guard stands behind him when he's caught.\n * - {@link drawTreasure}: a gold sparkle + coins rising from an unearthed find.\n * - {@link drawVipLimo}: the VIP's limousine, arriving at the lobby for a review.\n */\n\nimport { drawPerson, STAFF_LOOK } from \"../pixelSprites/people\";\n\n/** One reindeer facing right: body, head, antlers, legs, a red nose. */\nfunction drawReindeer(ctx: CanvasRenderingContext2D, x: number, y: number, s: number): void {\n ctx.fillStyle = \"#7a5230\";\n ctx.fillRect(x - 7 * s, y - 4 * s, 12 * s, 5 * s); // body\n ctx.fillRect(x + 4 * s, y - 8 * s, 4 * s, 5 * s); // head/neck\n // legs\n ctx.fillRect(x - 5 * s, y + 1 * s, 1.5 * s, 5 * s);\n ctx.fillRect(x + 2 * s, y + 1 * s, 1.5 * s, 5 * s);\n // antlers\n ctx.strokeStyle = \"#5a3c22\";\n ctx.lineWidth = 1 * s;\n ctx.beginPath();\n ctx.moveTo(x + 6 * s, y - 8 * s);\n ctx.lineTo(x + 4 * s, y - 12 * s);\n ctx.moveTo(x + 7 * s, y - 8 * s);\n ctx.lineTo(x + 10 * s, y - 12 * s);\n ctx.stroke();\n // Rudolph's nose\n ctx.fillStyle = \"#ff5252\";\n ctx.beginPath();\n ctx.arc(x + 8 * s, y - 5 * s, 1.4 * s, 0, Math.PI * 2);\n ctx.fill();\n}\n\n/**\n * The board Santa in the sleigh seat, feet at (x, footY), sized by `s`. A\n * bespoke integer-rect port (no `person()` dependency): dark boots, a red coat\n * with edge shades, a belt and gold buckle, a fur hem, a skin face with a white\n * beard and a rosy cheek, a pom hat, and a toy sack with a poking-out gift.\n * Every rect rounds to integer device pixels after scaling. The gift is a\n * NON-reserved festive red (`#D0483E`), never the board build script's reserved\n * stress red `#C24A3A`.\n */\nfunction drawSantaFigure(ctx: CanvasRenderingContext2D, x: number, footY: number, s: number): void {\n const px = (ax: number, ay: number, aw: number, ah: number, c: string): void => {\n ctx.fillStyle = c;\n ctx.fillRect(Math.round(x + ax * s), Math.round(footY + ay * s), Math.max(1, Math.round(aw * s)), Math.max(1, Math.round(ah * s)));\n };\n // Toy sack behind Santa, with a gift poking out the top.\n px(-6, -11, 4, 10, \"#8A5A3A\");\n px(-6, -11, 4, 1, \"#A06E48\"); // sack highlight\n px(-5, -13, 3, 2, \"#D0483E\"); // festive-red gift (not the reserved stress red)\n px(-4, -13, 1, 2, \"#5AA85A\"); // green ribbon bit\n // Boots.\n px(0, -4, 2, 4, \"#2A2A2A\");\n px(4, -4, 2, 4, \"#2A2A2A\");\n // Red coat with edge shades.\n px(0, -13, 6, 9, \"#B8342E\");\n px(0, -13, 1, 9, \"#8A241E\");\n px(5, -13, 1, 9, \"#D0483E\");\n // Belt with a gold buckle.\n px(0, -8, 6, 1, \"#2A2A2A\");\n px(2, -8, 2, 1, \"#E8C14A\");\n // Fur hem + white cuffs at the coat bottom.\n px(0, -5, 6, 1, \"#F4F0EC\");\n px(0, -5, 1, 1, \"#FFFFFF\");\n px(5, -5, 1, 1, \"#FFFFFF\");\n // Skin face, then a white beard onto the chest and a rosy cheek.\n px(1, -17, 4, 4, \"#E8C9A0\");\n px(1, -14, 4, 2, \"#F4F0EC\");\n px(4, -15, 1, 1, \"#E8B090\");\n // Hat: red crown with a floppy tip, a white fur brim, and a white pom.\n px(1, -18, 4, 2, \"#B8342E\");\n px(-1, -18, 2, 1, \"#B8342E\");\n px(-2, -18, 1, 1, \"#FFFFFF\"); // pom\n px(1, -16, 4, 1, \"#FFFFFF\"); // brim\n}\n\n/**\n * Santa's sleigh + team, centered at (x, y), facing right. `scale` sizes the\n * whole rig. Drawn in screen space on the sky layer. The reindeer, sleigh, and\n * reins are the preserved canon sky rig; only the rider is the enriched board\n * figure.\n */\nexport function drawSanta(ctx: CanvasRenderingContext2D, x: number, y: number, scale = 1): void {\n const s = scale;\n ctx.save();\n // Rein line from the sleigh to the lead reindeer.\n ctx.strokeStyle = \"rgba(120,90,60,0.85)\";\n ctx.lineWidth = 1.4 * s;\n ctx.beginPath();\n ctx.moveTo(x - 20 * s, y - 2 * s);\n ctx.lineTo(x + 46 * s, y - 3 * s);\n ctx.stroke();\n\n // Two reindeer leading (to the right).\n drawReindeer(ctx, x + 22 * s, y, s);\n drawReindeer(ctx, x + 40 * s, y, s);\n\n // Sleigh body with a curled front runner.\n ctx.fillStyle = \"#c0331f\";\n ctx.fillRect(x - 24 * s, y - 6 * s, 22 * s, 8 * s);\n ctx.beginPath();\n ctx.moveTo(x - 2 * s, y + 2 * s);\n ctx.quadraticCurveTo(x + 6 * s, y + 2 * s, x + 4 * s, y - 5 * s); // curled prow\n ctx.lineTo(x - 2 * s, y - 5 * s);\n ctx.closePath();\n ctx.fill();\n // Gold trim + runner.\n ctx.strokeStyle = \"#f0c14b\";\n ctx.lineWidth = 1.2 * s;\n ctx.beginPath();\n ctx.moveTo(x - 26 * s, y + 3 * s);\n ctx.lineTo(x + 4 * s, y + 3 * s);\n ctx.stroke();\n\n // The board Santa in the sleigh seat (enriched rider; the rig above is canon).\n drawSantaFigure(ctx, x - 18 * s, y - 4 * s, s);\n\n ctx.restore();\n}\n\n/**\n * A bomb-blast starburst centered at (x, y), expanding to `radius`. `phase`\n * runs 0→1 over the flash's lifetime; the whole thing fades as it grows.\n */\nexport function drawExplosion(ctx: CanvasRenderingContext2D, x: number, y: number, radius: number, phase: number): void {\n const alpha = Math.max(0, 1 - phase);\n if (alpha <= 0 || radius <= 0) return;\n ctx.save();\n ctx.globalAlpha = alpha;\n // Soft outer glow.\n ctx.fillStyle = \"rgba(255,140,0,0.5)\";\n ctx.beginPath();\n ctx.arc(x, y, radius, 0, Math.PI * 2);\n ctx.fill();\n // Jagged starburst.\n ctx.fillStyle = \"#ffcf3a\";\n const spikes = 10;\n ctx.beginPath();\n for (let i = 0; i < spikes * 2; i++) {\n const ang = (Math.PI * i) / spikes;\n const rr = i % 2 === 0 ? radius : radius * 0.5;\n const px = x + Math.cos(ang) * rr;\n const py = y + Math.sin(ang) * rr;\n if (i === 0) ctx.moveTo(px, py);\n else ctx.lineTo(px, py);\n }\n ctx.closePath();\n ctx.fill();\n // Hot core.\n ctx.fillStyle = \"#fff6d5\";\n ctx.beginPath();\n ctx.arc(x, y, radius * 0.34, 0, Math.PI * 2);\n ctx.fill();\n ctx.restore();\n}\n\n/** How tall the guard and thief figures are at size 1, from the guard's\n * alert beacon to the contact shadow under them. */\nexport const FIGURE_HEIGHT = 30;\n\n/** What the overlay's figures are doing, from the event that drives them. */\nexport interface EventFigureState {\n /** The walk or climb frame (0 to 3), from the overlay's clock. */\n readonly frame?: number;\n /** Lit from the upper left (Modern's `rules.shadedLook`). */\n readonly lit?: boolean;\n}\n\n/** The static red alert beacon over a guard on a call (a functional cue). */\nfunction drawBeacon(ctx: CanvasRenderingContext2D, x: number, footY: number, s: number): void {\n ctx.fillStyle = \"rgba(255,64,64,0.92)\";\n ctx.fillRect(Math.round(x + 4 * s), Math.round(footY - 29 * s), Math.max(1, Math.round(2 * s)), Math.max(1, Math.round(2 * s)));\n}\n\n/** A guard sweeping a floor for Classic's bomb, feet at (x, footY), sized by\n * `s`: the cast's security guard (#2097), climbing on the emergency stairs\n * and walking the floor's rooms. */\nexport function drawSearchGuard(ctx: CanvasRenderingContext2D, x: number, footY: number, s: number, climbing = false, state: EventFigureState = {}): void {\n ctx.save();\n drawPerson(ctx, x, footY, STAFF_LOOK.security, { lit: state.lit ?? false, frame: state.frame ?? 1, pose: climbing ? \"climb\" : \"walk\", scale: s });\n drawBeacon(ctx, x, footY, s);\n ctx.restore();\n}\n\n/**\n * The masked thief running rightward with a swag sack, feet at (x, y), in the\n * cast's look (#2097). When `caught`, he throws his hands up and a security\n * guard stands close behind him with an alert light. Drawn in screen space\n * on the overlay (in front of the tower).\n */\nexport function drawThief(ctx: CanvasRenderingContext2D, x: number, y: number, scale = 1, caught = false, state: EventFigureState = {}): void {\n const s = scale;\n const lit = state.lit ?? false;\n ctx.save();\n if (caught) {\n drawPerson(ctx, x - 13 * s, y, STAFF_LOOK.security, { lit, frame: 1, pose: \"stand\", scale: s, empty: true });\n drawBeacon(ctx, x - 13 * s, y, s);\n }\n drawPerson(ctx, x, y, STAFF_LOOK.thief, { lit, frame: caught ? 1 : (state.frame ?? 0), pose: caught ? \"caught\" : \"run\", scale: s, empty: caught });\n ctx.restore();\n}\n\n/**\n * A gold sparkle + coins rising from an unearthed treasure, centered at (x, y).\n * `phase` runs 0→1: the sparkle grows and drifts up as it fades.\n */\nexport function drawTreasure(ctx: CanvasRenderingContext2D, x: number, y: number, scale = 1, phase = 0): void {\n const alpha = Math.max(0, 1 - phase);\n if (alpha <= 0) return;\n const s = scale;\n const rise = phase * 12 * s;\n ctx.save();\n ctx.globalAlpha = alpha;\n // Coins.\n ctx.fillStyle = \"#f2c14e\";\n for (let i = 0; i < 3; i++) {\n ctx.beginPath();\n ctx.arc(x + (i - 1) * 5 * s, y - rise - i * 2 * s, 2.5 * s, 0, Math.PI * 2);\n ctx.fill();\n }\n // Four-point sparkle.\n ctx.fillStyle = \"#fff7cc\";\n const cy = y - rise;\n const R = (4 + phase * 4) * s;\n const r = R * 0.38;\n ctx.beginPath();\n for (let i = 0; i < 8; i++) {\n const ang = (Math.PI * i) / 4;\n const rr = i % 2 === 0 ? R : r;\n const px = x + Math.cos(ang) * rr;\n const py = cy + Math.sin(ang) * rr;\n if (i === 0) ctx.moveTo(px, py);\n else ctx.lineTo(px, py);\n }\n ctx.closePath();\n ctx.fill();\n ctx.restore();\n}\n\n/** A black VIP limousine facing right, its wheels resting on the line y. */\nexport function drawVipLimo(ctx: CanvasRenderingContext2D, x: number, y: number, scale = 1): void {\n const s = scale;\n const w = 44 * s;\n const h = 9 * s;\n ctx.save();\n // Body + cabin.\n ctx.fillStyle = \"#15171c\";\n ctx.fillRect(x - w / 2, y - h, w, h);\n ctx.fillRect(x - w / 2 + 8 * s, y - h - 5 * s, w - 18 * s, 6 * s);\n // Tinted windows.\n ctx.fillStyle = \"#6ea0d8\";\n ctx.fillRect(x - w / 2 + 10 * s, y - h - 3.5 * s, 10 * s, 3 * s);\n ctx.fillRect(x + 2 * s, y - h - 3.5 * s, 10 * s, 3 * s);\n // Wheels with hubs.\n ctx.fillStyle = \"#0a0b0e\";\n for (const wx of [x - w / 2 + 9 * s, x + w / 2 - 9 * s]) {\n ctx.beginPath();\n ctx.arc(wx, y, 3.2 * s, 0, Math.PI * 2);\n ctx.fill();\n }\n ctx.fillStyle = \"#cfd3da\";\n for (const wx of [x - w / 2 + 9 * s, x + w / 2 - 9 * s]) {\n ctx.beginPath();\n ctx.arc(wx, y, 1.3 * s, 0, Math.PI * 2);\n ctx.fill();\n }\n // Little gold pennant on the hood.\n ctx.strokeStyle = \"#c9a227\";\n ctx.lineWidth = 1 * s;\n ctx.beginPath();\n ctx.moveTo(x + w / 2 - 2 * s, y - h);\n ctx.lineTo(x + w / 2 - 2 * s, y - h - 8 * s);\n ctx.stroke();\n ctx.fillStyle = \"#c9a227\";\n ctx.beginPath();\n ctx.moveTo(x + w / 2 - 2 * s, y - h - 8 * s);\n ctx.lineTo(x + w / 2 + 4 * s, y - h - 6 * s);\n ctx.lineTo(x + w / 2 - 2 * s, y - h - 4 * s);\n ctx.closePath();\n ctx.fill();\n ctx.restore();\n}\n"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;;AAeG;AAIH;AACA,SAAS,YAAY,CAAC,GAA6B,EAAE,CAAS,EAAE,CAAS,EAAE,CAAS,EAAA;AAClF,IAAA,GAAG,CAAC,SAAS,GAAG,SAAS;IACzB,GAAG,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,EAAE,GAAG,CAAC,EAAE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AAG,CAAC,SAAS,EAAE;IACf,GAAG,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC5C,GAAG,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC5C,GAAG,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC5C,GAAG,CAAC,SAAS,EAAE;IACf,GAAG,CAAC,IAAI,EAAE;IACV,GAAG,CAAC,OAAO,EAAE;AACf;;"}
@@ -0,0 +1,23 @@
1
+ import type { UnitView } from "../../../simport/view";
2
+ import { type DrawCtx } from "../common";
3
+ /**
4
+ * The basement garage kinds: a single parking space and the parking ramp.
5
+ * Both were first ported from their Figma reference build scripts
6
+ * (`page-01-parking-medical-security.build.js`, `page-01-parking-ramp.build.js`),
7
+ * which are drawn on the retired 11 by 44 grid. Since the re-authoring, this
8
+ * TypeScript is the canonical art, drawn through the shared `refMap` scaler.
9
+ * Placement is engine truth (`basement:true` and the ramp chain); the render
10
+ * only reflects it.
11
+ *
12
+ * The references were re-authored onto the live TILE 10 by FLOOR 45 grid, so
13
+ * `RW`/`RH` equal the shipped footprint and, drawn at that footprint, `refMap`
14
+ * is the identity. Keep them that way: a reference that drifts off the shipped
15
+ * size resamples every rect, and a resampled repeat (stall lines, car wheels,
16
+ * ceiling joists) loses its even pitch. Previews that draw at another size
17
+ * (/gallery) still resample.
18
+ */
19
+ export declare function drawParking(d: DrawCtx, u: UnitView, x: number, y: number, w: number, h: number): void;
20
+ /** The dead-parking "red X" (canon: an unchained space draws no relief), the
21
+ * same strokes the per-unit bake drew, at the unit's region-relative rect. */
22
+ export declare function drawDeadParkingX(ctx: CanvasRenderingContext2D, x: number, y: number, w: number, h: number): void;
23
+ export declare function drawParkingRamp(ctx: CanvasRenderingContext2D, u: UnitView, x: number, y: number, w: number, h: number): void;