MCPcopy Create free account

hub / github.com/blendi-remade/isometric-city-fal / functions

Functions895 in github.com/blendi-remade/isometric-city-fal

↓ 1 callersFunctionbezierPositionAndAngle
Calculate position and angle on a quadratic bezier curve
src/components/game/trainSystem.ts:124
↓ 1 callersFunctionbuildBridges
Build bridges by converting water tiles to bridge tiles
src/lib/simulation.ts:939
↓ 1 callersFunctionbuildCityLookupCache
* Build the city lookup cache for O(1) tile->city lookups
src/lib/cityManager.ts:63
↓ 1 callersFunctionbuildMenuItems
()
src/components/ui/CommandMenu.tsx:50
↓ 1 callersFunctioncalculateBridgeEdges
( x: number, y: number, adjustedY: number, orientation: 'ns' | 'ew' )
src/components/game/bridgeDrawing.ts:92
↓ 1 callersFunctioncalculateCityEconomy
( city: City, grid: Tile[][], gridSize: number, forceRecalculate = false )
src/lib/cityManager.ts:120
↓ 1 callersFunctioncalculateCorrectDirection
* Calculate the correct direction for a straight track piece based on the actual tile flow. * This fixes pieces that have incorrect stored directions
src/context/CoasterContext.tsx:607
↓ 1 callersFunctioncalculateFollowingSpeedMultiplier
* Calculate speed multiplier based on distance to train ahead * Returns 1.0 for full speed, lower values to slow down * Never returns 0 to prevent d
src/components/game/trainSystem.ts:560
↓ 1 callersFunctioncalculateMonthlyUpkeep
(grid: Tile[][])
src/context/CoasterContext.tsx:526
↓ 1 callersFunctioncalculateStaffWages
(staff: Staff[])
src/context/CoasterContext.tsx:547
↓ 1 callersFunctioncalculateStats
(grid: Tile[][], size: number, budget: Budget, taxRate: number, effectiveTaxRate: number, services: ServiceCov
src/lib/simulation.ts:1715
↓ 1 callersFunctioncanEnterTileFromDirection
(gridData: Tile[][], gridSizeValue: number, x: number, y: number, direction: CarDirection)
src/components/game/utils.ts:34
↓ 1 callersFunctioncanPlaceMultiTileBuilding
( grid: Tile[][], x: number, y: number, width: number, height: number, gridSize: number )
src/lib/simulation.ts:2495
↓ 1 callersFunctioncheckAndCreateBridges
Check and create bridges after road or rail placement
src/lib/simulation.ts:989
↓ 1 callersFunctioncheckForDiscoverableCities
( grid: Tile[][], gridSize: number, adjacentCities: AdjacentCity[] )
src/lib/simulation.ts:459
↓ 1 callersFunctioncheckSaved
()
src/context/CoasterContext.tsx:1221
↓ 1 callersFunctioncheckTouch
()
src/hooks/useMobile.ts:34
↓ 1 callersFunctioncheckWebPSupport
* Check if the browser supports WebP format * Uses a small test image to detect support
src/components/game/imageLoader.ts:47
↓ 1 callersFunctioncollectLightSources
( grid: Tile[][], gridSize: number, visibleMinSum: number, visibleMaxSum: number, viewLeft: number,
src/components/game/lightingSystem.ts:108
↓ 1 callersFunctioncollectLightSources
* Collect light sources from visible tiles
src/components/coaster/lightingSystem.ts:135
↓ 1 callersFunctioncompressGameState
(state: GameState)
src/lib/shareState.ts:106
↓ 1 callersMethodconnect
()
src/lib/multiplayer/supabaseProvider.ts:94
↓ 1 callersFunctionconvertToWebP
* Convert a PNG file to WebP
scripts/compress-images.mjs:57
↓ 1 callersFunctioncreateBridgeBuilding
( bridgeType: BridgeType, orientation: BridgeOrientation, variant: number, position: 'start' | 'middle
src/components/game/bridgeSystem.ts:210
↓ 1 callersFunctioncreateBridgeBuilding
Create a bridge building with all metadata
src/lib/simulation.ts:782
↓ 1 callersFunctioncreateBridgesOnPath
( state: GameState, pathTiles: { x: number; y: number }[], trackType: 'road' | 'rail' = 'road' )
src/lib/simulation.ts:1017
↓ 1 callersFunctioncreateEmptyTile
(x: number, y: number)
src/games/coaster/types/game.ts:548
↓ 1 callersFunctioncreateFreightTrain
* Create a new freight train with carriages
src/components/game/trainSystem.ts:272
↓ 1 callersFunctioncreateGameRoom
( roomCode: string, cityName: string, gameState: GameState )
src/lib/multiplayer/database.ts:91
↓ 1 callersFunctioncreateGuest
(entranceX: number, entranceY: number, gridSize: number = 64)
src/components/coaster/guests/guestSystem.ts:40
↓ 1 callersFunctioncreateInitialBudget
()
src/lib/simulation.ts:1049
↓ 1 callersFunctioncreateInitialStats
()
src/lib/simulation.ts:1062
↓ 1 callersFunctioncreatePassengerTrain
* Create a new passenger train with carriages
src/components/game/trainSystem.ts:200
↓ 1 callersFunctioncreateShareUrl
(state: GameState)
src/lib/shareState.ts:199
↓ 1 callersFunctiondeleteCityState
(cityId: string)
src/context/GameContext.tsx:655
↓ 1 callersFunctiondetectBridgeOpportunity
Detect if placing a road or rail creates a bridge opportunity from this tile
src/lib/simulation.ts:902
↓ 1 callersFunctiondirectionFromDelta
(dx: number, dy: number)
src/context/CoasterContext.tsx:283
↓ 1 callersFunctiondrawAirplanes
( ctx: CanvasRenderingContext2D, airplanes: Airplane[], viewBounds: { viewLeft: number; viewTop: number;
src/components/game/drawAircraft.ts:213
↓ 1 callersFunctiondrawBallast
* Draw the ballast (gravel bed) foundation for DOUBLE tracks
src/components/game/railSystem.ts:290
↓ 1 callersFunctiondrawBaseballPlayer
* Draw a baseball player
src/components/game/drawPedestrians.ts:682
↓ 1 callersFunctiondrawBasketballPlayer
* Draw a basketball player
src/components/game/drawPedestrians.ts:490
↓ 1 callersFunctiondrawBeachMat
* Draw a person lying on a beach mat/towel
src/components/game/drawPedestrians.ts:1547
↓ 1 callersFunctiondrawBeachSwimmer
* Draw a beach swimmer (person swimming in open water near shore) * Different from pool swimmer - more realistic ocean swimming
src/components/game/drawPedestrians.ts:1454
↓ 1 callersFunctiondrawBoardingGuests
* Draw boarding guests at a station tile * Shows guests walking toward or away from the coaster car
src/components/coaster/CoasterGrid.tsx:1810
↓ 1 callersFunctiondrawBoxCar
* Draw box car (freight)
src/components/game/trainSystem.ts:1364
↓ 1 callersFunctiondrawBridgeTile
( ctx: CanvasRenderingContext2D, x: number, y: number, building: Building, gridX: number, gridY: n
src/components/game/bridgeDrawing.ts:273
↓ 1 callersFunctiondrawCaboose
* Draw caboose
src/components/game/trainSystem.ts:1449
↓ 1 callersFunctiondrawCarriage
* Draw a single train carriage on the correct track based on direction * Handles curve interpolation for smooth movement on curved tracks
src/components/game/trainSystem.ts:1034
↓ 1 callersFunctiondrawChainLift
( ctx: CanvasRenderingContext2D, startX: number, startY: number, direction: TrackDirection, startHei
src/components/coaster/tracks/trackDrawing.ts:1300
↓ 1 callersFunctiondrawCoasterCar
( ctx: CanvasRenderingContext2D, x: number, y: number, direction: string, pitch: number = 0, // P
src/components/coaster/CoasterGrid.tsx:1896
↓ 1 callersFunctiondrawColoredGlows
( ctx: CanvasRenderingContext2D, coloredGlows: ColoredGlow[], lightIntensity: number )
src/components/game/lightingSystem.ts:250
↓ 1 callersFunctiondrawColoredGlows
* Draw colored glows for atmosphere (after cutouts) * Keep these subtle to avoid washed out look
src/components/coaster/lightingSystem.ts:301
↓ 1 callersFunctiondrawConnectorBorders
()
src/components/game/bridgeDrawing.ts:399
↓ 1 callersFunctiondrawCrosswalks
(params: CrosswalkParams)
src/components/game/trafficSystem.ts:901
↓ 1 callersFunctiondrawCurvedTrack
( ctx: CanvasRenderingContext2D, startX: number, startY: number, startDir: TrackDirection, turnRight
src/components/coaster/tracks/trackDrawing.ts:460
↓ 1 callersFunctiondrawDogSimple
* Draw a simplified dog for performance
src/components/game/drawPedestrians.ts:466
↓ 1 callersFunctiondrawDogWalker
* Draw a dog walker - just uses the regular walking function which handles dogs
src/components/game/drawPedestrians.ts:1049
↓ 1 callersFunctiondrawEntranceGate
* Draw an entrance gate at the edge of the map * This creates a decorative archway/gate structure that marks the park entrance * The gate is oriente
src/components/coaster/CoasterGrid.tsx:406
↓ 1 callersFunctiondrawEntranceGateStructure
* Draw the actual gate structure at a given position and orientation
src/components/coaster/CoasterGrid.tsx:494
↓ 1 callersFunctiondrawFlatCar
* Draw flat car (freight)
src/components/game/trainSystem.ts:1422
↓ 1 callersFunctiondrawGreenBaseTile
( ctx: CanvasRenderingContext2D, x: number, y: number, tile: Tile, currentZoom: number )
src/components/game/drawing.ts:171
↓ 1 callersFunctiondrawGreyBaseTile
( ctx: CanvasRenderingContext2D, x: number, y: number, _tile: Tile, currentZoom: number )
src/components/game/drawing.ts:208
↓ 1 callersFunctiondrawGuest
( ctx: CanvasRenderingContext2D, guest: Guest, tick: number )
src/components/coaster/guests/guestSystem.ts:142
↓ 1 callersFunctiondrawHelicopters
( ctx: CanvasRenderingContext2D, helicopters: Helicopter[], viewBounds: { viewLeft: number; viewTop: num
src/components/game/drawAircraft.ts:603
↓ 1 callersFunctiondrawHighlight
(sx: number, sy: number, fillColor = 'rgba(251, 191, 36, 0.3)', strokeColor = '#fbbf24')
src/components/coaster/CoasterGrid.tsx:2659
↓ 1 callersFunctiondrawIdlePerson
* Draw an idle person
src/components/game/drawPedestrians.ts:1245
↓ 1 callersFunctiondrawIncompleteTrackWarning
* Draw an animated warning indicator for incomplete track ends * Shows a small pulsing warning dot
src/components/coaster/CoasterGrid.tsx:1505
↓ 1 callersFunctiondrawInsetRails
* Draw inset rails for road overlays - darker borders to look embedded
src/components/game/railSystem.ts:1125
↓ 1 callersFunctiondrawIsometricTile
(ctx: CanvasRenderingContext2D, x: number, y: number, tile: Tile, highlight: boolean, currentZoom: number, ski
src/components/game/CanvasIsometricGrid.tsx:1158
↓ 1 callersFunctiondrawJogger
* Draw a jogger
src/components/game/drawPedestrians.ts:987
↓ 1 callersFunctiondrawLargeBridge
* Draw a large bridge (steel truss)
src/components/game/bridgeSystem.ts:550
↓ 1 callersFunctiondrawLightCutouts
( ctx: CanvasRenderingContext2D, lightCutouts: LightCutout[], lightIntensity: number, isMobile: boolea
src/components/game/lightingSystem.ts:174
↓ 1 callersFunctiondrawLightCutouts
* Draw light cutouts to remove darkness around light sources
src/components/coaster/lightingSystem.ts:210
↓ 1 callersFunctiondrawLocomotive
* Draw locomotive
src/components/game/trainSystem.ts:1202
↓ 1 callersFunctiondrawLoopTrack
( ctx: CanvasRenderingContext2D, startX: number, startY: number, direction: TrackDirection, loopHeig
src/components/coaster/tracks/trackDrawing.ts:1097
↓ 1 callersFunctiondrawMediumActivityPedestrian
* Draw medium detail activity pedestrian
src/components/game/drawPedestrians.ts:376
↓ 1 callersFunctiondrawMediumBridge
* Draw a medium bridge (concrete)
src/components/game/bridgeSystem.ts:476
↓ 1 callersFunctiondrawMediumWalkingPedestrian
* Draw medium detail walking pedestrian
src/components/game/drawPedestrians.ts:345
↓ 1 callersFunctiondrawMetalSupport
* Draw a metal support structure - clean industrial steel with minimal bracing * Modern steel coaster aesthetic with I-beam columns and simple connec
src/components/coaster/tracks/trackDrawing.ts:958
↓ 1 callersFunctiondrawNavigationLights
* Draw navigation lights on top of the plane sprite * Draws in world space using the plane's actual flight angle * Only shows lights that would be v
src/components/game/drawAircraft.ts:349
↓ 1 callersFunctiondrawPassengerCar
* Draw passenger car
src/components/game/trainSystem.ts:1336
↓ 1 callersFunctiondrawPathTile
( ctx: CanvasRenderingContext2D, x: number, y: number, gridX: number, gridY: number, grid: Tile[][
src/components/coaster/CoasterGrid.tsx:778
↓ 1 callersFunctiondrawPedestrians
( ctx: CanvasRenderingContext2D, pedestrians: Pedestrian[], viewBounds: { viewLeft: number; viewTop: num
src/components/game/drawPedestrians.ts:76
↓ 1 callersFunctiondrawPicnicker
(ctx: CanvasRenderingContext2D, ped: Pedestrian)
src/components/game/drawPedestrians.ts:937
↓ 1 callersFunctiondrawPillar
( ctx: CanvasRenderingContext2D, px: number, py: number, pillarW: number, pillarH: number, support
src/components/game/bridgeDrawing.ts:193
↓ 1 callersFunctiondrawPlaceholderBuilding
( ctx: CanvasRenderingContext2D, x: number, y: number, buildingType: string, tileWidth: number, ti
src/components/game/placeholders.ts:62
↓ 1 callersFunctiondrawPlaygroundKid
* Draw a kid on playground
src/components/game/drawPedestrians.ts:1056
↓ 1 callersFunctiondrawPost
(px: number, py: number)
src/components/coaster/CoasterGrid.tsx:1164
↓ 1 callersFunctiondrawQueueTile
( ctx: CanvasRenderingContext2D, x: number, y: number, gridX: number, gridY: number, grid: Tile[][
src/components/coaster/CoasterGrid.tsx:1001
↓ 1 callersFunctiondrawRailTrack
( ctx: CanvasRenderingContext2D, x: number, y: number, gridX: number, gridY: number, grid: Tile[][
src/components/game/railSystem.ts:1048
↓ 1 callersFunctiondrawRailTracksOnly
( ctx: CanvasRenderingContext2D, x: number, y: number, gridX: number, gridY: number, grid: Tile[][
src/components/game/railSystem.ts:1102
↓ 1 callersFunctiondrawRailroadCrossing
( ctx: CanvasRenderingContext2D, x: number, y: number, gridX: number, gridY: number, grid: Tile[][
src/components/game/railSystem.ts:1661
↓ 1 callersFunctiondrawRails
* Draw steel rails for DOUBLE tracks
src/components/game/railSystem.ts:763
↓ 1 callersFunctiondrawRoad
( ctx: CanvasRenderingContext2D, x: number, y: number, gridX: number, gridY: number, currentZoom:
src/components/game/roadDrawing.ts:56
↓ 1 callersFunctiondrawSeaplaneNavigationLights
* Draw navigation lights for seaplanes
src/components/game/drawAircraft.ts:1126
↓ 1 callersFunctiondrawSeaplanes
( ctx: CanvasRenderingContext2D, seaplanes: Seaplane[], viewBounds: { viewLeft: number; viewTop: number;
src/components/game/drawAircraft.ts:938
↓ 1 callersFunctiondrawShopperAtDoor
* Draw a shopper walking through shop door (entering or exiting)
src/components/game/drawPedestrians.ts:1368
↓ 1 callersFunctiondrawSimplePedestrian
* Draw a very simple pedestrian (lowest LOD) - just colored dots
src/components/game/drawPedestrians.ts:328
↓ 1 callersFunctiondrawSittingPerson
* Draw a person sitting on a bench
src/components/game/drawPedestrians.ts:859
↓ 1 callersFunctiondrawSkateboarder
* Draw a skateboarder
src/components/game/drawPedestrians.ts:798
← previousnext →301–400 of 895, ranked by callers