@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,347 @@
1
+ import { personSeated } from '../../pixelSprites/common.js';
2
+ import { layerBreak } from '../../pixelSprites/layers.js';
3
+
4
+ function makeFiller(ctx, x, y, off) {
5
+ return (cx, ry, cw, ch, color, alpha = 1) => {
6
+ const rw = Math.round(cw);
7
+ const rh = Math.round(ch);
8
+ if (rw <= 0 || rh <= 0)
9
+ return; // skip a degenerate rect instead of flooring it to a stray 1px
10
+ const prevAlpha = ctx.globalAlpha;
11
+ ctx.globalAlpha = prevAlpha * alpha; // composite with the caller's alpha, do not clobber a fade
12
+ ctx.fillStyle = color;
13
+ ctx.fillRect(Math.round(x + cx - off), Math.round(y + ry), rw, rh);
14
+ ctx.globalAlpha = prevAlpha; // restore instead of assuming the caller was at 1
15
+ };
16
+ }
17
+ /** A potted palm: pot on the floor, a slim trunk, and green fronds. `cx` is the
18
+ * trunk's composite x, `fy` the floor line (relative to y). */
19
+ function palm(R, cx, fy) {
20
+ R(cx - 2, fy - 3, 5, 3, "#5C4A38"); // pot
21
+ R(cx - 2, fy - 3, 5, 1, "#6A5240"); // pot rim
22
+ R(cx, fy - 9, 1, 6, "#6A5240"); // trunk
23
+ R(cx - 2, fy - 13, 5, 4, "#4E7A3E"); // fronds
24
+ R(cx - 1, fy - 15, 3, 2, "#4E7A3E"); // top fronds
25
+ R(cx - 3, fy - 11, 2, 1, "#4E7A3E"); // left frond
26
+ R(cx + 2, fy - 11, 2, 1, "#4E7A3E"); // right frond
27
+ }
28
+ /** The shared grand-hotel facade body drawn by BOTH wide slices in composite
29
+ * space (each canvas clips to its half): sky and skyline, the glass curtain
30
+ * wall, the red scalloped awning, the gold double doors (focal point, glowing
31
+ * at night), the floor, the red carpet, and the right potted palm. The doorman
32
+ * and the left-flank reception are drawn per slice by the callers. */
33
+ function drawGrandHotelBody(d, R, W, h) {
34
+ const { lit } = d;
35
+ const fy = h - 6; // floor line (reference fy=38 of 44)
36
+ const dcx = Math.round(W / 2); // doors centered on the slice boundary
37
+ // Sky band with a distant skyline behind the entrance.
38
+ R(0, 0, W, 10, lit ? "#2A3350" : "#AFC8DE");
39
+ for (let bx = 0, bi = 0; bx < W; bx += 4, bi++) {
40
+ const bh = 3 + ((bi * 3) % 4);
41
+ R(bx, 10 - bh, 3, bh, lit ? "#1E2740" : "#7EA0C0");
42
+ if (lit)
43
+ R(bx + 1, 10 - bh + 1, 1, 1, "#F3D08A"); // warm distant windows at night
44
+ }
45
+ R(0, 10, W, 1, "#3A4658"); // sky base line
46
+ // Gold cornice cap along the very top, matching the concourse ceiling line
47
+ // (drawLobbyTile), so the whole ground frontage reads as one continuous gilded
48
+ // top line where the entrance meets the neighboring concourse tiles. The sky
49
+ // then reads as a clerestory strip below the cornice.
50
+ R(0, 0, W, 3, "#C9A24B");
51
+ R(0, 3, W, 1, "#8A7430");
52
+ // Glass curtain wall above and around the doors: dark frame, glass inner,
53
+ // slim mullions. Warm interior spill glows at the base after dark.
54
+ R(2, 11, W - 4, fy - 11, "#3A4658");
55
+ R(3, 13, W - 6, fy - 14, lit ? "#243447" : "#8FB6C8");
56
+ for (let gx = 5; gx < W - 4; gx += 5)
57
+ R(gx, 13, 1, fy - 14, lit ? "#3A5068" : "#5A7E9A", 0.6);
58
+ if (lit)
59
+ R(4, fy - 7, W - 8, 6, "#C9A24B", 0.16);
60
+ // Red scalloped awning across the top, with a small sign and (at night) warm
61
+ // bulbs along the valance so it reads as the lit main entrance.
62
+ R(3, 8, W - 6, 3, "#9A2E38");
63
+ R(3, 8, W - 6, 1, "#B84450");
64
+ for (let cx2 = 4; cx2 < W - 4; cx2 += 4) {
65
+ R(cx2, 11, 2, 2, "#9A2E38"); // scalloped valance block
66
+ if (lit)
67
+ R(cx2, 12, 1, 1, "#F3D08A"); // warm bulb
68
+ }
69
+ R(dcx - 1, 5, 2, 3, "#8A8E96"); // small sign above center
70
+ // Gold double doors: the focal point. A warm halo behind them at night.
71
+ const doorL = dcx - 5;
72
+ const doorW = 10;
73
+ const doorTopY = fy - 18;
74
+ const doorH = 18;
75
+ if (lit)
76
+ R(doorL - 1, doorTopY - 1, doorW + 2, doorH + 2, "#FFE08A", 0.22);
77
+ R(doorL, doorTopY, doorW, doorH, lit ? "#D8B24E" : "#C9A24B");
78
+ R(doorL, doorTopY, doorW, 1, lit ? "#F0D878" : "#E8C860"); // top highlight
79
+ R(dcx - 1, doorTopY, 2, doorH, "#8A6A2A"); // center split at the boundary
80
+ R(doorL, doorTopY, 1, doorH, "#8A6A2A"); // left edge
81
+ R(doorL + doorW - 1, doorTopY, 1, doorH, "#8A6A2A"); // right edge
82
+ R(dcx - 4, fy - 9, 2, 2, "#8A6A2A"); // left handle
83
+ R(dcx + 2, fy - 9, 2, 2, "#8A6A2A"); // right handle
84
+ // Floor and the red carpet rolling out from the doors.
85
+ R(0, fy, W, h - fy, "#8A8478");
86
+ R(dcx - 5, fy, 10, h - fy, "#9A2E38");
87
+ R(dcx - 5, fy, 10, 1, "#B84450"); // carpet edge highlight
88
+ // The facade is the shell; the palm, the reception and the doorman stand in
89
+ // front of it (depth layers, `pixelSprites/layers.ts`).
90
+ layerBreak(d.ctx);
91
+ // Right potted palm flanking the doors (the left flank carries the reception).
92
+ palm(R, W - 4, fy);
93
+ }
94
+ /**
95
+ * Left slice of the wide 2-tile grand hotel entrance. Draws the shared facade
96
+ * body (clipped to this 11px canvas) plus the single relocated reception desk
97
+ * and attendant on the left flank. The wide grand entrance is placed once per
98
+ * lobby (on the leftmost frontage run of width >= 2), so a wide lobby shows
99
+ * exactly one attendant rather than one every fourth concourse tile. A 1-tile
100
+ * lobby uses the compact grand-solo fallback, which has no room for a counter
101
+ * and shows none.
102
+ */
103
+ function drawGrandFacadeLeft(d, x, y, w, h) {
104
+ const { ctx, lit } = d;
105
+ const R = makeFiller(ctx, x, y, 0);
106
+ drawGrandHotelBody(d, R, w * 2, h);
107
+ // Reception counter with a single seated attendant on the left flank, standing
108
+ // on the floor beside the doors. The desk face is drawn over the figure so only
109
+ // the head and shoulders read above the counter.
110
+ const fy = h - 6; // floor line, matching drawGrandHotelBody
111
+ const deskL = x;
112
+ const deskW = 6;
113
+ const deskH = 8;
114
+ const deskTop = y + fy - deskH; // desk base sits on the floor top
115
+ // The desk always stands; only the person behind it is gated, so a tower with
116
+ // nobody in it shows an unstaffed reception rather than a phantom clerk.
117
+ if (d.staffed !== false)
118
+ personSeated(ctx, x, deskTop + deskH - 1, 4);
119
+ ctx.fillStyle = "#6B4A2B"; // walnut counter
120
+ ctx.fillRect(deskL, deskTop, deskW, deskH);
121
+ ctx.fillStyle = "#8A6440"; // lit top rail
122
+ ctx.fillRect(deskL, deskTop, deskW, 1);
123
+ ctx.fillStyle = "#4E3620"; // shaded base so the counter sits on the floor
124
+ ctx.fillRect(deskL, deskTop + deskH - 1, deskW, 1);
125
+ if (lit) {
126
+ ctx.fillStyle = "#F8E2B4"; // a warm desk lamp glow at night
127
+ ctx.fillRect(deskL + 1, deskTop - 2, 2, 2);
128
+ }
129
+ }
130
+ /**
131
+ * Right slice of the wide 2-tile grand hotel entrance: the shared facade body
132
+ * (clipped to this canvas gives the right door leaf, the right palm, and the
133
+ * carpet) plus the doorman on the carpet by the doors. The doorman carries a
134
+ * two-frame idle sway keyed to `d.anim`, so this slice bakes with cache: false.
135
+ */
136
+ function drawGrandFacadeRight(d, x, y, w, h) {
137
+ const { ctx, anim } = d;
138
+ const R = makeFiller(ctx, x, y, w);
139
+ drawGrandHotelBody(d, R, w * 2, h);
140
+ // The doorman stands on the carpet at the doors. Composite dcx = w; placing him
141
+ // at composite dcx + 3 (local x = 3, since off = w) keeps both feet on the red
142
+ // carpet and clear of the right palm's pot at composite 16.
143
+ if (d.staffed !== false)
144
+ drawDoorman(ctx, Math.round(x + 3), y + h - 4, anim);
145
+ }
146
+ /** The green-and-gold doorman as a small pixel figure with a two-frame idle
147
+ * sway keyed to `anim`. Head + hat + torso shift one pixel between frames;
148
+ * shoes stay planted so it reads as "shifting weight," not "the whole figure
149
+ * slides." All rects are ≤ 2 wide and sit inside `[baseX, baseX+2]`, so the
150
+ * doorman never overpaints the tile's outer frame at the right edge. */
151
+ function drawDoorman(ctx, baseX, feetY, anim) {
152
+ const swayRight = Math.floor(anim / 1.5) % 2 === 0;
153
+ const bodyX = baseX + (swayRight ? 0 : 1);
154
+ const feetX = baseX;
155
+ const green = "#234b39";
156
+ const hatDark = "#173324";
157
+ const gold = "#c9a94c";
158
+ ctx.fillStyle = hatDark; // hat cap (dark green so it reads distinct from the tunic)
159
+ ctx.fillRect(bodyX, feetY - 9, 2, 1);
160
+ ctx.fillStyle = "#e0c39b"; // head/face
161
+ ctx.fillRect(bodyX, feetY - 8, 2, 2);
162
+ ctx.fillStyle = green; // torso
163
+ ctx.fillRect(bodyX, feetY - 6, 2, 4);
164
+ ctx.fillStyle = gold; // collar/cuffs trim across the top of the torso
165
+ ctx.fillRect(bodyX, feetY - 6, 2, 1);
166
+ ctx.fillStyle = "#1a1512"; // shoes stay planted on the carpet
167
+ ctx.fillRect(feetX, feetY - 2, 2, 2);
168
+ }
169
+ /**
170
+ * The compact 1-tile grand entrance, used only when the lobby is too narrow to
171
+ * fit the wide {@link drawGrandFacadeLeft} + {@link drawGrandFacadeRight} pair
172
+ * (that is, on a 1-tile toy lobby). The same grand-hotel grammar compressed into
173
+ * 11 pixels: sky, red awning, gold double doors, red carpet, one potted palm,
174
+ * and the doorman. No reception (no room); the wide form is the primary one.
175
+ */
176
+ function drawGrandCompact(d, x, y, w, h) {
177
+ const { ctx, lit, anim } = d;
178
+ const R = makeFiller(ctx, x, y, 0);
179
+ const fy = h - 6;
180
+ const lc = Math.floor(w / 2); // local center column
181
+ // Sky + skyline.
182
+ R(0, 0, w, 10, lit ? "#2A3350" : "#AFC8DE");
183
+ // Blocks are 3 wide on a 4px pitch. Clamp the last one to the canvas instead
184
+ // of letting it run past: at an 11px tile the final block started at 8 and
185
+ // ended exactly on the edge, but at 10px it overhung by a column and left a
186
+ // notch of raw sky where the block was cut.
187
+ for (let bx = 0, bi = 0; bx < w; bx += 4, bi++) {
188
+ const bh = 3 + ((bi * 3) % 4);
189
+ const bw = Math.min(3, w - bx);
190
+ R(bx, 10 - bh, bw, bh, lit ? "#1E2740" : "#7EA0C0");
191
+ if (lit && bw > 1)
192
+ R(bx + 1, 10 - bh + 1, 1, 1, "#F3D08A");
193
+ }
194
+ R(0, 10, w, 1, "#3A4658");
195
+ // Gold cornice cap matching the concourse ceiling line (drawLobbyTile).
196
+ R(0, 0, w, 3, "#C9A24B");
197
+ R(0, 3, w, 1, "#8A7430");
198
+ // Glass curtain wall.
199
+ R(1, 11, w - 2, fy - 11, "#3A4658");
200
+ R(2, 13, w - 4, fy - 14, lit ? "#243447" : "#8FB6C8");
201
+ if (lit)
202
+ R(2, fy - 7, w - 4, 6, "#C9A24B", 0.16);
203
+ // Red scalloped awning + sign.
204
+ R(0, 8, w, 3, "#9A2E38");
205
+ R(0, 8, w, 1, "#B84450");
206
+ for (let cx2 = 1; cx2 < w - 1; cx2 += 3) {
207
+ R(cx2, 11, 2, 2, "#9A2E38");
208
+ if (lit)
209
+ R(cx2, 12, 1, 1, "#F3D08A");
210
+ }
211
+ R(lc - 1, 5, 2, 3, "#8A8E96");
212
+ // Gold double doors (7 wide) with a warm halo at night.
213
+ const doorL = lc - 3;
214
+ const doorW = 7;
215
+ const doorTopY = fy - 18;
216
+ const doorH = 18;
217
+ if (lit)
218
+ R(doorL - 1, doorTopY - 1, doorW + 2, doorH + 2, "#FFE08A", 0.22);
219
+ R(doorL, doorTopY, doorW, doorH, lit ? "#D8B24E" : "#C9A24B");
220
+ R(doorL, doorTopY, doorW, 1, lit ? "#F0D878" : "#E8C860");
221
+ R(lc, doorTopY, 1, doorH, "#8A6A2A"); // center split
222
+ R(doorL, doorTopY, 1, doorH, "#8A6A2A");
223
+ R(doorL + doorW - 1, doorTopY, 1, doorH, "#8A6A2A");
224
+ R(lc - 2, fy - 9, 1, 2, "#8A6A2A"); // handles, mirrored about the center split
225
+ R(lc + 2, fy - 9, 1, 2, "#8A6A2A");
226
+ // Floor + red carpet.
227
+ R(0, fy, w, h - fy, "#8A8478");
228
+ R(lc - 3, fy, 7, h - fy, "#9A2E38");
229
+ R(lc - 3, fy, 7, 1, "#B84450");
230
+ // The facade is the shell; the palm and the doorman stand in front of it.
231
+ layerBreak(ctx);
232
+ // One compact potted palm tucked at the far left, sized to fit the tile so it
233
+ // is not clipped off the left edge.
234
+ R(0, fy - 3, 3, 3, "#5C4A38"); // pot (cols 0..2)
235
+ R(0, fy - 3, 3, 1, "#6A5240"); // pot rim
236
+ R(1, fy - 8, 1, 5, "#6A5240"); // trunk
237
+ R(0, fy - 12, 3, 4, "#4E7A3E"); // fronds
238
+ R(1, fy - 14, 1, 2, "#4E7A3E"); // top frond
239
+ // Doorman on the carpet just right of the doors. He is 2px wide and sways 1px
240
+ // right, so his rightmost column is baseX + 2 and baseX must stay at or under
241
+ // w - 3. `lc + 3` alone assumed an 11px tile, where it landed exactly on the
242
+ // limit; at a 10px tile it ran a column off the canvas and clipped his sway
243
+ // frame. Deriving the bound from `w` keeps the old placement at 11 and pulls
244
+ // him in wherever the tile is narrower.
245
+ const doormanX = Math.min(lc + 3, w - 3);
246
+ if (d.staffed !== false)
247
+ drawDoorman(ctx, Math.round(x + doormanX), y + h - 4, anim);
248
+ }
249
+ /**
250
+ * The service entrance at the opposite frontage edge. Keeps the concourse's
251
+ * warm-lobby grammar so it reads as the same building, but swaps the glass
252
+ * double-door language for a solid wood panel door with a small brass
253
+ * "service" plate on the wall beside it and a potted plant next to the door.
254
+ * No glow, no doorman, no reflection: staff-only, quiet, but with enough
255
+ * ornament to feel like a real detail rather than a shrunken grand entrance.
256
+ */
257
+ function drawServiceEntrance(ctx, x, y, w, h) {
258
+ // Door on the left half of the tile so the plant + plate can share the right
259
+ // half. Same top / bottom rows as the grand door so the two entrances read
260
+ // as living on the same ground plane.
261
+ const doorTop = y + 6;
262
+ const doorBot = y + h - 5;
263
+ const frameL = x + 1;
264
+ const frameR = x + 4;
265
+ // Dark frame (jambs, header, sill) matches the grand entrance's frame color
266
+ // so both doors clearly belong to the same building's carpentry.
267
+ const frameColor = "#3a2a20";
268
+ ctx.fillStyle = frameColor;
269
+ ctx.fillRect(frameL, doorTop, frameR - frameL + 1, 1); // header
270
+ ctx.fillRect(frameL, doorTop, 1, doorBot - doorTop); // left jamb
271
+ ctx.fillRect(frameR, doorTop, 1, doorBot - doorTop); // right jamb
272
+ ctx.fillRect(frameL, doorBot - 1, frameR - frameL + 1, 1); // sill
273
+ // Solid wood panel: warm mid-brown door with two recessed panels and a
274
+ // vertical grain line so it doesn't read as one flat rectangle.
275
+ const wood = "#7a5230";
276
+ const woodHi = "#8f6438";
277
+ const woodLo = "#5c3d21";
278
+ const panelL = frameL + 1;
279
+ const panelR = frameR - 1;
280
+ ctx.fillStyle = wood;
281
+ ctx.fillRect(panelL, doorTop + 1, panelR - panelL + 1, doorBot - doorTop - 2);
282
+ ctx.fillStyle = woodHi; // grain highlight
283
+ ctx.fillRect(panelL, doorTop + 1, 1, doorBot - doorTop - 2);
284
+ ctx.fillStyle = woodLo; // grain shadow
285
+ ctx.fillRect(panelR, doorTop + 1, 1, doorBot - doorTop - 2);
286
+ // Two recessed panels (upper + lower) so the door reads as a paneled wood
287
+ // door instead of one flat plank.
288
+ const panelInner = "#6a4525";
289
+ const upperY = doorTop + 3;
290
+ const lowerY = doorBot - 8;
291
+ ctx.fillStyle = panelInner;
292
+ ctx.fillRect(panelL, upperY, panelR - panelL + 1, 5);
293
+ ctx.fillRect(panelL, lowerY, panelR - panelL + 1, 5);
294
+ ctx.fillStyle = woodLo;
295
+ ctx.fillRect(panelL, upperY, panelR - panelL + 1, 1);
296
+ ctx.fillRect(panelL, lowerY, panelR - panelL + 1, 1);
297
+ // Brass hinges: two small gold dots on the left jamb.
298
+ const brass = "#caa94a";
299
+ ctx.fillStyle = brass;
300
+ ctx.fillRect(frameL, doorTop + 5, 1, 2);
301
+ ctx.fillRect(frameL, doorBot - 6, 1, 2);
302
+ // Doorknob on the right side, centered vertically on the panel.
303
+ const knobY = Math.floor((doorTop + doorBot) / 2) - 1;
304
+ ctx.fillRect(panelR, knobY, 1, 1);
305
+ // Brass "service" plate on the wall to the right of the door: a small gold
306
+ // plaque with three darker etch lines standing in for lettering at this
307
+ // pixel scale. The eye reads the shape as a signage plate, not text.
308
+ const plateL = x + 6;
309
+ const plateT = y + 12;
310
+ const plateW = 4;
311
+ const plateH = 4;
312
+ ctx.fillStyle = brass;
313
+ ctx.fillRect(plateL, plateT, plateW, plateH);
314
+ ctx.fillStyle = "#8a7430"; // darker gold border for depth
315
+ ctx.fillRect(plateL, plateT, plateW, 1);
316
+ ctx.fillRect(plateL, plateT + plateH - 1, plateW, 1);
317
+ ctx.fillStyle = "#5c4a1e"; // etched "lettering"
318
+ ctx.fillRect(plateL + 1, plateT + 2, plateW - 2, 1);
319
+ // The door and its plate are the shell; the plant stands in front of them.
320
+ layerBreak(ctx);
321
+ // Potted plant beside the door: brass/copper pot with a green shrub, the
322
+ // same shrub language the sky-lobby planter uses so plants read as one
323
+ // family across the concourse. Sits on the polished floor above the carpet.
324
+ // The pot is 5px wide drawn from potCx - 2, so its rightmost column is
325
+ // potCx + 2 and potCx must stay at or under w - 3. A flat `x + 8` assumed an
326
+ // 11px tile, where it sat exactly on the limit; at 10px it lost the pot's
327
+ // right edge. This holds the old position at 11 and slides it in when the
328
+ // tile is narrower. (The width parameter was `_w`, unused, which is how the
329
+ // assumption went unnoticed.)
330
+ const potCx = x + Math.min(8, w - 3);
331
+ const potY = y + h - 9;
332
+ ctx.fillStyle = "#8a6a30"; // brass pot
333
+ ctx.fillRect(potCx - 2, potY, 5, 4);
334
+ ctx.fillStyle = brass; // pot rim highlight
335
+ ctx.fillRect(potCx - 2, potY, 5, 1);
336
+ ctx.fillStyle = "#5c4a1e"; // pot base shadow
337
+ ctx.fillRect(potCx - 2, potY + 3, 5, 1);
338
+ ctx.fillStyle = "#567f46"; // shrub body
339
+ ctx.beginPath();
340
+ ctx.arc(potCx + 0.5, potY - 2, 3, 0, Math.PI * 2);
341
+ ctx.fill();
342
+ ctx.fillStyle = "#6f9c58"; // shrub highlight leaf
343
+ ctx.fillRect(potCx - 1, potY - 4, 2, 2);
344
+ }
345
+
346
+ export { drawGrandCompact, drawGrandFacadeLeft, drawGrandFacadeRight, drawServiceEntrance };
347
+ //# sourceMappingURL=entrance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entrance.js","sources":["../../../../src/render/sprites/structure/entrance.ts"],"sourcesContent":["import type { DrawCtx } from \"../common\";\nimport { personSeated } from \"../../pixelSprites/common\";\nimport { layerBreak } from \"../../pixelSprites/layers\";\n\n/**\n * The ground-floor grand and service entrance facades: the wide two-tile grand\n * hotel entrance (left + right slices), the compact one-tile fallback, the\n * doorman, and the quiet service door. Imported by `lobby.ts`, whose\n * `drawLobbyTile` dispatches the entrance-variant tiles here.\n *\n * The grand entrance is ported from page-05's `grandEnt` reference: a glass\n * curtain wall behind a red scalloped awning, big gold double doors as the\n * focal point, a red carpet rolling out from them, a potted palm on the right\n * flank (the left flank carries the relocated reception), and the doorman on the\n * carpet. It reads warm and grander after dark (the doors\n * and awning glow as the tower's lit main entrance). The single relocated\n * reception desk and attendant (the once-per-lobby staffed counter from the\n * lobby de-repeat) stands on the left flank of the wide form.\n */\n\n/** A composite-space fill drawer. `cx` is an x in the 22-wide composite facade,\n * `ry` is relative to the slice's `y`. `off` shifts the right slice left by one\n * tile so both 11px canvases paint the SAME composite; rects that fall off a\n * slice's canvas are harmlessly clipped, which keeps the two halves lined up\n * pixel-for-pixel at the join. Integer pixels, never a zero-size rect. */\ntype Filler = (cx: number, ry: number, cw: number, ch: number, color: string, alpha?: number) => void;\n\nfunction makeFiller(ctx: CanvasRenderingContext2D, x: number, y: number, off: number): Filler {\n return (cx, ry, cw, ch, color, alpha = 1) => {\n const rw = Math.round(cw);\n const rh = Math.round(ch);\n if (rw <= 0 || rh <= 0) return; // skip a degenerate rect instead of flooring it to a stray 1px\n const prevAlpha = ctx.globalAlpha;\n ctx.globalAlpha = prevAlpha * alpha; // composite with the caller's alpha, do not clobber a fade\n ctx.fillStyle = color;\n ctx.fillRect(Math.round(x + cx - off), Math.round(y + ry), rw, rh);\n ctx.globalAlpha = prevAlpha; // restore instead of assuming the caller was at 1\n };\n}\n\n/** A potted palm: pot on the floor, a slim trunk, and green fronds. `cx` is the\n * trunk's composite x, `fy` the floor line (relative to y). */\nfunction palm(R: Filler, cx: number, fy: number): void {\n R(cx - 2, fy - 3, 5, 3, \"#5C4A38\"); // pot\n R(cx - 2, fy - 3, 5, 1, \"#6A5240\"); // pot rim\n R(cx, fy - 9, 1, 6, \"#6A5240\"); // trunk\n R(cx - 2, fy - 13, 5, 4, \"#4E7A3E\"); // fronds\n R(cx - 1, fy - 15, 3, 2, \"#4E7A3E\"); // top fronds\n R(cx - 3, fy - 11, 2, 1, \"#4E7A3E\"); // left frond\n R(cx + 2, fy - 11, 2, 1, \"#4E7A3E\"); // right frond\n}\n\n/** The shared grand-hotel facade body drawn by BOTH wide slices in composite\n * space (each canvas clips to its half): sky and skyline, the glass curtain\n * wall, the red scalloped awning, the gold double doors (focal point, glowing\n * at night), the floor, the red carpet, and the right potted palm. The doorman\n * and the left-flank reception are drawn per slice by the callers. */\nfunction drawGrandHotelBody(d: DrawCtx, R: Filler, W: number, h: number): void {\n const { lit } = d;\n const fy = h - 6; // floor line (reference fy=38 of 44)\n const dcx = Math.round(W / 2); // doors centered on the slice boundary\n // Sky band with a distant skyline behind the entrance.\n R(0, 0, W, 10, lit ? \"#2A3350\" : \"#AFC8DE\");\n for (let bx = 0, bi = 0; bx < W; bx += 4, bi++) {\n const bh = 3 + ((bi * 3) % 4);\n R(bx, 10 - bh, 3, bh, lit ? \"#1E2740\" : \"#7EA0C0\");\n if (lit) R(bx + 1, 10 - bh + 1, 1, 1, \"#F3D08A\"); // warm distant windows at night\n }\n R(0, 10, W, 1, \"#3A4658\"); // sky base line\n // Gold cornice cap along the very top, matching the concourse ceiling line\n // (drawLobbyTile), so the whole ground frontage reads as one continuous gilded\n // top line where the entrance meets the neighboring concourse tiles. The sky\n // then reads as a clerestory strip below the cornice.\n R(0, 0, W, 3, \"#C9A24B\");\n R(0, 3, W, 1, \"#8A7430\");\n // Glass curtain wall above and around the doors: dark frame, glass inner,\n // slim mullions. Warm interior spill glows at the base after dark.\n R(2, 11, W - 4, fy - 11, \"#3A4658\");\n R(3, 13, W - 6, fy - 14, lit ? \"#243447\" : \"#8FB6C8\");\n for (let gx = 5; gx < W - 4; gx += 5) R(gx, 13, 1, fy - 14, lit ? \"#3A5068\" : \"#5A7E9A\", 0.6);\n if (lit) R(4, fy - 7, W - 8, 6, \"#C9A24B\", 0.16);\n // Red scalloped awning across the top, with a small sign and (at night) warm\n // bulbs along the valance so it reads as the lit main entrance.\n R(3, 8, W - 6, 3, \"#9A2E38\");\n R(3, 8, W - 6, 1, \"#B84450\");\n for (let cx2 = 4; cx2 < W - 4; cx2 += 4) {\n R(cx2, 11, 2, 2, \"#9A2E38\"); // scalloped valance block\n if (lit) R(cx2, 12, 1, 1, \"#F3D08A\"); // warm bulb\n }\n R(dcx - 1, 5, 2, 3, \"#8A8E96\"); // small sign above center\n // Gold double doors: the focal point. A warm halo behind them at night.\n const doorL = dcx - 5;\n const doorW = 10;\n const doorTopY = fy - 18;\n const doorH = 18;\n if (lit) R(doorL - 1, doorTopY - 1, doorW + 2, doorH + 2, \"#FFE08A\", 0.22);\n R(doorL, doorTopY, doorW, doorH, lit ? \"#D8B24E\" : \"#C9A24B\");\n R(doorL, doorTopY, doorW, 1, lit ? \"#F0D878\" : \"#E8C860\"); // top highlight\n R(dcx - 1, doorTopY, 2, doorH, \"#8A6A2A\"); // center split at the boundary\n R(doorL, doorTopY, 1, doorH, \"#8A6A2A\"); // left edge\n R(doorL + doorW - 1, doorTopY, 1, doorH, \"#8A6A2A\"); // right edge\n R(dcx - 4, fy - 9, 2, 2, \"#8A6A2A\"); // left handle\n R(dcx + 2, fy - 9, 2, 2, \"#8A6A2A\"); // right handle\n // Floor and the red carpet rolling out from the doors.\n R(0, fy, W, h - fy, \"#8A8478\");\n R(dcx - 5, fy, 10, h - fy, \"#9A2E38\");\n R(dcx - 5, fy, 10, 1, \"#B84450\"); // carpet edge highlight\n // The facade is the shell; the palm, the reception and the doorman stand in\n // front of it (depth layers, `pixelSprites/layers.ts`).\n layerBreak(d.ctx);\n // Right potted palm flanking the doors (the left flank carries the reception).\n palm(R, W - 4, fy);\n}\n\n/**\n * Left slice of the wide 2-tile grand hotel entrance. Draws the shared facade\n * body (clipped to this 11px canvas) plus the single relocated reception desk\n * and attendant on the left flank. The wide grand entrance is placed once per\n * lobby (on the leftmost frontage run of width >= 2), so a wide lobby shows\n * exactly one attendant rather than one every fourth concourse tile. A 1-tile\n * lobby uses the compact grand-solo fallback, which has no room for a counter\n * and shows none.\n */\nexport function drawGrandFacadeLeft(d: DrawCtx, x: number, y: number, w: number, h: number): void {\n const { ctx, lit } = d;\n const R = makeFiller(ctx, x, y, 0);\n drawGrandHotelBody(d, R, w * 2, h);\n // Reception counter with a single seated attendant on the left flank, standing\n // on the floor beside the doors. The desk face is drawn over the figure so only\n // the head and shoulders read above the counter.\n const fy = h - 6; // floor line, matching drawGrandHotelBody\n const deskL = x;\n const deskW = 6;\n const deskH = 8;\n const deskTop = y + fy - deskH; // desk base sits on the floor top\n // The desk always stands; only the person behind it is gated, so a tower with\n // nobody in it shows an unstaffed reception rather than a phantom clerk.\n if (d.staffed !== false) personSeated(ctx, x, deskTop + deskH - 1, 4);\n ctx.fillStyle = \"#6B4A2B\"; // walnut counter\n ctx.fillRect(deskL, deskTop, deskW, deskH);\n ctx.fillStyle = \"#8A6440\"; // lit top rail\n ctx.fillRect(deskL, deskTop, deskW, 1);\n ctx.fillStyle = \"#4E3620\"; // shaded base so the counter sits on the floor\n ctx.fillRect(deskL, deskTop + deskH - 1, deskW, 1);\n if (lit) {\n ctx.fillStyle = \"#F8E2B4\"; // a warm desk lamp glow at night\n ctx.fillRect(deskL + 1, deskTop - 2, 2, 2);\n }\n}\n\n/**\n * Right slice of the wide 2-tile grand hotel entrance: the shared facade body\n * (clipped to this canvas gives the right door leaf, the right palm, and the\n * carpet) plus the doorman on the carpet by the doors. The doorman carries a\n * two-frame idle sway keyed to `d.anim`, so this slice bakes with cache: false.\n */\nexport function drawGrandFacadeRight(d: DrawCtx, x: number, y: number, w: number, h: number): void {\n const { ctx, anim } = d;\n const R = makeFiller(ctx, x, y, w);\n drawGrandHotelBody(d, R, w * 2, h);\n // The doorman stands on the carpet at the doors. Composite dcx = w; placing him\n // at composite dcx + 3 (local x = 3, since off = w) keeps both feet on the red\n // carpet and clear of the right palm's pot at composite 16.\n if (d.staffed !== false) drawDoorman(ctx, Math.round(x + 3), y + h - 4, anim);\n}\n\n/** The green-and-gold doorman as a small pixel figure with a two-frame idle\n * sway keyed to `anim`. Head + hat + torso shift one pixel between frames;\n * shoes stay planted so it reads as \"shifting weight,\" not \"the whole figure\n * slides.\" All rects are ≤ 2 wide and sit inside `[baseX, baseX+2]`, so the\n * doorman never overpaints the tile's outer frame at the right edge. */\nfunction drawDoorman(ctx: CanvasRenderingContext2D, baseX: number, feetY: number, anim: number): void {\n const swayRight = Math.floor(anim / 1.5) % 2 === 0;\n const bodyX = baseX + (swayRight ? 0 : 1);\n const feetX = baseX;\n const green = \"#234b39\";\n const hatDark = \"#173324\";\n const gold = \"#c9a94c\";\n ctx.fillStyle = hatDark; // hat cap (dark green so it reads distinct from the tunic)\n ctx.fillRect(bodyX, feetY - 9, 2, 1);\n ctx.fillStyle = \"#e0c39b\"; // head/face\n ctx.fillRect(bodyX, feetY - 8, 2, 2);\n ctx.fillStyle = green; // torso\n ctx.fillRect(bodyX, feetY - 6, 2, 4);\n ctx.fillStyle = gold; // collar/cuffs trim across the top of the torso\n ctx.fillRect(bodyX, feetY - 6, 2, 1);\n ctx.fillStyle = \"#1a1512\"; // shoes stay planted on the carpet\n ctx.fillRect(feetX, feetY - 2, 2, 2);\n}\n\n/**\n * The compact 1-tile grand entrance, used only when the lobby is too narrow to\n * fit the wide {@link drawGrandFacadeLeft} + {@link drawGrandFacadeRight} pair\n * (that is, on a 1-tile toy lobby). The same grand-hotel grammar compressed into\n * 11 pixels: sky, red awning, gold double doors, red carpet, one potted palm,\n * and the doorman. No reception (no room); the wide form is the primary one.\n */\nexport function drawGrandCompact(d: DrawCtx, x: number, y: number, w: number, h: number): void {\n const { ctx, lit, anim } = d;\n const R = makeFiller(ctx, x, y, 0);\n const fy = h - 6;\n const lc = Math.floor(w / 2); // local center column\n // Sky + skyline.\n R(0, 0, w, 10, lit ? \"#2A3350\" : \"#AFC8DE\");\n // Blocks are 3 wide on a 4px pitch. Clamp the last one to the canvas instead\n // of letting it run past: at an 11px tile the final block started at 8 and\n // ended exactly on the edge, but at 10px it overhung by a column and left a\n // notch of raw sky where the block was cut.\n for (let bx = 0, bi = 0; bx < w; bx += 4, bi++) {\n const bh = 3 + ((bi * 3) % 4);\n const bw = Math.min(3, w - bx);\n R(bx, 10 - bh, bw, bh, lit ? \"#1E2740\" : \"#7EA0C0\");\n if (lit && bw > 1) R(bx + 1, 10 - bh + 1, 1, 1, \"#F3D08A\");\n }\n R(0, 10, w, 1, \"#3A4658\");\n // Gold cornice cap matching the concourse ceiling line (drawLobbyTile).\n R(0, 0, w, 3, \"#C9A24B\");\n R(0, 3, w, 1, \"#8A7430\");\n // Glass curtain wall.\n R(1, 11, w - 2, fy - 11, \"#3A4658\");\n R(2, 13, w - 4, fy - 14, lit ? \"#243447\" : \"#8FB6C8\");\n if (lit) R(2, fy - 7, w - 4, 6, \"#C9A24B\", 0.16);\n // Red scalloped awning + sign.\n R(0, 8, w, 3, \"#9A2E38\");\n R(0, 8, w, 1, \"#B84450\");\n for (let cx2 = 1; cx2 < w - 1; cx2 += 3) {\n R(cx2, 11, 2, 2, \"#9A2E38\");\n if (lit) R(cx2, 12, 1, 1, \"#F3D08A\");\n }\n R(lc - 1, 5, 2, 3, \"#8A8E96\");\n // Gold double doors (7 wide) with a warm halo at night.\n const doorL = lc - 3;\n const doorW = 7;\n const doorTopY = fy - 18;\n const doorH = 18;\n if (lit) R(doorL - 1, doorTopY - 1, doorW + 2, doorH + 2, \"#FFE08A\", 0.22);\n R(doorL, doorTopY, doorW, doorH, lit ? \"#D8B24E\" : \"#C9A24B\");\n R(doorL, doorTopY, doorW, 1, lit ? \"#F0D878\" : \"#E8C860\");\n R(lc, doorTopY, 1, doorH, \"#8A6A2A\"); // center split\n R(doorL, doorTopY, 1, doorH, \"#8A6A2A\");\n R(doorL + doorW - 1, doorTopY, 1, doorH, \"#8A6A2A\");\n R(lc - 2, fy - 9, 1, 2, \"#8A6A2A\"); // handles, mirrored about the center split\n R(lc + 2, fy - 9, 1, 2, \"#8A6A2A\");\n // Floor + red carpet.\n R(0, fy, w, h - fy, \"#8A8478\");\n R(lc - 3, fy, 7, h - fy, \"#9A2E38\");\n R(lc - 3, fy, 7, 1, \"#B84450\");\n // The facade is the shell; the palm and the doorman stand in front of it.\n layerBreak(ctx);\n // One compact potted palm tucked at the far left, sized to fit the tile so it\n // is not clipped off the left edge.\n R(0, fy - 3, 3, 3, \"#5C4A38\"); // pot (cols 0..2)\n R(0, fy - 3, 3, 1, \"#6A5240\"); // pot rim\n R(1, fy - 8, 1, 5, \"#6A5240\"); // trunk\n R(0, fy - 12, 3, 4, \"#4E7A3E\"); // fronds\n R(1, fy - 14, 1, 2, \"#4E7A3E\"); // top frond\n // Doorman on the carpet just right of the doors. He is 2px wide and sways 1px\n // right, so his rightmost column is baseX + 2 and baseX must stay at or under\n // w - 3. `lc + 3` alone assumed an 11px tile, where it landed exactly on the\n // limit; at a 10px tile it ran a column off the canvas and clipped his sway\n // frame. Deriving the bound from `w` keeps the old placement at 11 and pulls\n // him in wherever the tile is narrower.\n const doormanX = Math.min(lc + 3, w - 3);\n if (d.staffed !== false) drawDoorman(ctx, Math.round(x + doormanX), y + h - 4, anim);\n}\n\n/**\n * The service entrance at the opposite frontage edge. Keeps the concourse's\n * warm-lobby grammar so it reads as the same building, but swaps the glass\n * double-door language for a solid wood panel door with a small brass\n * \"service\" plate on the wall beside it and a potted plant next to the door.\n * No glow, no doorman, no reflection: staff-only, quiet, but with enough\n * ornament to feel like a real detail rather than a shrunken grand entrance.\n */\nexport function drawServiceEntrance(ctx: CanvasRenderingContext2D, x: number, y: number, w: number, h: number): void {\n // Door on the left half of the tile so the plant + plate can share the right\n // half. Same top / bottom rows as the grand door so the two entrances read\n // as living on the same ground plane.\n const doorTop = y + 6;\n const doorBot = y + h - 5;\n const frameL = x + 1;\n const frameR = x + 4;\n // Dark frame (jambs, header, sill) matches the grand entrance's frame color\n // so both doors clearly belong to the same building's carpentry.\n const frameColor = \"#3a2a20\";\n ctx.fillStyle = frameColor;\n ctx.fillRect(frameL, doorTop, frameR - frameL + 1, 1); // header\n ctx.fillRect(frameL, doorTop, 1, doorBot - doorTop); // left jamb\n ctx.fillRect(frameR, doorTop, 1, doorBot - doorTop); // right jamb\n ctx.fillRect(frameL, doorBot - 1, frameR - frameL + 1, 1); // sill\n // Solid wood panel: warm mid-brown door with two recessed panels and a\n // vertical grain line so it doesn't read as one flat rectangle.\n const wood = \"#7a5230\";\n const woodHi = \"#8f6438\";\n const woodLo = \"#5c3d21\";\n const panelL = frameL + 1;\n const panelR = frameR - 1;\n ctx.fillStyle = wood;\n ctx.fillRect(panelL, doorTop + 1, panelR - panelL + 1, doorBot - doorTop - 2);\n ctx.fillStyle = woodHi; // grain highlight\n ctx.fillRect(panelL, doorTop + 1, 1, doorBot - doorTop - 2);\n ctx.fillStyle = woodLo; // grain shadow\n ctx.fillRect(panelR, doorTop + 1, 1, doorBot - doorTop - 2);\n // Two recessed panels (upper + lower) so the door reads as a paneled wood\n // door instead of one flat plank.\n const panelInner = \"#6a4525\";\n const upperY = doorTop + 3;\n const lowerY = doorBot - 8;\n ctx.fillStyle = panelInner;\n ctx.fillRect(panelL, upperY, panelR - panelL + 1, 5);\n ctx.fillRect(panelL, lowerY, panelR - panelL + 1, 5);\n ctx.fillStyle = woodLo;\n ctx.fillRect(panelL, upperY, panelR - panelL + 1, 1);\n ctx.fillRect(panelL, lowerY, panelR - panelL + 1, 1);\n // Brass hinges: two small gold dots on the left jamb.\n const brass = \"#caa94a\";\n ctx.fillStyle = brass;\n ctx.fillRect(frameL, doorTop + 5, 1, 2);\n ctx.fillRect(frameL, doorBot - 6, 1, 2);\n // Doorknob on the right side, centered vertically on the panel.\n const knobY = Math.floor((doorTop + doorBot) / 2) - 1;\n ctx.fillRect(panelR, knobY, 1, 1);\n // Brass \"service\" plate on the wall to the right of the door: a small gold\n // plaque with three darker etch lines standing in for lettering at this\n // pixel scale. The eye reads the shape as a signage plate, not text.\n const plateL = x + 6;\n const plateT = y + 12;\n const plateW = 4;\n const plateH = 4;\n ctx.fillStyle = brass;\n ctx.fillRect(plateL, plateT, plateW, plateH);\n ctx.fillStyle = \"#8a7430\"; // darker gold border for depth\n ctx.fillRect(plateL, plateT, plateW, 1);\n ctx.fillRect(plateL, plateT + plateH - 1, plateW, 1);\n ctx.fillStyle = \"#5c4a1e\"; // etched \"lettering\"\n ctx.fillRect(plateL + 1, plateT + 2, plateW - 2, 1);\n // The door and its plate are the shell; the plant stands in front of them.\n layerBreak(ctx);\n // Potted plant beside the door: brass/copper pot with a green shrub, the\n // same shrub language the sky-lobby planter uses so plants read as one\n // family across the concourse. Sits on the polished floor above the carpet.\n // The pot is 5px wide drawn from potCx - 2, so its rightmost column is\n // potCx + 2 and potCx must stay at or under w - 3. A flat `x + 8` assumed an\n // 11px tile, where it sat exactly on the limit; at 10px it lost the pot's\n // right edge. This holds the old position at 11 and slides it in when the\n // tile is narrower. (The width parameter was `_w`, unused, which is how the\n // assumption went unnoticed.)\n const potCx = x + Math.min(8, w - 3);\n const potY = y + h - 9;\n ctx.fillStyle = \"#8a6a30\"; // brass pot\n ctx.fillRect(potCx - 2, potY, 5, 4);\n ctx.fillStyle = brass; // pot rim highlight\n ctx.fillRect(potCx - 2, potY, 5, 1);\n ctx.fillStyle = \"#5c4a1e\"; // pot base shadow\n ctx.fillRect(potCx - 2, potY + 3, 5, 1);\n ctx.fillStyle = \"#567f46\"; // shrub body\n ctx.beginPath();\n ctx.arc(potCx + 0.5, potY - 2, 3, 0, Math.PI * 2);\n ctx.fill();\n ctx.fillStyle = \"#6f9c58\"; // shrub highlight leaf\n ctx.fillRect(potCx - 1, potY - 4, 2, 2);\n}\n"],"names":[],"mappings":";;;AA2BA,SAAS,UAAU,CAAC,GAA6B,EAAE,CAAS,EAAE,CAAS,EAAE,GAAW,EAAA;AAClF,IAAA,OAAO,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,GAAG,CAAC,KAAI;QAC1C,MAAM,E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view";
2
+ import type { DrawCtx } from "../common";
3
+ /**
4
+ * The lobby concourse: the repeating pattern tiles (column, reception desk,
5
+ * chandelier/planter, sconce/art) plus the ground-floor entrance dispatch.
6
+ * Extracted verbatim from `structure.ts`; the entrance-variant tiles dispatch
7
+ * to `entrance.ts`. The per-tile art is ported from page-05's `lobbyGround`
8
+ * and `skyLobby` build scripts: warm veined marble, a gilded cornice, a red
9
+ * carpet and reception desk downstairs; airy skyline windows and an info desk
10
+ * upstairs.
11
+ */
12
+ /** The lobby pattern repeats on this many structural tiles: column, reception
13
+ * desk, centerpiece (chandelier / planter), sconce / art. The engine bakes one
14
+ * shared graphic per variant and picks by {@link lobbyVariant}, so adjacent
15
+ * tiles always line up into one continuous concourse. */
16
+ export declare const LOBBY_VARIANTS = 4;
17
+ /** Which pattern slot a lobby tile at grid x occupies. Defense-in-depth on
18
+ * top of deserialize's geometry clamps: a fractional, negative or non-finite
19
+ * x from any other caller (previews, tools, future fake units) still lands
20
+ * on a real variant instead of indexing the engine's baked-graphics array
21
+ * out of bounds. */
22
+ export declare function lobbyVariant(x: number): number;
23
+ /** Sentinel "variant" for the left half of the wide grand entrance: the
24
+ * left storefront display window. Outside the {@link LOBBY_VARIANTS} range
25
+ * so the engine can address it distinctly from the repeating cycle. */
26
+ export declare const ENTRANCE_GRAND_LEFT = 4;
27
+ /** Sentinel "variant" for the right half of the wide grand entrance: the
28
+ * doors + doorman + right display window. */
29
+ export declare const ENTRANCE_GRAND_RIGHT: number;
30
+ /** Sentinel "variant" for the compact 1-tile grand entrance, used as the
31
+ * narrow-lobby fallback when the lobby is too narrow to fit the wide 2-tile
32
+ * storefront. */
33
+ export declare const ENTRANCE_GRAND_SOLO: number;
34
+ /** Sentinel "variant" for the quiet service entrance at the opposite frontage
35
+ * edge. Same-shape door as the grand tile, no glow, no doorman. */
36
+ export declare const ENTRANCE_SERVICE: number;
37
+ /** Bake-target entry point for the ground-floor entrance tiles. `lobbyVariant`
38
+ * never returns the sentinel variants (they're outside its 0..LOBBY_VARIANTS
39
+ * cycle), so the engine bakes the entrance tiles by calling this directly.
40
+ *
41
+ * `grand-left` / `grand-right` are the two 11-wide slices of the wide 2-tile
42
+ * storefront (glass display window with chandelier + double doors + doorman
43
+ * visible through the right window). `grand-solo` is the compact 1-tile
44
+ * fallback for lobbies too narrow to fit the wide version. `service` is the
45
+ * quiet mirrored door at the opposite frontage edge. */
46
+ export type EntranceKind = "grand-left" | "grand-right" | "grand-solo" | "service";
47
+ export declare function drawLobbyEntrance(d: DrawCtx, kind: EntranceKind, x: number, y: number, w: number, h: number): void;
48
+ export declare function drawLobby(d: DrawCtx, u: UnitView, x: number, y: number, w: number, h: number): void;
49
+ /**
50
+ * One 11px slice of the lobby concourse. The ground lobby (floor 1) is the
51
+ * tower's grand entrance: warm veined marble, a gilded cornice, a red carpet,
52
+ * fluted columns and chandeliers that glow in the evening, and a low console
53
+ * with a lamp. Sky lobbies read as their airy transfer-floor cousins:
54
+ * floor-to-ceiling skyline windows, the same gold trim, planters and framed
55
+ * prints instead of chandeliers, a low bench with a plant. The single staffed
56
+ * reception is NOT a repeating tile: it lives in the grand-entrance tile (see
57
+ * `entrance.ts`), so a wide lobby shows one attendant in its storefront, not one
58
+ * every fourth column. A degenerate 1-tile lobby uses the compact grand-solo
59
+ * fallback and shows none. Decoration reads only `lit`, `variant`, `ground`.
60
+ */
61
+ export declare function drawLobbyTile(d: DrawCtx, x: number, y: number, w: number, h: number, variant: number, ground: boolean): void;
62
+ /** The lobby's polished floor band, its five rows ending at `bottom`: a sheen
63
+ * line and a dark base, toned down in a sky lobby so it does not add to the
64
+ * bright band, and the ground lobby's red carpet with a gilded edge. */
65
+ export declare function lobbyFloor(ctx: CanvasRenderingContext2D, x0: number, ww: number, bottom: number, ground: boolean): void;
66
+ /** Fluted column, cornice to floor, with a gold capital and base. */
67
+ export declare function fluteColumn(ctx: CanvasRenderingContext2D, cx: number, y0: number, hh: number, ground: boolean): void;
68
+ /** A tall skyline window that recedes into the sky-lobby wall. Dedicated to the
69
+ * sky lobby (the offices and hotels keep their cooler shared `windowView`, which
70
+ * reads well and must not change). At night it is dark warm glass with only a
71
+ * few dim city lights, so the transfer floor no longer glares as a bright blue
72
+ * band against the muted floors around it; by day it is a low-contrast muted
73
+ * sky. A recessed slate mullion grid keeps the glass reading as background. */
74
+ export declare function skyGlass(ctx: CanvasRenderingContext2D, x: number, y: number, w: number, h: number, lit: boolean, seed: number): void;
75
+ /** Variant-1 slice: a tile-friendly architectural element that repeats cleanly
76
+ * across a wide concourse. Ground = a recessed wall panel over the marble with a
77
+ * low walnut console and a warm lamp; sky = a low bench with a small plant in
78
+ * front of the glass. No person: the single staffed reception moved into the
79
+ * grand-entrance tile (ground lobby), so the attendant no longer tiles every
80
+ * fourth column. Sky lobbies have no single-tile placement path, so they now
81
+ * show no attendant at all (a logged followup). */
82
+ export declare function consolePanel(ctx: CanvasRenderingContext2D, x0: number, ww: number, y0: number, floorTop: number, ground: boolean, lit: boolean): void;
83
+ /** Chandelier: gold tiers on a chain, aglow after dark. */
84
+ export declare function chandelier(ctx: CanvasRenderingContext2D, cx: number, y0: number, lit: boolean, ww: number): void;
85
+ /** Sky-lobby planter: a potted shrub standing on the floor. */
86
+ export declare function planter(ctx: CanvasRenderingContext2D, cx: number, floorTop: number): void;
87
+ /** Framed print between the sky-lobby windows. */
88
+ export declare function framedPrint(ctx: CanvasRenderingContext2D, cx: number, y0: number): void;