@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,431 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The cast of people the web draws (#2097): a dozen varied builds of office
|
|
3
|
+
* workers, residents, hotel guests and shoppers, plus the staff and the thief,
|
|
4
|
+
* each with a skin tone, a hair color and style, an outfit and sometimes
|
|
5
|
+
* something in hand. A figure faces right in a three-quarter view; a caller
|
|
6
|
+
* mirrors it for one walking left.
|
|
7
|
+
*
|
|
8
|
+
* Two looks share the drawing:
|
|
9
|
+
* - flat (Classic, and every figure baked into a room): solid fills, as the
|
|
10
|
+
* 1994 game drew its people;
|
|
11
|
+
* - lit (Modern's moving people): lit from the upper left, with a highlight
|
|
12
|
+
* edge, a shadow edge, a darker back leg and a soft contact shadow.
|
|
13
|
+
*
|
|
14
|
+
* The mood colors stay on the top: amber for impatient and the reserved
|
|
15
|
+
* stress red for fed up, so a waiting crowd still reads at a glance. No outfit
|
|
16
|
+
* uses either color (`people.test.ts` keeps them apart).
|
|
17
|
+
*
|
|
18
|
+
* Everything draws at integer pixels with `fillRect`, like `personFigure`.
|
|
19
|
+
*/
|
|
20
|
+
/** The two reserved mood colors (the same as `moodTint` in common.ts). */
|
|
21
|
+
const MOOD_TOP = { impatient: "#E8862A", fedUp: "#C24A3A" };
|
|
22
|
+
const SKIN_TONES = ["#F1D3B3", "#E8C9A0", "#D2A57A", "#B07F55", "#8A5A3A", "#5E3B26"];
|
|
23
|
+
const HAIR_COLORS = { black: "#1E1A1A", brown: "#5A3A26", blonde: "#D8B860", red: "#A0482A", gray: "#B8B4B0", auburn: "#7A3A2A" };
|
|
24
|
+
const EYE = "#2A2228";
|
|
25
|
+
/** The ink the shared sprites use for wheels and suitcase feet (`INK`). */
|
|
26
|
+
const INK = "#2A2E38";
|
|
27
|
+
/** A color `amt` lighter (or darker, when negative) on every channel, as
|
|
28
|
+
* #RRGGBB so the lit look can shade an already-shaded color. A color that is
|
|
29
|
+
* not #RRGGBB comes back unchanged. */
|
|
30
|
+
function shade(hex, amt) {
|
|
31
|
+
if (!/^#[0-9a-fA-F]{6}$/.test(hex))
|
|
32
|
+
return hex;
|
|
33
|
+
const n = parseInt(hex.slice(1), 16);
|
|
34
|
+
const c = (v) => Math.max(0, Math.min(255, v + amt)).toString(16).padStart(2, "0");
|
|
35
|
+
return `#${c((n >> 16) & 255)}${c((n >> 8) & 255)}${c(n & 255)}`;
|
|
36
|
+
}
|
|
37
|
+
const SHIRT_WHITE = "#EDEBE6";
|
|
38
|
+
const GOLD = "#C9A24B";
|
|
39
|
+
/** How many walk frames each look has: the flat look keeps 1994's two. */
|
|
40
|
+
const WALK_FRAMES = { flat: 2, lit: 4 };
|
|
41
|
+
/** The walk frames a flat figure steps through (the two contact frames). */
|
|
42
|
+
const FLAT_FRAMES = [0, 2];
|
|
43
|
+
/** The frame a look shows at step `step` of its walk. */
|
|
44
|
+
function walkFrame(lit, step) {
|
|
45
|
+
const n = lit ? WALK_FRAMES.lit : WALK_FRAMES.flat;
|
|
46
|
+
const i = ((step % n) + n) % n;
|
|
47
|
+
return lit ? i : FLAT_FRAMES[i];
|
|
48
|
+
}
|
|
49
|
+
/** The civilian cast. Index 0 to 9 are drawn for tenants and visitors. */
|
|
50
|
+
const CAST = [
|
|
51
|
+
{ skin: SKIN_TONES[1], hair: HAIR_COLORS.brown, hairStyle: "short", top: "#3E4654", topKind: "suit", bottom: "#3E4654", shoe: "#1E1A1A", build: "average", height: "tall", carry: "briefcase", tie: "#B03A3A" },
|
|
52
|
+
{ skin: SKIN_TONES[3], hair: HAIR_COLORS.black, hairStyle: "bun", top: "#E8E2D6", topKind: "blouse", bottom: "#5A6E8C", skirt: true, shoe: "#2A2E38", build: "slim", height: "average", carry: "coffee" },
|
|
53
|
+
{ skin: SKIN_TONES[5], hair: HAIR_COLORS.black, hairStyle: "crop", top: "#5A6E8C", topKind: "suit", bottom: "#3E4654", shoe: "#1E1A1A", build: "broad", height: "tall", carry: "none", tie: "#3F6E8C" },
|
|
54
|
+
{ skin: SKIN_TONES[0], hair: HAIR_COLORS.red, hairStyle: "long", top: "#3F8C84", topKind: "tee", bottom: "#3E5A8A", shoe: "#E8E4DA", build: "slim", height: "average", carry: "none" },
|
|
55
|
+
{ skin: SKIN_TONES[2], hair: HAIR_COLORS.gray, hairStyle: "bald", top: "#6E5A4A", topKind: "sweater", bottom: "#5A5048", shoe: "#3A2E28", build: "broad", height: "short", carry: "none" },
|
|
56
|
+
{ skin: SKIN_TONES[4], hair: HAIR_COLORS.black, hairStyle: "curly", top: "#D8B05A", topKind: "tee", bottom: "#3E5A8A", shoe: "#E8E4DA", build: "average", height: "average", carry: "bag", carryColor: "#E8E4DA" },
|
|
57
|
+
{ skin: SKIN_TONES[1], hair: HAIR_COLORS.blonde, hairStyle: "bob", top: "#9A5FB0", topKind: "tee", bottom: "#3E4654", shoe: "#2A2E38", build: "slim", height: "average", carry: "suitcase" },
|
|
58
|
+
{ skin: SKIN_TONES[3], hair: HAIR_COLORS.brown, hairStyle: "cap", top: "#4FA0C8", topKind: "tee", bottom: "#6E5A4A", shoe: "#E8E4DA", build: "average", height: "tall", carry: "suitcase", carryColor: "#6E4A30" },
|
|
59
|
+
{ skin: SKIN_TONES[2], hair: HAIR_COLORS.auburn, hairStyle: "long", top: "#5AA85A", topKind: "blouse", bottom: "#3E4654", skirt: true, shoe: "#3A2E28", build: "slim", height: "short", carry: "bag", carryColor: "#3F8C84" },
|
|
60
|
+
{ skin: SKIN_TONES[5], hair: HAIR_COLORS.black, hairStyle: "short", top: "#C8C0B0", topKind: "tee", bottom: "#2A2E38", shoe: "#E8E4DA", build: "average", height: "average", carry: "coffee" },
|
|
61
|
+
];
|
|
62
|
+
/** The staff and the thief. */
|
|
63
|
+
const STAFF_LOOK = {
|
|
64
|
+
housekeeper: { skin: SKIN_TONES[4], hair: HAIR_COLORS.black, hairStyle: "bun", top: "#E8E4DA", topKind: "uniform", bottom: "#5A6E8C", shoe: "#2A2E38", build: "average", height: "average", carry: "cart" },
|
|
65
|
+
security: { skin: SKIN_TONES[2], hair: HAIR_COLORS.brown, hairStyle: "guardCap", top: "#2E3A5A", topKind: "uniform", badge: true, bottom: "#1E2638", shoe: "#1E1A1A", build: "broad", height: "tall", carry: "flashlight" },
|
|
66
|
+
maintenance: { skin: SKIN_TONES[2], hair: HAIR_COLORS.brown, hairStyle: "hardhat", top: "#3F5A7A", topKind: "uniform", hiVis: true, bottom: "#3E5A8A", shoe: "#3A2E28", build: "broad", height: "tall", carry: "none" },
|
|
67
|
+
thief: { skin: SKIN_TONES[1], hair: "#1E1A1A", hairStyle: "beanie", top: "#3A3448", topKind: "tee", bottom: "#2A2E38", shoe: "#E8E4DA", build: "slim", height: "average", carry: "sack" },
|
|
68
|
+
};
|
|
69
|
+
/** The cast member for a seed, as an index into `LOOKS`. */
|
|
70
|
+
function castIndex(seed) {
|
|
71
|
+
return Math.abs(seed) % CAST.length;
|
|
72
|
+
}
|
|
73
|
+
/** The housekeeping crew: one uniform, different people, so a crew lined up
|
|
74
|
+
* for the elevator reads as a crew rather than one figure stamped out. */
|
|
75
|
+
const CREW_FACES = [
|
|
76
|
+
{ skin: SKIN_TONES[4], hair: HAIR_COLORS.black, hairStyle: "bun", build: "average", height: "average" },
|
|
77
|
+
{ skin: SKIN_TONES[1], hair: HAIR_COLORS.brown, hairStyle: "short", build: "broad", height: "tall" },
|
|
78
|
+
{ skin: SKIN_TONES[2], hair: HAIR_COLORS.black, hairStyle: "long", build: "slim", height: "short" },
|
|
79
|
+
{ skin: SKIN_TONES[5], hair: HAIR_COLORS.black, hairStyle: "crop", build: "average", height: "tall" },
|
|
80
|
+
{ skin: SKIN_TONES[0], hair: HAIR_COLORS.blonde, hairStyle: "bob", build: "slim", height: "average" },
|
|
81
|
+
{ skin: SKIN_TONES[3], hair: HAIR_COLORS.gray, hairStyle: "curly", build: "broad", height: "short" },
|
|
82
|
+
];
|
|
83
|
+
const CREW = CREW_FACES.map((face) => ({ ...STAFF_LOOK.housekeeper, ...face }));
|
|
84
|
+
/** Every look a moving figure can wear: the civilian cast first, then the
|
|
85
|
+
* housekeeping crew with carts, the same crew with vacuums, and the other
|
|
86
|
+
* staff, so a figure names its look by one index. */
|
|
87
|
+
const LOOKS = [
|
|
88
|
+
...CAST,
|
|
89
|
+
...CREW,
|
|
90
|
+
...CREW.map((h) => ({ ...h, carry: "vacuum" })),
|
|
91
|
+
STAFF_LOOK.security,
|
|
92
|
+
STAFF_LOOK.maintenance,
|
|
93
|
+
STAFF_LOOK.thief,
|
|
94
|
+
];
|
|
95
|
+
/** The staff looks' indexes into `LOOKS` (a housekeeper's first crew face). */
|
|
96
|
+
const LOOK = {
|
|
97
|
+
housekeeper: CAST.length,
|
|
98
|
+
housekeeperCleaning: CAST.length + CREW.length,
|
|
99
|
+
security: CAST.length + 2 * CREW.length,
|
|
100
|
+
maintenance: CAST.length + 2 * CREW.length + 1,
|
|
101
|
+
thief: CAST.length + 2 * CREW.length + 2,
|
|
102
|
+
};
|
|
103
|
+
/** The housekeeper look for a seed, pushing a cart or, at work, a vacuum. */
|
|
104
|
+
function crewIndex(seed, cleaning) {
|
|
105
|
+
return (cleaning ? LOOK.housekeeperCleaning : LOOK.housekeeper) + (Math.abs(seed) % CREW.length);
|
|
106
|
+
}
|
|
107
|
+
/** Every outfit color a look can wear, for the palette guard. */
|
|
108
|
+
function outfitColors(look) {
|
|
109
|
+
return [look.top, look.bottom, look.shoe, ...(look.carryColor ? [look.carryColor] : []), ...(look.tie ? [look.tie] : [])];
|
|
110
|
+
}
|
|
111
|
+
const TORSO_W = { slim: 5, average: 6, broad: 7 };
|
|
112
|
+
const LEGS_H = { short: 6, average: 7, tall: 8 };
|
|
113
|
+
/** A figure's full height in pixels above its foot line, for sizing a bake. */
|
|
114
|
+
function figureHeight(look, dims) {
|
|
115
|
+
const legs = dims?.seated ? 0 : (dims?.legs ?? LEGS_H[look.height]);
|
|
116
|
+
const torso = dims?.torso ?? (look.height === "short" ? 8 : 9);
|
|
117
|
+
return legs + torso + 1 + (dims?.head ?? 6) + 2;
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Draw one person with the foot line at `foot` and the left edge near `x`
|
|
121
|
+
* (the back arm and a carried suitcase reach a few pixels left of it).
|
|
122
|
+
*/
|
|
123
|
+
function drawPerson(ctx, x, foot, look, o) {
|
|
124
|
+
const X = Math.round(x);
|
|
125
|
+
const F = Math.round(foot);
|
|
126
|
+
const s = o.scale ?? 1;
|
|
127
|
+
const at = (d) => Math.round(d * s);
|
|
128
|
+
const size = (d) => Math.max(1, Math.round(d * s));
|
|
129
|
+
const px = (c, dx, dy, w = 1, h = 1) => {
|
|
130
|
+
ctx.fillStyle = c;
|
|
131
|
+
if (o.lying)
|
|
132
|
+
ctx.fillRect(X + at(dy), F - at(dx) - size(w), size(h), size(w));
|
|
133
|
+
else
|
|
134
|
+
ctx.fillRect(X + at(dx), F + at(dy), size(w), size(h));
|
|
135
|
+
};
|
|
136
|
+
const lit = o.lit;
|
|
137
|
+
const frame = o.frame ?? 1;
|
|
138
|
+
const pose = o.pose ?? "walk";
|
|
139
|
+
const hi = (c) => (lit ? shade(c, 34) : c);
|
|
140
|
+
const lo = (c) => (lit ? shade(c, -42) : c);
|
|
141
|
+
const W = o.dims?.width ?? TORSO_W[look.build];
|
|
142
|
+
const seated = o.dims?.seated === true;
|
|
143
|
+
const legsH = seated ? 0 : (o.dims?.legs ?? LEGS_H[look.height]);
|
|
144
|
+
const torsoH = o.dims?.torso ?? (look.height === "short" ? 8 : 9);
|
|
145
|
+
const headH = o.dims?.head ?? 6;
|
|
146
|
+
const top = o.mood && o.mood !== "content" ? MOOD_TOP[o.mood] : look.top;
|
|
147
|
+
const ox = 1; // room for the back arm on the left
|
|
148
|
+
// Contact shadow: one hard row when flat, a soft two-row pool when lit.
|
|
149
|
+
if (!o.lying && lit) {
|
|
150
|
+
px("rgba(0,0,0,0.18)", -1, 0, W + 4, 1);
|
|
151
|
+
px("rgba(0,0,0,0.10)", -2, 0, W + 6, 1);
|
|
152
|
+
px("rgba(0,0,0,0.10)", 0, 1, W + 2, 1);
|
|
153
|
+
}
|
|
154
|
+
else if (!o.lying) {
|
|
155
|
+
px("rgba(0,0,0,0.24)", -1, 0, W + 3, 1);
|
|
156
|
+
}
|
|
157
|
+
// Legs: the stride moves the back leg left and the front leg right on frame
|
|
158
|
+
// 0, the other way on frame 2, and together on the passing frames.
|
|
159
|
+
const still = pose === "climb" || pose === "stand" || pose === "watch" || pose === "hips" || pose === "armsUp" || pose === "caught" || pose === "bend";
|
|
160
|
+
const reach = pose === "run" ? 1 : 0;
|
|
161
|
+
const swing = still ? 0 : strideSwing(frame);
|
|
162
|
+
const inset = Math.floor((W - 4) / 2);
|
|
163
|
+
const backLeg = ox + inset - swing * (2 + reach) + (swing < 0 ? 1 : 0);
|
|
164
|
+
// A torso narrower than five (a room's packed figures) keeps a pixel of
|
|
165
|
+
// daylight between the legs by setting the front one under the arm.
|
|
166
|
+
const legGap = W < 5 ? 1 : 0;
|
|
167
|
+
const frontLeg = ox + W - 2 - inset + legGap + swing * (2 + reach);
|
|
168
|
+
const legTop = seated ? -1 : -legsH;
|
|
169
|
+
const legColor = look.skirt ? look.skin : look.bottom;
|
|
170
|
+
if (seated) {
|
|
171
|
+
px(look.bottom, ox, -1, W + 2, 1);
|
|
172
|
+
if (lit)
|
|
173
|
+
px(lo(look.bottom), ox, 0, W + 2, 1);
|
|
174
|
+
}
|
|
175
|
+
else {
|
|
176
|
+
px(lo(shade(legColor, -14)), backLeg, legTop, 2, legsH); // the back leg sits in shadow
|
|
177
|
+
px(legColor, frontLeg, legTop, 2, legsH);
|
|
178
|
+
if (lit)
|
|
179
|
+
px(hi(legColor), frontLeg, legTop, 1, legsH);
|
|
180
|
+
px(look.shoe, backLeg, -1, 3, 1);
|
|
181
|
+
px(look.shoe, frontLeg, -1, 3, 1);
|
|
182
|
+
if (look.skirt && legsH >= 6) {
|
|
183
|
+
px(look.bottom, ox - 1, legTop, W + 2, 3);
|
|
184
|
+
px(look.bottom, ox, legTop + 3, W, 1);
|
|
185
|
+
if (lit) {
|
|
186
|
+
px(hi(look.bottom), ox - 1, legTop, 1, 3);
|
|
187
|
+
px(lo(look.bottom), ox + W, legTop, 1, 3);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
// Torso, with rounded shoulders (the top row stops short of both corners,
|
|
192
|
+
// never cleared, so a figure drawn over other art leaves no holes in it),
|
|
193
|
+
// then the outfit's detail.
|
|
194
|
+
const tt = legTop - torsoH + (pose === "bend" ? 3 : 0);
|
|
195
|
+
px(top, ox + 1, tt, W - 2, 1);
|
|
196
|
+
px(top, ox, tt + 1, W, torsoH - 1);
|
|
197
|
+
if (lit) {
|
|
198
|
+
px(hi(top), ox, tt + 1, 1, torsoH - 1);
|
|
199
|
+
px(lo(top), ox + W - 1, tt + 1, 1, torsoH - 1);
|
|
200
|
+
px(lo(top), ox, tt + torsoH - 1, W, 1);
|
|
201
|
+
px(hi(top), ox + 1, tt, W - 2, 1);
|
|
202
|
+
}
|
|
203
|
+
else {
|
|
204
|
+
px(shade(top, -18), ox, tt + torsoH - 1, W, 1);
|
|
205
|
+
}
|
|
206
|
+
const mid = ox + Math.floor(W / 2);
|
|
207
|
+
if (look.topKind === "suit") {
|
|
208
|
+
px(SHIRT_WHITE, mid - 1, tt, 2, 2);
|
|
209
|
+
px(SHIRT_WHITE, mid, tt + 2, 1, 1);
|
|
210
|
+
px(look.tie ?? "#B03A3A", mid, tt + 1, 1, 4);
|
|
211
|
+
}
|
|
212
|
+
else if (look.topKind === "uniform") {
|
|
213
|
+
px(shade(top, -40), ox, tt + Math.floor(torsoH / 2), W, 1); // belt line
|
|
214
|
+
if (look.hiVis)
|
|
215
|
+
px("#F4D24A", ox, tt + 3, W, 1);
|
|
216
|
+
if (look.badge)
|
|
217
|
+
px(GOLD, ox + 1, tt + 2, 1, 1);
|
|
218
|
+
}
|
|
219
|
+
else if (look.topKind === "tee") {
|
|
220
|
+
px(shade(top, -22), ox + 1, tt, W - 2, 1); // neckline
|
|
221
|
+
}
|
|
222
|
+
// Arms: the back arm on the left, darker; the front arm on the right edge.
|
|
223
|
+
const back = lo(shade(top, -20));
|
|
224
|
+
const front = lit ? lo(top) : shade(top, -10);
|
|
225
|
+
const ax = ox + W;
|
|
226
|
+
const armH = torsoH - 2;
|
|
227
|
+
const armSwing = swing;
|
|
228
|
+
if (pose === "armsUp" || pose === "caught") {
|
|
229
|
+
px(back, ox - 1, tt - 3, 1, 4);
|
|
230
|
+
px(lo(look.skin), ox - 1, tt - 4, 1, 1);
|
|
231
|
+
px(front, ax, tt - 3, 1, 4);
|
|
232
|
+
px(look.skin, ax, tt - 4, 1, 1);
|
|
233
|
+
}
|
|
234
|
+
else if (pose === "watch") {
|
|
235
|
+
px(back, ox - 1, tt + 1, 1, armH - 1);
|
|
236
|
+
px(lo(look.skin), ox - 1, tt + armH, 1, 1);
|
|
237
|
+
px(front, ax, tt + 1, 1, 3);
|
|
238
|
+
px(front, ax - 2, tt + 3, 2, 1);
|
|
239
|
+
px(look.skin, ax - 3, tt + 3, 1, 1);
|
|
240
|
+
px(GOLD, ax - 2, tt + 3, 1, 1); // the watch
|
|
241
|
+
}
|
|
242
|
+
else if (pose === "hips") {
|
|
243
|
+
px(back, ox - 2, tt + 1, 1, 3);
|
|
244
|
+
px(lo(look.skin), ox - 1, tt + 4, 1, 1);
|
|
245
|
+
px(front, ax + 1, tt + 1, 1, 3);
|
|
246
|
+
px(look.skin, ax, tt + 4, 1, 1);
|
|
247
|
+
}
|
|
248
|
+
else if (pose === "climb") {
|
|
249
|
+
const up = frame % 2 === 0;
|
|
250
|
+
px(back, ox - 1, tt - (up ? 3 : 1), 1, 4);
|
|
251
|
+
px(front, ax, tt - (up ? 1 : 3), 1, 4);
|
|
252
|
+
px(look.skin, ox - 1, tt - (up ? 4 : 2), 1, 1);
|
|
253
|
+
px(look.skin, ax, tt - (up ? 2 : 4), 1, 1);
|
|
254
|
+
}
|
|
255
|
+
else if (pose === "push" || pose === "bend") {
|
|
256
|
+
px(back, ox - 1, tt + 1, 1, 3);
|
|
257
|
+
px(front, ax, tt + 1, 1, 3);
|
|
258
|
+
px(front, ax + 1, tt + 3, 2, 1);
|
|
259
|
+
px(look.skin, ax + 3, tt + 3, 1, 1);
|
|
260
|
+
}
|
|
261
|
+
else {
|
|
262
|
+
px(back, ox - 1, tt + 1 + (armSwing < 0 ? 1 : 0), 1, armH - 1);
|
|
263
|
+
px(lo(look.skin), ox - 1, tt + armH + (armSwing < 0 ? 1 : 0), 1, 1);
|
|
264
|
+
px(front, ax, tt + 1 + (armSwing > 0 ? 1 : 0), 1, armH - 1);
|
|
265
|
+
px(look.skin, ax + (armSwing > 0 ? 1 : 0), tt + armH + (armSwing > 0 ? 1 : 0), 1, 1);
|
|
266
|
+
}
|
|
267
|
+
// A cart is drawn only while it is pushed: a housekeeper standing in a line
|
|
268
|
+
// or riding leaves it out of the picture.
|
|
269
|
+
const parked = look.carry === "cart" && pose !== "push";
|
|
270
|
+
if (!o.empty && !parked)
|
|
271
|
+
drawCarry(px, look, o, { ox, ax, tt, hand: tt + armH + 1 + (armSwing > 0 ? 1 : 0), frame });
|
|
272
|
+
// Neck and head: five wide, rounded, facing right, with an eye and a nose.
|
|
273
|
+
const nt = tt - 1;
|
|
274
|
+
px(lo(look.skin), mid - 1, nt, 2, 1);
|
|
275
|
+
const lean = pose === "bend" || pose === "run" ? 1 : 0;
|
|
276
|
+
const hx = ox + Math.floor((W - 5) / 2) + 1 + lean;
|
|
277
|
+
const ht = nt - headH;
|
|
278
|
+
// A rounded head: the top row and the chin stop short of the corners.
|
|
279
|
+
px(look.skin, hx + 1, ht, 3, 1);
|
|
280
|
+
px(look.skin, hx, ht + 1, 5, headH - 2);
|
|
281
|
+
px(look.skin, hx + 1, ht + headH - 1, 4, 1);
|
|
282
|
+
if (lit) {
|
|
283
|
+
px(hi(look.skin), hx + 1, ht + 1, 1, 2);
|
|
284
|
+
px(lo(look.skin), hx + 1, ht + headH - 1, 3, 1);
|
|
285
|
+
px(shade(look.skin, -22), hx + 4, ht + 2, 1, headH - 3);
|
|
286
|
+
}
|
|
287
|
+
const ey = headH >= 6 ? 3 : 2;
|
|
288
|
+
px(EYE, hx + 3, ht + ey, 1, 1);
|
|
289
|
+
px(lo(look.skin), hx + 5, ht + ey, 1, 1);
|
|
290
|
+
drawHair(px, look, hx, ht, lit);
|
|
291
|
+
}
|
|
292
|
+
/** Which way a walk frame throws the legs and arms: forward on the first
|
|
293
|
+
* contact frame, back on the second, together while passing. */
|
|
294
|
+
function strideSwing(frame) {
|
|
295
|
+
if (frame === 0)
|
|
296
|
+
return 1;
|
|
297
|
+
if (frame === 2)
|
|
298
|
+
return -1;
|
|
299
|
+
return 0;
|
|
300
|
+
}
|
|
301
|
+
function drawCarry(px, look, o, at) {
|
|
302
|
+
const { ox, ax, tt, hand } = at;
|
|
303
|
+
const lit = o.lit;
|
|
304
|
+
const pose = o.pose ?? "walk";
|
|
305
|
+
const color = look.carryColor;
|
|
306
|
+
switch (look.carry) {
|
|
307
|
+
case "briefcase":
|
|
308
|
+
px(color ?? "#4A3426", ax, hand, 3, 3);
|
|
309
|
+
if (lit)
|
|
310
|
+
px(shade(color ?? "#4A3426", 25), ax, hand, 3, 1);
|
|
311
|
+
return;
|
|
312
|
+
case "bag":
|
|
313
|
+
px(color ?? "#D84A7A", ax, hand, 3, 4);
|
|
314
|
+
px("#F4F0E8", ax + 1, hand - 1, 1, 1);
|
|
315
|
+
return;
|
|
316
|
+
case "suitcase":
|
|
317
|
+
px(color ?? "#3F6E8C", ox - 4, -9, 3, 8);
|
|
318
|
+
px(INK, ox - 4, -1, 1, 1);
|
|
319
|
+
px(INK, ox - 2, -1, 1, 1);
|
|
320
|
+
px("#8A8A8A", ox - 3, -11, 1, 2);
|
|
321
|
+
return;
|
|
322
|
+
case "coffee":
|
|
323
|
+
px("#F4F0E8", ax, hand - 1, 2, 2);
|
|
324
|
+
px("#6E4A30", ax, hand - 1, 2, 1);
|
|
325
|
+
return;
|
|
326
|
+
case "cart": {
|
|
327
|
+
if (pose === "bend" || pose === "stand")
|
|
328
|
+
return; // parked while making a bed
|
|
329
|
+
const cx = ax + 4;
|
|
330
|
+
px("#8A8E96", cx, -2, 7, 1);
|
|
331
|
+
px("#5A6E8C", cx, -8, 7, 6);
|
|
332
|
+
px("#E8E4DA", cx + 1, -7, 2, 2);
|
|
333
|
+
px("#4FA0C8", cx + 4, -7, 2, 3);
|
|
334
|
+
px(INK, cx, -1, 1, 1);
|
|
335
|
+
px(INK, cx + 6, -1, 1, 1);
|
|
336
|
+
px("#8A8E96", ax + 2, tt + 3, 2, 1);
|
|
337
|
+
if (lit)
|
|
338
|
+
px(shade("#5A6E8C", 30), cx, -8, 7, 1);
|
|
339
|
+
return;
|
|
340
|
+
}
|
|
341
|
+
case "vacuum": {
|
|
342
|
+
const vx = ax + 2;
|
|
343
|
+
px("#3A3E48", vx, tt + 3, 1, 1);
|
|
344
|
+
px("#3A3E48", vx + 1, tt + 4, 1, 3);
|
|
345
|
+
px("#3A3E48", vx + 2, tt + 7, 1, -tt - 9);
|
|
346
|
+
px("#B03A6A", vx + 1, -8, 3, 5);
|
|
347
|
+
px(INK, vx + 1, -3, 5, 2);
|
|
348
|
+
if (at.frame % 2 === 0) {
|
|
349
|
+
px("rgba(200,190,170,0.6)", vx + 6, -2, 1, 1); // a puff of dust
|
|
350
|
+
px("rgba(200,190,170,0.6)", vx + 7, -3, 1, 1);
|
|
351
|
+
}
|
|
352
|
+
return;
|
|
353
|
+
}
|
|
354
|
+
case "flashlight":
|
|
355
|
+
px("#3A3E48", ax, hand - 1, 2, 1);
|
|
356
|
+
return;
|
|
357
|
+
case "sack":
|
|
358
|
+
px("#8A6A3A", ox - 4, tt - 1, 4, 6);
|
|
359
|
+
px("#6E5230", ox - 4, tt + 4, 4, 1);
|
|
360
|
+
px("#E8C77A", ox - 3, tt, 1, 1);
|
|
361
|
+
return;
|
|
362
|
+
case "none":
|
|
363
|
+
return;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
function drawHair(px, look, hx, ht, lit) {
|
|
367
|
+
const H = look.hair;
|
|
368
|
+
switch (look.hairStyle) {
|
|
369
|
+
case "short":
|
|
370
|
+
px(H, hx + 1, ht, 3, 2);
|
|
371
|
+
px(H, hx + 1, ht - 1, 3, 1);
|
|
372
|
+
px(H, hx, ht + 1, 1, 3);
|
|
373
|
+
break;
|
|
374
|
+
case "crop":
|
|
375
|
+
px(H, hx + 1, ht, 3, 1);
|
|
376
|
+
px(H, hx, ht + 1, 4, 1);
|
|
377
|
+
px(H, hx, ht + 2, 1, 1);
|
|
378
|
+
break;
|
|
379
|
+
case "long":
|
|
380
|
+
px(H, hx, ht - 1, 4, 1);
|
|
381
|
+
px(H, hx - 1, ht, 5, 2);
|
|
382
|
+
px(H, hx - 1, ht + 2, 2, 5);
|
|
383
|
+
px(H, hx + 4, ht + 1, 1, 1);
|
|
384
|
+
break;
|
|
385
|
+
case "bob":
|
|
386
|
+
px(H, hx, ht - 1, 4, 1);
|
|
387
|
+
px(H, hx - 1, ht, 6, 2);
|
|
388
|
+
px(H, hx - 1, ht + 2, 2, 3);
|
|
389
|
+
break;
|
|
390
|
+
case "bun":
|
|
391
|
+
px(H, hx - 1, ht - 2, 2, 2);
|
|
392
|
+
px(H, hx, ht, 5, 1);
|
|
393
|
+
px(H, hx, ht + 1, 2, 1);
|
|
394
|
+
px(H, hx - 1, ht + 1, 1, 3);
|
|
395
|
+
break;
|
|
396
|
+
case "curly":
|
|
397
|
+
px(H, hx - 1, ht - 1, 6, 3);
|
|
398
|
+
px(H, hx - 1, ht + 2, 2, 2);
|
|
399
|
+
px(H, hx + 1, ht - 2, 1, 1);
|
|
400
|
+
px(H, hx + 3, ht - 2, 1, 1);
|
|
401
|
+
break;
|
|
402
|
+
case "bald":
|
|
403
|
+
px(H, hx, ht + 2, 1, 2);
|
|
404
|
+
return;
|
|
405
|
+
case "cap":
|
|
406
|
+
px(H, hx, ht - 1, 5, 2);
|
|
407
|
+
px(H, hx + 4, ht + 1, 2, 1);
|
|
408
|
+
break;
|
|
409
|
+
case "guardCap":
|
|
410
|
+
px("#1E2638", hx - 1, ht, 7, 1);
|
|
411
|
+
px("#2E3A5A", hx, ht - 2, 5, 2);
|
|
412
|
+
px(GOLD, hx + 2, ht - 1, 1, 1);
|
|
413
|
+
px(H, hx, ht + 1, 1, 2);
|
|
414
|
+
break;
|
|
415
|
+
case "beanie":
|
|
416
|
+
px("#1E1A1A", hx - 1, ht - 1, 6, 3);
|
|
417
|
+
px("#1E1A1A", hx, ht - 2, 4, 1);
|
|
418
|
+
px("#1E1A1A", hx, ht + 2, 6, 1); // the mask band across the eyes
|
|
419
|
+
px("#E8E4DA", hx + 3, ht + 2, 1, 1);
|
|
420
|
+
break;
|
|
421
|
+
case "hardhat":
|
|
422
|
+
px("#F4D24A", hx - 1, ht, 7, 1);
|
|
423
|
+
px("#F4D24A", hx, ht - 1, 5, 1);
|
|
424
|
+
return;
|
|
425
|
+
}
|
|
426
|
+
if (lit)
|
|
427
|
+
px(shade(H, 30), hx + 1, ht - 1, 1, 1);
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
export { CAST, HAIR_COLORS, LOOK, LOOKS, MOOD_TOP, SKIN_TONES, STAFF_LOOK, WALK_FRAMES, castIndex, crewIndex, drawPerson, figureHeight, outfitColors, walkFrame };
|
|
431
|
+
//# sourceMappingURL=people.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"people.js","sources":["../../../src/render/pixelSprites/people.ts"],"sourcesContent":["\n/**\n * The cast of people the web draws (#2097): a dozen varied builds of office\n * workers, residents, hotel guests and shoppers, plus the staff and the thief,\n * each with a skin tone, a hair color and style, an outfit and sometimes\n * something in hand. A figure faces right in a three-quarter view; a caller\n * mirrors it for one walking left.\n *\n * Two looks share the drawing:\n * - flat (Classic, and every figure baked into a room): solid fills, as the\n * 1994 game drew its people;\n * - lit (Modern's moving people): lit from the upper left, with a highlight\n * edge, a shadow edge, a darker back leg and a soft contact shadow.\n *\n * The mood colors stay on the top: amber for impatient and the reserved\n * stress red for fed up, so a waiting crowd still reads at a glance. No outfit\n * uses either color (`people.test.ts` keeps them apart).\n *\n * Everything draws at integer pixels with `fillRect`, like `personFigure`.\n */\n\nexport type HairStyle = \"short\" | \"crop\" | \"long\" | \"bob\" | \"bun\" | \"curly\" | \"bald\" | \"cap\" | \"guardCap\" | \"beanie\" | \"hardhat\";\nexport type TopKind = \"suit\" | \"blouse\" | \"tee\" | \"sweater\" | \"uniform\";\nexport type Carry = \"none\" | \"briefcase\" | \"bag\" | \"suitcase\" | \"coffee\" | \"cart\" | \"flashlight\" | \"vacuum\" | \"sack\";\nexport type Build = \"slim\" | \"average\" | \"broad\";\nexport type Height = \"short\" | \"average\" | \"tall\";\n\n/** One person's look. */\nexport interface Look {\n readonly skin: string;\n readonly hair: string;\n readonly hairStyle: HairStyle;\n readonly top: string;\n readonly topKind: TopKind;\n readonly bottom: string;\n readonly skirt?: boolean;\n readonly shoe: string;\n readonly build: Build;\n readonly height: Height;\n readonly carry: Carry;\n readonly carryColor?: string;\n readonly tie?: string;\n readonly hiVis?: boolean;\n readonly badge?: boolean;\n}\n\n/** What the arms (and sometimes the whole body) are doing. */\nexport type Pose =\n | \"walk\" // arms swing with the stride\n | \"stand\" // arms at the sides\n | \"watch\" // checks the time while waiting\n | \"hips\" // hands on hips: impatient\n | \"armsUp\" // both arms thrown up: fed up\n | \"climb\" // on the emergency stairs\n | \"push\" // pushing a cart or a vacuum\n | \"bend\" // leaning over a bed\n | \"run\" // a longer stride (the thief)\n | \"caught\"; // hands up, caught\n\nexport type Mood = \"content\" | \"impatient\" | \"fedUp\";\n\n/** The two reserved mood colors (the same as `moodTint` in common.ts). */\nexport const MOOD_TOP: Record<Exclude<Mood, \"content\">, string> = { impatient: \"#E8862A\", fedUp: \"#C24A3A\" };\n\nexport interface DrawOptions {\n readonly lit: boolean;\n /** Walk frame, 0 to 3: 0 and 2 are the two contact frames, 1 and 3 the\n * passing ones. A flat walk uses only 0 and 2. */\n readonly frame?: number;\n readonly pose?: Pose;\n readonly mood?: Mood;\n /** Leave the carried thing out (inside a room, or in a car). */\n readonly empty?: boolean;\n /** Override the leg, torso and head heights, to fit a room's builds. */\n readonly dims?: Dims;\n /** Size, for a figure drawn on the overlay at the camera's zoom; every rect still lands on whole pixels. */\n readonly scale?: number;\n /** A sleeper on their back, head left, face up: upright cell (col, row) lands at (row, -col - 1), no shadow. */\n readonly lying?: boolean;\n}\n\nexport interface Dims {\n readonly legs: number;\n readonly torso: number;\n readonly head: number;\n readonly seated?: boolean;\n /** The torso's width, for a room's tightly packed figures; the arms add a\n * pixel on each side. */\n readonly width?: number;\n}\n\nexport const SKIN_TONES = [\"#F1D3B3\", \"#E8C9A0\", \"#D2A57A\", \"#B07F55\", \"#8A5A3A\", \"#5E3B26\"] as const;\nexport const HAIR_COLORS = { black: \"#1E1A1A\", brown: \"#5A3A26\", blonde: \"#D8B860\", red: \"#A0482A\", gray: \"#B8B4B0\", auburn: \"#7A3A2A\" } as const;\n\nconst EYE = \"#2A2228\";\n/** The ink the shared sprites use for wheels and suitcase feet (`INK`). */\nconst INK = \"#2A2E38\";\n\n/** A color `amt` lighter (or darker, when negative) on every channel, as\n * #RRGGBB so the lit look can shade an already-shaded color. A color that is\n * not #RRGGBB comes back unchanged. */\nfunction shade(hex: string, amt: number): string {\n if (!/^#[0-9a-fA-F]{6}$/.test(hex)) return hex;\n const n = parseInt(hex.slice(1), 16);\n const c = (v: number) => Math.max(0, Math.min(255, v + amt)).toString(16).padStart(2, \"0\");\n return `#${c((n >> 16) & 255)}${c((n >> 8) & 255)}${c(n & 255)}`;\n}\nconst SHIRT_WHITE = \"#EDEBE6\";\nconst GOLD = \"#C9A24B\";\n\n/** How many walk frames each look has: the flat look keeps 1994's two. */\nexport const WALK_FRAMES = { flat: 2, lit: 4 } as const;\n/** The walk frames a flat figure steps through (the two contact frames). */\nconst FLAT_FRAMES = [0, 2] as const;\n\n/** The frame a look shows at step `step` of its walk. */\nexport function walkFrame(lit: boolean, step: number): number {\n const n = lit ? WALK_FRAMES.lit : WALK_FRAMES.flat;\n const i = ((step % n) + n) % n;\n return lit ? i : FLAT_FRAMES[i];\n}\n\n/** The civilian cast. Index 0 to 9 are drawn for tenants and visitors. */\nexport const CAST: readonly Look[] = [\n { skin: SKIN_TONES[1], hair: HAIR_COLORS.brown, hairStyle: \"short\", top: \"#3E4654\", topKind: \"suit\", bottom: \"#3E4654\", shoe: \"#1E1A1A\", build: \"average\", height: \"tall\", carry: \"briefcase\", tie: \"#B03A3A\" },\n { skin: SKIN_TONES[3], hair: HAIR_COLORS.black, hairStyle: \"bun\", top: \"#E8E2D6\", topKind: \"blouse\", bottom: \"#5A6E8C\", skirt: true, shoe: \"#2A2E38\", build: \"slim\", height: \"average\", carry: \"coffee\" },\n { skin: SKIN_TONES[5], hair: HAIR_COLORS.black, hairStyle: \"crop\", top: \"#5A6E8C\", topKind: \"suit\", bottom: \"#3E4654\", shoe: \"#1E1A1A\", build: \"broad\", height: \"tall\", carry: \"none\", tie: \"#3F6E8C\" },\n { skin: SKIN_TONES[0], hair: HAIR_COLORS.red, hairStyle: \"long\", top: \"#3F8C84\", topKind: \"tee\", bottom: \"#3E5A8A\", shoe: \"#E8E4DA\", build: \"slim\", height: \"average\", carry: \"none\" },\n { skin: SKIN_TONES[2], hair: HAIR_COLORS.gray, hairStyle: \"bald\", top: \"#6E5A4A\", topKind: \"sweater\", bottom: \"#5A5048\", shoe: \"#3A2E28\", build: \"broad\", height: \"short\", carry: \"none\" },\n { skin: SKIN_TONES[4], hair: HAIR_COLORS.black, hairStyle: \"curly\", top: \"#D8B05A\", topKind: \"tee\", bottom: \"#3E5A8A\", shoe: \"#E8E4DA\", build: \"average\", height: \"average\", carry: \"bag\", carryColor: \"#E8E4DA\" },\n { skin: SKIN_TONES[1], hair: HAIR_COLORS.blonde, hairStyle: \"bob\", top: \"#9A5FB0\", topKind: \"tee\", bottom: \"#3E4654\", shoe: \"#2A2E38\", build: \"slim\", height: \"average\", carry: \"suitcase\" },\n { skin: SKIN_TONES[3], hair: HAIR_COLORS.brown, hairStyle: \"cap\", top: \"#4FA0C8\", topKind: \"tee\", bottom: \"#6E5A4A\", shoe: \"#E8E4DA\", build: \"average\", height: \"tall\", carry: \"suitcase\", carryColor: \"#6E4A30\" },\n { skin: SKIN_TONES[2], hair: HAIR_COLORS.auburn, hairStyle: \"long\", top: \"#5AA85A\", topKind: \"blouse\", bottom: \"#3E4654\", skirt: true, shoe: \"#3A2E28\", build: \"slim\", height: \"short\", carry: \"bag\", carryColor: \"#3F8C84\" },\n { skin: SKIN_TONES[5], hair: HAIR_COLORS.black, hairStyle: \"short\", top: \"#C8C0B0\", topKind: \"tee\", bottom: \"#2A2E38\", shoe: \"#E8E4DA\", build: \"average\", height: \"average\", carry: \"coffee\" },\n];\n\n/** The staff and the thief. */\nexport const STAFF_LOOK = {\n housekeeper: { skin: SKIN_TONES[4], hair: HAIR_COLORS.black, hairStyle: \"bun\", top: \"#E8E4DA\", topKind: \"uniform\", bottom: \"#5A6E8C\", shoe: \"#2A2E38\", build: \"average\", height: \"average\", carry: \"cart\" },\n security: { skin: SKIN_TONES[2], hair: HAIR_COLORS.brown, hairStyle: \"guardCap\", top: \"#2E3A5A\", topKind: \"uniform\", badge: true, bottom: \"#1E2638\", shoe: \"#1E1A1A\", build: \"broad\", height: \"tall\", carry: \"flashlight\" },\n maintenance: { skin: SKIN_TONES[2], hair: HAIR_COLORS.brown, hairStyle: \"hardhat\", top: \"#3F5A7A\", topKind: \"uniform\", hiVis: true, bottom: \"#3E5A8A\", shoe: \"#3A2E28\", build: \"broad\", height: \"tall\", carry: \"none\" },\n thief: { skin: SKIN_TONES[1], hair: \"#1E1A1A\", hairStyle: \"beanie\", top: \"#3A3448\", topKind: \"tee\", bottom: \"#2A2E38\", shoe: \"#E8E4DA\", build: \"slim\", height: \"average\", carry: \"sack\" },\n} as const satisfies Record<string, Look>;\n\n/** The cast member for a seed, as an index into `LOOKS`. */\nexport function castIndex(seed: number): number {\n return Math.abs(seed) % CAST.length;\n}\n\n/** The housekeeping crew: one uniform, different people, so a crew lined up\n * for the elevator reads as a crew rather than one figure stamped out. */\nconst CREW_FACES: readonly Pick<Look, \"skin\" | \"hair\" | \"hairStyle\" | \"build\" | \"height\">[] = [\n { skin: SKIN_TONES[4], hair: HAIR_COLORS.black, hairStyle: \"bun\", build: \"average\", height: \"average\" },\n { skin: SKIN_TONES[1], hair: HAIR_COLORS.brown, hairStyle: \"short\", build: \"broad\", height: \"tall\" },\n { skin: SKIN_TONES[2], hair: HAIR_COLORS.black, hairStyle: \"long\", build: \"slim\", height: \"short\" },\n { skin: SKIN_TONES[5], hair: HAIR_COLORS.black, hairStyle: \"crop\", build: \"average\", height: \"tall\" },\n { skin: SKIN_TONES[0], hair: HAIR_COLORS.blonde, hairStyle: \"bob\", build: \"slim\", height: \"average\" },\n { skin: SKIN_TONES[3], hair: HAIR_COLORS.gray, hairStyle: \"curly\", build: \"broad\", height: \"short\" },\n];\nconst CREW = CREW_FACES.map((face) => ({ ...STAFF_LOOK.housekeeper, ...face }));\n\n/** Every look a moving figure can wear: the civilian cast first, then the\n * housekeeping crew with carts, the same crew with vacuums, and the other\n * staff, so a figure names its look by one index. */\nexport const LOOKS: readonly Look[] = [\n ...CAST,\n ...CREW,\n ...CREW.map((h) => ({ ...h, carry: \"vacuum\" as const })),\n STAFF_LOOK.security,\n STAFF_LOOK.maintenance,\n STAFF_LOOK.thief,\n];\n\n/** The staff looks' indexes into `LOOKS` (a housekeeper's first crew face). */\nexport const LOOK = {\n housekeeper: CAST.length,\n housekeeperCleaning: CAST.length + CREW.length,\n security: CAST.length + 2 * CREW.length,\n maintenance: CAST.length + 2 * CREW.length + 1,\n thief: CAST.length + 2 * CREW.length + 2,\n} as const;\n\n/** The housekeeper look for a seed, pushing a cart or, at work, a vacuum. */\nexport function crewIndex(seed: number, cleaning: boolean): number {\n return (cleaning ? LOOK.housekeeperCleaning : LOOK.housekeeper) + (Math.abs(seed) % CREW.length);\n}\n\n/** Every outfit color a look can wear, for the palette guard. */\nexport function outfitColors(look: Look): string[] {\n return [look.top, look.bottom, look.shoe, ...(look.carryColor ? [look.carryColor] : []), ...(look.tie ? [look.tie] : [])];\n}\n\nconst TORSO_W: Record<Build, number> = { slim: 5, average: 6, broad: 7 };\nconst LEGS_H: Record<Height, number> = { short: 6, average: 7, tall: 8 };\n\n/** A figure's full height in pixels above its foot line, for sizing a bake. */\nexport function figureHeight(look: Look, dims?: Dims): number {\n const legs = dims?.seated ? 0 : (dims?.legs ?? LEGS_H[look.height]);\n const torso = dims?.torso ?? (look.height === \"short\" ? 8 : 9);\n return legs + torso + 1 + (dims?.head ?? 6) + 2;\n}\n\n/**\n * Draw one person with the foot line at `foot` and the left edge near `x`\n * (the back arm and a carried suitcase reach a few pixels left of it).\n */\nexport function drawPerson(ctx: CanvasRenderingContext2D, x: number, foot: number, look: Look, o: DrawOptions): void {\n const X = Math.round(x);\n const F = Math.round(foot);\n const s = o.scale ?? 1;\n const at = (d: number) => Math.round(d * s);\n const size = (d: number) => Math.max(1, Math.round(d * s));\n const px = (c: string, dx: number, dy: number, w = 1, h = 1) => {\n ctx.fillStyle = c;\n if (o.lying) ctx.fillRect(X + at(dy), F - at(dx) - size(w), size(h), size(w));\n else ctx.fillRect(X + at(dx), F + at(dy), size(w), size(h));\n };\n const lit = o.lit;\n const frame = o.frame ?? 1;\n const pose = o.pose ?? \"walk\";\n const hi = (c: string) => (lit ? shade(c, 34) : c);\n const lo = (c: string) => (lit ? shade(c, -42) : c);\n const W = o.dims?.width ?? TORSO_W[look.build];\n const seated = o.dims?.seated === true;\n const legsH = seated ? 0 : (o.dims?.legs ?? LEGS_H[look.height]);\n const torsoH = o.dims?.torso ?? (look.height === \"short\" ? 8 : 9);\n const headH = o.dims?.head ?? 6;\n const top = o.mood && o.mood !== \"content\" ? MOOD_TOP[o.mood] : look.top;\n const ox = 1; // room for the back arm on the left\n\n // Contact shadow: one hard row when flat, a soft two-row pool when lit.\n if (!o.lying && lit) {\n px(\"rgba(0,0,0,0.18)\", -1, 0, W + 4, 1);\n px(\"rgba(0,0,0,0.10)\", -2, 0, W + 6, 1);\n px(\"rgba(0,0,0,0.10)\", 0, 1, W + 2, 1);\n } else if (!o.lying) {\n px(\"rgba(0,0,0,0.24)\", -1, 0, W + 3, 1);\n }\n\n // Legs: the stride moves the back leg left and the front leg right on frame\n // 0, the other way on frame 2, and together on the passing frames.\n const still = pose === \"climb\" || pose === \"stand\" || pose === \"watch\" || pose === \"hips\" || pose === \"armsUp\" || pose === \"caught\" || pose === \"bend\";\n const reach = pose === \"run\" ? 1 : 0;\n const swing = still ? 0 : strideSwing(frame);\n const inset = Math.floor((W - 4) / 2);\n const backLeg = ox + inset - swing * (2 + reach) + (swing < 0 ? 1 : 0);\n // A torso narrower than five (a room's packed figures) keeps a pixel of\n // daylight between the legs by setting the front one under the arm.\n const legGap = W < 5 ? 1 : 0;\n const frontLeg = ox + W - 2 - inset + legGap + swing * (2 + reach);\n const legTop = seated ? -1 : -legsH;\n const legColor = look.skirt ? look.skin : look.bottom;\n if (seated) {\n px(look.bottom, ox, -1, W + 2, 1);\n if (lit) px(lo(look.bottom), ox, 0, W + 2, 1);\n } else {\n px(lo(shade(legColor, -14)), backLeg, legTop, 2, legsH); // the back leg sits in shadow\n px(legColor, frontLeg, legTop, 2, legsH);\n if (lit) px(hi(legColor), frontLeg, legTop, 1, legsH);\n px(look.shoe, backLeg, -1, 3, 1);\n px(look.shoe, frontLeg, -1, 3, 1);\n if (look.skirt && legsH >= 6) {\n px(look.bottom, ox - 1, legTop, W + 2, 3);\n px(look.bottom, ox, legTop + 3, W, 1);\n if (lit) {\n px(hi(look.bottom), ox - 1, legTop, 1, 3);\n px(lo(look.bottom), ox + W, legTop, 1, 3);\n }\n }\n }\n\n // Torso, with rounded shoulders (the top row stops short of both corners,\n // never cleared, so a figure drawn over other art leaves no holes in it),\n // then the outfit's detail.\n const tt = legTop - torsoH + (pose === \"bend\" ? 3 : 0);\n px(top, ox + 1, tt, W - 2, 1);\n px(top, ox, tt + 1, W, torsoH - 1);\n if (lit) {\n px(hi(top), ox, tt + 1, 1, torsoH - 1);\n px(lo(top), ox + W - 1, tt + 1, 1, torsoH - 1);\n px(lo(top), ox, tt + torsoH - 1, W, 1);\n px(hi(top), ox + 1, tt, W - 2, 1);\n } else {\n px(shade(top, -18), ox, tt + torsoH - 1, W, 1);\n }\n const mid = ox + Math.floor(W / 2);\n if (look.topKind === \"suit\") {\n px(SHIRT_WHITE, mid - 1, tt, 2, 2);\n px(SHIRT_WHITE, mid, tt + 2, 1, 1);\n px(look.tie ?? \"#B03A3A\", mid, tt + 1, 1, 4);\n } else if (look.topKind === \"uniform\") {\n px(shade(top, -40), ox, tt + Math.floor(torsoH / 2), W, 1); // belt line\n if (look.hiVis) px(\"#F4D24A\", ox, tt + 3, W, 1);\n if (look.badge) px(GOLD, ox + 1, tt + 2, 1, 1);\n } else if (look.topKind === \"tee\") {\n px(shade(top, -22), ox + 1, tt, W - 2, 1); // neckline\n }\n\n // Arms: the back arm on the left, darker; the front arm on the right edge.\n const back = lo(shade(top, -20));\n const front = lit ? lo(top) : shade(top, -10);\n const ax = ox + W;\n const armH = torsoH - 2;\n const armSwing = swing;\n if (pose === \"armsUp\" || pose === \"caught\") {\n px(back, ox - 1, tt - 3, 1, 4);\n px(lo(look.skin), ox - 1, tt - 4, 1, 1);\n px(front, ax, tt - 3, 1, 4);\n px(look.skin, ax, tt - 4, 1, 1);\n } else if (pose === \"watch\") {\n px(back, ox - 1, tt + 1, 1, armH - 1);\n px(lo(look.skin), ox - 1, tt + armH, 1, 1);\n px(front, ax, tt + 1, 1, 3);\n px(front, ax - 2, tt + 3, 2, 1);\n px(look.skin, ax - 3, tt + 3, 1, 1);\n px(GOLD, ax - 2, tt + 3, 1, 1); // the watch\n } else if (pose === \"hips\") {\n px(back, ox - 2, tt + 1, 1, 3);\n px(lo(look.skin), ox - 1, tt + 4, 1, 1);\n px(front, ax + 1, tt + 1, 1, 3);\n px(look.skin, ax, tt + 4, 1, 1);\n } else if (pose === \"climb\") {\n const up = frame % 2 === 0;\n px(back, ox - 1, tt - (up ? 3 : 1), 1, 4);\n px(front, ax, tt - (up ? 1 : 3), 1, 4);\n px(look.skin, ox - 1, tt - (up ? 4 : 2), 1, 1);\n px(look.skin, ax, tt - (up ? 2 : 4), 1, 1);\n } else if (pose === \"push\" || pose === \"bend\") {\n px(back, ox - 1, tt + 1, 1, 3);\n px(front, ax, tt + 1, 1, 3);\n px(front, ax + 1, tt + 3, 2, 1);\n px(look.skin, ax + 3, tt + 3, 1, 1);\n } else {\n px(back, ox - 1, tt + 1 + (armSwing < 0 ? 1 : 0), 1, armH - 1);\n px(lo(look.skin), ox - 1, tt + armH + (armSwing < 0 ? 1 : 0), 1, 1);\n px(front, ax, tt + 1 + (armSwing > 0 ? 1 : 0), 1, armH - 1);\n px(look.skin, ax + (armSwing > 0 ? 1 : 0), tt + armH + (armSwing > 0 ? 1 : 0), 1, 1);\n }\n\n // A cart is drawn only while it is pushed: a housekeeper standing in a line\n // or riding leaves it out of the picture.\n const parked = look.carry === \"cart\" && pose !== \"push\";\n if (!o.empty && !parked) drawCarry(px, look, o, { ox, ax, tt, hand: tt + armH + 1 + (armSwing > 0 ? 1 : 0), frame });\n\n // Neck and head: five wide, rounded, facing right, with an eye and a nose.\n const nt = tt - 1;\n px(lo(look.skin), mid - 1, nt, 2, 1);\n const lean = pose === \"bend\" || pose === \"run\" ? 1 : 0;\n const hx = ox + Math.floor((W - 5) / 2) + 1 + lean;\n const ht = nt - headH;\n // A rounded head: the top row and the chin stop short of the corners.\n px(look.skin, hx + 1, ht, 3, 1);\n px(look.skin, hx, ht + 1, 5, headH - 2);\n px(look.skin, hx + 1, ht + headH - 1, 4, 1);\n if (lit) {\n px(hi(look.skin), hx + 1, ht + 1, 1, 2);\n px(lo(look.skin), hx + 1, ht + headH - 1, 3, 1);\n px(shade(look.skin, -22), hx + 4, ht + 2, 1, headH - 3);\n }\n const ey = headH >= 6 ? 3 : 2;\n px(EYE, hx + 3, ht + ey, 1, 1);\n px(lo(look.skin), hx + 5, ht + ey, 1, 1);\n drawHair(px, look, hx, ht, lit);\n}\n\n/** Which way a walk frame throws the legs and arms: forward on the first\n * contact frame, back on the second, together while passing. */\nfunction strideSwing(frame: number): number {\n if (frame === 0) return 1;\n if (frame === 2) return -1;\n return 0;\n}\n\ntype Px = (c: string, dx: number, dy: number, w?: number, h?: number) => void;\n\nfunction drawCarry(px: Px, look: Look, o: DrawOptions, at: { ox: number; ax: number; tt: number; hand: number; frame: number }): void {\n const { ox, ax, tt, hand } = at;\n const lit = o.lit;\n const pose = o.pose ?? \"walk\";\n const color = look.carryColor;\n switch (look.carry) {\n case \"briefcase\":\n px(color ?? \"#4A3426\", ax, hand, 3, 3);\n if (lit) px(shade(color ?? \"#4A3426\", 25), ax, hand, 3, 1);\n return;\n case \"bag\":\n px(color ?? \"#D84A7A\", ax, hand, 3, 4);\n px(\"#F4F0E8\", ax + 1, hand - 1, 1, 1);\n return;\n case \"suitcase\":\n px(color ?? \"#3F6E8C\", ox - 4, -9, 3, 8);\n px(INK, ox - 4, -1, 1, 1);\n px(INK, ox - 2, -1, 1, 1);\n px(\"#8A8A8A\", ox - 3, -11, 1, 2);\n return;\n case \"coffee\":\n px(\"#F4F0E8\", ax, hand - 1, 2, 2);\n px(\"#6E4A30\", ax, hand - 1, 2, 1);\n return;\n case \"cart\": {\n if (pose === \"bend\" || pose === \"stand\") return; // parked while making a bed\n const cx = ax + 4;\n px(\"#8A8E96\", cx, -2, 7, 1);\n px(\"#5A6E8C\", cx, -8, 7, 6);\n px(\"#E8E4DA\", cx + 1, -7, 2, 2);\n px(\"#4FA0C8\", cx + 4, -7, 2, 3);\n px(INK, cx, -1, 1, 1);\n px(INK, cx + 6, -1, 1, 1);\n px(\"#8A8E96\", ax + 2, tt + 3, 2, 1);\n if (lit) px(shade(\"#5A6E8C\", 30), cx, -8, 7, 1);\n return;\n }\n case \"vacuum\": {\n const vx = ax + 2;\n px(\"#3A3E48\", vx, tt + 3, 1, 1);\n px(\"#3A3E48\", vx + 1, tt + 4, 1, 3);\n px(\"#3A3E48\", vx + 2, tt + 7, 1, -tt - 9);\n px(\"#B03A6A\", vx + 1, -8, 3, 5);\n px(INK, vx + 1, -3, 5, 2);\n if (at.frame % 2 === 0) {\n px(\"rgba(200,190,170,0.6)\", vx + 6, -2, 1, 1); // a puff of dust\n px(\"rgba(200,190,170,0.6)\", vx + 7, -3, 1, 1);\n }\n return;\n }\n case \"flashlight\":\n px(\"#3A3E48\", ax, hand - 1, 2, 1);\n return;\n case \"sack\":\n px(\"#8A6A3A\", ox - 4, tt - 1, 4, 6);\n px(\"#6E5230\", ox - 4, tt + 4, 4, 1);\n px(\"#E8C77A\", ox - 3, tt, 1, 1);\n return;\n case \"none\":\n return;\n }\n}\n\nfunction drawHair(px: Px, look: Look, hx: number, ht: number, lit: boolean): void {\n const H = look.hair;\n switch (look.hairStyle) {\n case \"short\":\n px(H, hx + 1, ht, 3, 2);\n px(H, hx + 1, ht - 1, 3, 1);\n px(H, hx, ht + 1, 1, 3);\n break;\n case \"crop\":\n px(H, hx + 1, ht, 3, 1);\n px(H, hx, ht + 1, 4, 1);\n px(H, hx, ht + 2, 1, 1);\n break;\n case \"long\":\n px(H, hx, ht - 1, 4, 1);\n px(H, hx - 1, ht, 5, 2);\n px(H, hx - 1, ht + 2, 2, 5);\n px(H, hx + 4, ht + 1, 1, 1);\n break;\n case \"bob\":\n px(H, hx, ht - 1, 4, 1);\n px(H, hx - 1, ht, 6, 2);\n px(H, hx - 1, ht + 2, 2, 3);\n break;\n case \"bun\":\n px(H, hx - 1, ht - 2, 2, 2);\n px(H, hx, ht, 5, 1);\n px(H, hx, ht + 1, 2, 1);\n px(H, hx - 1, ht + 1, 1, 3);\n break;\n case \"curly\":\n px(H, hx - 1, ht - 1, 6, 3);\n px(H, hx - 1, ht + 2, 2, 2);\n px(H, hx + 1, ht - 2, 1, 1);\n px(H, hx + 3, ht - 2, 1, 1);\n break;\n case \"bald\":\n px(H, hx, ht + 2, 1, 2);\n return;\n case \"cap\":\n px(H, hx, ht - 1, 5, 2);\n px(H, hx + 4, ht + 1, 2, 1);\n break;\n case \"guardCap\":\n px(\"#1E2638\", hx - 1, ht, 7, 1);\n px(\"#2E3A5A\", hx, ht - 2, 5, 2);\n px(GOLD, hx + 2, ht - 1, 1, 1);\n px(H, hx, ht + 1, 1, 2);\n break;\n case \"beanie\":\n px(\"#1E1A1A\", hx - 1, ht - 1, 6, 3);\n px(\"#1E1A1A\", hx, ht - 2, 4, 1);\n px(\"#1E1A1A\", hx, ht + 2, 6, 1); // the mask band across the eyes\n px(\"#E8E4DA\", hx + 3, ht + 2, 1, 1);\n break;\n case \"hardhat\":\n px(\"#F4D24A\", hx - 1, ht, 7, 1);\n px(\"#F4D24A\", hx, ht - 1, 5, 1);\n return;\n }\n if (lit) px(shade(H, 30), hx + 1, ht - 1, 1, 1);\n}\n"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;;;AAkBG;AA0CH;AACO,MAAM,QAAQ,GAA6C,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS;AA6BnG,MAAM,UAAU,GAAG,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS;AACpF,MAAM,WAAW,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS;AAEtI,MAAM,GAAG,GAAG,SAAS;AACrB;AACA,MAAM,GAAG,GAAG,SAAS;AAErB;;AAEwC;AACxC,SAAS,KAAK,CAAC,GAAW,EAAE,GAAW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AAC,CAAC;AAChC,YAAA,EAAE,CAAC,SAAS,EAAE,EAAE,GAAG,CAAC,EAAE,EAAE,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;YACnC;AACF,QAAA,KAAK,SAAS;AACZ,YAAA,EAAE,CAAC,SAAS,EAAE,EAAE,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC;AAC/B,YAAA,EAAE,CAAC,SAAS,EAAE,EAAE,EAAE,EAAE,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;YAC/B;;AAEJ,IAAA,IAAI,GAAG;QAAE,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,EAAE,GAAG,CAAC,EAAE,EAAE,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;AACjD;;"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { UnitView } from "../../simport/view";
|
|
2
|
+
import { type RoomCtx } from "./common";
|
|
3
|
+
export declare function office(d: RoomCtx, u: UnitView, x: number, y: number, w: number, h: number): void;
|
|
4
|
+
export declare function condo(d: RoomCtx, u: UnitView, x: number, y: number, w: number, h: number, walls?: string[], pics?: string[], vacancyLabel?: string): void;
|
|
5
|
+
export declare function hotel(d: RoomCtx, u: UnitView, x: number, y: number, w: number, h: number, grade: number): void;
|