MCPcopy Create free account

hub / github.com/LiberatedPixelCup/Universal-LPC-Spritesheet-Character-Generator / functions

Functions571 in github.com/LiberatedPixelCup/Universal-LPC-Spritesheet-Character-Generator

↓ 2 callersFunctionresetStateDeps
()
sources/state/state.ts:97
↓ 2 callersFunctionresolveHashParamLegacy
({ typeName, nameAndVariant, itemMetadata, })
tests/node/state/hash_param_resolve_legacy.js:13
↓ 2 callersFunctionrootViewNodeStub
()
tests/components/tree/PaletteSelectModal_spec.js:113
↓ 2 callersFunctionrunFullSourcePipeline
()
vite/vite-plugin-item-metadata.js:78
↓ 2 callersFunctionrunMetadataOnly
()
vite/vite-plugin-item-metadata.js:66
↓ 2 callersFunctionscrollVisualCaptureToTop
(page)
tests/visual/home-helpers.js:6
↓ 2 callersFunctionserializeLayersForJson
( draws: readonly DrawCall[], )
sources/state/json.ts:38
↓ 2 callersFunctionsetHashParams
(params: Record<string, string>)
sources/state/hash.ts:165
↓ 2 callersFunctionsetJsonDeps
(overrides: Partial<JsonDeps>)
sources/state/json.ts:107
↓ 2 callersFunctionsetPaletteRecolorMode
(mode: RecolorMode)
sources/canvas/palette-recolor.ts:183
↓ 2 callersFunctionsetPreviewCanvasZoom
(zoomLevel: number)
sources/canvas/preview-canvas.ts:122
↓ 2 callersFunctionsortCsvList
(csvList, categoryTree)
scripts/generateSources/credits.js:206
↓ 2 callersFunctionsyncFullSpritesheetFromOffscreen
* Offscreen `canvas` in renderer.ts is created in `initCanvas()` after index+lite * metadata register; the spritesheet preview mounts earlier, so we
sources/components/preview/FullSpritesheetPreview.ts:32
↓ 2 callersFunctiontoTouchList
(doc, touches)
tests/components/preview/PinchToZoom_spec.js:76
↓ 2 callersFunctionucwords
(str: string)
sources/utils/helpers.ts:31
↓ 2 callersFunctionupdateState
(updates: Partial<typeof state>)
sources/state/filters.ts:58
↓ 2 callersFunctionwaitForCatalogAllReady
(page)
tests/visual/home-helpers.js:31
↓ 2 callersFunctionwithPlatform
* @param {NodeJS.Platform} platform * @param {() => void} fn
tests/node/scripts/generateSources/vite_spritesheets_and_css_plugin_spec.js:10
↓ 2 callersFunctionwriteItemdataModule
( filePath, filtered, sourceSelectionsLabel, itemCount, )
scripts/fixture-builder.js:177
↓ 2 callersFunctionwriteZPositionsFromSheetsSync
(opts = {})
scripts/zPositioning/write_z_positions_from_sheets.js:11
↓ 2 callersFunctionzipProfilerNoteDrawAndSlice
( profiler: ZipHelpersProfiler | null | undefined, )
sources/utils/zip-helpers.ts:211
↓ 2 callersFunctionzipProfilerNotePngEncode
( profiler: ZipHelpersProfiler | null | undefined, blob: Blob | undefined, )
sources/utils/zip-helpers.ts:198
↓ 2 callersFunctionzipProfilerNoteZipEntry
( profiler: ZipHelpersProfiler | null | undefined, )
sources/utils/zip-helpers.ts:218
↓ 1 callersFunction_getNameWithoutVariant
( catalog: CatalogReader, typeName: string, nameAndVariant: string, )
sources/state/path.ts:193
↓ 1 callersMethod_trackMetric
Bucket a measurement into one of the named metric categories.
sources/performance-profiler.ts:162
↓ 1 callersFunctionaddAnimationSliceToZip
( folder: ZipFolder, fileName: string, srcCanvas: HTMLCanvasElement, srcRect: DOMRect | RectLike, op
sources/utils/zip-helpers.ts:267
↓ 1 callersFunctionaddStandardAnimationToZipCustomFolderFn
(custAnimFolder, itemFileName, src, custAnim)
sources/state/zip.ts:375
↓ 1 callersFunctionanimationSubregionHasContent
( src: HTMLCanvasElement, x: number, y: number, width: number, height: number, )
sources/utils/zip-helpers.ts:121
↓ 1 callersFunctionapplyImportedStateFromFixture
()
tests/state/zip-issue-382_spec.js:47
↓ 1 callersFunctionapplyRecolorDefaults
* Applies default metadata fields for one recolor entry. * @param {Object} recolor Recolor entry to mutate. * @param {Object} materialMeta Material
scripts/generateSources/item-helper.js:55
↓ 1 callersFunctionbuildColorMap
* Build color mapping from source palette to target palette. * Returns array of {source, target} pairs for tolerance-based matching.
sources/canvas/palette-recolor.ts:59
↓ 1 callersFunctionbuildInternedItemMetadataLiteMap
* @param {Record<string, object>} itemMetadataLite * @param {Record<string, { v: number, r: number, itemId: string }[]>} internedByTypeName * @retur
scripts/generateSources/state.js:216
↓ 1 callersFunctionbuildItemsByTypeNameFromRegisteredLite
* `byTypeName` for hash resolution when the index module is not registered * yet. Rows match `buildSlimByTypeNameRow` (itemId, name, type_name,
sources/state/catalog.ts:448
↓ 1 callersFunctioncanvasMeasureTextWidth
(fontCss, text)
scripts/computed-style/computed-style-dump-shared.js:875
↓ 1 callersFunctionclearShellLoadingClass
()
sources/main.ts:168
↓ 1 callersFunctioncollectComputedStyleDump
(page, options = {})
scripts/computed-style/computed-style-dump-shared.js:845
↓ 1 callersFunctioncollectItemIdsFromExport
* Collect every string value for keys named "itemId" (selections, layers, nested).
scripts/fixture-builder.js:108
↓ 1 callersFunctioncollectRecolorEntries
* Collects recolor entries from either multi-color or single-color recolor definitions. * @param {Object} definition Parsed sheet definition JSON. *
scripts/generateSources/item-helper.js:12
↓ 1 callersFunctioncompilePaletteKey
( material: string, version: string, palette: string, opt: PaletteOption, )
sources/state/palettes.ts:364
↓ 1 callersFunctioncreateCanvas
(width, height)
tests/canvas/mask_spec.js:5
↓ 1 callersFunctioncreateFixtureCatalog
(itemMetadata)
tests/utils/helpers_spec.js:21
↓ 1 callersFunctioncreateImageTexture
( gl: WebGLRenderingContext, image: HTMLImageElement | HTMLCanvasElement, )
sources/canvas/webgl-palette-recolor.ts:184
↓ 1 callersFunctioncreatePaletteTexture
* Create a palette texture from one or more palette mappings. * All source colors are concatenated into row 0; target colors at the same * index sit
sources/canvas/webgl-palette-recolor.ts:135
↓ 1 callersFunctioncreateProgram
( gl: WebGLRenderingContext, vertexSource: string, fragmentSource: string, )
sources/canvas/webgl-palette-recolor.ts:93
↓ 1 callersFunctioncropSheet
(sheet, sheetHeight, isMasterSheet)
scripts/imageProcessing/sliceImages.js:53
↓ 1 callersFunctioncustomAnimationBase
(custAnim: CustomAnimationDefinition)
sources/custom-animations.ts:563
↓ 1 callersMethoddisable
Disable profiler at runtime.
sources/performance-profiler.ts:100
↓ 1 callersFunctiondistMetadata
(basename)
vite/wiring.js:9
↓ 1 callersFunctiondistMetadataExists
* @param {string} root
vite/vite-plugin-item-metadata.js:39
↓ 1 callersFunctiondrawAnimationSliceOntoCanvas
Draws the slice from `src` onto `animCanvas` (must already match width/height).
sources/utils/zip-helpers.ts:140
↓ 1 callersFunctionendTwoFingerPinch
(target, cx, y, endSep)
tests/components/preview/PinchToZoom_spec.js:186
↓ 1 callersFunctionensureDistItemMetadata
* Writes all five `dist/*-metadata.js` files via the same generator pipeline as Vite * (no CREDITS.csv write from this path when the custom writer sk
scripts/fixture-builder.js:88
↓ 1 callersFunctionensureZipEntryName
(fileName: string)
sources/utils/zip-helpers.ts:227
↓ 1 callersFunctionexpandRecolorPalettes
* Expands one recolor entry into concrete palette map and variant names. * @param {Object} recolor Recolor entry to mutate. * @return {void} No retu
scripts/generateSources/item-helper.js:73
↓ 1 callersFunctionextractAnimationFromCanvas
( animationName: string, )
sources/canvas/renderer.ts:582
↓ 1 callersFunctionextractMetadataGlobalsFromWrites
(writes)
tests/node/scripts/generateSources/test_helpers.js:145
↓ 1 callersFunctionfindMatchingColor
* Find matching color in palette with tolerance (like WebGL shader). * `tolerance` default 1, matching WebGL's ~0.004 * 255.
sources/canvas/palette-recolor.ts:81
↓ 1 callersFunctionfixMissingRecolor
( itemId: string, recolor: string, typeName: string | null = null, )
sources/state/palettes.ts:38
↓ 1 callersFunctionformatGoldenModule
({ title, paths, inputRelativeToRepo })
scripts/issue382-golden-playwright.js:53
↓ 1 callersFunctionformatLoadError
(e: LoadError)
sources/state/catalog.ts:52
↓ 1 callersFunctiongenerateIssue382GoldenZipFixtures
(inputRelativeToRepo)
scripts/issue382-golden-playwright.js:73
↓ 1 callersFunctiongetAliasVariants
* Derives the variant list used for alias target resolution. * @param {Object} meta Item metadata. * @return {string[]} Variant names to match again
scripts/generateSources/aliases.js:11
↓ 1 callersFunctiongetBasePalette
( material: string, base: string | null = null, source: string[] | null = null, )
sources/state/palettes.ts:168
↓ 1 callersFunctiongetBodyColor
( itemId: string, selections: Selections, )
sources/state/palettes.ts:135
↓ 1 callersFunctiongetCanvas
()
sources/canvas/renderer.ts:625
↓ 1 callersFunctiongetCustomAnimationBase
( custAnim: CustomAnimationDefinition, )
sources/state/filters.ts:69
↓ 1 callersFunctiongetCustomAnimations
()
sources/state/filters.ts:81
↓ 1 callersFunctiongetEnabledAnimations
()
sources/state/filters.ts:106
↓ 1 callersFunctiongetEnabledLicenses
()
sources/state/filters.ts:94
↓ 1 callersFunctiongetFileContentFromBranch
(branch, filePath)
scripts/update_sheet_definitions.js:12
↓ 1 callersMethodgetMemoryUsage
Memory usage (Chrome only).
sources/performance-profiler.ts:214
↓ 1 callersFunctiongetPaletteRecolorConfig
()
sources/canvas/palette-recolor.ts:200
↓ 1 callersFunctiongetPalettesFromMeta
( meta: ItemLite | null, )
sources/state/palettes.ts:235
↓ 1 callersFunctiongetPurgeContentGlobs
(repoRoot)
vite/purgecss-critical-safelist.js:11
↓ 1 callersFunctiongetPurgeSafelist
()
vite/purgecss-critical-safelist.js:23
↓ 1 callersFunctiongetRecolorStats
()
sources/canvas/palette-recolor.ts:169
↓ 1 callersFunctiongetSetHashCalledTimes
()
sources/state/hash.ts:121
↓ 1 callersFunctiongetYPosForCustomAnim
(name: string)
sources/canvas/renderer.ts:682
↓ 1 callersFunctioninitSharedWebGL
Initialize shared WebGL context and resources (call once).
sources/canvas/webgl-palette-recolor.ts:242
↓ 1 callersFunctioninternRecolorVariants
(recolors)
scripts/generateSources/state.js:169
↓ 1 callersFunctioninternVariants
(variants)
scripts/generateSources/state.js:160
↓ 1 callersFunctionisAllowed
(filePath)
vite/vite-plugin-preview-serve-dist-spritesheets.js:61
↓ 1 callersFunctionisBrowserTestHarnessPage
()
sources/install-item-metadata.ts:36
↓ 1 callersFunctionisDirectExecution
()
scripts/generate_sources.js:93
↓ 1 callersFunctionisLocalhost
()
sources/utils/debug.ts:18
↓ 1 callersFunctionisTruthyEnv
* Debug logging for Node scripts under `scripts/`. * Enable with `DEBUG=1` (or `true`, `yes`) in the environment: * * DEBUG=1 npm run validate-si
scripts/utils/debug.js:12
↓ 1 callersFunctionisWebGLAvailable
()
sources/canvas/webgl-palette-recolor.ts:347
↓ 1 callersFunctionloadFullItemMetadata
()
scripts/fixture-builder.js:128
↓ 1 callersFunctionmain
()
scripts/fixture-builder.js:200
↓ 1 callersFunctionmain
()
scripts/computed-style/dump-computed-styles.js:112
↓ 1 callersFunctionmain
()
scripts/computed-style/computed-style-diff-all.js:109
↓ 1 callersFunctionmain
()
scripts/zip/zip-export-profile.js:83
↓ 1 callersFunctionmain
()
scripts/zip/diff-zip-profile.js:56
↓ 1 callersFunctionmakeDumpHeader
(viewport, url, page = "human-male-skintone")
scripts/computed-style/computed-style-dump-shared.js:807
↓ 1 callersFunctionmaybeRegenerate
()
vite/vite-plugin-item-metadata.js:107
↓ 1 callersFunctionmergeMetadataForTests
(writes)
tests/node/scripts/generateSources/test_helpers.js:98
↓ 1 callersFunctionmergedItemMapFromLoadedChunks
* @param {{ * itemMetadata: Record<string, object>, * layersMetadata: Record<string, Record<string, object>>, * creditsMetadata: Record<strin
tests/browser-catalog-fixture.js:22
↓ 1 callersFunctionmessageForState
UI copy for blocking states. `rendering`/`ready` produce no overlay.
sources/components/preview/PreviewMetadataLoadingOverlay.ts:9
↓ 1 callersFunctionnextFrame
()
sources/canvas/preview-animation.ts:173
↓ 1 callersFunctionnormalizeAnimationSrcRect
( src: HTMLCanvasElement, srcRect: DOMRect | RectLike | undefined, )
sources/utils/zip-helpers.ts:102
← previousnext →301–400 of 571, ranked by callers