MCPcopy Create free account

hub / github.com/amilich/isometric-city / functions

Functions927 in github.com/amilich/isometric-city

↓ 1 callersFunctiongetCityAtTile
( x: number, y: number, cities: City[], gridSize: number )
src/lib/cityManager.ts:81
↓ 1 callersFunctiongetCloudGradientStops
(cloudType: CloudType, portion: 'base' | 'top' | undefined, puffOpacity: number)
src/components/game/effectsSystems.ts:901
↓ 1 callersFunctiongetCloudGradientStops
(cloudType: CloudType, puffOpacity: number)
src/components/coaster/cloudSystem.ts:353
↓ 1 callersFunctiongetCrimeDescription
(crimeType: CrimeType)
src/components/game/incidentData.ts:648
↓ 1 callersFunctiongetCrimeDuration
(crimeType: CrimeType)
src/components/game/incidentData.ts:652
↓ 1 callersFunctiongetCrimeName
(crimeType: CrimeType)
src/components/game/incidentData.ts:644
↓ 1 callersFunctiongetCrossingRailOrientation
( grid: Tile[][], gridSize: number, x: number, y: number )
src/components/game/railSystem.ts:1462
↓ 1 callersFunctiongetCurveGeometry
Get curve endpoints and control point for a curve track type
src/components/game/trainSystem.ts:50
↓ 1 callersFunctiongetCurveTraversalDirection
* Determine curve traversal info based on the exit direction (where train is heading). * The carriage.direction is the EXIT direction - where the tra
src/components/game/trainSystem.ts:90
↓ 1 callersFunctiongetDarkness
(hour: number)
src/components/game/lightingSystem.ts:20
↓ 1 callersFunctiongetDarkness
(hour: number)
src/components/coaster/lightingSystem.ts:26
↓ 1 callersFunctiongetDestTypeForBuilding
* Get destination type for a building type
src/components/game/pedestrianSystem.ts:919
↓ 1 callersFunctiongetDirectionToTile
* Get direction from one tile to the next
src/components/game/trainSystem.ts:665
↓ 1 callersFunctiongetDistanceFromOriginalBoundary
(newX: number, newY: number)
src/lib/simulation.ts:3786
↓ 1 callersFunctiongetDistanceToTrainAhead
* Calculate distance from train1's front to train2's rear along the track * Returns positive value if train2 is ahead of train1 * Returns Infinity i
src/components/game/trainSystem.ts:518
↓ 1 callersFunctiongetEdgeWaterInfo
(newX: number, newY: number, sampleRadius: number = 10)
src/lib/simulation.ts:3803
↓ 1 callersFunctiongetFireDescriptionForTile
(x: number, y: number)
src/components/game/incidentData.ts:665
↓ 1 callersFunctiongetFireNameForTile
(x: number, y: number)
src/components/game/incidentData.ts:672
↓ 1 callersFunctiongetLocomotiveSmokestackPosition
* Update smoke particles for freight train locomotives * Returns the screen position of the locomotive's smokestack for particle spawning
src/components/game/trainSystem.ts:867
↓ 1 callersFunctiongetOppositeDirection
(direction: CarDirection)
src/components/game/utils.ts:15
↓ 1 callersFunctiongetOverlayButtonClass
(mode: OverlayMode, isActive: boolean)
src/components/game/overlays.ts:103
↓ 1 callersFunctiongetOverlayFillStyle
( mode: OverlayMode, tile: Tile, coverage: ServiceCoverage )
src/components/game/overlays.ts:142
↓ 1 callersFunctiongetOverlayForTool
(tool: string)
src/components/game/overlays.ts:197
↓ 1 callersFunctiongetPedestrianOpacity
(ped: Pedestrian)
src/components/game/pedestrianSystem.ts:1052
↓ 1 callersFunctiongetPngFiles
* Get all PNG files recursively from a directory
scripts/compress-images.mjs:29
↓ 1 callersFunctiongetPollutionCleanupProfile
(buildingType: BuildingType)
src/lib/simulation.ts:78
↓ 1 callersFunctiongetRailBridgeYOffset
(isRailBridge: boolean)
src/components/game/bridgeDrawing.ts:157
↓ 1 callersFunctiongetRandomBayTile
(bay: BayInfo)
src/components/game/gridFinders.ts:906
↓ 1 callersFunctiongetRandomBeachTile
(beachTiles: BeachTileInfo[])
src/components/game/pedestrianSystem.ts:1155
↓ 1 callersFunctiongetRandomBridgeVariant
(bridgeType: BridgeType)
src/components/game/bridgeSystem.ts:203
↓ 1 callersFunctiongetRandomCrimeType
()
src/components/game/incidentData.ts:521
↓ 1 callersFunctiongetRoadDirection
* Get road direction at a tile (NS, EW, or intersection)
src/components/game/railSystem.ts:1391
↓ 1 callersFunctiongetSeasonalWeatherBias
(month: number)
src/games/coaster/types/economy.ts:143
↓ 1 callersFunctiongetTileEdgeInfo
* Check if a tile is at the edge of the map * Returns which edge(s) the tile is at
src/components/coaster/CoasterGrid.tsx:383
↓ 1 callersFunctiongetToolBuildingSize
(tool: Tool)
src/components/coaster/CoasterGrid.tsx:10
↓ 1 callersFunctiongetTrainRearPosition
* Calculate effective position of a train's rear (last carriage) in continuous tile coordinates
src/components/game/trainSystem.ts:501
↓ 1 callersFunctiongetVisiblePedestrians
(pedestrians: Pedestrian[])
src/components/game/pedestrianSystem.ts:1044
↓ 1 callersFunctiongetWebPPath
* Get the WebP path for a PNG image
src/components/game/imageLoader.ts:49
↓ 1 callersFunctiongridToScreen
Convert grid coordinates to screen position
src/components/coaster/tracks/trackDrawing.ts:62
↓ 1 callersFunctionhandleBackFromAutoJoin
()
src/components/coaster/multiplayer/CoasterCoopModal.tsx:157
↓ 1 callersFunctionhandleBackFromAutoJoin
()
src/components/multiplayer/CoopModal.tsx:185
↓ 1 callersFunctionhandleCategoryClick
(category: string)
src/components/coaster/mobile/CoasterMobileToolbar.tsx:339
↓ 1 callersFunctionhandleCategoryClick
(category: string)
src/components/mobile/MobileToolbar.tsx:258
↓ 1 callersFunctionhandleDeletePark
(park: SavedParkMeta)
src/app/coaster/page.tsx:313
↓ 1 callersFunctionhandleResize
()
src/components/coaster/CoasterGrid.tsx:2586
↓ 1 callersFunctionhandleSelectLanguage
(code: string)
src/components/ui/LanguageSelector.tsx:93
↓ 1 callersFunctionhasAdjacentQueue
* Check if a coaster's station tile has an adjacent queue line * Returns true if guests can board (has adjacent queue), false otherwise
src/components/coaster/CoasterGrid.tsx:68
↓ 1 callersFunctioninterpolatedNoise
(x: number, y: number, seed: number)
src/lib/simulation.ts:111
↓ 1 callersFunctionisMergeableZoneTile
( tile: Tile, zone: ZoneType, excludeTile?: { x: number; y: number }, allowBuildingConsolidation?: b
src/lib/simulation.ts:2618
↓ 1 callersFunctionisNearWater
(grid: Tile[][], x: number, y: number, size: number)
src/lib/simulation.ts:586
↓ 1 callersFunctionisRecreationalBuilding
(buildingType: BuildingType)
src/components/game/pedestrianSystem.ts:144
↓ 1 callersFunctionisRegionClear
(x: number, y: number, w: number, h: number)
src/lib/simulation.ts:3223
↓ 1 callersFunctionisRideBuilding
(type: string)
src/context/CoasterContext.tsx:673
↓ 1 callersFunctionisTrackComplete
* Check if a track forms a complete loop (closed circuit). * A track is complete if the last piece's exit connects back to the first piece's entry.
src/context/CoasterContext.tsx:921
↓ 1 callersFunctionisTrainApproachingTile
( trains: { tileX: number; tileY: number; direction: CarDirection; progress: number;
src/components/game/railSystem.ts:1791
↓ 1 callersFunctionisTreeType
(buildingType: string)
src/components/coaster/CoasterGrid.tsx:1383
↓ 1 callersFunctionisVisitableBuilding
(type: string | undefined)
src/components/coaster/CoasterGrid.tsx:670
↓ 1 callersFunctionlightenColor
* Lighten a color by a percentage
src/components/game/trainSystem.ts:1610
↓ 1 callersFunctionloadDayNightMode
()
src/context/GameContext.tsx:434
↓ 1 callersFunctionloadGameRoom
( roomCode: string )
src/lib/multiplayer/database.ts:132
↓ 1 callersFunctionloadGameState
()
src/context/GameContext.tsx:175
↓ 1 callersFunctionloadSavedCitiesIndex
()
src/context/GameContext.tsx:550
↓ 1 callersFunctionloadSavedCityInfo
()
src/context/GameContext.tsx:493
↓ 1 callersFunctionloadSavedCityState
()
src/context/GameContext.tsx:510
↓ 1 callersFunctionloadSheets
()
src/components/coaster/CoasterGrid.tsx:2528
↓ 1 callersFunctionloadSpritePackId
()
src/context/GameContext.tsx:410
↓ 1 callersFunctionmain
()
scripts/compress-images.mjs:98
↓ 1 callersFunctionminifyTile
(tile: Tile)
src/lib/shareState.ts:55
↓ 1 callersFunctionnotifyImageLoaded
* Notify all registered callbacks that an image has loaded
src/components/game/imageLoader.ts:68
↓ 1 callersFunctiononImageLoaded
(callback: ImageLoadCallback)
src/components/game/imageLoader.ts:60
↓ 1 callersFunctionoptimizeStateForSave
(state: GameState)
src/context/GameContext.tsx:307
↓ 1 callersFunctionparseBridgeProperties
(building: Building)
src/components/game/bridgeDrawing.ts:164
↓ 1 callersFunctionpickNextDirection
( previousDirection: CarDirection, gridData: Tile[][], gridSizeValue: number, x: number, y: number )
src/components/game/utils.ts:70
↓ 1 callersFunctionplaceLandTerraform
(state: GameState, x: number, y: number)
src/lib/simulation.ts:3200
↓ 1 callersFunctionplaceSubway
(state: GameState, x: number, y: number)
src/lib/simulation.ts:3130
↓ 1 callersFunctionplaceWaterTerraform
(state: GameState, x: number, y: number)
src/lib/simulation.ts:3161
↓ 1 callersFunctionplaceZonedBuilding
(x: number, y: number, zone: ZoneType, buildingType: BuildingType)
src/lib/simulation.ts:3260
↓ 1 callersFunctionpondNoise
(px: number, py: number)
src/lib/simulation.ts:4082
↓ 1 callersFunctionpseudoRandom
* Deterministic pseudo-random function for consistent lighting patterns
src/components/coaster/lightingSystem.ts:65
↓ 1 callersFunctionremoveSavedParkMeta
(id: string, parks?: SavedParkMeta[])
src/games/coaster/saveUtils.ts:87
↓ 1 callersFunctionrenderBuilding
()
src/components/buildings/IsometricBuildings.tsx:915
↓ 1 callersFunctionsaveCityForRestore
(state: GameState)
src/context/GameContext.tsx:458
↓ 1 callersFunctionsaveCityStateAsync
(cityId: string, state: GameState)
src/context/GameContext.tsx:578
↓ 1 callersFunctionsaveDayNightMode
(mode: DayNightMode)
src/context/GameContext.tsx:448
↓ 1 callersFunctionsaveGameStateAsync
(state: GameState)
src/context/GameContext.tsx:351
↓ 1 callersFunctionsaveSpritePackId
(packId: string)
src/context/GameContext.tsx:424
↓ 1 callersFunctionscoreFootprint
(grid: Tile[][], originX: number, originY: number, width: number, height: number, gridSize: number)
src/lib/simulation.ts:2675
↓ 1 callersFunctionshouldGuestLeaveForWeather
(guest: Guest, weather: WeatherType)
src/context/CoasterContext.tsx:188
↓ 1 callersFunctionshrinkGrid
( currentGrid: Tile[][], currentSize: number, shrinkAmount: number = 15 )
src/lib/simulation.ts:4307
↓ 1 callersFunctionshuffleArray
(array: T[])
src/app/page.tsx:58
↓ 1 callersFunctionshuffleArray
(array: T[])
src/app/coaster/page.tsx:65
↓ 1 callersFunctionsimulateTick
(state: GameState)
src/lib/simulation.ts:2152
↓ 1 callersFunctionsimulateWeather
(weather: WeatherState, tick: number, month: number)
src/context/CoasterContext.tsx:108
↓ 1 callersFunctionspawnGuests
( grid: Tile[][], currentGuests: Guest[], parkRating: number, hour: number )
src/components/coaster/guests/guestSystem.ts:713
↓ 1 callersFunctionspawnPedestrianApproachingShop
( id: number, shopX: number, shopY: number, grid: Tile[][], gridSize: number, homeX: number, hom
src/components/game/pedestrianSystem.ts:862
↓ 1 callersFunctionspawnPedestrianAtBeach
( id: number, beachInfo: BeachTileInfo, grid: Tile[][], gridSize: number, homeX: number, homeY: nu
src/components/game/pedestrianSystem.ts:1163
↓ 1 callersFunctionspawnPedestrianAtRecreation
( id: number, areaX: number, areaY: number, grid: Tile[][], gridSize: number, homeX: number, hom
src/components/game/pedestrianSystem.ts:986
↓ 1 callersFunctionspawnPedestrianFromBuilding
( id: number, buildingX: number, buildingY: number, grid: Tile[][], gridSize: number, homeX: numbe
src/components/game/pedestrianSystem.ts:938
↓ 1 callersFunctionspawnPedestrianInsideBuilding
( id: number, buildingX: number, buildingY: number, grid: Tile[][], gridSize: number, homeX: numbe
src/components/game/pedestrianSystem.ts:809
↓ 1 callersFunctionspawnTrain
( grid: Tile[][], gridSize: number, trainIdRef: { current: number } )
src/components/game/trainSystem.ts:350
← previousnext →501–600 of 927, ranked by callers