@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.
- package/ASSETS-LICENSE.md +49 -0
- package/LICENSE +21 -0
- package/README.md +121 -2
- package/lib/audio/Audio.d.ts +110 -0
- package/lib/audio/Audio.js +199 -0
- package/lib/audio/Audio.js.map +1 -0
- package/lib/audio/ToneAudioEngine.d.ts +125 -0
- package/lib/audio/ToneAudioEngine.js +452 -0
- package/lib/audio/ToneAudioEngine.js.map +1 -0
- package/lib/audio/audioAssets.d.ts +25 -0
- package/lib/audio/audioAssets.js +28 -0
- package/lib/audio/audioAssets.js.map +1 -0
- package/lib/audio/awayWatch.d.ts +17 -0
- package/lib/audio/awayWatch.js +33 -0
- package/lib/audio/awayWatch.js.map +1 -0
- package/lib/audio/firstCueLatch.d.ts +18 -0
- package/lib/audio/firstCueLatch.js +34 -0
- package/lib/audio/firstCueLatch.js.map +1 -0
- package/lib/audio/lightEnvelope.d.ts +64 -0
- package/lib/audio/lightEnvelope.js +124 -0
- package/lib/audio/lightEnvelope.js.map +1 -0
- package/lib/audio/lightSynth.d.ts +125 -0
- package/lib/audio/lightSynth.js +203 -0
- package/lib/audio/lightSynth.js.map +1 -0
- package/lib/audio/toneContext.d.ts +30 -0
- package/lib/audio/toneContext.js +79 -0
- package/lib/audio/toneContext.js.map +1 -0
- package/lib/audio/toneCrowd.d.ts +62 -0
- package/lib/audio/toneCrowd.js +429 -0
- package/lib/audio/toneCrowd.js.map +1 -0
- package/lib/audio/toneCrowdData.d.ts +144 -0
- package/lib/audio/toneCrowdData.js +317 -0
- package/lib/audio/toneCrowdData.js.map +1 -0
- package/lib/audio/toneCrowdPrograms.d.ts +71 -0
- package/lib/audio/toneCrowdPrograms.js +273 -0
- package/lib/audio/toneCrowdPrograms.js.map +1 -0
- package/lib/audio/toneCrowdVoices.d.ts +49 -0
- package/lib/audio/toneCrowdVoices.js +212 -0
- package/lib/audio/toneCrowdVoices.js.map +1 -0
- package/lib/audio/toneMusicVoices.d.ts +11 -0
- package/lib/audio/toneMusicVoices.js +31 -0
- package/lib/audio/toneMusicVoices.js.map +1 -0
- package/lib/audio/tonePercussion.d.ts +45 -0
- package/lib/audio/tonePercussion.js +97 -0
- package/lib/audio/tonePercussion.js.map +1 -0
- package/lib/audio/toneRain.d.ts +23 -0
- package/lib/audio/toneRain.js +39 -0
- package/lib/audio/toneRain.js.map +1 -0
- package/lib/audio/toneRecordingMock.d.ts +89 -0
- package/lib/audio/toneRecordingMock.js +145 -0
- package/lib/audio/toneRecordingMock.js.map +1 -0
- package/lib/audio/toneRoomTone.d.ts +11 -0
- package/lib/audio/toneRoomTone.js +27 -0
- package/lib/audio/toneRoomTone.js.map +1 -0
- package/lib/audio/toneScenes.d.ts +57 -0
- package/lib/audio/toneScenes.js +208 -0
- package/lib/audio/toneScenes.js.map +1 -0
- package/lib/audio/toneTracks.d.ts +50 -0
- package/lib/audio/toneTracks.js +356 -0
- package/lib/audio/toneTracks.js.map +1 -0
- package/lib/audio/toneVoices.d.ts +57 -0
- package/lib/audio/toneVoices.js +208 -0
- package/lib/audio/toneVoices.js.map +1 -0
- package/lib/catalog/catalogTypes.d.ts +428 -0
- package/lib/catalog/catalogTypes.js +102 -0
- package/lib/catalog/catalogTypes.js.map +1 -0
- package/lib/catalog/skyBridgeTypes.d.ts +25 -0
- package/lib/catalog/skyBridgeTypes.js +7 -0
- package/lib/catalog/skyBridgeTypes.js.map +1 -0
- package/lib/catalog/starDutyTypes.d.ts +22 -0
- package/lib/catalog/starDutyTypes.js +7 -0
- package/lib/catalog/starDutyTypes.js.map +1 -0
- package/lib/catalog/towerCatalog.d.ts +32 -0
- package/lib/catalog/towerCatalog.js +44 -0
- package/lib/catalog/towerCatalog.js.map +1 -0
- package/lib/engineBinding/binding.d.ts +36 -0
- package/lib/engineBinding/binding.js +90 -0
- package/lib/engineBinding/binding.js.map +1 -0
- package/lib/engineBinding/catalog.d.ts +24 -0
- package/lib/engineBinding/catalog.js +267 -0
- package/lib/engineBinding/catalog.js.map +1 -0
- package/lib/engineBinding/engine.d.ts +866 -0
- package/lib/engineBinding/exportTiers.d.ts +289 -0
- package/lib/engineBinding/exportTiers.js +283 -0
- package/lib/engineBinding/exportTiers.js.map +1 -0
- package/lib/engineBinding/toolingMethods.d.ts +12 -0
- package/lib/engineBinding/toolingMethods.js +20 -0
- package/lib/engineBinding/toolingMethods.js.map +1 -0
- package/lib/events/gameplayCatalog.d.ts +57 -0
- package/lib/events/gameplayCatalog.js +214 -0
- package/lib/events/gameplayCatalog.js.map +1 -0
- package/lib/events/gameplayEventRules.d.ts +4 -0
- package/lib/events/gameplayEventRules.js +32 -0
- package/lib/events/gameplayEventRules.js.map +1 -0
- package/lib/events/gameplayEvents.d.ts +284 -0
- package/lib/presentation/clockText.d.ts +28 -0
- package/lib/presentation/clockText.js +38 -0
- package/lib/presentation/clockText.js.map +1 -0
- package/lib/presentation/facilityPresentation.d.ts +20 -0
- package/lib/presentation/facilityPresentation.js +164 -0
- package/lib/presentation/facilityPresentation.js.map +1 -0
- package/lib/presentation/statsCopy.d.ts +20 -0
- package/lib/presentation/statsCopy.js +37 -0
- package/lib/presentation/statsCopy.js.map +1 -0
- package/lib/presentation/traffic.d.ts +75 -0
- package/lib/presentation/traffic.js +79 -0
- package/lib/presentation/traffic.js.map +1 -0
- package/lib/presentation/viewKinds.d.ts +33 -0
- package/lib/presentation/viewKinds.js +88 -0
- package/lib/presentation/viewKinds.js.map +1 -0
- package/lib/presentation/viewWorld.d.ts +29 -0
- package/lib/presentation/viewWorld.js +31 -0
- package/lib/presentation/viewWorld.js.map +1 -0
- package/lib/render/atlas/archive.d.ts +78 -0
- package/lib/render/atlas/archive.js +427 -0
- package/lib/render/atlas/archive.js.map +1 -0
- package/lib/render/atlas/bake.d.ts +132 -0
- package/lib/render/atlas/bake.js +331 -0
- package/lib/render/atlas/bake.js.map +1 -0
- package/lib/render/atlas/bakeAdditions.d.ts +24 -0
- package/lib/render/atlas/bakeAdditions.js +46 -0
- package/lib/render/atlas/bakeAdditions.js.map +1 -0
- package/lib/render/atlas/browserEntry.d.ts +12 -0
- package/lib/render/atlas/browserEntry.js +222 -0
- package/lib/render/atlas/browserEntry.js.map +1 -0
- package/lib/render/atlas/catalog.d.ts +118 -0
- package/lib/render/atlas/catalog.js +253 -0
- package/lib/render/atlas/catalog.js.map +1 -0
- package/lib/render/atlas/catalogExtras.d.ts +45 -0
- package/lib/render/atlas/catalogExtras.js +217 -0
- package/lib/render/atlas/catalogExtras.js.map +1 -0
- package/lib/render/atlas/compose.d.ts +30 -0
- package/lib/render/atlas/compose.js +125 -0
- package/lib/render/atlas/compose.js.map +1 -0
- package/lib/render/atlas/cycles.d.ts +25 -0
- package/lib/render/atlas/cycles.js +41 -0
- package/lib/render/atlas/cycles.js.map +1 -0
- package/lib/render/atlas/lookup.d.ts +65 -0
- package/lib/render/atlas/lookup.js +83 -0
- package/lib/render/atlas/lookup.js.map +1 -0
- package/lib/render/atlas/pack.d.ts +23 -0
- package/lib/render/atlas/pack.js +50 -0
- package/lib/render/atlas/pack.js.map +1 -0
- package/lib/render/atlas/paint.d.ts +120 -0
- package/lib/render/atlas/paint.js +154 -0
- package/lib/render/atlas/paint.js.map +1 -0
- package/lib/render/atlas/pixels.d.ts +46 -0
- package/lib/render/atlas/pixels.js +158 -0
- package/lib/render/atlas/pixels.js.map +1 -0
- package/lib/render/atlas/png.d.ts +3 -0
- package/lib/render/atlas/png.js +102 -0
- package/lib/render/atlas/png.js.map +1 -0
- package/lib/render/atlas/raster.d.ts +34 -0
- package/lib/render/atlas/raster.js +114 -0
- package/lib/render/atlas/raster.js.map +1 -0
- package/lib/render/atlas/recyclingFill.d.ts +5 -0
- package/lib/render/atlas/recyclingFill.js +65 -0
- package/lib/render/atlas/recyclingFill.js.map +1 -0
- package/lib/render/atlas/samples.d.ts +24 -0
- package/lib/render/atlas/samples.js +75 -0
- package/lib/render/atlas/samples.js.map +1 -0
- package/lib/render/atlas/scenery.d.ts +230 -0
- package/lib/render/atlas/scenery.js +242 -0
- package/lib/render/atlas/scenery.js.map +1 -0
- package/lib/render/atlas/schema.d.ts +189 -0
- package/lib/render/atlas/schema.js +31 -0
- package/lib/render/atlas/schema.js.map +1 -0
- package/lib/render/atlas/shellMarks.d.ts +16 -0
- package/lib/render/atlas/shellMarks.js +72 -0
- package/lib/render/atlas/shellMarks.js.map +1 -0
- package/lib/render/atlas/store.d.ts +75 -0
- package/lib/render/atlas/store.js +127 -0
- package/lib/render/atlas/store.js.map +1 -0
- package/lib/render/atlas/verify.d.ts +43 -0
- package/lib/render/atlas/verify.js +87 -0
- package/lib/render/atlas/verify.js.map +1 -0
- package/lib/render/atlas/verifyExtras.d.ts +19 -0
- package/lib/render/atlas/verifyExtras.js +310 -0
- package/lib/render/atlas/verifyExtras.js.map +1 -0
- package/lib/render/cameraBounds.d.ts +71 -0
- package/lib/render/cameraBounds.js +107 -0
- package/lib/render/cameraBounds.js.map +1 -0
- package/lib/render/carIndicator.d.ts +41 -0
- package/lib/render/carIndicator.js +45 -0
- package/lib/render/carIndicator.js.map +1 -0
- package/lib/render/carMotion.d.ts +33 -0
- package/lib/render/carMotion.js +42 -0
- package/lib/render/carMotion.js.map +1 -0
- package/lib/render/catalogScale.d.ts +40 -0
- package/lib/render/catalogScale.js +33 -0
- package/lib/render/catalogScale.js.map +1 -0
- package/lib/render/climbPath.d.ts +59 -0
- package/lib/render/climbPath.js +115 -0
- package/lib/render/climbPath.js.map +1 -0
- package/lib/render/depthPlanes.d.ts +55 -0
- package/lib/render/depthPlanes.js +58 -0
- package/lib/render/depthPlanes.js.map +1 -0
- package/lib/render/excalibur/TowerEngine.d.ts +348 -0
- package/lib/render/excalibur/TowerEngine.js +415 -0
- package/lib/render/excalibur/TowerEngine.js.map +1 -0
- package/lib/render/excalibur/cabGraphics.d.ts +75 -0
- package/lib/render/excalibur/cabGraphics.js +108 -0
- package/lib/render/excalibur/cabGraphics.js.map +1 -0
- package/lib/render/excalibur/cabParts.d.ts +32 -0
- package/lib/render/excalibur/cabParts.js +79 -0
- package/lib/render/excalibur/cabParts.js.map +1 -0
- package/lib/render/excalibur/cabRiders.d.ts +72 -0
- package/lib/render/excalibur/cabRiders.js +176 -0
- package/lib/render/excalibur/cabRiders.js.map +1 -0
- package/lib/render/excalibur/crowdCull.d.ts +34 -0
- package/lib/render/excalibur/crowdCull.js +72 -0
- package/lib/render/excalibur/crowdCull.js.map +1 -0
- package/lib/render/excalibur/crowdFigure.d.ts +42 -0
- package/lib/render/excalibur/crowdFigure.js +99 -0
- package/lib/render/excalibur/crowdFigure.js.map +1 -0
- package/lib/render/excalibur/crowdLook.d.ts +137 -0
- package/lib/render/excalibur/crowdLook.js +186 -0
- package/lib/render/excalibur/crowdLook.js.map +1 -0
- package/lib/render/excalibur/frameHold.d.ts +23 -0
- package/lib/render/excalibur/frameHold.js +30 -0
- package/lib/render/excalibur/frameHold.js.map +1 -0
- package/lib/render/excalibur/guardPosition.d.ts +17 -0
- package/lib/render/excalibur/guardPosition.js +37 -0
- package/lib/render/excalibur/guardPosition.js.map +1 -0
- package/lib/render/excalibur/keyboardHost.d.ts +15 -0
- package/lib/render/excalibur/keyboardHost.js +22 -0
- package/lib/render/excalibur/keyboardHost.js.map +1 -0
- package/lib/render/excalibur/longPress.d.ts +16 -0
- package/lib/render/excalibur/longPress.js +71 -0
- package/lib/render/excalibur/longPress.js.map +1 -0
- package/lib/render/excalibur/peopleGfx.d.ts +16 -0
- package/lib/render/excalibur/peopleGfx.js +46 -0
- package/lib/render/excalibur/peopleGfx.js.map +1 -0
- package/lib/render/excalibur/peopleWindow.d.ts +35 -0
- package/lib/render/excalibur/peopleWindow.js +38 -0
- package/lib/render/excalibur/peopleWindow.js.map +1 -0
- package/lib/render/excalibur/personFocus.d.ts +36 -0
- package/lib/render/excalibur/personFocus.js +169 -0
- package/lib/render/excalibur/personFocus.js.map +1 -0
- package/lib/render/excalibur/pointerButtonGuard.d.ts +35 -0
- package/lib/render/excalibur/pointerButtonGuard.js +86 -0
- package/lib/render/excalibur/pointerButtonGuard.js.map +1 -0
- package/lib/render/excalibur/pressLifecycle.d.ts +26 -0
- package/lib/render/excalibur/pressLifecycle.js +66 -0
- package/lib/render/excalibur/pressLifecycle.js.map +1 -0
- package/lib/render/excalibur/rainShelter.d.ts +16 -0
- package/lib/render/excalibur/rainShelter.js +94 -0
- package/lib/render/excalibur/rainShelter.js.map +1 -0
- package/lib/render/excalibur/roomSignature.d.ts +30 -0
- package/lib/render/excalibur/roomSignature.js +49 -0
- package/lib/render/excalibur/roomSignature.js.map +1 -0
- package/lib/render/excalibur/sceneBake.d.ts +9 -0
- package/lib/render/excalibur/sceneBake.js +12 -0
- package/lib/render/excalibur/sceneBake.js.map +1 -0
- package/lib/render/excalibur/thiefSpan.d.ts +18 -0
- package/lib/render/excalibur/thiefSpan.js +51 -0
- package/lib/render/excalibur/thiefSpan.js.map +1 -0
- package/lib/render/excalibur/towerBridgeTiles.d.ts +30 -0
- package/lib/render/excalibur/towerBridgeTiles.js +43 -0
- package/lib/render/excalibur/towerBridgeTiles.js.map +1 -0
- package/lib/render/excalibur/towerCrowd.d.ts +73 -0
- package/lib/render/excalibur/towerCrowd.js +464 -0
- package/lib/render/excalibur/towerCrowd.js.map +1 -0
- package/lib/render/excalibur/towerCrowdLayout.d.ts +40 -0
- package/lib/render/excalibur/towerCrowdLayout.js +77 -0
- package/lib/render/excalibur/towerCrowdLayout.js.map +1 -0
- package/lib/render/excalibur/towerFireResponse.d.ts +25 -0
- package/lib/render/excalibur/towerFireResponse.js +89 -0
- package/lib/render/excalibur/towerFireResponse.js.map +1 -0
- package/lib/render/excalibur/towerFrame.d.ts +8 -0
- package/lib/render/excalibur/towerFrame.js +57 -0
- package/lib/render/excalibur/towerFrame.js.map +1 -0
- package/lib/render/excalibur/towerGhostLabel.d.ts +9 -0
- package/lib/render/excalibur/towerGhostLabel.js +37 -0
- package/lib/render/excalibur/towerGhostLabel.js.map +1 -0
- package/lib/render/excalibur/towerHallDoors.d.ts +42 -0
- package/lib/render/excalibur/towerHallDoors.js +129 -0
- package/lib/render/excalibur/towerHallDoors.js.map +1 -0
- package/lib/render/excalibur/towerHaloRings.d.ts +34 -0
- package/lib/render/excalibur/towerHaloRings.js +45 -0
- package/lib/render/excalibur/towerHaloRings.js.map +1 -0
- package/lib/render/excalibur/towerInputCamera.d.ts +90 -0
- package/lib/render/excalibur/towerInputCamera.js +480 -0
- package/lib/render/excalibur/towerInputCamera.js.map +1 -0
- package/lib/render/excalibur/towerMetro.d.ts +31 -0
- package/lib/render/excalibur/towerMetro.js +115 -0
- package/lib/render/excalibur/towerMetro.js.map +1 -0
- package/lib/render/excalibur/towerNoiseReach.d.ts +32 -0
- package/lib/render/excalibur/towerNoiseReach.js +75 -0
- package/lib/render/excalibur/towerNoiseReach.js.map +1 -0
- package/lib/render/excalibur/towerOverlay.d.ts +59 -0
- package/lib/render/excalibur/towerOverlay.js +453 -0
- package/lib/render/excalibur/towerOverlay.js.map +1 -0
- package/lib/render/excalibur/towerReconcile.d.ts +17 -0
- package/lib/render/excalibur/towerReconcile.js +404 -0
- package/lib/render/excalibur/towerReconcile.js.map +1 -0
- package/lib/render/excalibur/towerRegions.d.ts +61 -0
- package/lib/render/excalibur/towerRegions.js +193 -0
- package/lib/render/excalibur/towerRegions.js.map +1 -0
- package/lib/render/excalibur/towerScene.d.ts +66 -0
- package/lib/render/excalibur/towerScene.js +443 -0
- package/lib/render/excalibur/towerScene.js.map +1 -0
- package/lib/render/excalibur/towerScenery.d.ts +12 -0
- package/lib/render/excalibur/towerScenery.js +299 -0
- package/lib/render/excalibur/towerScenery.js.map +1 -0
- package/lib/render/excalibur/towerSceneryDraw.d.ts +86 -0
- package/lib/render/excalibur/towerSceneryDraw.js +288 -0
- package/lib/render/excalibur/towerSceneryDraw.js.map +1 -0
- package/lib/render/excalibur/towerShaftNumbers.d.ts +23 -0
- package/lib/render/excalibur/towerShaftNumbers.js +90 -0
- package/lib/render/excalibur/towerShaftNumbers.js.map +1 -0
- package/lib/render/excalibur/towerStructTiles.d.ts +56 -0
- package/lib/render/excalibur/towerStructTiles.js +238 -0
- package/lib/render/excalibur/towerStructTiles.js.map +1 -0
- package/lib/render/excalibur/towerSyncSchedule.d.ts +84 -0
- package/lib/render/excalibur/towerSyncSchedule.js +137 -0
- package/lib/render/excalibur/towerSyncSchedule.js.map +1 -0
- package/lib/render/excalibur/towerWalkerBuild.d.ts +30 -0
- package/lib/render/excalibur/towerWalkerBuild.js +126 -0
- package/lib/render/excalibur/towerWalkerBuild.js.map +1 -0
- package/lib/render/excalibur/trafficSpotlight.d.ts +29 -0
- package/lib/render/excalibur/trafficSpotlight.js +64 -0
- package/lib/render/excalibur/trafficSpotlight.js.map +1 -0
- package/lib/render/facadeGeometry.d.ts +50 -0
- package/lib/render/facadeGeometry.js +79 -0
- package/lib/render/facadeGeometry.js.map +1 -0
- package/lib/render/groundEntrances.d.ts +44 -0
- package/lib/render/groundEntrances.js +118 -0
- package/lib/render/groundEntrances.js.map +1 -0
- package/lib/render/lateNight.d.ts +14 -0
- package/lib/render/lateNight.js +18 -0
- package/lib/render/lateNight.js.map +1 -0
- package/lib/render/lobbyHalls.d.ts +44 -0
- package/lib/render/lobbyHalls.js +63 -0
- package/lib/render/lobbyHalls.js.map +1 -0
- package/lib/render/metroTrainSchedule.d.ts +20 -0
- package/lib/render/metroTrainSchedule.js +65 -0
- package/lib/render/metroTrainSchedule.js.map +1 -0
- package/lib/render/overviewMap/drawList.d.ts +67 -0
- package/lib/render/overviewMap/drawList.js +103 -0
- package/lib/render/overviewMap/drawList.js.map +1 -0
- package/lib/render/overviewMap/extent.d.ts +70 -0
- package/lib/render/overviewMap/extent.js +155 -0
- package/lib/render/overviewMap/extent.js.map +1 -0
- package/lib/render/overviewMap/floorSpans.d.ts +27 -0
- package/lib/render/overviewMap/floorSpans.js +32 -0
- package/lib/render/overviewMap/floorSpans.js.map +1 -0
- package/lib/render/overviewMap/gaps.d.ts +48 -0
- package/lib/render/overviewMap/gaps.js +148 -0
- package/lib/render/overviewMap/gaps.js.map +1 -0
- package/lib/render/overviewMap/geometry.d.ts +139 -0
- package/lib/render/overviewMap/geometry.js +245 -0
- package/lib/render/overviewMap/geometry.js.map +1 -0
- package/lib/render/overviewMap/heatView.d.ts +91 -0
- package/lib/render/overviewMap/heatView.js +143 -0
- package/lib/render/overviewMap/heatView.js.map +1 -0
- package/lib/render/overviewMap/hotelView.d.ts +82 -0
- package/lib/render/overviewMap/hotelView.js +136 -0
- package/lib/render/overviewMap/hotelView.js.map +1 -0
- package/lib/render/overviewMap/model.d.ts +97 -0
- package/lib/render/overviewMap/model.js +116 -0
- package/lib/render/overviewMap/model.js.map +1 -0
- package/lib/render/overviewMap/paint.d.ts +63 -0
- package/lib/render/overviewMap/paint.js +168 -0
- package/lib/render/overviewMap/paint.js.map +1 -0
- package/lib/render/overviewMap/style.d.ts +46 -0
- package/lib/render/overviewMap/style.js +117 -0
- package/lib/render/overviewMap/style.js.map +1 -0
- package/lib/render/overviewMap/tierView.d.ts +103 -0
- package/lib/render/overviewMap/tierView.js +209 -0
- package/lib/render/overviewMap/tierView.js.map +1 -0
- package/lib/render/overviewMap/viewMark.d.ts +69 -0
- package/lib/render/overviewMap/viewMark.js +103 -0
- package/lib/render/overviewMap/viewMark.js.map +1 -0
- package/lib/render/overviewMap/views.d.ts +24 -0
- package/lib/render/overviewMap/views.js +29 -0
- package/lib/render/overviewMap/views.js.map +1 -0
- package/lib/render/pinchTracker.d.ts +91 -0
- package/lib/render/pinchTracker.js +145 -0
- package/lib/render/pinchTracker.js.map +1 -0
- package/lib/render/pixelSprites/amusements.d.ts +32 -0
- package/lib/render/pixelSprites/amusements.js +243 -0
- package/lib/render/pixelSprites/amusements.js.map +1 -0
- package/lib/render/pixelSprites/artScale.d.ts +97 -0
- package/lib/render/pixelSprites/artScale.js +151 -0
- package/lib/render/pixelSprites/artScale.js.map +1 -0
- package/lib/render/pixelSprites/boutique.d.ts +30 -0
- package/lib/render/pixelSprites/boutique.js +244 -0
- package/lib/render/pixelSprites/boutique.js.map +1 -0
- package/lib/render/pixelSprites/clinic.d.ts +30 -0
- package/lib/render/pixelSprites/clinic.js +184 -0
- package/lib/render/pixelSprites/clinic.js.map +1 -0
- package/lib/render/pixelSprites/common.d.ts +185 -0
- package/lib/render/pixelSprites/common.js +449 -0
- package/lib/render/pixelSprites/common.js.map +1 -0
- package/lib/render/pixelSprites/daycare.d.ts +3 -0
- package/lib/render/pixelSprites/daycare.js +99 -0
- package/lib/render/pixelSprites/daycare.js.map +1 -0
- package/lib/render/pixelSprites/dollhouse.d.ts +45 -0
- package/lib/render/pixelSprites/dollhouse.js +110 -0
- package/lib/render/pixelSprites/dollhouse.js.map +1 -0
- package/lib/render/pixelSprites/fitness.d.ts +30 -0
- package/lib/render/pixelSprites/fitness.js +176 -0
- package/lib/render/pixelSprites/fitness.js.map +1 -0
- package/lib/render/pixelSprites/food.d.ts +27 -0
- package/lib/render/pixelSprites/food.interiors.d.ts +38 -0
- package/lib/render/pixelSprites/food.interiors.js +516 -0
- package/lib/render/pixelSprites/food.interiors.js.map +1 -0
- package/lib/render/pixelSprites/food.js +36 -0
- package/lib/render/pixelSprites/food.js.map +1 -0
- package/lib/render/pixelSprites/food.kit.d.ts +50 -0
- package/lib/render/pixelSprites/food.kit.js +140 -0
- package/lib/render/pixelSprites/food.kit.js.map +1 -0
- package/lib/render/pixelSprites/food.looks.d.ts +45 -0
- package/lib/render/pixelSprites/food.looks.js +56 -0
- package/lib/render/pixelSprites/food.looks.js.map +1 -0
- package/lib/render/pixelSprites/layers.d.ts +49 -0
- package/lib/render/pixelSprites/layers.js +61 -0
- package/lib/render/pixelSprites/layers.js.map +1 -0
- package/lib/render/pixelSprites/nightclub.d.ts +3 -0
- package/lib/render/pixelSprites/nightclub.js +108 -0
- package/lib/render/pixelSprites/nightclub.js.map +1 -0
- package/lib/render/pixelSprites/people.d.ts +168 -0
- package/lib/render/pixelSprites/people.js +431 -0
- package/lib/render/pixelSprites/people.js.map +1 -0
- package/lib/render/pixelSprites/residential.d.ts +5 -0
- package/lib/render/pixelSprites/residential.js +506 -0
- package/lib/render/pixelSprites/residential.js.map +1 -0
- package/lib/render/pixelSprites/residential.looks.d.ts +40 -0
- package/lib/render/pixelSprites/residential.looks.js +43 -0
- package/lib/render/pixelSprites/residential.looks.js.map +1 -0
- package/lib/render/pixelSprites/residential.roaches.d.ts +38 -0
- package/lib/render/pixelSprites/residential.roaches.js +88 -0
- package/lib/render/pixelSprites/residential.roaches.js.map +1 -0
- package/lib/render/pixelSprites/residentialRentalSprites.d.ts +11 -0
- package/lib/render/pixelSprites/residentialRentalSprites.js +19 -0
- package/lib/render/pixelSprites/residentialRentalSprites.js.map +1 -0
- package/lib/render/pixelSprites/shop.d.ts +14 -0
- package/lib/render/pixelSprites/shop.interiors.d.ts +50 -0
- package/lib/render/pixelSprites/shop.interiors.js +382 -0
- package/lib/render/pixelSprites/shop.interiors.js.map +1 -0
- package/lib/render/pixelSprites/shop.js +72 -0
- package/lib/render/pixelSprites/shop.js.map +1 -0
- package/lib/render/pixelSprites/shop.looks.d.ts +17 -0
- package/lib/render/pixelSprites/shop.looks.js +24 -0
- package/lib/render/pixelSprites/shop.looks.js.map +1 -0
- package/lib/render/pixelSprites/skyBar.d.ts +11 -0
- package/lib/render/pixelSprites/skyBar.js +125 -0
- package/lib/render/pixelSprites/skyBar.js.map +1 -0
- package/lib/render/pixelSprites/spa.d.ts +3 -0
- package/lib/render/pixelSprites/spa.js +88 -0
- package/lib/render/pixelSprites/spa.js.map +1 -0
- package/lib/render/pixelSprites.d.ts +33 -0
- package/lib/render/pixelSprites.js +167 -0
- package/lib/render/pixelSprites.js.map +1 -0
- package/lib/render/regionGrid.d.ts +49 -0
- package/lib/render/regionGrid.js +82 -0
- package/lib/render/regionGrid.js.map +1 -0
- package/lib/render/regionPaint.d.ts +15 -0
- package/lib/render/regionPaint.js +33 -0
- package/lib/render/regionPaint.js.map +1 -0
- package/lib/render/renderSim.d.ts +104 -0
- package/lib/render/renderSim.js +2 -0
- package/lib/render/renderSim.js.map +1 -0
- package/lib/render/roomPortrait.d.ts +35 -0
- package/lib/render/roomPortrait.js +142 -0
- package/lib/render/roomPortrait.js.map +1 -0
- package/lib/render/roomShading.d.ts +29 -0
- package/lib/render/roomShading.js +43 -0
- package/lib/render/roomShading.js.map +1 -0
- package/lib/render/scale.d.ts +31 -0
- package/lib/render/scale.js +34 -0
- package/lib/render/scale.js.map +1 -0
- package/lib/render/sceneryLayout.d.ts +234 -0
- package/lib/render/sceneryLayout.js +199 -0
- package/lib/render/sceneryLayout.js.map +1 -0
- package/lib/render/sprites/common.d.ts +41 -0
- package/lib/render/sprites/common.js +46 -0
- package/lib/render/sprites/common.js.map +1 -0
- package/lib/render/sprites/escalator.d.ts +27 -0
- package/lib/render/sprites/escalator.js +156 -0
- package/lib/render/sprites/escalator.js.map +1 -0
- package/lib/render/sprites/events.d.ts +56 -0
- package/lib/render/sprites/events.js +280 -0
- package/lib/render/sprites/events.js.map +1 -0
- package/lib/render/sprites/facilities/garage.d.ts +23 -0
- package/lib/render/sprites/facilities/garage.js +230 -0
- package/lib/render/sprites/facilities/garage.js.map +1 -0
- package/lib/render/sprites/facilities/recycling.d.ts +3 -0
- package/lib/render/sprites/facilities/recycling.js +210 -0
- package/lib/render/sprites/facilities/recycling.js.map +1 -0
- package/lib/render/sprites/facilities/recyclingLook.d.ts +49 -0
- package/lib/render/sprites/facilities/recyclingLook.js +52 -0
- package/lib/render/sprites/facilities/recyclingLook.js.map +1 -0
- package/lib/render/sprites/facilities/service.d.ts +14 -0
- package/lib/render/sprites/facilities/service.js +437 -0
- package/lib/render/sprites/facilities/service.js.map +1 -0
- package/lib/render/sprites/facilities/serviceKit.d.ts +61 -0
- package/lib/render/sprites/facilities/serviceKit.js +113 -0
- package/lib/render/sprites/facilities/serviceKit.js.map +1 -0
- package/lib/render/sprites/facilities/vehicles.d.ts +38 -0
- package/lib/render/sprites/facilities/vehicles.js +276 -0
- package/lib/render/sprites/facilities/vehicles.js.map +1 -0
- package/lib/render/sprites/facilities/venue.d.ts +28 -0
- package/lib/render/sprites/facilities/venue.js +211 -0
- package/lib/render/sprites/facilities/venue.js.map +1 -0
- package/lib/render/sprites/facilities/weddingHall.d.ts +9 -0
- package/lib/render/sprites/facilities/weddingHall.js +410 -0
- package/lib/render/sprites/facilities/weddingHall.js.map +1 -0
- package/lib/render/sprites/facilities.d.ts +22 -0
- package/lib/render/sprites/facilities.js +24 -0
- package/lib/render/sprites/facilities.js.map +1 -0
- package/lib/render/sprites/helicopter.d.ts +11 -0
- package/lib/render/sprites/helicopter.js +60 -0
- package/lib/render/sprites/helicopter.js.map +1 -0
- package/lib/render/sprites/sky.d.ts +67 -0
- package/lib/render/sprites/sky.js +85 -0
- package/lib/render/sprites/sky.js.map +1 -0
- package/lib/render/sprites/spiralStair.d.ts +19 -0
- package/lib/render/sprites/spiralStair.js +111 -0
- package/lib/render/sprites/spiralStair.js.map +1 -0
- package/lib/render/sprites/structure/entrance.d.ts +35 -0
- package/lib/render/sprites/structure/entrance.js +347 -0
- package/lib/render/sprites/structure/entrance.js.map +1 -0
- package/lib/render/sprites/structure/lobby.d.ts +88 -0
- package/lib/render/sprites/structure/lobby.js +350 -0
- package/lib/render/sprites/structure/lobby.js.map +1 -0
- package/lib/render/sprites/structure/revolvingDoor.d.ts +53 -0
- package/lib/render/sprites/structure/revolvingDoor.js +184 -0
- package/lib/render/sprites/structure/revolvingDoor.js.map +1 -0
- package/lib/render/sprites/structure/rooftop.d.ts +93 -0
- package/lib/render/sprites/structure/rooftop.js +302 -0
- package/lib/render/sprites/structure/rooftop.js.map +1 -0
- package/lib/render/sprites/structure/shell.d.ts +19 -0
- package/lib/render/sprites/structure/shell.js +142 -0
- package/lib/render/sprites/structure/shell.js.map +1 -0
- package/lib/render/sprites/structure/skyBridge.d.ts +28 -0
- package/lib/render/sprites/structure/skyBridge.js +259 -0
- package/lib/render/sprites/structure/skyBridge.js.map +1 -0
- package/lib/render/sprites/structure/tallLobby.d.ts +8 -0
- package/lib/render/sprites/structure/tallLobby.js +166 -0
- package/lib/render/sprites/structure/tallLobby.js.map +1 -0
- package/lib/render/sprites/structure/tallLobbyPieces.d.ts +18 -0
- package/lib/render/sprites/structure/tallLobbyPieces.js +82 -0
- package/lib/render/sprites/structure/tallLobbyPieces.js.map +1 -0
- package/lib/render/sprites/structure.d.ts +15 -0
- package/lib/render/sprites/structure.js +16 -0
- package/lib/render/sprites/structure.js.map +1 -0
- package/lib/render/sprites/transport.d.ts +30 -0
- package/lib/render/sprites/transport.js +376 -0
- package/lib/render/sprites/transport.js.map +1 -0
- package/lib/render/sprites.d.ts +16 -0
- package/lib/render/sprites.js +108 -0
- package/lib/render/sprites.js.map +1 -0
- package/lib/render/venueFlights.d.ts +61 -0
- package/lib/render/venueFlights.js +50 -0
- package/lib/render/venueFlights.js.map +1 -0
- package/lib/shared/engineTypes.d.ts +256 -0
- package/lib/shared/engineTypes.js +8 -0
- package/lib/shared/engineTypes.js.map +1 -0
- package/lib/shared/floorRuns.d.ts +22 -0
- package/lib/shared/floorRuns.js +39 -0
- package/lib/shared/floorRuns.js.map +1 -0
- package/lib/shared/inputEvents.d.ts +18 -0
- package/lib/shared/inputEvents.js +23 -0
- package/lib/shared/inputEvents.js.map +1 -0
- package/lib/shared/serializedGame.d.ts +142 -0
- package/lib/shared/serializedGame.js +2 -0
- package/lib/shared/serializedGame.js.map +1 -0
- package/lib/shared/types.d.ts +298 -0
- package/lib/shared/types.js +47 -0
- package/lib/shared/types.js.map +1 -0
- package/lib/shared/unitState.d.ts +36 -0
- package/lib/shared/unitState.js +42 -0
- package/lib/shared/unitState.js.map +1 -0
- package/lib/shared/vacateReasonText.d.ts +20 -0
- package/lib/shared/vacateReasonText.js +23 -0
- package/lib/shared/vacateReasonText.js.map +1 -0
- package/lib/shared/viewZoom.d.ts +14 -0
- package/lib/shared/viewZoom.js +17 -0
- package/lib/shared/viewZoom.js.map +1 -0
- package/lib/shared/wellFormed.d.ts +14 -0
- package/lib/shared/wellFormed.js +19 -0
- package/lib/shared/wellFormed.js.map +1 -0
- package/lib/simport/cards.d.ts +26 -0
- package/lib/simport/cards.js +138 -0
- package/lib/simport/cards.js.map +1 -0
- package/lib/simport/clockView.d.ts +24 -0
- package/lib/simport/clockView.js +43 -0
- package/lib/simport/clockView.js.map +1 -0
- package/lib/simport/commands.d.ts +215 -0
- package/lib/simport/commands.js +2 -0
- package/lib/simport/commands.js.map +1 -0
- package/lib/simport/emergencyReads.d.ts +19 -0
- package/lib/simport/emergencyReads.js +47 -0
- package/lib/simport/emergencyReads.js.map +1 -0
- package/lib/simport/enginePort.d.ts +433 -0
- package/lib/simport/enginePort.js +11 -0
- package/lib/simport/enginePort.js.map +1 -0
- package/lib/simport/fixtures/catalog.classic.json +2137 -0
- package/lib/simport/fixtures/catalog.modern.json +2515 -0
- package/lib/simport/fixtures/viewLayout.json +927 -0
- package/lib/simport/headerClock.d.ts +31 -0
- package/lib/simport/headerClock.js +29 -0
- package/lib/simport/headerClock.js.map +1 -0
- package/lib/simport/panels.d.ts +243 -0
- package/lib/simport/panels.js +2 -0
- package/lib/simport/panels.js.map +1 -0
- package/lib/simport/personCards.d.ts +63 -0
- package/lib/simport/personCards.js +55 -0
- package/lib/simport/personCards.js.map +1 -0
- package/lib/simport/portCodes.d.ts +41 -0
- package/lib/simport/portCodes.js +49 -0
- package/lib/simport/portCodes.js.map +1 -0
- package/lib/simport/portEvents.d.ts +39 -0
- package/lib/simport/portEvents.js +43 -0
- package/lib/simport/portEvents.js.map +1 -0
- package/lib/simport/portRenderSim.d.ts +70 -0
- package/lib/simport/portRenderSim.js +129 -0
- package/lib/simport/portRenderSim.js.map +1 -0
- package/lib/simport/queries.d.ts +64 -0
- package/lib/simport/queries.js +30 -0
- package/lib/simport/queries.js.map +1 -0
- package/lib/simport/recyclingPort.d.ts +13 -0
- package/lib/simport/recyclingPort.js +2 -0
- package/lib/simport/recyclingPort.js.map +1 -0
- package/lib/simport/request.d.ts +44 -0
- package/lib/simport/request.js +214 -0
- package/lib/simport/request.js.map +1 -0
- package/lib/simport/roomTiers.d.ts +102 -0
- package/lib/simport/roomTiers.js +122 -0
- package/lib/simport/roomTiers.js.map +1 -0
- package/lib/simport/scheduleSlots.d.ts +19 -0
- package/lib/simport/scheduleSlots.js +87 -0
- package/lib/simport/scheduleSlots.js.map +1 -0
- package/lib/simport/skyBridgePort.d.ts +20 -0
- package/lib/simport/skyBridgePort.js +2 -0
- package/lib/simport/skyBridgePort.js.map +1 -0
- package/lib/simport/skyBridgeView.d.ts +15 -0
- package/lib/simport/skyBridgeView.js +42 -0
- package/lib/simport/skyBridgeView.js.map +1 -0
- package/lib/simport/statsSheet.d.ts +15 -0
- package/lib/simport/statsSheet.js +101 -0
- package/lib/simport/statsSheet.js.map +1 -0
- package/lib/simport/tdtRecords.d.ts +9 -0
- package/lib/simport/tdtRecords.js +112 -0
- package/lib/simport/tdtRecords.js.map +1 -0
- package/lib/simport/tdtReportFacts.d.ts +110 -0
- package/lib/simport/tdtReportFacts.js +8 -0
- package/lib/simport/tdtReportFacts.js.map +1 -0
- package/lib/simport/trafficPort.d.ts +22 -0
- package/lib/simport/trafficPort.js +2 -0
- package/lib/simport/trafficPort.js.map +1 -0
- package/lib/simport/view.d.ts +275 -0
- package/lib/simport/view.js +2 -0
- package/lib/simport/view.js.map +1 -0
- package/lib/simport/viewReader.d.ts +89 -0
- package/lib/simport/viewReader.js +426 -0
- package/lib/simport/viewReader.js.map +1 -0
- package/lib/styles/game/appearance.css +108 -0
- package/lib/styles/game/base.css +68 -0
- package/lib/styles/game/components.css +69 -0
- package/lib/styles/game/desk-title.css +183 -0
- package/lib/styles/game/desk.css +487 -0
- package/lib/styles/game/dialogs.css +360 -0
- package/lib/styles/game/editor-sidebar.css +116 -0
- package/lib/styles/game/elevator-schedule.css +217 -0
- package/lib/styles/game/file-dialog.css +470 -0
- package/lib/styles/game/help.css +141 -0
- package/lib/styles/game/launch-fireworks.css +17 -0
- package/lib/styles/game/media-landscape.css +333 -0
- package/lib/styles/game/media-phone.css +303 -0
- package/lib/styles/game/media-tablet-touch.css +177 -0
- package/lib/styles/game/menubar.css +158 -0
- package/lib/styles/game/new-tower.css +219 -0
- package/lib/styles/game/onboarding.css +32 -0
- package/lib/styles/game/screen-saver.css +85 -0
- package/lib/styles/game/splash.css +413 -0
- package/lib/styles/game/stats-saves.css +106 -0
- package/lib/styles/game/tools-stage.css +340 -0
- package/lib/styles/game/topbar.css +191 -0
- package/lib/styles/menu-bar.css +108 -0
- package/lib/styles/not-found.css +335 -0
- package/lib/styles/overview-map-views.css +88 -0
- package/lib/styles/overview-map.css +195 -0
- package/lib/styles/retro-components.css +179 -0
- package/lib/styles/retro-page.css +254 -0
- package/lib/styles/retro-tokens.css +122 -0
- package/lib/styles/schemes/high-contrast.css +173 -0
- package/lib/styles/schemes/skyline.css +134 -0
- package/lib/styles.css +66 -0
- package/lib/ui/desk/deskGeometry.d.ts +59 -0
- package/lib/ui/desk/deskGeometry.js +106 -0
- package/lib/ui/desk/deskGeometry.js.map +1 -0
- package/lib/ui/desk/deskWindow.d.ts +90 -0
- package/lib/ui/desk/deskWindow.js +253 -0
- package/lib/ui/desk/deskWindow.js.map +1 -0
- package/lib/ui/desk/deskWindowMenu.d.ts +55 -0
- package/lib/ui/desk/deskWindowMenu.js +143 -0
- package/lib/ui/desk/deskWindowMenu.js.map +1 -0
- package/lib/ui/escape.d.ts +1 -0
- package/lib/ui/escape.js +14 -0
- package/lib/ui/escape.js.map +1 -0
- package/lib/ui/format.d.ts +14 -0
- package/lib/ui/format.js +36 -0
- package/lib/ui/format.js.map +1 -0
- package/lib/ui/iconPaths.generated.d.ts +4 -0
- package/lib/ui/iconPaths.generated.js +68 -0
- package/lib/ui/iconPaths.generated.js.map +1 -0
- package/lib/ui/icons.d.ts +83 -0
- package/lib/ui/icons.js +156 -0
- package/lib/ui/icons.js.map +1 -0
- package/lib/ui/menuBar.d.ts +94 -0
- package/lib/ui/menuBar.js +361 -0
- package/lib/ui/menuBar.js.map +1 -0
- package/lib/ui/modalPrecedence.d.ts +108 -0
- package/lib/ui/modalPrecedence.js +165 -0
- package/lib/ui/modalPrecedence.js.map +1 -0
- package/lib/ui/movableWindow.d.ts +124 -0
- package/lib/ui/movableWindow.js +247 -0
- package/lib/ui/movableWindow.js.map +1 -0
- package/lib/ui/overviewMapInput.d.ts +109 -0
- package/lib/ui/overviewMapInput.js +135 -0
- package/lib/ui/overviewMapInput.js.map +1 -0
- package/lib/ui/uiModal.d.ts +38 -0
- package/lib/ui/uiModal.js +70 -0
- package/lib/ui/uiModal.js.map +1 -0
- package/lib/wasmhost/buildSection.d.ts +54 -0
- package/lib/wasmhost/buildSection.js +143 -0
- package/lib/wasmhost/buildSection.js.map +1 -0
- package/lib/wasmhost/catalogCheck.d.ts +11 -0
- package/lib/wasmhost/catalogCheck.js +43 -0
- package/lib/wasmhost/catalogCheck.js.map +1 -0
- package/lib/wasmhost/engineAssets.d.ts +57 -0
- package/lib/wasmhost/engineAssets.js +63 -0
- package/lib/wasmhost/engineAssets.js.map +1 -0
- package/lib/wasmhost/engineBoot.d.ts +165 -0
- package/lib/wasmhost/engineBoot.js +254 -0
- package/lib/wasmhost/engineBoot.js.map +1 -0
- package/lib/wasmhost/engineChoice.d.ts +6 -0
- package/lib/wasmhost/engineChoice.js +2 -0
- package/lib/wasmhost/engineChoice.js.map +1 -0
- package/lib/wasmhost/engineDiagnostics.d.ts +66 -0
- package/lib/wasmhost/engineDiagnostics.js +189 -0
- package/lib/wasmhost/engineDiagnostics.js.map +1 -0
- package/lib/wasmhost/engineDiagnosticsLive.d.ts +15 -0
- package/lib/wasmhost/engineDiagnosticsLive.js +31 -0
- package/lib/wasmhost/engineDiagnosticsLive.js.map +1 -0
- package/lib/wasmhost/engineIdentity.d.ts +30 -0
- package/lib/wasmhost/engineIdentity.js +59 -0
- package/lib/wasmhost/engineIdentity.js.map +1 -0
- package/lib/wasmhost/engineLabel.d.ts +40 -0
- package/lib/wasmhost/engineLabel.js +50 -0
- package/lib/wasmhost/engineLabel.js.map +1 -0
- package/lib/wasmhost/engineLoad.d.ts +48 -0
- package/lib/wasmhost/engineLoad.js +53 -0
- package/lib/wasmhost/engineLoad.js.map +1 -0
- package/lib/wasmhost/enginePackageCheck.d.ts +77 -0
- package/lib/wasmhost/enginePackageCheck.js +274 -0
- package/lib/wasmhost/enginePackageCheck.js.map +1 -0
- package/lib/wasmhost/enginePackageNames.d.ts +25 -0
- package/lib/wasmhost/enginePackageNames.js +28 -0
- package/lib/wasmhost/enginePackageNames.js.map +1 -0
- package/lib/wasmhost/enginePackageRecord.d.ts +78 -0
- package/lib/wasmhost/enginePackageRecord.js +108 -0
- package/lib/wasmhost/enginePackageRecord.js.map +1 -0
- package/lib/wasmhost/engineRepair.d.ts +55 -0
- package/lib/wasmhost/engineRepair.js +183 -0
- package/lib/wasmhost/engineRepair.js.map +1 -0
- package/lib/wasmhost/frameView.d.ts +87 -0
- package/lib/wasmhost/frameView.js +133 -0
- package/lib/wasmhost/frameView.js.map +1 -0
- package/lib/wasmhost/hostFault.d.ts +40 -0
- package/lib/wasmhost/hostFault.js +94 -0
- package/lib/wasmhost/hostFault.js.map +1 -0
- package/lib/wasmhost/loadEngineModule.d.ts +79 -0
- package/lib/wasmhost/loadEngineModule.js +66 -0
- package/lib/wasmhost/loadEngineModule.js.map +1 -0
- package/lib/wasmhost/packageHash.d.ts +48 -0
- package/lib/wasmhost/packageHash.js +436 -0
- package/lib/wasmhost/packageHash.js.map +1 -0
- package/lib/wasmhost/rustEngine.d.ts +49 -0
- package/lib/wasmhost/rustEngine.js +63 -0
- package/lib/wasmhost/rustEngine.js.map +1 -0
- package/lib/wasmhost/slotPopulation.d.ts +19 -0
- package/lib/wasmhost/slotPopulation.js +69 -0
- package/lib/wasmhost/slotPopulation.js.map +1 -0
- package/lib/wasmhost/telemetry.d.ts +31 -0
- package/lib/wasmhost/telemetry.js +13 -0
- package/lib/wasmhost/telemetry.js.map +1 -0
- package/package.json +80 -4
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { facilityColor } from '../presentation/facilityPresentation.js';
|
|
2
|
+
import { drawRoom } from './pixelSprites.js';
|
|
3
|
+
import { layerEnd } from './pixelSprites/layers.js';
|
|
4
|
+
import './sprites/facilities.js';
|
|
5
|
+
import './sprites/structure.js';
|
|
6
|
+
export { drawCar, drawTransport } from './sprites/transport.js';
|
|
7
|
+
import { drawFloor, drawConstruction, drawBurntShell, drawFlames } from './sprites/structure/shell.js';
|
|
8
|
+
import { drawLobby } from './sprites/structure/lobby.js';
|
|
9
|
+
export { ENTRANCE_GRAND_LEFT, ENTRANCE_GRAND_RIGHT, ENTRANCE_GRAND_SOLO, ENTRANCE_SERVICE, LOBBY_VARIANTS, drawLobbyEntrance, lobbyVariant } from './sprites/structure/lobby.js';
|
|
10
|
+
import { drawWeddingHall } from './sprites/facilities/weddingHall.js';
|
|
11
|
+
import { drawMetro, drawHousekeeping, drawMedical, drawSecurity } from './sprites/facilities/service.js';
|
|
12
|
+
import { drawRecycling } from './sprites/facilities/recycling.js';
|
|
13
|
+
import { drawParkingRamp, drawParking } from './sprites/facilities/garage.js';
|
|
14
|
+
import { drawAquaticCenter, drawPartyHall } from './sprites/facilities/venue.js';
|
|
15
|
+
export { AWNING_W, CRANE_H, CRANE_MAST_ANCHOR_X, CRANE_MIN_ROOF_TILES, CRANE_REACH_LEFT_TILES, CRANE_REACH_RIGHT_TILES, CRANE_W, ESCAPE_W, craneAnchorTile, craneMastTile, craneRoof, drawAwning, drawCrane, drawEscapeStairs } from './sprites/structure/rooftop.js';
|
|
16
|
+
export { drawGarbageTruck, drawMetroTrain, drawStreetCar } from './sprites/facilities/vehicles.js';
|
|
17
|
+
|
|
18
|
+
/** Facility kinds rendered by the faithful pixel-art room module. */
|
|
19
|
+
const ROOM_KINDS = new Set([
|
|
20
|
+
"office",
|
|
21
|
+
"condo",
|
|
22
|
+
"rentalStudio",
|
|
23
|
+
"rentalApartment",
|
|
24
|
+
"hotelSingle",
|
|
25
|
+
"hotelDouble",
|
|
26
|
+
"hotelSuite",
|
|
27
|
+
"fastFood",
|
|
28
|
+
"restaurant",
|
|
29
|
+
"foodHall",
|
|
30
|
+
"amusements",
|
|
31
|
+
"boutiqueBay",
|
|
32
|
+
"fitnessClub",
|
|
33
|
+
"clinic",
|
|
34
|
+
"nightclub",
|
|
35
|
+
"spa",
|
|
36
|
+
"skyBar",
|
|
37
|
+
"daycare",
|
|
38
|
+
"shop",
|
|
39
|
+
"cinema",
|
|
40
|
+
]);
|
|
41
|
+
/**
|
|
42
|
+
* Procedural sprite drawing. Rather than ship external image assets, every
|
|
43
|
+
* facility is drawn from layered shapes — walls, floors, furniture, windows
|
|
44
|
+
* and signage — to evoke the chunky, detailed pixel look of the 1994 original.
|
|
45
|
+
* Per-unit color variation (seeded by the unit id) keeps rows of identical
|
|
46
|
+
* facilities from reading as one flat color block. All drawing is in screen
|
|
47
|
+
* space.
|
|
48
|
+
*/
|
|
49
|
+
/** Draw a placed room/structure unit into the given screen rectangle. */
|
|
50
|
+
function drawUnit(d, u, x, y, w, h) {
|
|
51
|
+
const { ctx } = d;
|
|
52
|
+
if (u.kind === "floor")
|
|
53
|
+
return drawFloor(ctx, x, y, w, h);
|
|
54
|
+
if (u.kind === "lobby")
|
|
55
|
+
return drawLobby(d, u, x, y, w, h);
|
|
56
|
+
if (u.state === "construction")
|
|
57
|
+
return drawConstruction(d, x, y, w, h);
|
|
58
|
+
// A unit ablaze: draw its gutted shell, then flames over the top.
|
|
59
|
+
if (u.state === "fire") {
|
|
60
|
+
drawBurntShell(ctx, x, y, w, h);
|
|
61
|
+
drawFlames(d, x, y, w, h);
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
// A burned-out room after the fire: the shell, no flames — a scar to rebuild.
|
|
65
|
+
if (u.state === "gutted")
|
|
66
|
+
return drawBurntShell(ctx, x, y, w, h);
|
|
67
|
+
// Faithful pixel-art rooms own all of their states (empty / closed / asleep…),
|
|
68
|
+
// including their own "for lease"/"for sale" signage when vacant.
|
|
69
|
+
if (ROOM_KINDS.has(u.kind))
|
|
70
|
+
return drawRoom(d, u, x, y, w, h);
|
|
71
|
+
// Service / special facilities (security, housekeeping, medical, metro…) are
|
|
72
|
+
// staffed amenities, not leased tenants — they're never "for lease", so always
|
|
73
|
+
// draw their interior regardless of the internal empty/idle state.
|
|
74
|
+
drawInterior(d, u, x, y, w, h);
|
|
75
|
+
layerEnd(ctx);
|
|
76
|
+
}
|
|
77
|
+
/** Dispatch to the per-facility interior drawing (services & special only). */
|
|
78
|
+
function drawInterior(d, u, x, y, w, h) {
|
|
79
|
+
const ctx = d.ctx;
|
|
80
|
+
switch (u.kind) {
|
|
81
|
+
case "partyHall":
|
|
82
|
+
return drawPartyHall(d, u, x, y, w, h);
|
|
83
|
+
case "aquaticCenter":
|
|
84
|
+
return drawAquaticCenter(d, u, x, y, w, h);
|
|
85
|
+
case "parking":
|
|
86
|
+
return drawParking(d, u, x, y, w, h);
|
|
87
|
+
case "parkingRamp":
|
|
88
|
+
return drawParkingRamp(ctx, u, x, y, w, h);
|
|
89
|
+
case "security":
|
|
90
|
+
return drawSecurity(d, u, x, y, w, h);
|
|
91
|
+
case "medical":
|
|
92
|
+
return drawMedical(d, u, x, y, w, h);
|
|
93
|
+
case "housekeeping":
|
|
94
|
+
return drawHousekeeping(d, u, x, y, w, h);
|
|
95
|
+
case "recycling":
|
|
96
|
+
return drawRecycling(d, u, x, y, w, h);
|
|
97
|
+
case "metro":
|
|
98
|
+
return drawMetro(d, x, y, w, h);
|
|
99
|
+
case "weddingHall":
|
|
100
|
+
return drawWeddingHall(d, u, x, y, w, h);
|
|
101
|
+
default:
|
|
102
|
+
ctx.fillStyle = facilityColor(u.kind);
|
|
103
|
+
ctx.fillRect(x + 1, y + 1, w - 2, h - 2);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export { drawUnit };
|
|
108
|
+
//# sourceMappingURL=sprites.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sprites.js","sources":["../../src/render/sprites.ts"],"sourcesContent":["import { facilityColor } from \"../presentation/facilityPresentation\";\nimport type { FacilityKind } from \"../shared/types\";\nimport type { UnitView } from \"../simport/view\";\nimport { drawRoom } from \"./pixelSprites\";\nimport { layerEnd } from \"./pixelSprites/layers\";\nimport type { DrawCtx } from \"./sprites/common\";\nimport {\n drawAquaticCenter,\n drawHousekeeping,\n drawMedical,\n drawMetro,\n drawParking,\n drawParkingRamp,\n drawPartyHall,\n drawRecycling,\n drawSecurity,\n drawWeddingHall,\n} from \"./sprites/facilities\";\nimport { drawBurntShell, drawConstruction, drawFlames, drawFloor, drawLobby } from \"./sprites/structure\";\n\nexport type { DrawCtx } from \"./sprites/common\";\nexport {\n AWNING_W,\n CRANE_H,\n CRANE_MAST_ANCHOR_X,\n CRANE_MIN_ROOF_TILES,\n CRANE_W,\n craneAnchorTile,\n craneMastTile,\n CRANE_REACH_LEFT_TILES,\n CRANE_REACH_RIGHT_TILES,\n craneRoof,\n drawAwning,\n drawCrane,\n drawEscapeStairs,\n drawLobbyEntrance,\n ENTRANCE_GRAND_LEFT,\n ENTRANCE_GRAND_RIGHT,\n ENTRANCE_GRAND_SOLO,\n ENTRANCE_SERVICE,\n type EntranceKind,\n ESCAPE_W,\n LOBBY_VARIANTS,\n lobbyVariant,\n} from \"./sprites/structure\";\nexport { drawGarbageTruck, drawMetroTrain, drawStreetCar } from \"./sprites/facilities\";\nexport { drawCar, drawTransport } from \"./sprites/transport\";\n\n/** Facility kinds rendered by the faithful pixel-art room module. */\nconst ROOM_KINDS = new Set<FacilityKind>([\n \"office\",\n \"condo\",\n \"rentalStudio\",\n \"rentalApartment\",\n \"hotelSingle\",\n \"hotelDouble\",\n \"hotelSuite\",\n \"fastFood\",\n \"restaurant\",\n \"foodHall\",\n \"amusements\",\n \"boutiqueBay\",\n \"fitnessClub\",\n \"clinic\",\n \"nightclub\",\n \"spa\",\n \"skyBar\",\n \"daycare\",\n \"shop\",\n \"cinema\",\n]);\n\n/**\n * Procedural sprite drawing. Rather than ship external image assets, every\n * facility is drawn from layered shapes — walls, floors, furniture, windows\n * and signage — to evoke the chunky, detailed pixel look of the 1994 original.\n * Per-unit color variation (seeded by the unit id) keeps rows of identical\n * facilities from reading as one flat color block. All drawing is in screen\n * space.\n */\n\n/** Draw a placed room/structure unit into the given screen rectangle. */\nexport function drawUnit(d: DrawCtx, u: UnitView, x: number, y: number, w: number, h: number): void {\n const { ctx } = d;\n\n if (u.kind === \"floor\") return drawFloor(ctx, x, y, w, h);\n if (u.kind === \"lobby\") return drawLobby(d, u, x, y, w, h);\n if (u.state === \"construction\") return drawConstruction(d, x, y, w, h);\n\n // A unit ablaze: draw its gutted shell, then flames over the top.\n if (u.state === \"fire\") {\n drawBurntShell(ctx, x, y, w, h);\n drawFlames(d, x, y, w, h);\n return;\n }\n // A burned-out room after the fire: the shell, no flames — a scar to rebuild.\n if (u.state === \"gutted\") return drawBurntShell(ctx, x, y, w, h);\n\n // Faithful pixel-art rooms own all of their states (empty / closed / asleep…),\n // including their own \"for lease\"/\"for sale\" signage when vacant.\n if (ROOM_KINDS.has(u.kind)) return drawRoom(d, u, x, y, w, h);\n\n // Service / special facilities (security, housekeeping, medical, metro…) are\n // staffed amenities, not leased tenants — they're never \"for lease\", so always\n // draw their interior regardless of the internal empty/idle state.\n drawInterior(d, u, x, y, w, h);\n layerEnd(ctx);\n}\n\n/** Dispatch to the per-facility interior drawing (services & special only). */\nfunction drawInterior(d: DrawCtx, u: UnitView, x: number, y: number, w: number, h: number): void {\n const ctx = d.ctx;\n switch (u.kind) {\n case \"partyHall\":\n return drawPartyHall(d, u, x, y, w, h);\n case \"aquaticCenter\":\n return drawAquaticCenter(d, u, x, y, w, h);\n case \"parking\":\n return drawParking(d, u, x, y, w, h);\n case \"parkingRamp\":\n return drawParkingRamp(ctx, u, x, y, w, h);\n case \"security\":\n return drawSecurity(d, u, x, y, w, h);\n case \"medical\":\n return drawMedical(d, u, x, y, w, h);\n case \"housekeeping\":\n return drawHousekeeping(d, u, x, y, w, h);\n case \"recycling\":\n return drawRecycling(d, u, x, y, w, h);\n case \"metro\":\n return drawMetro(d, x, y, w, h);\n case \"weddingHall\":\n return drawWeddingHall(d, u, x, y, w, h);\n default:\n ctx.fillStyle = facilityColor(u.kind);\n ctx.fillRect(x + 1, y + 1, w - 2, h - 2);\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAgDA;AACA,MAAM,UAAU,GAAG,IAAI,GAAG,CAAe;IACvC,QAAQ;IACR,OAAO;IACP,cAAc;IACd,iBAAiB;IACjB,aAAa;IACb,aAAa;IACb,YAAY;IACZ,UAAU;IACV,YAAY;IACZ,UAAU;IACV,YAAY;IACZ,aAAa;IACb,aAAa;IACb,QAAQ;IACR,WAAW;IACX,KAAK;IACL,QAAQ;IACR,SAAS;IACT,MAAM;IACN,QAAQ;AACT,CAAA,CAAC;AAEF;;;;;;;AAOG;AAEH;AACM,SAAU,QAAQ,CAAC,CAAU,EAAE,CAAW,EAAE,CAAS,EAAE,CAAS,EAAE,CAAS,EAAE,CAAS,EAAA;AAC1F,IAAA,MAAM,EAAE,GAAG,EAAE,GAAG,CAAC;AAEjB,IAAA,IAAI,CAAC,CAAC,IAAI,KAAK,OAAO;AAAE,QAAA,OAAO,SAAS,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;AACzD,IAAA,IAAI,CAAC,CAAC,IAAI,KAAK,OAAO;AAAE,QAAA,OAAO,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;AAC1D,IAAA,IAAI,CAAC,CAAC,KAAK,KAAK,cAAc;AAAE,QAAA,OAAO,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;;AAGtE,IAAA,IAAI,CAAC,CAAC,KAAK,KAAK,MAAM,EAAE;QACtB,cAAc,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;QAC/B,UAAU,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;QACzB;IACF;;AAEA,IAAA,IAAI,CAAC,CAAC,KAAK,KAAK,QAAQ;AAAE,QAAA,OAAO,cAAc,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;;;AAIhE,IAAA,IAAI,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC;AAAE,QAAA,OAAO,QAAQ,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;;;;AAK7D,IAAA,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;IAC9B,QAAQ,CAAC,GAAG,CAAC;AACf;AAEA;AACA,SAAS,YAAY,CAAC,CAAU,EAAE,CAAW,EAAE,CAAS,EAAE,CAAS,EAAE,CAAS,EAAE,CAAS,EAAA;AACvF,IAAA,MAAM,GAAG,GAAG,CAAC,CAAC,GAAG;AACjB,IAAA,QAAQ,CAAC,CAAC,IAAI;AACZ,QAAA,KAAK,WAAW;AACd,YAAA,OAAO,aAAa,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;AACxC,QAAA,KAAK,eAAe;AAClB,YAAA,OAAO,iBAAiB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;AAC5C,QAAA,KAAK,SAAS;AACZ,YAAA,OAAO,WAAW,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;AACtC,QAAA,KAAK,aAAa;AAChB,YAAA,OAAO,eAAe,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;AAC5C,QAAA,KAAK,UAAU;AACb,YAAA,OAAO,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;AACvC,QAAA,KAAK,SAAS;AACZ,YAAA,OAAO,WAAW,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;AACtC,QAAA,KAAK,cAAc;AACjB,YAAA,OAAO,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;AAC3C,QAAA,KAAK,WAAW;AACd,YAAA,OAAO,aAAa,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;AACxC,QAAA,KAAK,OAAO;AACV,YAAA,OAAO,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;AACjC,QAAA,KAAK,aAAa;AAChB,YAAA,OAAO,eAAe,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;AAC1C,QAAA;YACE,GAAG,CAAC,SAAS,GAAG,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC;AACrC,YAAA,GAAG,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;;AAE9C;;"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Which stairways and escalators wind (party findings
|
|
3
|
+
* `_bmad-output/party-mode/venue-flights-party-findings-2026-11-14.md`).
|
|
4
|
+
*
|
|
5
|
+
* In Modern, a one-story flight that stands right beside a venue (a cinema, a
|
|
6
|
+
* party hall, the metro station or an aquatic center) is drawn as a spiral
|
|
7
|
+
* staircase or a switchback escalator, the look a flight out of a tall lobby
|
|
8
|
+
* already has. The catalog says whether the mode draws it
|
|
9
|
+
* (`rules.venueFlights`); Classic draws every one-story flight straight, as
|
|
10
|
+
* SimTower did.
|
|
11
|
+
*
|
|
12
|
+
* This is drawing only. The flight links the same two floors, takes the same
|
|
13
|
+
* slot in the flight pool and counts the same against the walk limit, and
|
|
14
|
+
* nothing about it is saved: the look follows from the flight and the rooms
|
|
15
|
+
* beside it, so it changes the moment a venue is built or bulldozed.
|
|
16
|
+
*/
|
|
17
|
+
import type { FacilityKind } from "../shared/types";
|
|
18
|
+
import type { TransportView, UnitView } from "../simport/view";
|
|
19
|
+
/** Whether a room of `kind` is a venue a flight winds beside. */
|
|
20
|
+
export declare function isVenue(kind: FacilityKind): boolean;
|
|
21
|
+
/** The wall-to-wall extent of one venue: its stories and its columns. */
|
|
22
|
+
export interface VenueBox {
|
|
23
|
+
/** Its bottom story. */
|
|
24
|
+
readonly floor: number;
|
|
25
|
+
/** Its top story. */
|
|
26
|
+
readonly top: number;
|
|
27
|
+
/** Its left column. */
|
|
28
|
+
readonly x: number;
|
|
29
|
+
/** One past its right column. */
|
|
30
|
+
readonly right: number;
|
|
31
|
+
}
|
|
32
|
+
/** The box `u` fills, `stories` high. */
|
|
33
|
+
export declare function venueBox(u: Pick<UnitView, "floor" | "x" | "width">, stories: number): VenueBox;
|
|
34
|
+
type Flight = Pick<TransportView, "kind" | "x" | "width" | "bottom" | "top">;
|
|
35
|
+
/** What the winding set was last worked out from (`towerReconcile`
|
|
36
|
+
* `syncScene`): the sim, the tower revision, the view's room and flight
|
|
37
|
+
* lists, and whether the mode winds flights at all. Every input of the set is
|
|
38
|
+
* structural, so a sync that finds the same key (an hour flip, a lighting
|
|
39
|
+
* flip, a meal-overlay change) keeps the set and the flight actors as they
|
|
40
|
+
* are. A null sim makes the next sync work it out again. */
|
|
41
|
+
export interface FlightPass {
|
|
42
|
+
sim: unknown;
|
|
43
|
+
revision: number;
|
|
44
|
+
units: unknown;
|
|
45
|
+
transports: unknown;
|
|
46
|
+
winds: boolean;
|
|
47
|
+
/** The ids of the flights that wind, refilled in place. */
|
|
48
|
+
readonly winding: Set<number>;
|
|
49
|
+
}
|
|
50
|
+
/** A key no sync matches, so the next one fills the set and the actors. */
|
|
51
|
+
export declare function emptyFlightPass(): FlightPass;
|
|
52
|
+
/** Whether `t` is a one-story stairway or escalator standing beside `v`: it
|
|
53
|
+
* touches the venue's left or right wall, and both of its floors are inside
|
|
54
|
+
* the venue's stories, so it climbs alongside the venue the whole way. */
|
|
55
|
+
export declare function besideVenue(t: Flight, v: VenueBox): boolean;
|
|
56
|
+
/** Fills `out` with the ids of the flights in `transports` that wind beside
|
|
57
|
+
* one of `venues`, and returns it. Runs only when the structure or the mode
|
|
58
|
+
* moves (`FlightPass`), never per frame: a tower holds at most 64 flights
|
|
59
|
+
* and a few dozen venues. */
|
|
60
|
+
export declare function windingFlights(transports: ReadonlyArray<TransportView>, venues: ReadonlyArray<VenueBox>, out: Set<number>): Set<number>;
|
|
61
|
+
export {};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/** The venues a flight winds beside: the halls a crowd arrives at. The
|
|
2
|
+
* recycling center is two stories as well, but it is back of house. Art
|
|
3
|
+
* direction, like a facility's color; how tall each one is comes from the
|
|
4
|
+
* catalog. */
|
|
5
|
+
const VENUE_KINDS = new Set(["cinema", "partyHall", "metro", "aquaticCenter"]);
|
|
6
|
+
/** Whether a room of `kind` is a venue a flight winds beside. */
|
|
7
|
+
function isVenue(kind) {
|
|
8
|
+
return VENUE_KINDS.has(kind);
|
|
9
|
+
}
|
|
10
|
+
/** The box `u` fills, `stories` high. */
|
|
11
|
+
function venueBox(u, stories) {
|
|
12
|
+
return { floor: u.floor, top: u.floor + stories - 1, x: u.x, right: u.x + u.width };
|
|
13
|
+
}
|
|
14
|
+
/** A key no sync matches, so the next one fills the set and the actors. */
|
|
15
|
+
function emptyFlightPass() {
|
|
16
|
+
return { sim: null, revision: Number.NaN, units: null, transports: null, winds: false, winding: new Set() };
|
|
17
|
+
}
|
|
18
|
+
/** Whether `t` is a one-story stairway or escalator standing beside `v`: it
|
|
19
|
+
* touches the venue's left or right wall, and both of its floors are inside
|
|
20
|
+
* the venue's stories, so it climbs alongside the venue the whole way. */
|
|
21
|
+
function besideVenue(t, v) {
|
|
22
|
+
if (t.kind !== "stairs" && t.kind !== "escalator")
|
|
23
|
+
return false;
|
|
24
|
+
if (t.top - t.bottom !== 1)
|
|
25
|
+
return false;
|
|
26
|
+
if (t.bottom < v.floor || t.top > v.top)
|
|
27
|
+
return false;
|
|
28
|
+
return t.x + t.width === v.x || t.x === v.right;
|
|
29
|
+
}
|
|
30
|
+
/** Fills `out` with the ids of the flights in `transports` that wind beside
|
|
31
|
+
* one of `venues`, and returns it. Runs only when the structure or the mode
|
|
32
|
+
* moves (`FlightPass`), never per frame: a tower holds at most 64 flights
|
|
33
|
+
* and a few dozen venues. */
|
|
34
|
+
function windingFlights(transports, venues, out) {
|
|
35
|
+
out.clear();
|
|
36
|
+
if (venues.length === 0)
|
|
37
|
+
return out;
|
|
38
|
+
for (const t of transports) {
|
|
39
|
+
for (const v of venues) {
|
|
40
|
+
if (besideVenue(t, v)) {
|
|
41
|
+
out.add(t.id);
|
|
42
|
+
break;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
return out;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export { besideVenue, emptyFlightPass, isVenue, venueBox, windingFlights };
|
|
50
|
+
//# sourceMappingURL=venueFlights.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"venueFlights.js","sources":["../../src/render/venueFlights.ts"],"sourcesContent":["/**\n * Which stairways and escalators wind (party findings\n * `_bmad-output/party-mode/venue-flights-party-findings-2026-11-14.md`).\n *\n * In Modern, a one-story flight that stands right beside a venue (a cinema, a\n * party hall, the metro station or an aquatic center) is drawn as a spiral\n * staircase or a switchback escalator, the look a flight out of a tall lobby\n * already has. The catalog says whether the mode draws it\n * (`rules.venueFlights`); Classic draws every one-story flight straight, as\n * SimTower did.\n *\n * This is drawing only. The flight links the same two floors, takes the same\n * slot in the flight pool and counts the same against the walk limit, and\n * nothing about it is saved: the look follows from the flight and the rooms\n * beside it, so it changes the moment a venue is built or bulldozed.\n */\nimport type { FacilityKind } from \"../shared/types\";\nimport type { TransportView, UnitView } from \"../simport/view\";\n\n/** The venues a flight winds beside: the halls a crowd arrives at. The\n * recycling center is two stories as well, but it is back of house. Art\n * direction, like a facility's color; how tall each one is comes from the\n * catalog. */\nconst VENUE_KINDS: ReadonlySet<FacilityKind> = new Set<FacilityKind>([\"cinema\", \"partyHall\", \"metro\", \"aquaticCenter\"]);\n\n/** Whether a room of `kind` is a venue a flight winds beside. */\nexport function isVenue(kind: FacilityKind): boolean {\n return VENUE_KINDS.has(kind);\n}\n\n/** The wall-to-wall extent of one venue: its stories and its columns. */\nexport interface VenueBox {\n /** Its bottom story. */\n readonly floor: number;\n /** Its top story. */\n readonly top: number;\n /** Its left column. */\n readonly x: number;\n /** One past its right column. */\n readonly right: number;\n}\n\n/** The box `u` fills, `stories` high. */\nexport function venueBox(u: Pick<UnitView, \"floor\" | \"x\" | \"width\">, stories: number): VenueBox {\n return { floor: u.floor, top: u.floor + stories - 1, x: u.x, right: u.x + u.width };\n}\n\ntype Flight = Pick<TransportView, \"kind\" | \"x\" | \"width\" | \"bottom\" | \"top\">;\n\n/** What the winding set was last worked out from (`towerReconcile`\n * `syncScene`): the sim, the tower revision, the view's room and flight\n * lists, and whether the mode winds flights at all. Every input of the set is\n * structural, so a sync that finds the same key (an hour flip, a lighting\n * flip, a meal-overlay change) keeps the set and the flight actors as they\n * are. A null sim makes the next sync work it out again. */\nexport interface FlightPass {\n sim: unknown;\n revision: number;\n units: unknown;\n transports: unknown;\n winds: boolean;\n /** The ids of the flights that wind, refilled in place. */\n readonly winding: Set<number>;\n}\n\n/** A key no sync matches, so the next one fills the set and the actors. */\nexport function emptyFlightPass(): FlightPass {\n return { sim: null, revision: Number.NaN, units: null, transports: null, winds: false, winding: new Set<number>() };\n}\n\n/** Whether `t` is a one-story stairway or escalator standing beside `v`: it\n * touches the venue's left or right wall, and both of its floors are inside\n * the venue's stories, so it climbs alongside the venue the whole way. */\nexport function besideVenue(t: Flight, v: VenueBox): boolean {\n if (t.kind !== \"stairs\" && t.kind !== \"escalator\") return false;\n if (t.top - t.bottom !== 1) return false;\n if (t.bottom < v.floor || t.top > v.top) return false;\n return t.x + t.width === v.x || t.x === v.right;\n}\n\n/** Fills `out` with the ids of the flights in `transports` that wind beside\n * one of `venues`, and returns it. Runs only when the structure or the mode\n * moves (`FlightPass`), never per frame: a tower holds at most 64 flights\n * and a few dozen venues. */\nexport function windingFlights(transports: ReadonlyArray<TransportView>, venues: ReadonlyArray<VenueBox>, out: Set<number>): Set<number> {\n out.clear();\n if (venues.length === 0) return out;\n for (const t of transports) {\n for (const v of venues) {\n if (besideVenue(t, v)) {\n out.add(t.id);\n break;\n }\n }\n }\n return out;\n}\n"],"names":[],"mappings":"AAmBA;;;AAGe;AACf,MAAM,WAAW,GAA8B,IAAI,GAAG,CAAe,CAAC,QAAQ,EAAE,WAAW,EAAE,OAAO,EAAE,eAAe,CAAC,CAAC;AAEvH;AACM,SAAU,OAAO,CAAC,IAAkB,EAAA;AACxC,IAAA,OAAO,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC;AAC9B;AAcA;AACM,SAAU,QAAQ,CAAC,CAA0C,EAAE,OAAe,EAAA;AAClF,IAAA,OAAO,EAAE,KAAK,EAAE,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,CAAC,CAAC,KAAK,GAAG,OAAO,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE;AACrF;AAoBA;SACgB,eAAe,GAAA;AAC7B,IAAA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,CAAC,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,GAAG,EAAU,EAAE;AACrH;AAEA;;AAE2E;AACrE,SAAU,WAAW,CAAC,CAAS,EAAE,CAAW,EAAA;IAChD,IAAI,CAAC,CAAC,IAAI,KAAK,QAAQ,IAAI,CAAC,CAAC,IAAI,KAAK,WAAW;AAAE,QAAA,OAAO,KAAK;IAC/D,IAAI,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,MAAM,KAAK,CAAC;AAAE,QAAA,OAAO,KAAK;AACxC,IAAA,IAAI,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,GAAG;AAAE,QAAA,OAAO,KAAK;AACrD,IAAA,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK;AACjD;AAEA;;;AAG8B;SACd,cAAc,CAAC,UAAwC,EAAE,MAA+B,EAAE,GAAgB,EAAA;IACxH,GAAG,CAAC,KAAK,EAAE;AACX,IAAA,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC;AAAE,QAAA,OAAO,GAAG;AACnC,IAAA,KAAK,MAAM,CAAC,IAAI,UAAU,EAAE;AAC1B,QAAA,KAAK,MAAM,CAAC,IAAI,MAAM,EAAE;AACtB,YAAA,IAAI,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE;AACrB,gBAAA,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;gBACb;YACF;QACF;IACF;AACA,IAAA,OAAO,GAAG;AACZ;;"}
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Plain data types the frontend, the WASM host and the TypeScript reference
|
|
3
|
+
* engine share: schedules, the crowd's person shape and queue view, the
|
|
4
|
+
* pricing ladder, ledger and heatmap categories. They carry no behavior, so
|
|
5
|
+
* they live outside `src/engine/`, which is due for deletion (#1875); the
|
|
6
|
+
* engine modules that once declared them re-export them from here.
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* A per-shaft manual elevator schedule (elevator-scheduling, #305). Every field
|
|
10
|
+
* is optional so a sparse save stores only what the player set; an absent field
|
|
11
|
+
* falls back to today's automatic behavior. Authored state, read deterministically
|
|
12
|
+
* (no RNG). Shared by the engine, the TDT codec and the
|
|
13
|
+
* schedule dialog; `types.ts` imports it for the `Transport.schedule` field.
|
|
14
|
+
* See `_bmad-output/planning-artifacts/design/arch-elevator-scheduling-2026-07-16.md`.
|
|
15
|
+
*/
|
|
16
|
+
export interface ElevatorSchedule {
|
|
17
|
+
/** Cars running each of the 24 hours, per day type. Each present row is a
|
|
18
|
+
* length-24 array; entry `h` is clamped to `[0, cars]` on read. An absent row
|
|
19
|
+
* (or hour) means "all cars run". */
|
|
20
|
+
activeCars?: {
|
|
21
|
+
weekday?: number[];
|
|
22
|
+
weekend?: number[];
|
|
23
|
+
};
|
|
24
|
+
/** Waiting Car Response: how many floors closer to a call an idle car must be
|
|
25
|
+
* than the assigned car before it answers. Absent = the dispatcher default. */
|
|
26
|
+
waitingCarResponse?: number;
|
|
27
|
+
/** Standard Floor Departure: seconds a car holds at a served floor before it
|
|
28
|
+
* departs. Absent = the global dwell default. */
|
|
29
|
+
standardFloorDeparture?: number;
|
|
30
|
+
/** Per-car home/waiting floor; index `i` is car `i`. An absent or short entry
|
|
31
|
+
* falls back to the derived lowest-lobby idle floor. */
|
|
32
|
+
homeFloors?: number[];
|
|
33
|
+
/** Auto (Modern): the engine re-tunes `activeCars` every game morning from
|
|
34
|
+
* the shaft's measured traffic. Staging, door time and waiting response
|
|
35
|
+
* stay as set. Absent means off; a new Modern elevator starts on. */
|
|
36
|
+
autoTune?: boolean;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* A shaft's measured hourly demand, split by day type (#466): one 24-slot ring
|
|
40
|
+
* per day of EMA'd load fractions (0..1), so weekend samples never blend into
|
|
41
|
+
* the weekday curve. A slot of 0 means "no positive sample yet": a genuinely
|
|
42
|
+
* zero-load hour also reads 0, so consumers cannot tell the two apart (the
|
|
43
|
+
* conflation is tracked as #474). A save carries it only while a shaft is on
|
|
44
|
+
* Auto (`elevatorLoad`); otherwise a fresh load reads empty, never a
|
|
45
|
+
* fabricated curve.
|
|
46
|
+
*/
|
|
47
|
+
export interface HourlyByDay {
|
|
48
|
+
weekday: number[];
|
|
49
|
+
weekend: number[];
|
|
50
|
+
}
|
|
51
|
+
/** One shaft's boarding-origin history: per day type, per hour-of-day, an
|
|
52
|
+
* origin-floor map of EMA'd boarding counts. Transient, like {@link HourlyByDay}. */
|
|
53
|
+
export interface OriginRings {
|
|
54
|
+
weekday: Map<number, number>[];
|
|
55
|
+
weekend: Map<number, number>[];
|
|
56
|
+
}
|
|
57
|
+
/** A calendar identity. Also the value persisted for a Modern tower's choice. */
|
|
58
|
+
export type CalendarKind = "canon" | "realWorld";
|
|
59
|
+
export type LedgerCat = "offices" | "condos" | "hotels" | "retail" | "food" | "entertainment" | "upkeep";
|
|
60
|
+
/** The metric the colored stats overlay tints floors by. */
|
|
61
|
+
export type HeatmapMode = "congestion" | "occupancy" | "satisfaction" | "cleanliness";
|
|
62
|
+
/** One tinted rectangle in the stats overlay: a column span on a floor and how
|
|
63
|
+
* bad it reads (0 = green/good … 1 = red/bad). Congestion and occupancy emit
|
|
64
|
+
* one cell per floor (they're floor-level metrics); satisfaction emits one cell
|
|
65
|
+
* per present tenant unit so a single unhappy suite reddens on its own instead
|
|
66
|
+
* of being averaged away by content neighbors sharing the floor.
|
|
67
|
+
*
|
|
68
|
+
* `tint` is an optional SEMANTIC category for cells whose meaning the plain
|
|
69
|
+
* good-to-bad ramp cannot carry (the engine names the state; the renderer
|
|
70
|
+
* picks the pixels): `infested` marks a hotel room housekeeping can no longer
|
|
71
|
+
* clean (terminal, distinct from "unreached"), `na` marks a unit the overlay's
|
|
72
|
+
* metric does not apply to (a condo on the housekeeping map), so a blank never
|
|
73
|
+
* reads as an uncovered room. Cells without a tint read the severity ramp.
|
|
74
|
+
* Numeric consumers aggregating `severity` must SKIP `na` cells (their 0
|
|
75
|
+
* means "not applicable", never "perfectly covered"); `infested` cells keep
|
|
76
|
+
* an honest hot severity for anything reading the number alone. */
|
|
77
|
+
export interface HeatCell {
|
|
78
|
+
floor: number;
|
|
79
|
+
minX: number;
|
|
80
|
+
maxX: number;
|
|
81
|
+
severity: number;
|
|
82
|
+
tint?: "infested" | "na";
|
|
83
|
+
}
|
|
84
|
+
/** Batch-pricing target: an exact price, "default" to return to the neutral
|
|
85
|
+
* anchor (band default / Classic Average rung), or "noRate" to take the kind
|
|
86
|
+
* off the market (ladder modes only; Modern never holds the No Rate state). */
|
|
87
|
+
export type BatchTarget = number | "default" | "noRate";
|
|
88
|
+
export interface BatchRentOptions {
|
|
89
|
+
/** Only touch units still on the default price (skip hand-tuned ones). */
|
|
90
|
+
onlyDefaultPriced?: boolean;
|
|
91
|
+
}
|
|
92
|
+
export interface BatchRentResult {
|
|
93
|
+
matched: number;
|
|
94
|
+
eligible: number;
|
|
95
|
+
changed: number;
|
|
96
|
+
skippedSold: number;
|
|
97
|
+
skippedCustom: number;
|
|
98
|
+
customOverwritten: number;
|
|
99
|
+
clampedLow: number;
|
|
100
|
+
clampedHigh: number;
|
|
101
|
+
}
|
|
102
|
+
/** One rung of the Classic 4-level rent ladder. `level` doubles as the 1994
|
|
103
|
+
* TDT rent-class byte (0 Very Low … 3 High; byte 4 is the No Rate sentinel,
|
|
104
|
+
* carried by the ladder shape itself, not a fifth rung). */
|
|
105
|
+
export interface PriceRung {
|
|
106
|
+
readonly level: 0 | 1 | 2 | 3;
|
|
107
|
+
readonly label: "Very Low" | "Low" | "Average" | "High";
|
|
108
|
+
readonly value: number;
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* What a mode offers the player for pricing a rentable kind. The consumers
|
|
112
|
+
* (editor, batch dialog, price choke point) switch on the SHAPE of this value,
|
|
113
|
+
* never on the mode string, per the rule-set law above:
|
|
114
|
+
* - `ladder`: the Classic discrete 4-rung dropdown plus the No Rate
|
|
115
|
+
* off-market sentinel (`noRate: true` says the mode offers that state);
|
|
116
|
+
* - `band`: Modern's continuous `{min, default, max, step}` range,
|
|
117
|
+
* driving the existing stepper/range editors.
|
|
118
|
+
* Both shapes are frozen module-level singletons, so reading them on a
|
|
119
|
+
* per-unit path allocates nothing.
|
|
120
|
+
*/
|
|
121
|
+
export type PriceOptions = {
|
|
122
|
+
readonly shape: "ladder";
|
|
123
|
+
readonly rungs: readonly PriceRung[];
|
|
124
|
+
readonly noRate: true;
|
|
125
|
+
} | {
|
|
126
|
+
readonly shape: "band";
|
|
127
|
+
readonly band: {
|
|
128
|
+
readonly default: number;
|
|
129
|
+
readonly min: number;
|
|
130
|
+
readonly max: number;
|
|
131
|
+
readonly step: number;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
export type PersonState = "toShaft" | "waiting" | "riding" | "climbing" | "toDest" | "dwelling" | "done";
|
|
135
|
+
export interface Person {
|
|
136
|
+
id: number;
|
|
137
|
+
seed: number;
|
|
138
|
+
state: PersonState;
|
|
139
|
+
/** Discrete current floor (where they're standing / boarding). */
|
|
140
|
+
floor: number;
|
|
141
|
+
/** Continuous floor for rendering while riding a car. */
|
|
142
|
+
fy: number;
|
|
143
|
+
/** Continuous tile x. */
|
|
144
|
+
x: number;
|
|
145
|
+
/** Per-leg transport route: floors[0]=origin … floors[n]=destination. */
|
|
146
|
+
floors: number[];
|
|
147
|
+
/** Immutable origin floor stamped at spawn. `floors[0]` is rewritten for a
|
|
148
|
+
* round-tripper's return leg (it becomes the venue floor), so the commute-
|
|
149
|
+
* stress accumulator (#514) keys on THIS instead, keeping a round-trip's wait
|
|
150
|
+
* attributed to the tenant's true origin rather than the venue they visited. */
|
|
151
|
+
originFloor: number;
|
|
152
|
+
/** shaft id used for leg i (floors[i] → floors[i+1]); always a valid id. An
|
|
153
|
+
* unreachable destination yields no route at all (routing returns null), so
|
|
154
|
+
* this array never holds a sentinel. */
|
|
155
|
+
shafts: number[];
|
|
156
|
+
leg: number;
|
|
157
|
+
shaftId: number | null;
|
|
158
|
+
carIndex: number | null;
|
|
159
|
+
/** Tile x to stroll to on the destination floor (within built structure). */
|
|
160
|
+
destX: number;
|
|
161
|
+
/** Seconds spent waiting on the current call (drives stress). */
|
|
162
|
+
wait: number;
|
|
163
|
+
/** Cumulative landing-wait seconds across this whole trip (every leg). Unlike
|
|
164
|
+
* {@link wait}, which is per-call and zeroed on boarding, this sums each
|
|
165
|
+
* served call's wait so a multi-transfer commute contributes the wait of
|
|
166
|
+
* every leg, not just the last. Folded into the per-origin commute-stress
|
|
167
|
+
* accumulator at {@link finish} (read-only measurement, #514); in-memory
|
|
168
|
+
* only, like every Person field. */
|
|
169
|
+
tripWait: number;
|
|
170
|
+
/** Total seconds in transit (origin → destination), for the give-up valve. */
|
|
171
|
+
age: number;
|
|
172
|
+
/** Idle timer once arrived, before despawning. */
|
|
173
|
+
linger: number;
|
|
174
|
+
/** True for tower staff (housekeepers): they route over the STAFF network
|
|
175
|
+
* (service elevators / stairs), never count toward tenant stress, and
|
|
176
|
+
* render in a work uniform. */
|
|
177
|
+
staff?: boolean;
|
|
178
|
+
/** Unit id this staffer is dispatched to service (a dirty hotel room). */
|
|
179
|
+
cleanUnitId?: number;
|
|
180
|
+
/** Unit id of the meal venue chosen at spawn for a round-trip meal person;
|
|
181
|
+
* `destX` points inside this unit's footprint. Distinct from `venueUnitId`:
|
|
182
|
+
* this records the intent (set on spawn), while `venueUnitId` records the
|
|
183
|
+
* census count actually taken (set on dwell entry), so a give-up before
|
|
184
|
+
* arrival never decrements a count that was never incremented. */
|
|
185
|
+
mealVenueId?: number;
|
|
186
|
+
/** Unit id of the commercial venue (fastFood / restaurant / shop) where this
|
|
187
|
+
* person is currently attending. Set when the person enters the
|
|
188
|
+
* `dwelling` state;
|
|
189
|
+
* used to decrement `venueUnit.customersIn` when they leave. Undefined for
|
|
190
|
+
* all non-meal persons and for eaters at non-commercial destinations. */
|
|
191
|
+
venueUnitId?: number;
|
|
192
|
+
/** True when this counted eater came from a HOTEL origin, so finish() also
|
|
193
|
+
* decrements the venue's `hotelCustomersIn` (the 4-star-plus census
|
|
194
|
+
* exclusion). Captured at dwell entry, when the origin still exists. */
|
|
195
|
+
countedHotelGuest?: boolean;
|
|
196
|
+
/** Unit id of the ORIGIN room for a round-trip meal person (an office,
|
|
197
|
+
* condo, or hotel room whose visible occupancy dropped by 1 when this
|
|
198
|
+
* person spawned outbound). Undefined for lobby-centric commuter trips
|
|
199
|
+
* and staff dispatches. On return arrival the person decrements
|
|
200
|
+
* `originUnit.outForMeal`, guarded so a bulldozed origin cannot ghost-
|
|
201
|
+
* decrement a fresh unit built in the same slot after. */
|
|
202
|
+
originUnitId?: number;
|
|
203
|
+
/** Remaining crowd-seconds in the `dwelling` state (a stationary stay at
|
|
204
|
+
* the destination floor after the outbound trip's `toDest` completes: a
|
|
205
|
+
* meal, a showing, a party, a wedding). Only set for round-trippers;
|
|
206
|
+
* drained in the `advance` loop. */
|
|
207
|
+
dwellSecondsLeft?: number;
|
|
208
|
+
/** True once the outbound arrival has transitioned this person into their
|
|
209
|
+
* return trip (venue -> origin). Distinguishes the two `toDest` completions
|
|
210
|
+
* a round-tripper has (outbound arrival triggers the dwell; return arrival
|
|
211
|
+
* triggers the outForMeal decrement + despawn). */
|
|
212
|
+
returning?: boolean;
|
|
213
|
+
/** Which demographic routine (condo-demographic-routines, #397) spawned this
|
|
214
|
+
* person: a condo school-run leg or an office sales call. A transient tag
|
|
215
|
+
* for attribution (tests, future overlays); the waves are purely
|
|
216
|
+
* statistical, so it names the routine, never an identity, and like every
|
|
217
|
+
* Person field it is in-memory only (nothing persists who is a child). */
|
|
218
|
+
routine?: "schoolRun" | "salesCall";
|
|
219
|
+
/** Extended arrival linger (crowd-seconds): how long to hold the arrived
|
|
220
|
+
* pose before despawning. A metro commuter waiting on the platform for
|
|
221
|
+
* their train. Unset for ordinary trips, which keep the default 2-second
|
|
222
|
+
* linger; distinct from the venue round-trippers' `dwelling` state and
|
|
223
|
+
* its `dwellSecondsLeft`. In-memory only, like every Person field. */
|
|
224
|
+
lingerFor?: number;
|
|
225
|
+
}
|
|
226
|
+
/** One landing's waiting line in an {@link ElevatorQueueView}: how many real
|
|
227
|
+
* people wait there and a bounded wait-tier (0 content, 1 impatient, 2 fed up),
|
|
228
|
+
* the max over its waiters. */
|
|
229
|
+
export interface QueueLanding {
|
|
230
|
+
count: number;
|
|
231
|
+
tier: 0 | 1 | 2;
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* Read-only projection of the waiting crowd and per-car occupancy, sized for
|
|
235
|
+
* the render layer (see `elevatorQueueView`). A VIEW of state the crowd
|
|
236
|
+
* already tracks (the same `waiting` people {@link ElevatorCalls} counts, and
|
|
237
|
+
* each car's drawn occupancy `crowd.carRiders`), so it re-simulates nothing:
|
|
238
|
+
* it surfaces boarding, it does not perform it. Both halves count ONE
|
|
239
|
+
* population, the drawn crowd, so a waiter boarding moves the same figure
|
|
240
|
+
* from a landing into a car. {@link Crowd.queueView} memoizes it once per
|
|
241
|
+
* outer sim step, so a render frame reads it without re-scanning the crowd.
|
|
242
|
+
*/
|
|
243
|
+
export interface ElevatorQueueView {
|
|
244
|
+
/** Landing queues: shaftId → floor → count and wait-tier. The waiters' stable
|
|
245
|
+
* order in `crowd.people` is the queue order the render draws; this view
|
|
246
|
+
* carries the length and tier, not the identities. */
|
|
247
|
+
landings: ReadonlyMap<number, ReadonlyMap<number, QueueLanding>>;
|
|
248
|
+
/** Boarded riders per car: shaftId → carIndex → count, read from
|
|
249
|
+
* `crowd.carRiders` (the drawn per-car occupancy, the same routed figures
|
|
250
|
+
* `landings` counts, now aboard). Not the dispatch's statistical `carLoad`. */
|
|
251
|
+
boarded: ReadonlyMap<number, ReadonlyMap<number, number>>;
|
|
252
|
+
}
|
|
253
|
+
/** A star gate's stable id: what a panel keys its copy on, and what the Rust
|
|
254
|
+
* engine's stats report answers (facade slice 6b), so the two engines name
|
|
255
|
+
* each gate the same way whatever the label says. */
|
|
256
|
+
export type StarGateId = "security" | "medical" | "recycling" | "suites" | "vip" | "metro" | "weddingHall";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Plain data types the frontend, the WASM host and the TypeScript reference
|
|
3
|
+
* engine share: schedules, the crowd's person shape and queue view, the
|
|
4
|
+
* pricing ladder, ledger and heatmap categories. They carry no behavior, so
|
|
5
|
+
* they live outside `src/engine/`, which is due for deletion (#1875); the
|
|
6
|
+
* engine modules that once declared them re-export them from here.
|
|
7
|
+
*/
|
|
8
|
+
//# sourceMappingURL=engineTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"engineTypes.js","sources":["../../src/shared/engineTypes.ts"],"sourcesContent":["/**\n * Plain data types the frontend, the WASM host and the TypeScript reference\n * engine share: schedules, the crowd's person shape and queue view, the\n * pricing ladder, ledger and heatmap categories. They carry no behavior, so\n * they live outside `src/engine/`, which is due for deletion (#1875); the\n * engine modules that once declared them re-export them from here.\n */\n\n// Elevator schedules and the demand history the schedule dialog reads.\n\n/**\n * A per-shaft manual elevator schedule (elevator-scheduling, #305). Every field\n * is optional so a sparse save stores only what the player set; an absent field\n * falls back to today's automatic behavior. Authored state, read deterministically\n * (no RNG). Shared by the engine, the TDT codec and the\n * schedule dialog; `types.ts` imports it for the `Transport.schedule` field.\n * See `_bmad-output/planning-artifacts/design/arch-elevator-scheduling-2026-07-16.md`.\n */\nexport interface ElevatorSchedule {\n /** Cars running each of the 24 hours, per day type. Each present row is a\n * length-24 array; entry `h` is clamped to `[0, cars]` on read. An absent row\n * (or hour) means \"all cars run\". */\n activeCars?: { weekday?: number[]; weekend?: number[] };\n /** Waiting Car Response: how many floors closer to a call an idle car must be\n * than the assigned car before it answers. Absent = the dispatcher default. */\n waitingCarResponse?: number;\n /** Standard Floor Departure: seconds a car holds at a served floor before it\n * departs. Absent = the global dwell default. */\n standardFloorDeparture?: number;\n /** Per-car home/waiting floor; index `i` is car `i`. An absent or short entry\n * falls back to the derived lowest-lobby idle floor. */\n homeFloors?: number[];\n /** Auto (Modern): the engine re-tunes `activeCars` every game morning from\n * the shaft's measured traffic. Staging, door time and waiting response\n * stay as set. Absent means off; a new Modern elevator starts on. */\n autoTune?: boolean;\n}\n\n/**\n * A shaft's measured hourly demand, split by day type (#466): one 24-slot ring\n * per day of EMA'd load fractions (0..1), so weekend samples never blend into\n * the weekday curve. A slot of 0 means \"no positive sample yet\": a genuinely\n * zero-load hour also reads 0, so consumers cannot tell the two apart (the\n * conflation is tracked as #474). A save carries it only while a shaft is on\n * Auto (`elevatorLoad`); otherwise a fresh load reads empty, never a\n * fabricated curve.\n */\nexport interface HourlyByDay {\n weekday: number[];\n weekend: number[];\n}\n\n// Boarding origins per shaft.\n\n/** One shaft's boarding-origin history: per day type, per hour-of-day, an\n * origin-floor map of EMA'd boarding counts. Transient, like {@link HourlyByDay}. */\nexport interface OriginRings {\n weekday: Map<number, number>[];\n weekend: Map<number, number>[];\n}\n\n// Calendars.\n\n/** A calendar identity. Also the value persisted for a Modern tower's choice. */\nexport type CalendarKind = \"canon\" | \"realWorld\";\n\n// Ledger report categories.\n\nexport type LedgerCat =\n | \"offices\"\n | \"condos\"\n | \"hotels\"\n | \"retail\"\n | \"food\"\n | \"entertainment\"\n | \"upkeep\";\n\n// The heatmap and batch pricing.\n\n/** The metric the colored stats overlay tints floors by. */\nexport type HeatmapMode = \"congestion\" | \"occupancy\" | \"satisfaction\" | \"cleanliness\";\n\n/** One tinted rectangle in the stats overlay: a column span on a floor and how\n * bad it reads (0 = green/good … 1 = red/bad). Congestion and occupancy emit\n * one cell per floor (they're floor-level metrics); satisfaction emits one cell\n * per present tenant unit so a single unhappy suite reddens on its own instead\n * of being averaged away by content neighbors sharing the floor.\n *\n * `tint` is an optional SEMANTIC category for cells whose meaning the plain\n * good-to-bad ramp cannot carry (the engine names the state; the renderer\n * picks the pixels): `infested` marks a hotel room housekeeping can no longer\n * clean (terminal, distinct from \"unreached\"), `na` marks a unit the overlay's\n * metric does not apply to (a condo on the housekeeping map), so a blank never\n * reads as an uncovered room. Cells without a tint read the severity ramp.\n * Numeric consumers aggregating `severity` must SKIP `na` cells (their 0\n * means \"not applicable\", never \"perfectly covered\"); `infested` cells keep\n * an honest hot severity for anything reading the number alone. */\nexport interface HeatCell {\n floor: number;\n minX: number;\n maxX: number;\n severity: number;\n tint?: \"infested\" | \"na\";\n}\n\n/** Batch-pricing target: an exact price, \"default\" to return to the neutral\n * anchor (band default / Classic Average rung), or \"noRate\" to take the kind\n * off the market (ladder modes only; Modern never holds the No Rate state). */\nexport type BatchTarget = number | \"default\" | \"noRate\";\n\nexport interface BatchRentOptions {\n /** Only touch units still on the default price (skip hand-tuned ones). */\n onlyDefaultPriced?: boolean;\n}\n\nexport interface BatchRentResult {\n matched: number; // priced units of this kind (incl. sold condos)\n eligible: number; // matched − skippedSold − skippedCustom\n changed: number; // units whose effective price actually differs after the write\n skippedSold: number; // condo && everOccupied\n skippedCustom: number; // had a custom price and onlyDefaultPriced was set (left alone)\n customOverwritten: number; // eligible custom-priced units being replaced (protect toggle off)\n clampedLow: number; // eligible units whose target was below the band minimum\n clampedHigh: number; // eligible units whose target was above the band maximum\n}\n\n// The pricing ladder and band.\n\n/** One rung of the Classic 4-level rent ladder. `level` doubles as the 1994\n * TDT rent-class byte (0 Very Low … 3 High; byte 4 is the No Rate sentinel,\n * carried by the ladder shape itself, not a fifth rung). */\nexport interface PriceRung {\n readonly level: 0 | 1 | 2 | 3;\n readonly label: \"Very Low\" | \"Low\" | \"Average\" | \"High\";\n readonly value: number;\n}\n\n/**\n * What a mode offers the player for pricing a rentable kind. The consumers\n * (editor, batch dialog, price choke point) switch on the SHAPE of this value,\n * never on the mode string, per the rule-set law above:\n * - `ladder`: the Classic discrete 4-rung dropdown plus the No Rate\n * off-market sentinel (`noRate: true` says the mode offers that state);\n * - `band`: Modern's continuous `{min, default, max, step}` range,\n * driving the existing stepper/range editors.\n * Both shapes are frozen module-level singletons, so reading them on a\n * per-unit path allocates nothing.\n */\nexport type PriceOptions =\n | { readonly shape: \"ladder\"; readonly rungs: readonly PriceRung[]; readonly noRate: true }\n | {\n readonly shape: \"band\";\n readonly band: { readonly default: number; readonly min: number; readonly max: number; readonly step: number };\n };\n\n// The crowd: a person and the elevator queue view.\n\nexport type PersonState = \"toShaft\" | \"waiting\" | \"riding\" | \"climbing\" | \"toDest\" | \"dwelling\" | \"done\";\n\nexport interface Person {\n id: number;\n seed: number;\n state: PersonState;\n /** Discrete current floor (where they're standing / boarding). */\n floor: number;\n /** Continuous floor for rendering while riding a car. */\n fy: number;\n /** Continuous tile x. */\n x: number;\n /** Per-leg transport route: floors[0]=origin … floors[n]=destination. */\n floors: number[];\n /** Immutable origin floor stamped at spawn. `floors[0]` is rewritten for a\n * round-tripper's return leg (it becomes the venue floor), so the commute-\n * stress accumulator (#514) keys on THIS instead, keeping a round-trip's wait\n * attributed to the tenant's true origin rather than the venue they visited. */\n originFloor: number;\n /** shaft id used for leg i (floors[i] → floors[i+1]); always a valid id. An\n * unreachable destination yields no route at all (routing returns null), so\n * this array never holds a sentinel. */\n shafts: number[];\n leg: number;\n shaftId: number | null;\n carIndex: number | null;\n /** Tile x to stroll to on the destination floor (within built structure). */\n destX: number;\n /** Seconds spent waiting on the current call (drives stress). */\n wait: number;\n /** Cumulative landing-wait seconds across this whole trip (every leg). Unlike\n * {@link wait}, which is per-call and zeroed on boarding, this sums each\n * served call's wait so a multi-transfer commute contributes the wait of\n * every leg, not just the last. Folded into the per-origin commute-stress\n * accumulator at {@link finish} (read-only measurement, #514); in-memory\n * only, like every Person field. */\n tripWait: number;\n /** Total seconds in transit (origin → destination), for the give-up valve. */\n age: number;\n /** Idle timer once arrived, before despawning. */\n linger: number;\n /** True for tower staff (housekeepers): they route over the STAFF network\n * (service elevators / stairs), never count toward tenant stress, and\n * render in a work uniform. */\n staff?: boolean;\n /** Unit id this staffer is dispatched to service (a dirty hotel room). */\n cleanUnitId?: number;\n /** Unit id of the meal venue chosen at spawn for a round-trip meal person;\n * `destX` points inside this unit's footprint. Distinct from `venueUnitId`:\n * this records the intent (set on spawn), while `venueUnitId` records the\n * census count actually taken (set on dwell entry), so a give-up before\n * arrival never decrements a count that was never incremented. */\n mealVenueId?: number;\n /** Unit id of the commercial venue (fastFood / restaurant / shop) where this\n * person is currently attending. Set when the person enters the\n * `dwelling` state;\n * used to decrement `venueUnit.customersIn` when they leave. Undefined for\n * all non-meal persons and for eaters at non-commercial destinations. */\n venueUnitId?: number;\n /** True when this counted eater came from a HOTEL origin, so finish() also\n * decrements the venue's `hotelCustomersIn` (the 4-star-plus census\n * exclusion). Captured at dwell entry, when the origin still exists. */\n countedHotelGuest?: boolean;\n /** Unit id of the ORIGIN room for a round-trip meal person (an office,\n * condo, or hotel room whose visible occupancy dropped by 1 when this\n * person spawned outbound). Undefined for lobby-centric commuter trips\n * and staff dispatches. On return arrival the person decrements\n * `originUnit.outForMeal`, guarded so a bulldozed origin cannot ghost-\n * decrement a fresh unit built in the same slot after. */\n originUnitId?: number;\n /** Remaining crowd-seconds in the `dwelling` state (a stationary stay at\n * the destination floor after the outbound trip's `toDest` completes: a\n * meal, a showing, a party, a wedding). Only set for round-trippers;\n * drained in the `advance` loop. */\n dwellSecondsLeft?: number;\n /** True once the outbound arrival has transitioned this person into their\n * return trip (venue -> origin). Distinguishes the two `toDest` completions\n * a round-tripper has (outbound arrival triggers the dwell; return arrival\n * triggers the outForMeal decrement + despawn). */\n returning?: boolean;\n /** Which demographic routine (condo-demographic-routines, #397) spawned this\n * person: a condo school-run leg or an office sales call. A transient tag\n * for attribution (tests, future overlays); the waves are purely\n * statistical, so it names the routine, never an identity, and like every\n * Person field it is in-memory only (nothing persists who is a child). */\n routine?: \"schoolRun\" | \"salesCall\";\n /** Extended arrival linger (crowd-seconds): how long to hold the arrived\n * pose before despawning. A metro commuter waiting on the platform for\n * their train. Unset for ordinary trips, which keep the default 2-second\n * linger; distinct from the venue round-trippers' `dwelling` state and\n * its `dwellSecondsLeft`. In-memory only, like every Person field. */\n lingerFor?: number;\n}\n\n/** One landing's waiting line in an {@link ElevatorQueueView}: how many real\n * people wait there and a bounded wait-tier (0 content, 1 impatient, 2 fed up),\n * the max over its waiters. */\nexport interface QueueLanding {\n count: number;\n tier: 0 | 1 | 2;\n}\n\n/**\n * Read-only projection of the waiting crowd and per-car occupancy, sized for\n * the render layer (see `elevatorQueueView`). A VIEW of state the crowd\n * already tracks (the same `waiting` people {@link ElevatorCalls} counts, and\n * each car's drawn occupancy `crowd.carRiders`), so it re-simulates nothing:\n * it surfaces boarding, it does not perform it. Both halves count ONE\n * population, the drawn crowd, so a waiter boarding moves the same figure\n * from a landing into a car. {@link Crowd.queueView} memoizes it once per\n * outer sim step, so a render frame reads it without re-scanning the crowd.\n */\nexport interface ElevatorQueueView {\n /** Landing queues: shaftId → floor → count and wait-tier. The waiters' stable\n * order in `crowd.people` is the queue order the render draws; this view\n * carries the length and tier, not the identities. */\n landings: ReadonlyMap<number, ReadonlyMap<number, QueueLanding>>;\n /** Boarded riders per car: shaftId → carIndex → count, read from\n * `crowd.carRiders` (the drawn per-car occupancy, the same routed figures\n * `landings` counts, now aboard). Not the dispatch's statistical `carLoad`. */\n boarded: ReadonlyMap<number, ReadonlyMap<number, number>>;\n}\n\n// Star gates.\n\n/** A star gate's stable id: what a panel keys its copy on, and what the Rust\n * engine's stats report answers (facade slice 6b), so the two engines name\n * each gate the same way whatever the label says. */\nexport type StarGateId = \"security\" | \"medical\" | \"recycling\" | \"suites\" | \"vip\" | \"metro\" | \"weddingHall\";\n"],"names":[],"mappings":"AAAA;;;;;;AAMG"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Floor runs in a save (version 11). The engine folds a row of plain floor
|
|
3
|
+
* tiles into the first tile's entry with a `run` count:
|
|
4
|
+
* `{"id":43,"kind":"floor","floor":2,"x":167,"run":60}` stands for 60 tiles
|
|
5
|
+
* on floor 2 at x 167 to 226, ids 43 to 102 (`engine-rs/src/save_floor_runs.rs`).
|
|
6
|
+
* The engine is the only loader; this unfolds a save the tooling harness
|
|
7
|
+
* reads and patches by unit id, so every tile has its own record again. The
|
|
8
|
+
* engine reads the unfolded list back the same. It reads saves the engine
|
|
9
|
+
* just wrote, so it does not repeat the loader's checks on a forged run.
|
|
10
|
+
*/
|
|
11
|
+
/** The key on a run's first floor tile. */
|
|
12
|
+
export declare const FLOOR_RUN_KEY = "run";
|
|
13
|
+
interface RunEntry {
|
|
14
|
+
id: number;
|
|
15
|
+
kind: string;
|
|
16
|
+
x: number;
|
|
17
|
+
run?: number;
|
|
18
|
+
}
|
|
19
|
+
/** `units` with each floor run unfolded in place, in list order. Returns the
|
|
20
|
+
* same array when it holds no run. */
|
|
21
|
+
export declare function unfoldFloorRuns<T extends RunEntry>(units: T[]): T[];
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Floor runs in a save (version 11). The engine folds a row of plain floor
|
|
3
|
+
* tiles into the first tile's entry with a `run` count:
|
|
4
|
+
* `{"id":43,"kind":"floor","floor":2,"x":167,"run":60}` stands for 60 tiles
|
|
5
|
+
* on floor 2 at x 167 to 226, ids 43 to 102 (`engine-rs/src/save_floor_runs.rs`).
|
|
6
|
+
* The engine is the only loader; this unfolds a save the tooling harness
|
|
7
|
+
* reads and patches by unit id, so every tile has its own record again. The
|
|
8
|
+
* engine reads the unfolded list back the same. It reads saves the engine
|
|
9
|
+
* just wrote, so it does not repeat the loader's checks on a forged run.
|
|
10
|
+
*/
|
|
11
|
+
/** The key on a run's first floor tile. */
|
|
12
|
+
const FLOOR_RUN_KEY = "run";
|
|
13
|
+
/** The tile count a save entry stands for: its `run` when it is a floor
|
|
14
|
+
* tile with a whole run of 2 or more, otherwise 1. */
|
|
15
|
+
function tilesOf(unit) {
|
|
16
|
+
const run = unit[FLOOR_RUN_KEY];
|
|
17
|
+
return unit.kind === "floor" && Number.isInteger(run) && run >= 2 ? run : 1;
|
|
18
|
+
}
|
|
19
|
+
/** `units` with each floor run unfolded in place, in list order. Returns the
|
|
20
|
+
* same array when it holds no run. */
|
|
21
|
+
function unfoldFloorRuns(units) {
|
|
22
|
+
if (!units.some((u) => tilesOf(u) > 1))
|
|
23
|
+
return units;
|
|
24
|
+
const out = [];
|
|
25
|
+
for (const unit of units) {
|
|
26
|
+
const tiles = tilesOf(unit);
|
|
27
|
+
if (tiles === 1) {
|
|
28
|
+
out.push(unit);
|
|
29
|
+
continue;
|
|
30
|
+
}
|
|
31
|
+
const { [FLOOR_RUN_KEY]: _run, ...tile } = unit;
|
|
32
|
+
for (let k = 0; k < tiles; k++)
|
|
33
|
+
out.push({ ...tile, id: unit.id + k, x: unit.x + k });
|
|
34
|
+
}
|
|
35
|
+
return out;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export { FLOOR_RUN_KEY, unfoldFloorRuns };
|
|
39
|
+
//# sourceMappingURL=floorRuns.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"floorRuns.js","sources":["../../src/shared/floorRuns.ts"],"sourcesContent":["/**\n * Floor runs in a save (version 11). The engine folds a row of plain floor\n * tiles into the first tile's entry with a `run` count:\n * `{\"id\":43,\"kind\":\"floor\",\"floor\":2,\"x\":167,\"run\":60}` stands for 60 tiles\n * on floor 2 at x 167 to 226, ids 43 to 102 (`engine-rs/src/save_floor_runs.rs`).\n * The engine is the only loader; this unfolds a save the tooling harness\n * reads and patches by unit id, so every tile has its own record again. The\n * engine reads the unfolded list back the same. It reads saves the engine\n * just wrote, so it does not repeat the loader's checks on a forged run.\n */\n\n/** The key on a run's first floor tile. */\nexport const FLOOR_RUN_KEY = \"run\";\n\ninterface RunEntry {\n id: number;\n kind: string;\n x: number;\n run?: number;\n}\n\n/** The tile count a save entry stands for: its `run` when it is a floor\n * tile with a whole run of 2 or more, otherwise 1. */\nfunction tilesOf(unit: RunEntry): number {\n const run = unit[FLOOR_RUN_KEY];\n return unit.kind === \"floor\" && Number.isInteger(run) && (run as number) >= 2 ? (run as number) : 1;\n}\n\n/** `units` with each floor run unfolded in place, in list order. Returns the\n * same array when it holds no run. */\nexport function unfoldFloorRuns<T extends RunEntry>(units: T[]): T[] {\n if (!units.some((u) => tilesOf(u) > 1)) return units;\n const out: T[] = [];\n for (const unit of units) {\n const tiles = tilesOf(unit);\n if (tiles === 1) {\n out.push(unit);\n continue;\n }\n const { [FLOOR_RUN_KEY]: _run, ...tile } = unit;\n for (let k = 0; k < tiles; k++) out.push({ ...tile, id: unit.id + k, x: unit.x + k } as T);\n }\n return out;\n}\n"],"names":[],"mappings":"AAAA;;;;;;;;;AASG;AAEH;AACO,MAAM,aAAa,GAAG;AAS7B;AACuD;AACvD,SAAS,OAAO,CAAC,IAAc,EAAA;AAC7B,IAAA,MAAM,GAAG,GAAG,IAAI,CAAC,aAAa,CAAC;IAC/B,OAAO,IAAI,CAAC,IAAI,KAAK,OAAO,IAAI,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,IAAK,GAAc,IAAI,CAAC,GAAI,GAAc,GAAG,CAAC;AACrG;AAEA;AACuC;AACjC,SAAU,eAAe,CAAqB,KAAU,EAAA;AAC5D,IAAA,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;AAAE,QAAA,OAAO,KAAK;IACpD,MAAM,GAAG,GAAQ,EAAE;AACnB,IAAA,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;AACxB,QAAA,MAAM,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC;AAC3B,QAAA,IAAI,KAAK,KAAK,CAAC,EAAE;AACf,YAAA,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC;YACd;QACF;AACA,QAAA,MAAM,EAAE,CAAC,aAAa,GAAG,IAAI,EAAE,GAAG,IAAI,EAAE,GAAG,IAAI;QAC/C,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,EAAE,CAAC,EAAE;YAAE,GAAG,CAAC,IAAI,CAAC,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,IAAI,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,CAAC,GAAG,CAAC,EAAO,CAAC;IAC5F;AACA,IAAA,OAAO,GAAG;AACZ;;"}
|