@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,75 @@
|
|
|
1
|
+
const DAY = { hour: 12, lit: false, parkingUse: 0, recycleFill: 0, dead: false };
|
|
2
|
+
const NIGHT = { ...DAY, hour: 20, lit: true };
|
|
3
|
+
const LATE = { ...DAY, hour: 2, lit: true };
|
|
4
|
+
function s(label, unit, scene, variant = 0, frame) {
|
|
5
|
+
return { label, unit: { state: "occupied", occupants: 0, id: 1, ...unit }, scene, variant, frame };
|
|
6
|
+
}
|
|
7
|
+
const SAMPLES = [
|
|
8
|
+
s("office full, noon", { kind: "office", occupants: 6 }, DAY),
|
|
9
|
+
s("office at lunch (3 of 6 out)", { kind: "office", occupants: 6, outForMeal: 3 }, DAY, 1),
|
|
10
|
+
s("office all out to lunch", { kind: "office", occupants: 4, outForMeal: 4 }, DAY, 2),
|
|
11
|
+
s("office empty at night", { kind: "office", occupants: 0 }, NIGHT, 3),
|
|
12
|
+
s("office on notice", { kind: "office", state: "vacating", occupants: 2 }, NIGHT),
|
|
13
|
+
s("office for lease", { kind: "office", state: "empty" }, DAY, 1),
|
|
14
|
+
s("condo home in the evening", { kind: "condo", occupants: 3 }, NIGHT),
|
|
15
|
+
s("condo asleep late", { kind: "condo", occupants: 3 }, LATE, 2),
|
|
16
|
+
s("condo out for dinner", { kind: "condo", occupants: 3, outForMeal: 2 }, NIGHT, 1),
|
|
17
|
+
s("studio", { kind: "rentalStudio", occupants: 1 }, DAY, 3),
|
|
18
|
+
s("studio at 2 a.m.", { kind: "rentalStudio", occupants: 1 }, LATE, 1),
|
|
19
|
+
s("apartment at midnight", { kind: "rentalApartment", occupants: 4 }, { ...LATE, hour: 0 }, 3),
|
|
20
|
+
s("apartment household", { kind: "rentalApartment", occupants: 5 }, NIGHT, 2),
|
|
21
|
+
s("single asleep", { kind: "hotelSingle", state: "asleep", occupants: 1 }, LATE),
|
|
22
|
+
s("double dirty", { kind: "hotelDouble", state: "dirty" }, DAY, 1),
|
|
23
|
+
s("suite infested", { kind: "hotelSuite", state: "infested" }, DAY, 2),
|
|
24
|
+
s("suite guests in", { kind: "hotelSuite", occupants: 2 }, NIGHT, 3),
|
|
25
|
+
s("fast food open, busy", { kind: "fastFood", subtype: "Ice Cream", occupants: 14 }, DAY),
|
|
26
|
+
s("fast food closed", { kind: "fastFood", subtype: "Coffee Shop", occupants: 2 }, LATE, 1),
|
|
27
|
+
s("restaurant dinner", { kind: "restaurant", subtype: "Sushi Bar", occupants: 20 }, { ...NIGHT, hour: 19 }, 2),
|
|
28
|
+
s("restaurant legacy no subtype", { kind: "restaurant", occupants: 3 }, { ...DAY, hour: 12 }, 3),
|
|
29
|
+
s("shop with an unknown subtype", { kind: "shop", subtype: "Not A Shop", occupants: 2 }, DAY, 2),
|
|
30
|
+
s("fast food with an unknown subtype", { kind: "fastFood", subtype: "Mystery", occupants: 4 }, DAY, 1),
|
|
31
|
+
s("shop one customer", { kind: "shop", subtype: "Book Store", occupants: 1 }, DAY),
|
|
32
|
+
s("shop busy", { kind: "shop", subtype: "Bank", occupants: 7 }, DAY, 1),
|
|
33
|
+
s("shop closed at night", { kind: "shop", subtype: "Pet Store", occupants: 1 }, NIGHT, 2),
|
|
34
|
+
s("food hall", { kind: "foodHall", subtype: "Ramen Bar", occupants: 9 }, DAY, 3),
|
|
35
|
+
s("cinema matinee", { kind: "cinema", occupants: 12 }, { ...DAY, hour: 14 }),
|
|
36
|
+
s("cinema evening show mid-cycle", { kind: "cinema", occupants: 25 }, { ...NIGHT, clock: 1.3 }, 1),
|
|
37
|
+
s("cinema between shows late in the cycle", { kind: "cinema" }, { ...DAY, hour: 15, clock: 7.65 }, 3),
|
|
38
|
+
s("party hall", { kind: "partyHall", occupants: 18 }, NIGHT, 1),
|
|
39
|
+
s("wedding hall", { kind: "weddingHall", occupants: 10 }, DAY, 2),
|
|
40
|
+
s("aquatic center", { kind: "aquaticCenter", occupants: 6 }, DAY, 3),
|
|
41
|
+
s("amusements", { kind: "amusements", subtype: "VR Lounge", occupants: 5 }, NIGHT),
|
|
42
|
+
s("boutique bay", { kind: "boutiqueBay", subtype: "Tattoo", occupants: 2 }, DAY, 1),
|
|
43
|
+
s("boutique bay (phone repair)", { kind: "boutiqueBay", subtype: "Phone Repair", occupants: 1 }, DAY, 2),
|
|
44
|
+
s("clinic (pharmacy)", { kind: "clinic", subtype: "Pharmacy", occupants: 2 }, DAY, 1),
|
|
45
|
+
s("amusements (claw parlor)", { kind: "amusements", subtype: "Claw Parlor", occupants: 3 }, DAY, 2),
|
|
46
|
+
s("fitness club", { kind: "fitnessClub", subtype: "Climbing Wall", occupants: 4 }, DAY, 2),
|
|
47
|
+
s("clinic", { kind: "clinic", subtype: "Dental", occupants: 3 }, DAY, 3),
|
|
48
|
+
s("nightclub", { kind: "nightclub", occupants: 15 }, { ...LATE, hour: 22 }),
|
|
49
|
+
s("spa", { kind: "spa", occupants: 4 }, DAY, 1),
|
|
50
|
+
s("sky bar", { kind: "skyBar", occupants: 6 }, { ...NIGHT, hour: 18 }, 2),
|
|
51
|
+
s("daycare", { kind: "daycare", occupants: 7 }, DAY, 3),
|
|
52
|
+
s("security", { kind: "security" }, NIGHT),
|
|
53
|
+
s("medical", { kind: "medical" }, DAY, 1),
|
|
54
|
+
s("housekeeping", { kind: "housekeeping" }, DAY, 2),
|
|
55
|
+
s("parking ramp", { kind: "parkingRamp" }, DAY, 3),
|
|
56
|
+
s("parking empty", { kind: "parking", id: 9 }, DAY),
|
|
57
|
+
s("parking with a car", { kind: "parking", id: 12 }, { ...DAY, parkingUse: 1 }, 1),
|
|
58
|
+
s("parking dead", { kind: "parking", id: 12 }, { ...DAY, parkingUse: 1, dead: true }, 2),
|
|
59
|
+
{ ...s("recycling half full, through the eighths", { kind: "recycling" }, { ...DAY, recycleFill: 4 / 8 }), eighths: true },
|
|
60
|
+
{ ...s("recycling full, through the eighths", { kind: "recycling" }, { ...DAY, recycleFill: 1 }, 2), eighths: true },
|
|
61
|
+
s("recycling full", { kind: "recycling" }, { ...DAY, recycleFill: 1 }, 2),
|
|
62
|
+
s("recycling between eighths", { kind: "recycling" }, { ...DAY, recycleFill: 0.37 }, 1),
|
|
63
|
+
s("recycling just past amber", { kind: "recycling" }, { ...NIGHT, recycleFill: 0.7000000000000001 }, 3),
|
|
64
|
+
s("recycling one gauge row", { kind: "recycling" }, { ...DAY, recycleFill: 0.01 }),
|
|
65
|
+
s("metro", { kind: "metro" }, DAY),
|
|
66
|
+
s("office gutted", { kind: "office", state: "gutted" }, DAY),
|
|
67
|
+
s("office on fire", { kind: "office", state: "fire" }, DAY, 0, 5),
|
|
68
|
+
s("office on fire at night", { kind: "office", state: "fire" }, NIGHT, 2, 3),
|
|
69
|
+
s("parking space on fire", { kind: "parking", state: "fire" }, LATE, 1, 9),
|
|
70
|
+
s("metro under construction at night", { kind: "metro", state: "construction" }, NIGHT, 0, 4),
|
|
71
|
+
s("cinema under construction", { kind: "cinema", state: "construction" }, DAY, 0, 17),
|
|
72
|
+
];
|
|
73
|
+
|
|
74
|
+
export { SAMPLES };
|
|
75
|
+
//# sourceMappingURL=samples.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"samples.js","sources":["../../../src/render/atlas/samples.ts"],"sourcesContent":["import type { FacilityKind } from \"../../shared/types\";\nimport type { LiveScene, LiveUnit } from \"./lookup\";\n\n/**\n * The live room signatures the atlas is checked against: the e2e spec and the\n * export's own pre-flight both compose these from the atlas and require an\n * exact match with the web's paint (`verify.ts`). Each covers a branch of the\n * signature: presence and meals, hours, late night, subtypes (known, legacy\n * and unknown), venues, the cinema's marquee and screen cycles, the garage\n * overlays, recycling fill (the exact chain, between the eighths too), and\n * the animated states.\n */\n\nexport interface Sample {\n label: string;\n /** The live unit; its width is the catalog width and its placement the\n * sampled variant's. */\n unit: Omit<LiveUnit, \"width\">;\n scene: LiveScene;\n variant: number;\n /** For fire and construction: which loop frame to compare. */\n frame?: number;\n /** Read a recycling center through its `fill` eighths instead of the\n * exact chain (`LookupOptions.recyclingEighths`). */\n eighths?: boolean;\n}\n\n\nconst DAY: LiveScene = { hour: 12, lit: false, parkingUse: 0, recycleFill: 0, dead: false };\nconst NIGHT: LiveScene = { ...DAY, hour: 20, lit: true };\nconst LATE: LiveScene = { ...DAY, hour: 2, lit: true };\n\nfunction s(label: string, unit: Partial<Sample[\"unit\"]> & { kind: FacilityKind }, scene: LiveScene, variant = 0, frame?: number): Sample {\n return { label, unit: { state: \"occupied\", occupants: 0, id: 1, ...unit }, scene, variant, frame };\n}\n\nexport const SAMPLES: Sample[] = [\n s(\"office full, noon\", { kind: \"office\", occupants: 6 }, DAY),\n s(\"office at lunch (3 of 6 out)\", { kind: \"office\", occupants: 6, outForMeal: 3 }, DAY, 1),\n s(\"office all out to lunch\", { kind: \"office\", occupants: 4, outForMeal: 4 }, DAY, 2),\n s(\"office empty at night\", { kind: \"office\", occupants: 0 }, NIGHT, 3),\n s(\"office on notice\", { kind: \"office\", state: \"vacating\", occupants: 2 }, NIGHT),\n s(\"office for lease\", { kind: \"office\", state: \"empty\" }, DAY, 1),\n s(\"condo home in the evening\", { kind: \"condo\", occupants: 3 }, NIGHT),\n s(\"condo asleep late\", { kind: \"condo\", occupants: 3 }, LATE, 2),\n s(\"condo out for dinner\", { kind: \"condo\", occupants: 3, outForMeal: 2 }, NIGHT, 1),\n s(\"studio\", { kind: \"rentalStudio\", occupants: 1 }, DAY, 3),\n s(\"studio at 2 a.m.\", { kind: \"rentalStudio\", occupants: 1 }, LATE, 1),\n s(\"apartment at midnight\", { kind: \"rentalApartment\", occupants: 4 }, { ...LATE, hour: 0 }, 3),\n s(\"apartment household\", { kind: \"rentalApartment\", occupants: 5 }, NIGHT, 2),\n s(\"single asleep\", { kind: \"hotelSingle\", state: \"asleep\", occupants: 1 }, LATE),\n s(\"double dirty\", { kind: \"hotelDouble\", state: \"dirty\" }, DAY, 1),\n s(\"suite infested\", { kind: \"hotelSuite\", state: \"infested\" }, DAY, 2),\n s(\"suite guests in\", { kind: \"hotelSuite\", occupants: 2 }, NIGHT, 3),\n s(\"fast food open, busy\", { kind: \"fastFood\", subtype: \"Ice Cream\", occupants: 14 }, DAY),\n s(\"fast food closed\", { kind: \"fastFood\", subtype: \"Coffee Shop\", occupants: 2 }, LATE, 1),\n s(\"restaurant dinner\", { kind: \"restaurant\", subtype: \"Sushi Bar\", occupants: 20 }, { ...NIGHT, hour: 19 }, 2),\n s(\"restaurant legacy no subtype\", { kind: \"restaurant\", occupants: 3 }, { ...DAY, hour: 12 }, 3),\n s(\"shop with an unknown subtype\", { kind: \"shop\", subtype: \"Not A Shop\", occupants: 2 }, DAY, 2),\n s(\"fast food with an unknown subtype\", { kind: \"fastFood\", subtype: \"Mystery\", occupants: 4 }, DAY, 1),\n s(\"shop one customer\", { kind: \"shop\", subtype: \"Book Store\", occupants: 1 }, DAY),\n s(\"shop busy\", { kind: \"shop\", subtype: \"Bank\", occupants: 7 }, DAY, 1),\n s(\"shop closed at night\", { kind: \"shop\", subtype: \"Pet Store\", occupants: 1 }, NIGHT, 2),\n s(\"food hall\", { kind: \"foodHall\", subtype: \"Ramen Bar\", occupants: 9 }, DAY, 3),\n s(\"cinema matinee\", { kind: \"cinema\", occupants: 12 }, { ...DAY, hour: 14 }),\n s(\"cinema evening show mid-cycle\", { kind: \"cinema\", occupants: 25 }, { ...NIGHT, clock: 1.3 }, 1),\n s(\"cinema between shows late in the cycle\", { kind: \"cinema\" }, { ...DAY, hour: 15, clock: 7.65 }, 3),\n s(\"party hall\", { kind: \"partyHall\", occupants: 18 }, NIGHT, 1),\n s(\"wedding hall\", { kind: \"weddingHall\", occupants: 10 }, DAY, 2),\n s(\"aquatic center\", { kind: \"aquaticCenter\", occupants: 6 }, DAY, 3),\n s(\"amusements\", { kind: \"amusements\", subtype: \"VR Lounge\", occupants: 5 }, NIGHT),\n s(\"boutique bay\", { kind: \"boutiqueBay\", subtype: \"Tattoo\", occupants: 2 }, DAY, 1),\n s(\"boutique bay (phone repair)\", { kind: \"boutiqueBay\", subtype: \"Phone Repair\", occupants: 1 }, DAY, 2),\n s(\"clinic (pharmacy)\", { kind: \"clinic\", subtype: \"Pharmacy\", occupants: 2 }, DAY, 1),\n s(\"amusements (claw parlor)\", { kind: \"amusements\", subtype: \"Claw Parlor\", occupants: 3 }, DAY, 2),\n s(\"fitness club\", { kind: \"fitnessClub\", subtype: \"Climbing Wall\", occupants: 4 }, DAY, 2),\n s(\"clinic\", { kind: \"clinic\", subtype: \"Dental\", occupants: 3 }, DAY, 3),\n s(\"nightclub\", { kind: \"nightclub\", occupants: 15 }, { ...LATE, hour: 22 }),\n s(\"spa\", { kind: \"spa\", occupants: 4 }, DAY, 1),\n s(\"sky bar\", { kind: \"skyBar\", occupants: 6 }, { ...NIGHT, hour: 18 }, 2),\n s(\"daycare\", { kind: \"daycare\", occupants: 7 }, DAY, 3),\n s(\"security\", { kind: \"security\" }, NIGHT),\n s(\"medical\", { kind: \"medical\" }, DAY, 1),\n s(\"housekeeping\", { kind: \"housekeeping\" }, DAY, 2),\n s(\"parking ramp\", { kind: \"parkingRamp\" }, DAY, 3),\n s(\"parking empty\", { kind: \"parking\", id: 9 }, DAY),\n s(\"parking with a car\", { kind: \"parking\", id: 12 }, { ...DAY, parkingUse: 1 }, 1),\n s(\"parking dead\", { kind: \"parking\", id: 12 }, { ...DAY, parkingUse: 1, dead: true }, 2),\n { ...s(\"recycling half full, through the eighths\", { kind: \"recycling\" }, { ...DAY, recycleFill: 4 / 8 }), eighths: true },\n { ...s(\"recycling full, through the eighths\", { kind: \"recycling\" }, { ...DAY, recycleFill: 1 }, 2), eighths: true },\n s(\"recycling full\", { kind: \"recycling\" }, { ...DAY, recycleFill: 1 }, 2),\n s(\"recycling between eighths\", { kind: \"recycling\" }, { ...DAY, recycleFill: 0.37 }, 1),\n s(\"recycling just past amber\", { kind: \"recycling\" }, { ...NIGHT, recycleFill: 0.7000000000000001 }, 3),\n s(\"recycling one gauge row\", { kind: \"recycling\" }, { ...DAY, recycleFill: 0.01 }),\n s(\"metro\", { kind: \"metro\" }, DAY),\n s(\"office gutted\", { kind: \"office\", state: \"gutted\" }, DAY),\n s(\"office on fire\", { kind: \"office\", state: \"fire\" }, DAY, 0, 5),\n s(\"office on fire at night\", { kind: \"office\", state: \"fire\" }, NIGHT, 2, 3),\n s(\"parking space on fire\", { kind: \"parking\", state: \"fire\" }, LATE, 1, 9),\n s(\"metro under construction at night\", { kind: \"metro\", state: \"construction\" }, NIGHT, 0, 4),\n s(\"cinema under construction\", { kind: \"cinema\", state: \"construction\" }, DAY, 0, 17),\n];\n"],"names":[],"mappings":"AA4BA,MAAM,GAAG,GAAc,EAAE,IAAI,EAAE,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC,EAAE,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE;AAC3F,MAAM,KAAK,GAAc,EAAE,GAAG,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE;AACxD,MAAM,IAAI,GAAc,EAAE,GAAG,GAAG,EAAE,IAAI,EAAE,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE;AAEtD,SAAS,CAAC,CAAC,KAAa,EAAE,IAAsD,EAAE,KAAgB,EAAE,OAAO,GAAG,CAAC,EAAE,KAAc,EAAA;AAC7H,IAAA,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,GAAG,IAAI,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE;AACpG;AAEO,MAAM,OAAO,GAAa;AAC/B,IAAA,CAAC,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,EAAE,EAAE,GAAG,CAAC;IAC7D,CAAC,CAAC,8BAA8B,EAAE,EAAE,IAAI,EAAE,QAAQ,EA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AkB,EAAE,EAAE,CAAC,CAAC;AACvG,IAAA,CAAC,CAAC,yBAAyB,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,EAAE,GAAG,GAAG,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;IAClF,CAAC,CAAC,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,GAAG,CAAC;AAClC,IAAA,CAAC,CAAC,eAAe,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,GAAG,CAAC;AAC5D,IAAA,CAAC,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC,CAAC;AACjE,IAAA,CAAC,CAAC,yBAAyB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;AAC5E,IAAA,CAAC,CAAC,uBAAuB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,CAAC;AAC1E,IAAA,CAAC,CAAC,mCAAmC,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;AAC7F,IAAA,CAAC,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,cAAc,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;;;"}
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
import type { Job } from "./catalog";
|
|
2
|
+
/**
|
|
3
|
+
* The world outside the tower (`excalibur/towerScenery.ts`): the plaza's
|
|
4
|
+
* roundabout, fountain and lamps, the street lamp with its "375 ST" sign, the
|
|
5
|
+
* forecourt planter, the lot's trees and bushes, and the ground pieces. Every
|
|
6
|
+
* frame is painted by the game's own scenery painters, and {@link sceneryData}
|
|
7
|
+
* publishes the game's own placement table (`sceneryPieces` in `sceneryLayout.ts`),
|
|
8
|
+
* so a frontend can rebuild the scene.
|
|
9
|
+
*/
|
|
10
|
+
export type ScenerySpec = {
|
|
11
|
+
p: "scenery";
|
|
12
|
+
piece: "roundabout" | "planter" | "bush" | "sidewalk" | "forecourt";
|
|
13
|
+
} | {
|
|
14
|
+
p: "scenery";
|
|
15
|
+
piece: "fountain";
|
|
16
|
+
t: number;
|
|
17
|
+
} | {
|
|
18
|
+
p: "scenery";
|
|
19
|
+
piece: "plazaLamp" | "streetLamp";
|
|
20
|
+
a: number;
|
|
21
|
+
} | {
|
|
22
|
+
p: "scenery";
|
|
23
|
+
piece: "tree";
|
|
24
|
+
seed: number;
|
|
25
|
+
} | {
|
|
26
|
+
p: "scenery";
|
|
27
|
+
piece: "road";
|
|
28
|
+
phase: number;
|
|
29
|
+
} | {
|
|
30
|
+
p: "scenery";
|
|
31
|
+
piece: "strip";
|
|
32
|
+
tile: number;
|
|
33
|
+
paved: boolean;
|
|
34
|
+
};
|
|
35
|
+
/** Paint a scenery piece into a canvas `w` x `h`. */
|
|
36
|
+
export declare function paintScenery(ctx: CanvasRenderingContext2D, s: ScenerySpec, w: number, h: number): void;
|
|
37
|
+
/** The lamp brightness steps baked (the game fades continuously). */
|
|
38
|
+
export declare const LAMP_STEPS: number[];
|
|
39
|
+
/** Fountain frames: the water's motions share no period, so this samples one
|
|
40
|
+
* stretch close to a loop. */
|
|
41
|
+
export declare const FOUNTAIN_FRAMES = 24;
|
|
42
|
+
export declare const FOUNTAIN_DT = 0.1;
|
|
43
|
+
/** Tree variants baked (the game seeds each tree by the tower and its spot). */
|
|
44
|
+
export declare const TREE_VARIANTS = 8;
|
|
45
|
+
/** The grass frame name for a lot tile. */
|
|
46
|
+
export declare function grassName(tile: number): string;
|
|
47
|
+
/** Every scenery frame. */
|
|
48
|
+
export declare function sceneryJobs(): Job[];
|
|
49
|
+
/** Where the game places each piece (see docs/atlas.md, "The world outside
|
|
50
|
+
* the tower"), back to front. */
|
|
51
|
+
export declare function sceneryData(): {
|
|
52
|
+
tileW: number;
|
|
53
|
+
floorH: number;
|
|
54
|
+
lotTiles: number;
|
|
55
|
+
ground: {
|
|
56
|
+
dirt: {
|
|
57
|
+
color: "#3a3326";
|
|
58
|
+
x: number;
|
|
59
|
+
w: number;
|
|
60
|
+
y: number;
|
|
61
|
+
h: number;
|
|
62
|
+
};
|
|
63
|
+
line: {
|
|
64
|
+
color: "#6f6a60";
|
|
65
|
+
y: number;
|
|
66
|
+
h: 6;
|
|
67
|
+
};
|
|
68
|
+
strip: {
|
|
69
|
+
y: number;
|
|
70
|
+
tileW: number;
|
|
71
|
+
apronPadTiles: number;
|
|
72
|
+
jointEvery: number;
|
|
73
|
+
grass: string[];
|
|
74
|
+
};
|
|
75
|
+
runs: {
|
|
76
|
+
tileOriginX: number;
|
|
77
|
+
x: number;
|
|
78
|
+
y: number;
|
|
79
|
+
w: number;
|
|
80
|
+
h: number;
|
|
81
|
+
frame: string;
|
|
82
|
+
}[];
|
|
83
|
+
};
|
|
84
|
+
props: {
|
|
85
|
+
x: number;
|
|
86
|
+
y: number;
|
|
87
|
+
frame: string;
|
|
88
|
+
}[];
|
|
89
|
+
skyline: {
|
|
90
|
+
overscanTiles: number;
|
|
91
|
+
bands: {
|
|
92
|
+
frame: string;
|
|
93
|
+
depth: 0 | 1;
|
|
94
|
+
start: number;
|
|
95
|
+
step: number;
|
|
96
|
+
w: {
|
|
97
|
+
base: number;
|
|
98
|
+
span: number;
|
|
99
|
+
key: number;
|
|
100
|
+
};
|
|
101
|
+
hFloors: {
|
|
102
|
+
base: number;
|
|
103
|
+
span: number;
|
|
104
|
+
key: number;
|
|
105
|
+
};
|
|
106
|
+
}[];
|
|
107
|
+
};
|
|
108
|
+
plants: {
|
|
109
|
+
rule: {
|
|
110
|
+
readonly margin: 6;
|
|
111
|
+
readonly step: 13;
|
|
112
|
+
readonly skipBelow: 0.42;
|
|
113
|
+
readonly bushBelow: 0.72;
|
|
114
|
+
readonly jitter: {
|
|
115
|
+
readonly span: 7;
|
|
116
|
+
readonly min: -3;
|
|
117
|
+
readonly key: 5;
|
|
118
|
+
};
|
|
119
|
+
readonly scale: {
|
|
120
|
+
readonly base: 0.8;
|
|
121
|
+
readonly span: 0.4;
|
|
122
|
+
readonly key: 11;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
size: {
|
|
126
|
+
readonly tree: {
|
|
127
|
+
readonly tiles: 3;
|
|
128
|
+
readonly floors: 1.5;
|
|
129
|
+
};
|
|
130
|
+
readonly bush: {
|
|
131
|
+
readonly tiles: 2;
|
|
132
|
+
readonly floors: 0.5;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
bottomY: number;
|
|
136
|
+
clearTiles: number;
|
|
137
|
+
treeVariants: number;
|
|
138
|
+
paint: {
|
|
139
|
+
readonly tree: {
|
|
140
|
+
readonly trunk: {
|
|
141
|
+
readonly color: "#6d4c2a";
|
|
142
|
+
readonly w: 0.12;
|
|
143
|
+
readonly minW: 2;
|
|
144
|
+
readonly h: 0.3;
|
|
145
|
+
};
|
|
146
|
+
readonly canopy: readonly [{
|
|
147
|
+
readonly w: 1;
|
|
148
|
+
readonly y: 0.32;
|
|
149
|
+
readonly color: "#3e6b2e";
|
|
150
|
+
}, {
|
|
151
|
+
readonly w: 0.78;
|
|
152
|
+
readonly y: 0.52;
|
|
153
|
+
readonly color: "#4a7c36";
|
|
154
|
+
}, {
|
|
155
|
+
readonly w: 0.5;
|
|
156
|
+
readonly y: 0.72;
|
|
157
|
+
readonly color: "#568c3e";
|
|
158
|
+
}];
|
|
159
|
+
readonly canopyH: 0.26;
|
|
160
|
+
readonly jitterKey: 97;
|
|
161
|
+
};
|
|
162
|
+
readonly bush: {
|
|
163
|
+
readonly base: {
|
|
164
|
+
readonly color: "#4a7c36";
|
|
165
|
+
readonly y: 0.4;
|
|
166
|
+
readonly h: 0.6;
|
|
167
|
+
};
|
|
168
|
+
readonly top: {
|
|
169
|
+
readonly color: "#568c3e";
|
|
170
|
+
readonly x: 0.16;
|
|
171
|
+
readonly w: 0.68;
|
|
172
|
+
readonly h: 0.5;
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
lamp: {
|
|
178
|
+
steps: number[];
|
|
179
|
+
fadeIn: number[];
|
|
180
|
+
fadeOut: number[];
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
/** The sky's background, the sun's arc, the clouds' drift and the rain
|
|
184
|
+
* (`towerScene.ts`, `towerOverlay.ts`), in the game's own terms, all drawn in
|
|
185
|
+
* screen space, sized to the view. */
|
|
186
|
+
export declare function skyData(): {
|
|
187
|
+
background: {
|
|
188
|
+
columnsPerHour: number;
|
|
189
|
+
};
|
|
190
|
+
sun: {
|
|
191
|
+
day: string;
|
|
192
|
+
night: string;
|
|
193
|
+
rise: 6;
|
|
194
|
+
set: 18;
|
|
195
|
+
baseY: 0.62;
|
|
196
|
+
lift: 0.5;
|
|
197
|
+
};
|
|
198
|
+
clouds: {
|
|
199
|
+
weathers: {
|
|
200
|
+
cloudy: "overcast";
|
|
201
|
+
rain: "rain";
|
|
202
|
+
};
|
|
203
|
+
list: {
|
|
204
|
+
speed: number;
|
|
205
|
+
row: number;
|
|
206
|
+
offset: number;
|
|
207
|
+
frame: number;
|
|
208
|
+
}[];
|
|
209
|
+
pad: 240;
|
|
210
|
+
top: 0.1;
|
|
211
|
+
band: 0.22;
|
|
212
|
+
};
|
|
213
|
+
rain: {
|
|
214
|
+
readonly tint: "rgba(34,40,56,0.16)";
|
|
215
|
+
readonly stroke: "rgba(200,214,236,0.45)";
|
|
216
|
+
readonly lineWidth: 1;
|
|
217
|
+
readonly count: 140;
|
|
218
|
+
readonly xMul: 2654435761;
|
|
219
|
+
readonly yStep: 37;
|
|
220
|
+
readonly speed: 320;
|
|
221
|
+
readonly dx: -3;
|
|
222
|
+
readonly dy: 9;
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
|
+
/** The game's draw planes, back to front, with the families drawn on each. */
|
|
226
|
+
export declare function depthData(): {
|
|
227
|
+
plane: "structure" | "transport" | "walker" | "streetCar" | "sky" | "vehicle" | "strip" | "skylineFar" | "skylineNear" | "dirt" | "groundLine" | "groundEdge" | "plant" | "hang" | "room" | "animatedRoom" | "walking" | "cab" | "hallDoorBack" | "crowdBehindDoor" | "hallDoorMiddle" | "crowd" | "hallDoorFront" | "overlay";
|
|
228
|
+
z: 0 | 2 | 1 | 3 | -1 | -2 | 0.4 | -60 | 0.6 | 0.45 | 0.5 | 0.7 | 2.5 | -50 | 100 | 3.5 | -56 | -55 | -49 | -48 | -47 | -46 | 2.6 | 2.7;
|
|
229
|
+
frames: string[];
|
|
230
|
+
}[];
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
import { TILE, FLOOR } from '../scale.js';
|
|
2
|
+
import { viewWorld } from '../../presentation/viewWorld.js';
|
|
3
|
+
import { sceneryPieces, STRIP_ABOVE, STRIP_BELOW, PLANT_SIZE, PLANT_CLEAR_TILES, PLANT_RULE, APRON_PAD_TILES, GROUND, SKYLINE_BANDS, skylineOverscanTiles, groundBelowFloors } from '../sceneryLayout.js';
|
|
4
|
+
import { drawStripTile, drawRoad, drawForecourt, drawSidewalk, drawBush, drawTree, drawPlanter, drawStreetLamp, drawPlazaLamp, drawFountain, drawRoundabout, grassLook, PLANT_PAINT, PAVE_JOINT_EVERY } from '../excalibur/towerSceneryDraw.js';
|
|
5
|
+
import { Z } from '../depthPlanes.js';
|
|
6
|
+
import { RAIN, CLOUD_DRIFT, SUN_ARC, CLOUD_COUNT, cloudMotion, cloudSeed } from '../sprites/sky.js';
|
|
7
|
+
import { SKY_COLUMNS } from './catalogExtras.js';
|
|
8
|
+
|
|
9
|
+
/** Paint a scenery piece into a canvas `w` x `h`. */
|
|
10
|
+
function paintScenery(ctx, s, w, h) {
|
|
11
|
+
switch (s.piece) {
|
|
12
|
+
case "roundabout":
|
|
13
|
+
return drawRoundabout(ctx, w);
|
|
14
|
+
case "fountain":
|
|
15
|
+
return drawFountain(ctx, w, h, s.t);
|
|
16
|
+
case "plazaLamp":
|
|
17
|
+
return drawPlazaLamp(ctx, w, h, s.a);
|
|
18
|
+
case "streetLamp":
|
|
19
|
+
return drawStreetLamp(ctx, w, h, s.a);
|
|
20
|
+
case "planter":
|
|
21
|
+
return drawPlanter(ctx, w, h);
|
|
22
|
+
case "tree":
|
|
23
|
+
return drawTree(ctx, w, h, s.seed);
|
|
24
|
+
case "bush":
|
|
25
|
+
return drawBush(ctx, w, h);
|
|
26
|
+
case "sidewalk":
|
|
27
|
+
return drawSidewalk(ctx, w);
|
|
28
|
+
case "forecourt":
|
|
29
|
+
return drawForecourt(ctx, w);
|
|
30
|
+
case "road":
|
|
31
|
+
return drawRoad(ctx, w, s.phase);
|
|
32
|
+
case "strip":
|
|
33
|
+
return drawStripTile(ctx, 0, s.tile, s.paved);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
const size = (r) => ({ w: r.w, h: r.h });
|
|
37
|
+
/** Frame sizes: the fixed pieces as the game sizes them, plants at their base
|
|
38
|
+
* size, and the ground tiles one period of their pattern. A strip tile is one
|
|
39
|
+
* column wider than a lot tile, as the game paints it. */
|
|
40
|
+
function pieces() {
|
|
41
|
+
return sceneryPieces(viewWorld());
|
|
42
|
+
}
|
|
43
|
+
function sizes() {
|
|
44
|
+
const p = pieces();
|
|
45
|
+
return {
|
|
46
|
+
roundabout: size(p.roundabout),
|
|
47
|
+
fountain: size(p.fountain),
|
|
48
|
+
plazaLamp: size(p.plazaLamps[0]),
|
|
49
|
+
streetLamp: size(p.streetLamp),
|
|
50
|
+
planter: size(p.planter),
|
|
51
|
+
tree: { w: PLANT_SIZE.tree.tiles * TILE, h: Math.round(FLOOR * PLANT_SIZE.tree.floors) },
|
|
52
|
+
bush: { w: PLANT_SIZE.bush.tiles * TILE, h: Math.round(FLOOR * PLANT_SIZE.bush.floors) },
|
|
53
|
+
sidewalk: { w: TILE, h: p.sidewalk.h },
|
|
54
|
+
forecourt: { w: 2 * TILE, h: p.forecourt.h },
|
|
55
|
+
road: { w: 4 * TILE, h: p.rightRoad.h },
|
|
56
|
+
strip: { w: TILE + 1, h: STRIP_ABOVE + STRIP_BELOW },
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
/** The lamp brightness steps baked (the game fades continuously). */
|
|
60
|
+
const LAMP_STEPS = [0, 25, 50, 75, 100];
|
|
61
|
+
/** Fountain frames: the water's motions share no period, so this samples one
|
|
62
|
+
* stretch close to a loop. */
|
|
63
|
+
const FOUNTAIN_FRAMES = 24;
|
|
64
|
+
const FOUNTAIN_DT = 0.1;
|
|
65
|
+
/** Tree variants baked (the game seeds each tree by the tower and its spot). */
|
|
66
|
+
const TREE_VARIANTS = 8;
|
|
67
|
+
/** The grass frame name for a lot tile. */
|
|
68
|
+
function grassName(tile) {
|
|
69
|
+
const g = grassLook(tile);
|
|
70
|
+
return `s${g.shade}/${g.tuft ? "tuft" : "flat"}`;
|
|
71
|
+
}
|
|
72
|
+
/** A lot tile showing each grass look, for the bake. */
|
|
73
|
+
function grassSamples() {
|
|
74
|
+
const world = viewWorld();
|
|
75
|
+
const grass = new Map();
|
|
76
|
+
for (let t = 0; t < world.lotWidth && grass.size < 6; t++)
|
|
77
|
+
if (!grass.has(grassName(t)))
|
|
78
|
+
grass.set(grassName(t), t);
|
|
79
|
+
return grass;
|
|
80
|
+
}
|
|
81
|
+
function still(name, sz, paint, keys) {
|
|
82
|
+
// The scenery joined the atlas after its first release, so its images pack
|
|
83
|
+
// on pages of their own and leave the older pages as they were.
|
|
84
|
+
return { type: "still", name, w: sz.w, h: sz.h, anchor: { x: 0, y: 0 }, keys: { kind: "scenery", ...keys }, paint, ownPages: true };
|
|
85
|
+
}
|
|
86
|
+
/** Every scenery frame. */
|
|
87
|
+
function sceneryJobs() {
|
|
88
|
+
const size = sizes();
|
|
89
|
+
const jobs = [
|
|
90
|
+
still("scenery/roundabout", size.roundabout, { p: "scenery", piece: "roundabout" }, { piece: "roundabout" }),
|
|
91
|
+
still("scenery/planter", size.planter, { p: "scenery", piece: "planter" }, { piece: "planter" }),
|
|
92
|
+
still("scenery/bush", size.bush, { p: "scenery", piece: "bush" }, { piece: "bush" }),
|
|
93
|
+
still("scenery/ground/sidewalk", size.sidewalk, { p: "scenery", piece: "sidewalk" }, { piece: "sidewalk" }),
|
|
94
|
+
still("scenery/ground/forecourt", size.forecourt, { p: "scenery", piece: "forecourt" }, { piece: "forecourt" }),
|
|
95
|
+
still("scenery/ground/road", size.road, { p: "scenery", piece: "road", phase: 4 }, { piece: "road" }),
|
|
96
|
+
];
|
|
97
|
+
for (const pct of LAMP_STEPS) {
|
|
98
|
+
jobs.push(still(`scenery/plaza-lamp/a${pct}`, size.plazaLamp, { p: "scenery", piece: "plazaLamp", a: pct / 100 }, { piece: "plazaLamp", lamp: pct }));
|
|
99
|
+
jobs.push(still(`scenery/street-lamp/a${pct}`, size.streetLamp, { p: "scenery", piece: "streetLamp", a: pct / 100 }, { piece: "streetLamp", lamp: pct }));
|
|
100
|
+
}
|
|
101
|
+
for (let v = 0; v < TREE_VARIANTS; v++)
|
|
102
|
+
jobs.push(still(`scenery/tree/v${v}`, size.tree, { p: "scenery", piece: "tree", seed: v }, { piece: "tree", variant: v }));
|
|
103
|
+
for (const [name, tile] of grassSamples()) {
|
|
104
|
+
const g = grassLook(tile);
|
|
105
|
+
jobs.push(still(`scenery/ground/grass/${name}`, size.strip, { p: "scenery", piece: "strip", tile, paved: false }, { piece: "grass", shade: g.shade, tuft: g.tuft }));
|
|
106
|
+
}
|
|
107
|
+
for (const joint of [false, true]) {
|
|
108
|
+
jobs.push(still(`scenery/ground/pave/${joint ? "joint" : "plain"}`, size.strip, { p: "scenery", piece: "strip", tile: joint ? 0 : 1, paved: true }, { piece: "pave", joint }));
|
|
109
|
+
}
|
|
110
|
+
const fountain = {
|
|
111
|
+
type: "anim",
|
|
112
|
+
name: "scenery/fountain",
|
|
113
|
+
...size.fountain,
|
|
114
|
+
anchor: { x: 0, y: 0 },
|
|
115
|
+
keys: { kind: "scenery", piece: "fountain" },
|
|
116
|
+
dt: FOUNTAIN_DT,
|
|
117
|
+
loop: true,
|
|
118
|
+
ownPages: true,
|
|
119
|
+
frames: Array.from({ length: FOUNTAIN_FRAMES }, (_, i) => ({ p: "scenery", piece: "fountain", t: i * FOUNTAIN_DT })),
|
|
120
|
+
};
|
|
121
|
+
jobs.push(fountain);
|
|
122
|
+
return jobs;
|
|
123
|
+
}
|
|
124
|
+
const at = (r) => ({ x: r.x, y: r.y });
|
|
125
|
+
/** Where the game places each piece (see docs/atlas.md, "The world outside
|
|
126
|
+
* the tower"), back to front. */
|
|
127
|
+
function sceneryData() {
|
|
128
|
+
const world = viewWorld();
|
|
129
|
+
const p = pieces();
|
|
130
|
+
return {
|
|
131
|
+
tileW: TILE,
|
|
132
|
+
floorH: FLOOR,
|
|
133
|
+
lotTiles: world.lotWidth,
|
|
134
|
+
ground: {
|
|
135
|
+
// Solid fills: the dirt from the ground line down, and the ground line
|
|
136
|
+
// centered on y 0, both across `lots` lot widths centered on the lot.
|
|
137
|
+
dirt: { color: GROUND.dirt, x: -((GROUND.lots - 1) / 2) * world.lotWidth * TILE, w: GROUND.lots * world.lotWidth * TILE, y: 0, h: groundBelowFloors(world) * FLOOR },
|
|
138
|
+
line: { color: GROUND.line, y: -GROUND.lineH / 2, h: GROUND.lineH },
|
|
139
|
+
strip: {
|
|
140
|
+
y: -STRIP_ABOVE,
|
|
141
|
+
tileW: TILE,
|
|
142
|
+
apronPadTiles: APRON_PAD_TILES,
|
|
143
|
+
jointEvery: PAVE_JOINT_EVERY,
|
|
144
|
+
grass: Array.from({ length: world.lotWidth }, (_, t) => grassName(t)),
|
|
145
|
+
},
|
|
146
|
+
runs: [
|
|
147
|
+
{ frame: "scenery/ground/sidewalk", ...p.plazaSidewalk, tileOriginX: p.plazaSidewalk.x },
|
|
148
|
+
// The roundabout shares the ground's plane: one copy, before the road.
|
|
149
|
+
{ frame: "scenery/roundabout", ...p.roundabout, tileOriginX: p.roundabout.x },
|
|
150
|
+
// The game's last road segment runs one column on, over the roundabout's
|
|
151
|
+
// first column.
|
|
152
|
+
{ frame: "scenery/ground/road", ...p.leftRoad, w: p.leftRoad.w + 1, tileOriginX: 0 },
|
|
153
|
+
{ frame: "scenery/ground/forecourt", ...p.forecourt, tileOriginX: p.forecourt.x },
|
|
154
|
+
{ frame: "scenery/ground/sidewalk", ...p.sidewalk, tileOriginX: p.sidewalk.x },
|
|
155
|
+
{ frame: "scenery/ground/road", ...p.rightRoad, tileOriginX: p.rightRoad.x },
|
|
156
|
+
],
|
|
157
|
+
},
|
|
158
|
+
props: [
|
|
159
|
+
{ frame: "scenery/fountain", ...at(p.fountain) },
|
|
160
|
+
...p.plazaLamps.map((r) => ({ frame: "scenery/plaza-lamp", ...at(r) })),
|
|
161
|
+
{ frame: "scenery/street-lamp", ...at(p.streetLamp) },
|
|
162
|
+
{ frame: "scenery/planter", ...at(p.planter) },
|
|
163
|
+
],
|
|
164
|
+
// The skyline and the plants are seeded by the tower's founding seed
|
|
165
|
+
// (`hash01` and the rules below; docs/atlas.md spells them out).
|
|
166
|
+
skyline: {
|
|
167
|
+
overscanTiles: skylineOverscanTiles(world),
|
|
168
|
+
bands: SKYLINE_BANDS.map((b) => ({ ...b, frame: `sky/skyline/${b.depth === 0 ? "far" : "near"}` })),
|
|
169
|
+
},
|
|
170
|
+
plants: {
|
|
171
|
+
rule: PLANT_RULE,
|
|
172
|
+
size: PLANT_SIZE,
|
|
173
|
+
// A plant's canvas is centered on its tile's left edge, and its bottom
|
|
174
|
+
// edge (exclusive) sits at bottomY.
|
|
175
|
+
bottomY: -STRIP_ABOVE + 2,
|
|
176
|
+
clearTiles: PLANT_CLEAR_TILES,
|
|
177
|
+
treeVariants: TREE_VARIANTS,
|
|
178
|
+
paint: PLANT_PAINT,
|
|
179
|
+
},
|
|
180
|
+
lamp: { steps: LAMP_STEPS, fadeIn: [18, 20], fadeOut: [5, 7] },
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
/** The sky's background, the sun's arc, the clouds' drift and the rain
|
|
184
|
+
* (`towerScene.ts`, `towerOverlay.ts`), in the game's own terms, all drawn in
|
|
185
|
+
* screen space, sized to the view. */
|
|
186
|
+
function skyData() {
|
|
187
|
+
return {
|
|
188
|
+
// The view's background is data.skyColors[floor(hour) * columnsPerHour],
|
|
189
|
+
// the color of the whole game hour; the sun or moon draws over it, then
|
|
190
|
+
// the clouds.
|
|
191
|
+
background: { columnsPerHour: SKY_COLUMNS / 24 },
|
|
192
|
+
sun: { ...SUN_ARC, day: "sky/sun", night: "sky/moon" },
|
|
193
|
+
clouds: {
|
|
194
|
+
...CLOUD_DRIFT,
|
|
195
|
+
// The engine's weather to the cloud frames it shows (clear shows none).
|
|
196
|
+
weathers: { cloudy: "overcast", rain: "rain" },
|
|
197
|
+
list: Array.from({ length: CLOUD_COUNT }, (_, i) => ({ frame: i, ...cloudMotion(cloudSeed(i)) })),
|
|
198
|
+
},
|
|
199
|
+
// Drawn in front of the world on rainy days, over the open sky only:
|
|
200
|
+
// above the ground line and off the building's floor runs (#638).
|
|
201
|
+
rain: RAIN,
|
|
202
|
+
};
|
|
203
|
+
}
|
|
204
|
+
/** The frame families on each of the game's draw planes ({@link Z}). */
|
|
205
|
+
const PLANE_FRAMES = {
|
|
206
|
+
sky: ["sky/gradient", "sky/sun", "sky/moon", "sky/cloud"],
|
|
207
|
+
skylineFar: ["sky/skyline/far"],
|
|
208
|
+
skylineNear: ["sky/skyline/near"],
|
|
209
|
+
dirt: [],
|
|
210
|
+
groundLine: [],
|
|
211
|
+
strip: ["scenery/ground/grass", "scenery/ground/pave"],
|
|
212
|
+
groundEdge: ["scenery/ground/sidewalk", "scenery/ground/road", "scenery/roundabout", "scenery/ground/forecourt"],
|
|
213
|
+
plant: ["scenery/fountain", "scenery/plaza-lamp", "scenery/street-lamp", "scenery/planter", "scenery/tree", "scenery/bush"],
|
|
214
|
+
hang: ["facade/escape", "facade/awning", "facade/crane"],
|
|
215
|
+
structure: ["structure/floor", "structure/lobby", "structure/entrance"],
|
|
216
|
+
room: ["room"],
|
|
217
|
+
walker: ["person/walker"],
|
|
218
|
+
animatedRoom: ["fire", "construction"],
|
|
219
|
+
streetCar: ["vehicle/streetcar"],
|
|
220
|
+
vehicle: ["vehicle/metrotrain", "vehicle/garbagetruck"],
|
|
221
|
+
walking: ["person/walker"],
|
|
222
|
+
transport: ["shaft", "transport/stairs", "transport/escalator"],
|
|
223
|
+
cab: ["car"],
|
|
224
|
+
// The revolving doors between lobby halls (#2068) are drawn on the web
|
|
225
|
+
// canvas and have no atlas frames yet; a leftbound walker inside one is
|
|
226
|
+
// drawn behind its center post.
|
|
227
|
+
hallDoorBack: [],
|
|
228
|
+
crowdBehindDoor: ["person/walker"],
|
|
229
|
+
hallDoorMiddle: [],
|
|
230
|
+
crowd: ["person/walker"],
|
|
231
|
+
hallDoorFront: [],
|
|
232
|
+
overlay: [],
|
|
233
|
+
};
|
|
234
|
+
/** The game's draw planes, back to front, with the families drawn on each. */
|
|
235
|
+
function depthData() {
|
|
236
|
+
return Object.keys(Z)
|
|
237
|
+
.map((plane) => ({ plane, z: Z[plane], frames: PLANE_FRAMES[plane] }))
|
|
238
|
+
.sort((a, b) => a.z - b.z);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
export { FOUNTAIN_DT, FOUNTAIN_FRAMES, LAMP_STEPS, TREE_VARIANTS, depthData, grassName, paintScenery, sceneryData, sceneryJobs, skyData };
|
|
242
|
+
//# sourceMappingURL=scenery.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scenery.js","sources":["../../../src/render/atlas/scenery.ts"],"sourcesContent":["import type { WeatherKind } from \"../../shared/types\";\nimport { FLOOR, TILE } from \"../scale\";\nimport { viewWorld } from \"../../presentation/viewWorld\";\nimport {\n APRON_PAD_TILES,\n GROUND,\n groundBelowFloors,\n PLANT_CLEAR_TILES,\n PLANT_RULE,\n PLANT_SIZE,\n sceneryPieces,\n SKYLINE_BANDS,\n skylineOverscanTiles,\n STRIP_ABOVE,\n STRIP_BELOW,\n type PieceRect,\n} from \"../sceneryLayout\";\nimport {\n PAVE_JOINT_EVERY,\n PLANT_PAINT,\n drawBush,\n drawForecourt,\n drawFountain,\n drawPlanter,\n drawPlazaLamp,\n drawRoad,\n drawRoundabout,\n drawSidewalk,\n drawStreetLamp,\n drawStripTile,\n drawTree,\n grassLook,\n} from \"../excalibur/towerSceneryDraw\";\nimport type { AnimJob, Job, Keys, StillJob } from \"./catalog\";\nimport type { PaintSpec } from \"./paint\";\nimport { Z } from \"../depthPlanes\";\nimport { CLOUD_COUNT, CLOUD_DRIFT, RAIN, SUN_ARC, cloudMotion, cloudSeed } from \"../sprites/sky\";\nimport { SKY_COLUMNS } from \"./catalogExtras\";\n\n/**\n * The world outside the tower (`excalibur/towerScenery.ts`): the plaza's\n * roundabout, fountain and lamps, the street lamp with its \"375 ST\" sign, the\n * forecourt planter, the lot's trees and bushes, and the ground pieces. Every\n * frame is painted by the game's own scenery painters, and {@link sceneryData}\n * publishes the game's own placement table (`sceneryPieces` in `sceneryLayout.ts`),\n * so a frontend can rebuild the scene.\n */\n\nexport type ScenerySpec =\n | { p: \"scenery\"; piece: \"roundabout\" | \"planter\" | \"bush\" | \"sidewalk\" | \"forecourt\" }\n | { p: \"scenery\"; piece: \"fountain\"; t: number }\n | { p: \"scenery\"; piece: \"plazaLamp\" | \"streetLamp\"; a: number }\n | { p: \"scenery\"; piece: \"tree\"; seed: number }\n | { p: \"scenery\"; piece: \"road\"; phase: number }\n | { p: \"scenery\"; piece: \"strip\"; tile: number; paved: boolean };\n\n/** Paint a scenery piece into a canvas `w` x `h`. */\nexport function paintScenery(ctx: CanvasRenderingContext2D, s: ScenerySpec, w: number, h: number): void {\n switch (s.piece) {\n case \"roundabout\":\n return drawRoundabout(ctx, w);\n case \"fountain\":\n return drawFountain(ctx, w, h, s.t);\n case \"plazaLamp\":\n return drawPlazaLamp(ctx, w, h, s.a);\n case \"streetLamp\":\n return drawStreetLamp(ctx, w, h, s.a);\n case \"planter\":\n return drawPlanter(ctx, w, h);\n case \"tree\":\n return drawTree(ctx, w, h, s.seed);\n case \"bush\":\n return drawBush(ctx, w, h);\n case \"sidewalk\":\n return drawSidewalk(ctx, w);\n case \"forecourt\":\n return drawForecourt(ctx, w);\n case \"road\":\n return drawRoad(ctx, w, s.phase);\n case \"strip\":\n return drawStripTile(ctx, 0, s.tile, s.paved);\n }\n}\n\nconst size = (r: PieceRect) => ({ w: r.w, h: r.h });\n\n/** Frame sizes: the fixed pieces as the game sizes them, plants at their base\n * size, and the ground tiles one period of their pattern. A strip tile is one\n * column wider than a lot tile, as the game paints it. */\nfunction pieces() {\n return sceneryPieces(viewWorld());\n}\n\nfunction sizes() {\n const p = pieces();\n return {\n roundabout: size(p.roundabout),\n fountain: size(p.fountain),\n plazaLamp: size(p.plazaLamps[0]),\n streetLamp: size(p.streetLamp),\n planter: size(p.planter),\n tree: { w: PLANT_SIZE.tree.tiles * TILE, h: Math.round(FLOOR * PLANT_SIZE.tree.floors) },\n bush: { w: PLANT_SIZE.bush.tiles * TILE, h: Math.round(FLOOR * PLANT_SIZE.bush.floors) },\n sidewalk: { w: TILE, h: p.sidewalk.h },\n forecourt: { w: 2 * TILE, h: p.forecourt.h },\n road: { w: 4 * TILE, h: p.rightRoad.h },\n strip: { w: TILE + 1, h: STRIP_ABOVE + STRIP_BELOW },\n };\n}\n\n/** The lamp brightness steps baked (the game fades continuously). */\nexport const LAMP_STEPS = [0, 25, 50, 75, 100];\n/** Fountain frames: the water's motions share no period, so this samples one\n * stretch close to a loop. */\nexport const FOUNTAIN_FRAMES = 24;\nexport const FOUNTAIN_DT = 0.1;\n/** Tree variants baked (the game seeds each tree by the tower and its spot). */\nexport const TREE_VARIANTS = 8;\n\n/** The grass frame name for a lot tile. */\nexport function grassName(tile: number): string {\n const g = grassLook(tile);\n return `s${g.shade}/${g.tuft ? \"tuft\" : \"flat\"}`;\n}\n\n/** A lot tile showing each grass look, for the bake. */\nfunction grassSamples(): Map<string, number> {\n const world = viewWorld();\n const grass = new Map<string, number>();\n for (let t = 0; t < world.lotWidth && grass.size < 6; t++) if (!grass.has(grassName(t))) grass.set(grassName(t), t);\n return grass;\n}\n\nfunction still(name: string, sz: { w: number; h: number }, paint: ScenerySpec, keys: Keys): StillJob {\n // The scenery joined the atlas after its first release, so its images pack\n // on pages of their own and leave the older pages as they were.\n return { type: \"still\", name, w: sz.w, h: sz.h, anchor: { x: 0, y: 0 }, keys: { kind: \"scenery\", ...keys }, paint, ownPages: true };\n}\n\n/** Every scenery frame. */\nexport function sceneryJobs(): Job[] {\n const size = sizes();\n const jobs: Job[] = [\n still(\"scenery/roundabout\", size.roundabout, { p: \"scenery\", piece: \"roundabout\" }, { piece: \"roundabout\" }),\n still(\"scenery/planter\", size.planter, { p: \"scenery\", piece: \"planter\" }, { piece: \"planter\" }),\n still(\"scenery/bush\", size.bush, { p: \"scenery\", piece: \"bush\" }, { piece: \"bush\" }),\n still(\"scenery/ground/sidewalk\", size.sidewalk, { p: \"scenery\", piece: \"sidewalk\" }, { piece: \"sidewalk\" }),\n still(\"scenery/ground/forecourt\", size.forecourt, { p: \"scenery\", piece: \"forecourt\" }, { piece: \"forecourt\" }),\n still(\"scenery/ground/road\", size.road, { p: \"scenery\", piece: \"road\", phase: 4 }, { piece: \"road\" }),\n ];\n for (const pct of LAMP_STEPS) {\n jobs.push(still(`scenery/plaza-lamp/a${pct}`, size.plazaLamp, { p: \"scenery\", piece: \"plazaLamp\", a: pct / 100 }, { piece: \"plazaLamp\", lamp: pct }));\n jobs.push(still(`scenery/street-lamp/a${pct}`, size.streetLamp, { p: \"scenery\", piece: \"streetLamp\", a: pct / 100 }, { piece: \"streetLamp\", lamp: pct }));\n }\n for (let v = 0; v < TREE_VARIANTS; v++) jobs.push(still(`scenery/tree/v${v}`, size.tree, { p: \"scenery\", piece: \"tree\", seed: v }, { piece: \"tree\", variant: v }));\n for (const [name, tile] of grassSamples()) {\n const g = grassLook(tile);\n jobs.push(still(`scenery/ground/grass/${name}`, size.strip, { p: \"scenery\", piece: \"strip\", tile, paved: false }, { piece: \"grass\", shade: g.shade, tuft: g.tuft }));\n }\n for (const joint of [false, true]) {\n jobs.push(still(`scenery/ground/pave/${joint ? \"joint\" : \"plain\"}`, size.strip, { p: \"scenery\", piece: \"strip\", tile: joint ? 0 : 1, paved: true }, { piece: \"pave\", joint }));\n }\n const fountain: AnimJob = {\n type: \"anim\",\n name: \"scenery/fountain\",\n ...size.fountain,\n anchor: { x: 0, y: 0 },\n keys: { kind: \"scenery\", piece: \"fountain\" },\n dt: FOUNTAIN_DT,\n loop: true,\n ownPages: true,\n frames: Array.from({ length: FOUNTAIN_FRAMES }, (_, i): ScenerySpec => ({ p: \"scenery\", piece: \"fountain\", t: i * FOUNTAIN_DT })),\n };\n jobs.push(fountain);\n return jobs;\n}\n\nconst at = (r: PieceRect) => ({ x: r.x, y: r.y });\n\n/** Where the game places each piece (see docs/atlas.md, \"The world outside\n * the tower\"), back to front. */\nexport function sceneryData() {\n const world = viewWorld();\n const p = pieces();\n return {\n tileW: TILE,\n floorH: FLOOR,\n lotTiles: world.lotWidth,\n ground: {\n // Solid fills: the dirt from the ground line down, and the ground line\n // centered on y 0, both across `lots` lot widths centered on the lot.\n dirt: { color: GROUND.dirt, x: -((GROUND.lots - 1) / 2) * world.lotWidth * TILE, w: GROUND.lots * world.lotWidth * TILE, y: 0, h: groundBelowFloors(world) * FLOOR },\n line: { color: GROUND.line, y: -GROUND.lineH / 2, h: GROUND.lineH },\n strip: {\n y: -STRIP_ABOVE,\n tileW: TILE,\n apronPadTiles: APRON_PAD_TILES,\n jointEvery: PAVE_JOINT_EVERY,\n grass: Array.from({ length: world.lotWidth }, (_, t) => grassName(t)),\n },\n runs: [\n { frame: \"scenery/ground/sidewalk\", ...p.plazaSidewalk, tileOriginX: p.plazaSidewalk.x },\n // The roundabout shares the ground's plane: one copy, before the road.\n { frame: \"scenery/roundabout\", ...p.roundabout, tileOriginX: p.roundabout.x },\n // The game's last road segment runs one column on, over the roundabout's\n // first column.\n { frame: \"scenery/ground/road\", ...p.leftRoad, w: p.leftRoad.w + 1, tileOriginX: 0 },\n { frame: \"scenery/ground/forecourt\", ...p.forecourt, tileOriginX: p.forecourt.x },\n { frame: \"scenery/ground/sidewalk\", ...p.sidewalk, tileOriginX: p.sidewalk.x },\n { frame: \"scenery/ground/road\", ...p.rightRoad, tileOriginX: p.rightRoad.x },\n ],\n },\n props: [\n { frame: \"scenery/fountain\", ...at(p.fountain) },\n ...p.plazaLamps.map((r) => ({ frame: \"scenery/plaza-lamp\", ...at(r) })),\n { frame: \"scenery/street-lamp\", ...at(p.streetLamp) },\n { frame: \"scenery/planter\", ...at(p.planter) },\n ],\n // The skyline and the plants are seeded by the tower's founding seed\n // (`hash01` and the rules below; docs/atlas.md spells them out).\n skyline: {\n overscanTiles: skylineOverscanTiles(world),\n bands: SKYLINE_BANDS.map((b) => ({ ...b, frame: `sky/skyline/${b.depth === 0 ? \"far\" : \"near\"}` })),\n },\n plants: {\n rule: PLANT_RULE,\n size: PLANT_SIZE,\n // A plant's canvas is centered on its tile's left edge, and its bottom\n // edge (exclusive) sits at bottomY.\n bottomY: -STRIP_ABOVE + 2,\n clearTiles: PLANT_CLEAR_TILES,\n treeVariants: TREE_VARIANTS,\n paint: PLANT_PAINT,\n },\n lamp: { steps: LAMP_STEPS, fadeIn: [18, 20], fadeOut: [5, 7] },\n };\n}\n\n/** The sky's background, the sun's arc, the clouds' drift and the rain\n * (`towerScene.ts`, `towerOverlay.ts`), in the game's own terms, all drawn in\n * screen space, sized to the view. */\nexport function skyData() {\n return {\n // The view's background is data.skyColors[floor(hour) * columnsPerHour],\n // the color of the whole game hour; the sun or moon draws over it, then\n // the clouds.\n background: { columnsPerHour: SKY_COLUMNS / 24 },\n sun: { ...SUN_ARC, day: \"sky/sun\", night: \"sky/moon\" },\n clouds: {\n ...CLOUD_DRIFT,\n // The engine's weather to the cloud frames it shows (clear shows none).\n weathers: { cloudy: \"overcast\", rain: \"rain\" } satisfies Record<Exclude<WeatherKind, \"clear\">, Extract<PaintSpec, { p: \"cloud\" }>[\"weather\"]>,\n list: Array.from({ length: CLOUD_COUNT }, (_, i) => ({ frame: i, ...cloudMotion(cloudSeed(i)) })),\n },\n // Drawn in front of the world on rainy days, over the open sky only:\n // above the ground line and off the building's floor runs (#638).\n rain: RAIN,\n };\n}\n\n/** The frame families on each of the game's draw planes ({@link Z}). */\nconst PLANE_FRAMES: Record<keyof typeof Z, string[]> = {\n sky: [\"sky/gradient\", \"sky/sun\", \"sky/moon\", \"sky/cloud\"],\n skylineFar: [\"sky/skyline/far\"],\n skylineNear: [\"sky/skyline/near\"],\n dirt: [],\n groundLine: [],\n strip: [\"scenery/ground/grass\", \"scenery/ground/pave\"],\n groundEdge: [\"scenery/ground/sidewalk\", \"scenery/ground/road\", \"scenery/roundabout\", \"scenery/ground/forecourt\"],\n plant: [\"scenery/fountain\", \"scenery/plaza-lamp\", \"scenery/street-lamp\", \"scenery/planter\", \"scenery/tree\", \"scenery/bush\"],\n hang: [\"facade/escape\", \"facade/awning\", \"facade/crane\"],\n structure: [\"structure/floor\", \"structure/lobby\", \"structure/entrance\"],\n room: [\"room\"],\n walker: [\"person/walker\"],\n animatedRoom: [\"fire\", \"construction\"],\n streetCar: [\"vehicle/streetcar\"],\n vehicle: [\"vehicle/metrotrain\", \"vehicle/garbagetruck\"],\n walking: [\"person/walker\"],\n transport: [\"shaft\", \"transport/stairs\", \"transport/escalator\"],\n cab: [\"car\"],\n // The revolving doors between lobby halls (#2068) are drawn on the web\n // canvas and have no atlas frames yet; a leftbound walker inside one is\n // drawn behind its center post.\n hallDoorBack: [],\n crowdBehindDoor: [\"person/walker\"],\n hallDoorMiddle: [],\n crowd: [\"person/walker\"],\n hallDoorFront: [],\n overlay: [],\n};\n\n/** The game's draw planes, back to front, with the families drawn on each. */\nexport function depthData() {\n return (Object.keys(Z) as (keyof typeof Z)[])\n .map((plane) => ({ plane, z: Z[plane], frames: PLANE_FRAMES[plane] }))\n .sort((a, b) => a.z - b.z);\n}\n"],"names":[],"mappings":";;;;;;;;AAwDA;AACM,SAAU,YAAY,CAAC,GAA6B,EAAE,CAAc,EAAE,CAAS,EAAE,CAAS,EAAA;AAC9F,IAAA,QAAQ,CAAC,CAAC,KAAK;AACb,QAAA,KAAK,YAAY;AACf,YAAA,OAAO,cAAc,CAAC,GAAG,EAAE,CAAC,CAAC;AAC/B,QAAA,KAAK,UAAU;AACb,YAAA,OAAO,YAAY,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AACrC,QAAA,KAAK,WAAW;AACd,YAAA,OAAO,aAAa,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AACtC,QAAA,KAAK,YAAY;AACf,YAAA,OAAO,cAAc,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AACvC,QAAA,KAAK,SAAS;YACZ,OAAO,WAAW,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,CAAC;AAC/B,QAAA,KAAK,MAAM;AACT,YAAA,OAAO,QAAQ,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC;AACpC,QAAA,KAAK,MAAM;YACT,OAAO,QAAQ,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,CAAC;AAC5B,QAAA,KAAK,UAAU;AACb,YAAA,OAAO,YAAY,CAAC,GAAG,EAAE,CAAC,CAAC;AAC7B,QAAA,KAAK,WAAW;AACd,YAAA,OAAO,aAAa,CAAC,GAAG,EAAE,CAAC,CAAC;AAC9B,QA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