@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,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The game's draw planes (Excalibur z), back to front, in one table so the
|
|
3
|
+
* scene and the atlas data (`data.depth`) can never disagree. Higher draws in
|
|
4
|
+
* front; equal planes draw in the order their actors were added.
|
|
5
|
+
*/
|
|
6
|
+
export declare const Z: {
|
|
7
|
+
/** The sky strip, sun, moon and clouds (a screen-space layer). */
|
|
8
|
+
readonly sky: -60;
|
|
9
|
+
/** The far and near skyline bands. */
|
|
10
|
+
readonly skylineFar: -56;
|
|
11
|
+
readonly skylineNear: -55;
|
|
12
|
+
/** The dirt under the lot and the ground line over it. */
|
|
13
|
+
readonly dirt: -50;
|
|
14
|
+
readonly groundLine: -49;
|
|
15
|
+
/** The lot's grass and paving strip. */
|
|
16
|
+
readonly strip: -48;
|
|
17
|
+
/** Sidewalks, roads, the forecourt and the roundabout. */
|
|
18
|
+
readonly groundEdge: -47;
|
|
19
|
+
/** The fountain, the lamps, the planter, the trees and bushes. */
|
|
20
|
+
readonly plant: -46;
|
|
21
|
+
/** The fire escapes (awnings on the ground floor) and the crane. */
|
|
22
|
+
readonly hang: -2;
|
|
23
|
+
/** Floor and lobby tiles (the entrances are lobby tiles). */
|
|
24
|
+
readonly structure: -1;
|
|
25
|
+
/** Settled rooms (the region canvases). */
|
|
26
|
+
readonly room: 0;
|
|
27
|
+
/** Ambient walkers on the floors and in the lobby. */
|
|
28
|
+
readonly walker: 0.4;
|
|
29
|
+
/** Rooms that redraw every frame: burning and under construction. */
|
|
30
|
+
readonly animatedRoom: 0.45;
|
|
31
|
+
/** The parking ramp's commuter cars. */
|
|
32
|
+
readonly streetCar: 0.5;
|
|
33
|
+
/** The metro train and the garbage truck. */
|
|
34
|
+
readonly vehicle: 0.6;
|
|
35
|
+
/** People walking along a floor: they pass behind the shafts and cabs, as
|
|
36
|
+
* people at a shaft, not floating over it (#2097). */
|
|
37
|
+
readonly walking: 0.7;
|
|
38
|
+
/** Shafts, stairs and escalators. */
|
|
39
|
+
readonly transport: 1;
|
|
40
|
+
/** Elevator cabs. */
|
|
41
|
+
readonly cab: 2;
|
|
42
|
+
/** The wall between two lobby halls of different heights, the back of
|
|
43
|
+
* its revolving door and the wings on the far side of the post (#2068). */
|
|
44
|
+
readonly hallDoorBack: 2.5;
|
|
45
|
+
/** A commuter walking left through a revolving door: the back of the drum. */
|
|
46
|
+
readonly crowdBehindDoor: 2.6;
|
|
47
|
+
/** The door's center post and its near wings. */
|
|
48
|
+
readonly hallDoorMiddle: 2.7;
|
|
49
|
+
/** The commuting crowd. */
|
|
50
|
+
readonly crowd: 3;
|
|
51
|
+
/** The door drum's front glass, posts and canopy, over everyone inside. */
|
|
52
|
+
readonly hallDoorFront: 3.5;
|
|
53
|
+
/** Screen-space overlays (labels, effects). */
|
|
54
|
+
readonly overlay: 100;
|
|
55
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The game's draw planes (Excalibur z), back to front, in one table so the
|
|
3
|
+
* scene and the atlas data (`data.depth`) can never disagree. Higher draws in
|
|
4
|
+
* front; equal planes draw in the order their actors were added.
|
|
5
|
+
*/
|
|
6
|
+
const Z = {
|
|
7
|
+
/** The sky strip, sun, moon and clouds (a screen-space layer). */
|
|
8
|
+
sky: -60,
|
|
9
|
+
/** The far and near skyline bands. */
|
|
10
|
+
skylineFar: -56,
|
|
11
|
+
skylineNear: -55,
|
|
12
|
+
/** The dirt under the lot and the ground line over it. */
|
|
13
|
+
dirt: -50,
|
|
14
|
+
groundLine: -49,
|
|
15
|
+
/** The lot's grass and paving strip. */
|
|
16
|
+
strip: -48,
|
|
17
|
+
/** Sidewalks, roads, the forecourt and the roundabout. */
|
|
18
|
+
groundEdge: -47,
|
|
19
|
+
/** The fountain, the lamps, the planter, the trees and bushes. */
|
|
20
|
+
plant: -46,
|
|
21
|
+
/** The fire escapes (awnings on the ground floor) and the crane. */
|
|
22
|
+
hang: -2,
|
|
23
|
+
/** Floor and lobby tiles (the entrances are lobby tiles). */
|
|
24
|
+
structure: -1,
|
|
25
|
+
/** Settled rooms (the region canvases). */
|
|
26
|
+
room: 0,
|
|
27
|
+
/** Ambient walkers on the floors and in the lobby. */
|
|
28
|
+
walker: 0.4,
|
|
29
|
+
/** Rooms that redraw every frame: burning and under construction. */
|
|
30
|
+
animatedRoom: 0.45,
|
|
31
|
+
/** The parking ramp's commuter cars. */
|
|
32
|
+
streetCar: 0.5,
|
|
33
|
+
/** The metro train and the garbage truck. */
|
|
34
|
+
vehicle: 0.6,
|
|
35
|
+
/** People walking along a floor: they pass behind the shafts and cabs, as
|
|
36
|
+
* people at a shaft, not floating over it (#2097). */
|
|
37
|
+
walking: 0.7,
|
|
38
|
+
/** Shafts, stairs and escalators. */
|
|
39
|
+
transport: 1,
|
|
40
|
+
/** Elevator cabs. */
|
|
41
|
+
cab: 2,
|
|
42
|
+
/** The wall between two lobby halls of different heights, the back of
|
|
43
|
+
* its revolving door and the wings on the far side of the post (#2068). */
|
|
44
|
+
hallDoorBack: 2.5,
|
|
45
|
+
/** A commuter walking left through a revolving door: the back of the drum. */
|
|
46
|
+
crowdBehindDoor: 2.6,
|
|
47
|
+
/** The door's center post and its near wings. */
|
|
48
|
+
hallDoorMiddle: 2.7,
|
|
49
|
+
/** The commuting crowd. */
|
|
50
|
+
crowd: 3,
|
|
51
|
+
/** The door drum's front glass, posts and canopy, over everyone inside. */
|
|
52
|
+
hallDoorFront: 3.5,
|
|
53
|
+
/** Screen-space overlays (labels, effects). */
|
|
54
|
+
overlay: 100,
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
export { Z };
|
|
58
|
+
//# sourceMappingURL=depthPlanes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"depthPlanes.js","sources":["../../src/render/depthPlanes.ts"],"sourcesContent":["/**\n * The game's draw planes (Excalibur z), back to front, in one table so the\n * scene and the atlas data (`data.depth`) can never disagree. Higher draws in\n * front; equal planes draw in the order their actors were added.\n */\nexport const Z = {\n /** The sky strip, sun, moon and clouds (a screen-space layer). */\n sky: -60,\n /** The far and near skyline bands. */\n skylineFar: -56,\n skylineNear: -55,\n /** The dirt under the lot and the ground line over it. */\n dirt: -50,\n groundLine: -49,\n /** The lot's grass and paving strip. */\n strip: -48,\n /** Sidewalks, roads, the forecourt and the roundabout. */\n groundEdge: -47,\n /** The fountain, the lamps, the planter, the trees and bushes. */\n plant: -46,\n /** The fire escapes (awnings on the ground floor) and the crane. */\n hang: -2,\n /** Floor and lobby tiles (the entrances are lobby tiles). */\n structure: -1,\n /** Settled rooms (the region canvases). */\n room: 0,\n /** Ambient walkers on the floors and in the lobby. */\n walker: 0.4,\n /** Rooms that redraw every frame: burning and under construction. */\n animatedRoom: 0.45,\n /** The parking ramp's commuter cars. */\n streetCar: 0.5,\n /** The metro train and the garbage truck. */\n vehicle: 0.6,\n /** People walking along a floor: they pass behind the shafts and cabs, as\n * people at a shaft, not floating over it (#2097). */\n walking: 0.7,\n /** Shafts, stairs and escalators. */\n transport: 1,\n /** Elevator cabs. */\n cab: 2,\n /** The wall between two lobby halls of different heights, the back of\n * its revolving door and the wings on the far side of the post (#2068). */\n hallDoorBack: 2.5,\n /** A commuter walking left through a revolving door: the back of the drum. */\n crowdBehindDoor: 2.6,\n /** The door's center post and its near wings. */\n hallDoorMiddle: 2.7,\n /** The commuting crowd. */\n crowd: 3,\n /** The door drum's front glass, posts and canopy, over everyone inside. */\n hallDoorFront: 3.5,\n /** Screen-space overlays (labels, effects). */\n overlay: 100,\n} as const;\n"],"names":[],"mappings":"AAAA;;;;AAIG;AACI,MAAM,CAAC,GAAG;;IAEf,GAAG,EAAE,CAAC,EAAE;;IAER,UAAU,EAAE,CAAC,EAAE;IACf,WAAW,EAAE,CAAC,EAAE;;IAEhB,IAAI,EAAE,CAAC,EAAE;IACT,UAAU,EAAE,CAAC,EAAE;;IAEf,KAAK,EAAE,CAAC,EAAE;;IAEV,UAAU,EAAE,CAAC,EAAE;;IAEf,KAAK,EAAE,CAAC,EAAE;;IAEV,IAAI,EAAE,CAAC,CAAC;;IAER,SAAS,EAAE,CAAC,CAAC;;AAEb,IAAA,IAAI,EAAE,CAAC;;AAEP,IAAA,MAAM,EAAE,GAAG;;AAEX,IAAA,YAAY,EAAE,IAAI;;AAElB,IAAA,SAAS,EAAE,GAAG;;AAEd,IAAA,OAAO,EAAE,GAAG;AACZ;AACuD;AACvD,IAAA,OAAO,EAAE,GAAG;;AAEZ,IAAA,SAAS,EAAE,CAAC;;AAEZ,IAAA,GAAG,EAAE,CAAC;AACN;AAC4E;AAC5E,IAAA,YAAY,EAAE,GAAG;;AAEjB,IAAA,eAAe,EAAE,GAAG;;AAEpB,IAAA,cAAc,EAAE,GAAG;;AAEnB,IAAA,KAAK,EAAE,CAAC;;AAER,IAAA,aAAa,EAAE,GAAG;;AAElB,IAAA,OAAO,EAAE,GAAG;;;"}
|
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
import * as ex from "excalibur";
|
|
2
|
+
import type { FacilityKind, SerializedView } from "../../shared/types";
|
|
3
|
+
import type { SimView, UnitView } from "../../simport/view";
|
|
4
|
+
import type { RenderSim } from "../renderSim";
|
|
5
|
+
import { PinchTracker } from "../pinchTracker";
|
|
6
|
+
import type { DrawCtx } from "../sprites";
|
|
7
|
+
import type { EntranceKind } from "../sprites/structure/lobby";
|
|
8
|
+
import { FLOOR, TILE } from "../scale";
|
|
9
|
+
import { type StructPass } from "./towerStructTiles";
|
|
10
|
+
import { HallDoorLayer } from "./towerHallDoors";
|
|
11
|
+
import * as crowd from "./towerCrowd";
|
|
12
|
+
import { type RegionRec } from "./towerRegions";
|
|
13
|
+
import type { Walker } from "./towerCrowd";
|
|
14
|
+
import type { CabActor } from "./cabGraphics";
|
|
15
|
+
import type { MetroTrain } from "./towerMetro";
|
|
16
|
+
import type { PeopleGraphics } from "./peopleGfx";
|
|
17
|
+
import type { ViewFocus, Picked, ScreenRect } from "./towerInputCamera";
|
|
18
|
+
import type { ThiefSpan } from "./thiefSpan";
|
|
19
|
+
export { FLOOR, TILE };
|
|
20
|
+
export { MIN_ZOOM, MAX_ZOOM } from "./towerInputCamera";
|
|
21
|
+
export type { ViewFocus, Picked } from "./towerInputCamera";
|
|
22
|
+
/**
|
|
23
|
+
* The Excalibur-powered tower renderer. Excalibur owns the game loop, scene,
|
|
24
|
+
* camera, off-screen culling, collision/hit-testing and drawing. Structural
|
|
25
|
+
* tiles, rooms and transport shafts are retained actors reconciled
|
|
26
|
+
* incrementally; moving pieces (cars, train, people) are their own actors. The
|
|
27
|
+
* controller (main.ts) drives tools, the sim tick and the DOM UI through the
|
|
28
|
+
* hooks below.
|
|
29
|
+
*
|
|
30
|
+
* The bulk of the renderer lives in friend-modules taking this instance,
|
|
31
|
+
* mirroring `Tower`/`UI`: `towerScene`, `towerReconcile`, `towerCrowd`,
|
|
32
|
+
* `towerInputCamera` (input, picking, camera, focus) and `towerOverlay`.
|
|
33
|
+
* Members those modules read are public and marked `@internal friend-module
|
|
34
|
+
* access`; the class keeps thin delegations and the shared coordinate math.
|
|
35
|
+
*/
|
|
36
|
+
export declare class TowerEngine {
|
|
37
|
+
private readonly reader?;
|
|
38
|
+
engine: ex.Engine;
|
|
39
|
+
sim: RenderSim;
|
|
40
|
+
/** @internal friend-module access (shared draw context). */
|
|
41
|
+
d: DrawCtx;
|
|
42
|
+
/** anim-clock time the current Santa flight started, or null when not flying. */
|
|
43
|
+
santaStart: number | null;
|
|
44
|
+
lastSantaSeq: number;
|
|
45
|
+
/** In-flight bomb flashes: epicenter tile/floor + the anim time it began. */
|
|
46
|
+
explosions: {
|
|
47
|
+
x: number;
|
|
48
|
+
floor: number;
|
|
49
|
+
start: number;
|
|
50
|
+
}[];
|
|
51
|
+
lastExplosionSeq: number;
|
|
52
|
+
/** A thief slinking along a tower floor; caught → a guard trails him. */
|
|
53
|
+
thiefStart: number | null;
|
|
54
|
+
thiefCaught: boolean;
|
|
55
|
+
thiefFloor: number;
|
|
56
|
+
/** The tile span of the rooms the thief runs, set when he appears. */
|
|
57
|
+
thiefSpan: ThiefSpan | null;
|
|
58
|
+
lastThiefSeq: number;
|
|
59
|
+
/** Sparkles at unearthed-treasure dig sites (world tile/floor). */
|
|
60
|
+
treasures: {
|
|
61
|
+
x: number;
|
|
62
|
+
floor: number;
|
|
63
|
+
start: number;
|
|
64
|
+
}[];
|
|
65
|
+
lastTreasureSeq: number;
|
|
66
|
+
/** The VIP limo's arrival at the lobby. */
|
|
67
|
+
vipStart: number | null;
|
|
68
|
+
lastVipSeq: number;
|
|
69
|
+
preview: {
|
|
70
|
+
kind: FacilityKind;
|
|
71
|
+
floor: number;
|
|
72
|
+
x: number;
|
|
73
|
+
valid: boolean;
|
|
74
|
+
span?: number;
|
|
75
|
+
reason?: string;
|
|
76
|
+
stories?: number;
|
|
77
|
+
label?: string;
|
|
78
|
+
} | null;
|
|
79
|
+
transportPreview: {
|
|
80
|
+
kind: FacilityKind;
|
|
81
|
+
x: number;
|
|
82
|
+
bottom: number;
|
|
83
|
+
top: number;
|
|
84
|
+
valid: boolean;
|
|
85
|
+
} | null;
|
|
86
|
+
selectedId: number | null;
|
|
87
|
+
/** Called every frame with elapsed milliseconds (sim ticking lives here). */
|
|
88
|
+
onUpdate: ((ms: number) => void) | null;
|
|
89
|
+
/** Hears a throw from any step of the frame, the scene's own reads of the
|
|
90
|
+
* simulation included, so none reaches Excalibur, whose loop stops for good
|
|
91
|
+
* on an uncaught throw. Unset, a throw goes on to Excalibur. */
|
|
92
|
+
onFrameError: ((err: unknown) => void) | null;
|
|
93
|
+
/** The frame no longer reads the simulation (its engine failed and must
|
|
94
|
+
* not be called again); the last drawn scene stays on screen. */
|
|
95
|
+
halted: boolean;
|
|
96
|
+
/** The GPU dropped the WebGL context (mobile browsers reset it under memory
|
|
97
|
+
* pressure or after backgrounding). Excalibur can't rebuild its textures in
|
|
98
|
+
* place, so the controller must recover, else its default handler paints a
|
|
99
|
+
* dead-end "please refresh the page" overlay. The clock is already stopped. */
|
|
100
|
+
onContextLost: (() => void) | null;
|
|
101
|
+
/** The browser restored the GPU context (we `preventDefault()` the loss, so
|
|
102
|
+
* it retries). This engine's own textures are still gone; the signal means a
|
|
103
|
+
* FRESH engine can be built now, which the recovery path listens for. */
|
|
104
|
+
onContextRestored: (() => void) | null;
|
|
105
|
+
classifyDown: ((button: number, touch: boolean, panKey: boolean) => "pan" | "action") | null;
|
|
106
|
+
spacePanKey: ((press?: Event) => boolean) | null;
|
|
107
|
+
onTap: ((tile: number, floor: number, touch: boolean, picked: Picked | null, world: ex.Vector) => void) | null;
|
|
108
|
+
onActionDown: ((tile: number, floor: number, touch: boolean, picked: Picked | null) => void) | null;
|
|
109
|
+
onActionMove: ((tile: number, floor: number, picked: Picked | null) => void) | null;
|
|
110
|
+
onActionUp: ((tile: number, floor: number, picked: Picked | null) => void) | null;
|
|
111
|
+
/** A press cut off by a pinch or a canceled pointer: no onActionUp. */
|
|
112
|
+
onActionCancel: (() => void) | null;
|
|
113
|
+
onHover: ((tile: number, floor: number, picked: Picked | null) => void) | null;
|
|
114
|
+
/** Touch long-press "peek" (the touch equivalent of a desktop hover): fires
|
|
115
|
+
* at the hold knee with the pressed cell/entity; onLongPressEnd on release. */
|
|
116
|
+
onLongPress: ((tile: number, floor: number, picked: Picked | null) => void) | null;
|
|
117
|
+
onLongPressEnd: (() => void) | null;
|
|
118
|
+
/** Right-click: inspect whatever is under the cursor, regardless of tool. */
|
|
119
|
+
onSecondary: ((picked: Picked | null) => void) | null;
|
|
120
|
+
/** Drag/click an in-world extend arrow on the selected elevator (#12).
|
|
121
|
+
* onExtendTo grows/shrinks the dragged end toward a target floor; onExtendEnd
|
|
122
|
+
* marks the gesture done so cost accounting can reset. */
|
|
123
|
+
onExtendTo: ((end: "up" | "down", targetFloor: number) => void) | null;
|
|
124
|
+
onExtendEnd: (() => void) | null;
|
|
125
|
+
/** Screen rects of the selected elevator's extend arrows, for hit-testing.
|
|
126
|
+
* @internal friend-module access (towerInputCamera / towerOverlay). */
|
|
127
|
+
arrowHit: {
|
|
128
|
+
up?: ScreenRect;
|
|
129
|
+
down?: ScreenRect;
|
|
130
|
+
};
|
|
131
|
+
/** Active extend-arrow drag end. @internal (towerInputCamera/towerScene). */
|
|
132
|
+
arrowDrag: {
|
|
133
|
+
end: "up" | "down";
|
|
134
|
+
shaft: number | null;
|
|
135
|
+
} | null;
|
|
136
|
+
tracker: PinchTracker;
|
|
137
|
+
gesture: "pan" | "action" | null;
|
|
138
|
+
moved: number;
|
|
139
|
+
downTouch: boolean;
|
|
140
|
+
lastSx: number;
|
|
141
|
+
lastSy: number;
|
|
142
|
+
downSx: number;
|
|
143
|
+
downSy: number;
|
|
144
|
+
longPressTimer: ReturnType<typeof setTimeout> | null;
|
|
145
|
+
longPressFired: boolean;
|
|
146
|
+
/** Static floor/lobby tiles live in ONE TileMap entity, not per-tile
|
|
147
|
+
* actors: paying per-actor overhead for a ~9,000-tile slab dominated the
|
|
148
|
+
* frame on phones. Cells keep the same shared baked canvases the old
|
|
149
|
+
* actors used, so pixels don't change. The set holds the cells that carry a
|
|
150
|
+
* graphic. Cells, not unit ids, because the view gives tiles no ids. */
|
|
151
|
+
structTileMap: ex.TileMap;
|
|
152
|
+
/** The top floor the tile map was sized for: its row 0. The tile pass maps
|
|
153
|
+
* floors to rows by it rather than by the bound world, so a taller world
|
|
154
|
+
* bound before the swap that rebuilds the map (towerScene `setSim`) never
|
|
155
|
+
* shifts a cell against the map it indexes (#1985). */
|
|
156
|
+
structTopFloor: number;
|
|
157
|
+
structTiles: Set<ex.Tile>;
|
|
158
|
+
/** What the tile pass last drew from (towerReconcile `syncScene`), with the
|
|
159
|
+
* rooms and lobby cells it kept for the syncs that skip the tiles; a null
|
|
160
|
+
* sim makes the next sync walk every unit. @internal friend-module access. */
|
|
161
|
+
structPass: StructPass;
|
|
162
|
+
regions: Map<number, RegionRec>;
|
|
163
|
+
regionUnits: Map<number, number[]>;
|
|
164
|
+
regionDirty: Set<number>;
|
|
165
|
+
deadParking: Set<number>;
|
|
166
|
+
animatedRooms: Map<number, ex.Actor>;
|
|
167
|
+
roomSig: Map<number, string>;
|
|
168
|
+
transportActors: Map<number, ex.Actor>;
|
|
169
|
+
transportSig: Map<number, string>;
|
|
170
|
+
flightPass: import("../venueFlights").FlightPass;
|
|
171
|
+
carActors: CabActor[];
|
|
172
|
+
trainActors: MetroTrain[];
|
|
173
|
+
/** The metro's tunnel row, either side of the station. */
|
|
174
|
+
tunnelActors: ex.Actor[];
|
|
175
|
+
/** The pre-dawn garbage truck: one per recycling center, visible only during
|
|
176
|
+
* the collection hour (drives in, loads, drives off, like the metro train). */
|
|
177
|
+
truckActors: {
|
|
178
|
+
actor: ex.Actor;
|
|
179
|
+
u: UnitView;
|
|
180
|
+
w: number;
|
|
181
|
+
}[];
|
|
182
|
+
/** Commute cars cruising the garage decks at rush hours: one per basement
|
|
183
|
+
* parking floor, ping-ponging along that floor's parking run. */
|
|
184
|
+
garageCars: {
|
|
185
|
+
actor: ex.Actor;
|
|
186
|
+
floor: number;
|
|
187
|
+
x0w: number;
|
|
188
|
+
x1w: number;
|
|
189
|
+
seed: number;
|
|
190
|
+
}[];
|
|
191
|
+
walkers: Walker[];
|
|
192
|
+
crowdCulled: boolean;
|
|
193
|
+
/** Garage/waste display fractions (parking-in-use, recycling-fill), computed
|
|
194
|
+
* once per syncScene (reusing sync's parking flood-fill), so they are as
|
|
195
|
+
* fresh as the sprites that consume them and never run per frame.
|
|
196
|
+
* @internal friend-module access (towerScene / towerCrowd). */
|
|
197
|
+
displayParkingUse: number;
|
|
198
|
+
displayRecycleFill: number;
|
|
199
|
+
/** Per-floor live occupancy in 0..1 (people on the floor, capped), so corridor
|
|
200
|
+
* loiterers only appear where tenants are. Cached and recomputed on the hour
|
|
201
|
+
* or when the layout changes, not per frame.
|
|
202
|
+
* @internal friend-module access (towerCrowd / towerScene). */
|
|
203
|
+
floorLive: Map<number, number>;
|
|
204
|
+
floorLiveHour: number;
|
|
205
|
+
floorLiveRev: number;
|
|
206
|
+
/** @internal friend-module access (towerScene setSim; read in tick). */
|
|
207
|
+
builtRev: number;
|
|
208
|
+
mealOverlayRev: number;
|
|
209
|
+
/** @internal friend-module access (towerScene). */
|
|
210
|
+
litState: boolean;
|
|
211
|
+
/** @internal friend-module access (towerSyncSchedule). */
|
|
212
|
+
lastSyncHour: number;
|
|
213
|
+
hourSyncPending: boolean;
|
|
214
|
+
/** When the last scene sync ran, on the page's clock (`performance.now()`),
|
|
215
|
+
* so meal-overlay syncs coalesce (towerSyncSchedule). */
|
|
216
|
+
lastSceneSyncAt: number;
|
|
217
|
+
/** Set by the controller from the game speed: when paused, the decorative
|
|
218
|
+
* animation clock stops so on-screen people freeze with everything else. */
|
|
219
|
+
paused: boolean;
|
|
220
|
+
/** When true, the decorative animation clock is frozen (accessibility): every
|
|
221
|
+
* `d.anim`-driven decoration stops (ambient bed, sprite flourishes). It is
|
|
222
|
+
* all cosmetic: elevator cars and the routed crowd move from sim state, not
|
|
223
|
+
* `d.anim`, so functional motion keeps running while the animation stops. */
|
|
224
|
+
reducedMotion: boolean;
|
|
225
|
+
/** Modern's "Show decorative passers-by" switch (#2091): off (the default) hides them all. */
|
|
226
|
+
passersBy: boolean;
|
|
227
|
+
setReducedMotion(on: boolean): void;
|
|
228
|
+
/** Frame-clock-derived animation time that only advances while unpaused.
|
|
229
|
+
* @internal friend-module access (towerOverlay resetDecorativeClock). */
|
|
230
|
+
animClock: number;
|
|
231
|
+
/** Reset the decorative animation clock to zero (see towerOverlay). */
|
|
232
|
+
resetDecorativeClock(): void;
|
|
233
|
+
crowdActors: Map<number, crowd.CrowdActor>;
|
|
234
|
+
hallDoors: HallDoorLayer;
|
|
235
|
+
floorGfx: ex.Canvas;
|
|
236
|
+
/** Lobby tile variants, baked per [lit][ground][variant] so the concourse
|
|
237
|
+
* pattern (columns, chandeliers/planters) repeats and lights up at night. */
|
|
238
|
+
lobbyGfx: ex.Canvas[][][];
|
|
239
|
+
/** The two slices of the wide grand entrance storefront, staffed, baked per
|
|
240
|
+
* [lit]. Left carries the reception attendant; right the doors and swaying
|
|
241
|
+
* doorman. Both `cache: false` because the right doorman reads `d.anim`, and
|
|
242
|
+
* one path for both beats mixing cache-true/false. */
|
|
243
|
+
entranceGrandLeftGfx: ex.Canvas[];
|
|
244
|
+
entranceGrandRightGfx: ex.Canvas[];
|
|
245
|
+
/** The compact grand entrance, for a lobby too narrow for the storefront (`cache: false`: doorman). */
|
|
246
|
+
entranceGrandSoloGfx: ex.Canvas[];
|
|
247
|
+
/** Grand entrance slices for an empty tower (no doorman or attendant), per kind and [lit]; static. */
|
|
248
|
+
entranceEmptyGfx: Record<"grand-left" | "grand-right" | "grand-solo", ex.Canvas[]>;
|
|
249
|
+
/** The floor-1 service entrance tile, baked per [lit]. Static (`cache: true`)
|
|
250
|
+
* because it has no motion of its own. */
|
|
251
|
+
entranceServiceGfx: ex.Canvas[];
|
|
252
|
+
/** One story of a tall lobby's slice (#308), baked on first use and kept:
|
|
253
|
+
* by lighting, ground or sky style, height, story (0 = the lobby's floor)
|
|
254
|
+
* and pattern slot or entrance kind. */
|
|
255
|
+
tallLobbyGfx: (lit: boolean, ground: boolean, height: number, story: number, slot: number | EntranceKind, staffed: boolean) => ex.Canvas;
|
|
256
|
+
/** Per-tile entrance kind for the floor-1 lobby, refreshed at the top of every
|
|
257
|
+
* {@link reconcile.syncScene} sweep. Keyed by grid x; absent x takes the
|
|
258
|
+
* normal 4-variant cycle. Recomputed by walking the lobby's CONTIGUOUS runs so
|
|
259
|
+
* a mid-lobby gap can't orphan a grand-left half-facade from its right half. */
|
|
260
|
+
floor1EntranceMap: Map<number, "grand-left" | "grand-right" | "grand-solo" | "service">;
|
|
261
|
+
/** Each tower's first and last ground-floor column as flat pairs, from `stampGroundEntrances`. */
|
|
262
|
+
groundTowers: number[];
|
|
263
|
+
/** Whether each of {@link groundTowers} has anyone in it, so its entrance shows its staff (#2384). */
|
|
264
|
+
towerStaffed: boolean[];
|
|
265
|
+
/** Fire-escape segments, baked per [side][floor parity] (shared by all floors). */
|
|
266
|
+
escGfx: {
|
|
267
|
+
left: ex.Canvas[];
|
|
268
|
+
right: ex.Canvas[];
|
|
269
|
+
};
|
|
270
|
+
/** Ground-floor entrance awnings, baked per side. They stand in for the fire
|
|
271
|
+
* escape on floor 1 (see {@link reconcile.syncEscapes}). */
|
|
272
|
+
awningGfx: {
|
|
273
|
+
left: ex.Canvas;
|
|
274
|
+
right: ex.Canvas;
|
|
275
|
+
};
|
|
276
|
+
/** Exterior escape-stair actors per above-ground floor, keyed by floor. */
|
|
277
|
+
escapeActors: Map<string, {
|
|
278
|
+
l: ex.Actor;
|
|
279
|
+
r: ex.Actor;
|
|
280
|
+
sig: string;
|
|
281
|
+
}>;
|
|
282
|
+
/** The rooftop construction crane (present until the 100th floor tops out). */
|
|
283
|
+
craneActor: ex.Actor | null;
|
|
284
|
+
/** The crane's canvas; tick() flags it dirty while the decorative clock runs. */
|
|
285
|
+
craneGfx: ex.Canvas | null;
|
|
286
|
+
people: PeopleGraphics;
|
|
287
|
+
/** @internal friend-module access (towerScene make* / towerOverlay draw). */
|
|
288
|
+
overlay: ex.ScreenElement;
|
|
289
|
+
overlayCanvas: ex.Canvas;
|
|
290
|
+
sky: ex.ScreenElement;
|
|
291
|
+
skyCanvas: ex.Canvas;
|
|
292
|
+
/** `reader`: the shared view reader. `start()` takes the saved camera, the
|
|
293
|
+
* hour and the revisions from it when given (slice 7, PR 4); the frame
|
|
294
|
+
* reads stay on `sim` until the frame slices move behind the view. */
|
|
295
|
+
constructor(canvas: HTMLCanvasElement, sim: RenderSim, reader?: SimView | undefined);
|
|
296
|
+
start(): Promise<void>;
|
|
297
|
+
private tick;
|
|
298
|
+
private runTick;
|
|
299
|
+
setSim(sim: RenderSim, opts?: {
|
|
300
|
+
keepCamera?: boolean;
|
|
301
|
+
}): void;
|
|
302
|
+
/** An undo or redo step changed the drawn tower: keep the scene (towerScene). */
|
|
303
|
+
followStep(): void;
|
|
304
|
+
private syncScene;
|
|
305
|
+
private syncFacade;
|
|
306
|
+
private syncMotion;
|
|
307
|
+
private updateMotion;
|
|
308
|
+
private reconcileCrowd;
|
|
309
|
+
/** Camera policy for a swapped-in (or boot-loaded) tower (see towerInputCamera).
|
|
310
|
+
* @internal friend-module access (towerScene setSim). */
|
|
311
|
+
adoptCamera(view: SerializedView | null, keepCamera?: boolean): void;
|
|
312
|
+
/** Top-most unit/transport whose Excalibur collider contains the point. */
|
|
313
|
+
pickEntityAt(world: ex.Vector): Picked | null;
|
|
314
|
+
pan(dxScreen: number, dyScreen: number): void;
|
|
315
|
+
zoomAt(factor: number, sx: number, sy: number): void;
|
|
316
|
+
/** @internal friend-module access (towerInputCamera) / prototype tests. */
|
|
317
|
+
dynamicMinZoom(): number;
|
|
318
|
+
/** @internal friend-module access (towerInputCamera) / prototype tests. */
|
|
319
|
+
clampGestureZoom(z: number): number;
|
|
320
|
+
center(): void;
|
|
321
|
+
/** The live camera as save-file cargo (see towerInputCamera). */
|
|
322
|
+
viewState(): SerializedView;
|
|
323
|
+
/** @internal friend-module access (towerInputCamera adoptCamera) / prototype tests. */
|
|
324
|
+
applyView(v: SerializedView): void;
|
|
325
|
+
/** Zoom by a factor about the current center (keyboard +/- zoom). */
|
|
326
|
+
zoomBy(factor: number): void;
|
|
327
|
+
/** Pan the minimum amount so tile/floor sits within the viewport (with a margin). */
|
|
328
|
+
ensureVisible(tile: number, floor: number): void;
|
|
329
|
+
setCamera(tileX: number, floor: number, zoom: number): void;
|
|
330
|
+
focus(): ViewFocus;
|
|
331
|
+
get viewWidth(): number;
|
|
332
|
+
get viewHeight(): number;
|
|
333
|
+
/** @internal friend-module access (towerInputCamera / towerOverlay). */
|
|
334
|
+
get cam(): ex.Camera;
|
|
335
|
+
worldX(tile: number): number;
|
|
336
|
+
worldYTop(floor: number, h?: number): number;
|
|
337
|
+
/** @internal friend-module access (towerInputCamera). */
|
|
338
|
+
screenToWorld(sx: number, sy: number): ex.Vector;
|
|
339
|
+
worldToScreenX(tile: number): number;
|
|
340
|
+
worldToScreenY(floor: number): number;
|
|
341
|
+
screenToTile(sx: number): number;
|
|
342
|
+
screenToFloor(sy: number): number;
|
|
343
|
+
/** True when the engine draws through WebGL (else a degraded Canvas2D
|
|
344
|
+
* fallback the recovery path treats as a failed rebuild). */
|
|
345
|
+
rendersWithWebGL(): boolean;
|
|
346
|
+
/** Full teardown, used by in-place context-loss recovery before a rebuild. */
|
|
347
|
+
dispose(): void;
|
|
348
|
+
}
|