Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LiberatedPixelCup/Universal-LPC-Spritesheet-Character-Generator
/ functions
Functions
571 in github.com/LiberatedPixelCup/Universal-LPC-Spritesheet-Character-Generator
⨍
Functions
571
◇
Types & classes
10
↓ 3 callers
Function
buildIndexMetadataJs
( aliasMetadata, categoryTree, fullItemMetadata, env = "production", )
scripts/generateSources/state.js:260
↓ 3 callers
Function
buildItemMetadataLiteJs
(fullItemMetadata, env = "production")
scripts/generateSources/state.js:322
↓ 3 callers
Function
buildLayersMetadataJs
(fullItemMetadata, env = "production")
scripts/generateSources/state.js:356
↓ 3 callers
Function
buildPaletteMetadataJs
(env = "production")
scripts/generateSources/state.js:309
↓ 3 callers
Function
buildTreePath
(filePath, itemId, sheetsDir)
scripts/generateSources/items.js:40
↓ 3 callers
Function
clothOptWithSourceFromPaletteOptions
()
tests/components/tree/PaletteSelectModal_spec.js:105
↓ 3 callers
Function
createCatalog
()
sources/state/catalog.ts:300
↓ 3 callers
Function
createHashStringFromParams
( params: Record<string, string>, )
sources/state/hash.ts:154
↓ 3 callers
Function
downloadAsPNG
( filename: string = "character-spritesheet.png", getCanvasBlobFunc: GetCanvasBlobFn = () => getCanvas().a
sources/canvas/download.ts:11
↓ 3 callers
Function
drainZipExportUiSuspend
Drain nested suspend depth so module state does not leak between tests.
tests/utils/zip-export-ui-suspend_spec.js:10
↓ 3 callers
Function
dumpComputedStylesForUrl
(url, viewport, options = {})
scripts/computed-style/computed-style-dump-shared.js:1148
↓ 3 callers
Function
expandInternedItemLite
( lite: ItemLite | InternedItemLite, variantArrays?: string[][], recolorVariantArrays?: string[][], )
sources/state/resolve-hash-param.ts:111
↓ 3 callers
Function
expandMetadataIndexesWithInternedArrays
( metadataIndexes: MetadataIndexes | null | undefined, )
sources/state/resolve-hash-param.ts:37
↓ 3 callers
Function
exportStateAsJSON
( catalog: CatalogReader, state: State, layers: readonly unknown[], )
sources/state/json.ts:127
↓ 3 callers
Function
formatPathError
(itemId: string, e: PathError)
sources/canvas/renderer.ts:56
↓ 3 callers
Function
frameCanvas
()
tests/state/zip_spec.js:1190
↓ 3 callers
Function
generateCreditsCsv
()
scripts/generateSources/credits.js:246
↓ 3 callers
Function
getPaletteOptions
( itemId: string, meta: ItemLite, )
sources/state/palettes.ts:276
↓ 3 callers
Function
getRequiredSexes
(definition)
scripts/generateSources/items.js:23
↓ 3 callers
Function
internSlimByTypeNameRows
(byTypeNameFull)
scripts/generateSources/state.js:154
↓ 3 callers
Function
isInternedItemLite
(lite: unknown)
sources/state/resolve-hash-param.ts:98
↓ 3 callers
Function
isStale
()
sources/canvas/palette-recolor.ts:403
↓ 3 callers
Function
itemMetadataCodeSplittingGroups
()
vite/wiring.js:33
↓ 3 callers
Function
itemMetadataPlugins
(command, pluginOptions)
vite/wiring.js:61
↓ 3 callers
Function
liteOrNull
Local helpers — collapse `Result<T, _>` into `T | null` for ergonomics.
sources/state/palettes.ts:15
↓ 3 callers
Function
metadataEnvForViteCommand
(command)
vite/wiring.js:49
↓ 3 callers
Function
minimalFourRowDef
()
tests/utils/zip-helpers_spec.js:434
↓ 3 callers
Function
newStandardAnimationForCustomAnimation
( src: HTMLCanvasElement | HTMLImageElement, custAnim: CustomAnimationDefinition, )
sources/utils/zip-helpers.ts:313
↓ 3 callers
Function
openHumanMaleSkintonePalette
(page, opts = {})
tests/visual/home-helpers.js:151
↓ 3 callers
Function
paintPreviewFrameForCycleIndex
* Draw one preview frame for a given index into `animationFrames` (the cycle). * Used by the animation loop and by visual tests (static frame, no rAF
sources/canvas/preview-animation.ts:80
↓ 3 callers
Function
resolveHashParamFromHashMatch
({ typeName, nameAndVariant, itemsByTypeName, }: { typeName: string; nameAndVariant: string; items
sources/state/resolve-hash-param.ts:177
↓ 3 callers
Function
selectDefaults
()
sources/state/state.ts:159
↓ 3 callers
Function
sortCategoryTree
(node, itemMetadata)
scripts/generateSources/tree.js:72
↓ 3 callers
Function
startPreviewAnimation
()
sources/canvas/preview-animation.ts:157
↓ 3 callers
Function
stopPreviewAnimation
()
sources/canvas/preview-animation.ts:197
↓ 3 callers
Function
withCapturedConsoleError
(callback)
tests/node/scripts/generateSources/test_helpers.js:244
↓ 3 callers
Function
zipExportProfiledLoadComposite
* When `zipProfiler` is set, records separate load/decode vs compositing phases; otherwise runs load then composite.
sources/canvas/renderer.ts:135
↓ 3 callers
Function
zipProfilerRoundMs
(ms: number)
sources/performance-profiler.ts:313
↓ 2 callers
Method
_initializeFPSMonitor
()
sources/performance-profiler.ts:184
↓ 2 callers
Function
addExtensionIfMissing
(filename: string, extension: string)
sources/utils/fileName.ts:3
↓ 2 callers
Function
addSlice
( folder, fileName, srcCanvas, srcRect, )
sources/state/zip.ts:89
↓ 2 callers
Function
addStandardAnimationToZipCustomFolder
( custAnimFolder: ZipFolder, itemFileName: string, src: HTMLCanvasElement | HTMLImageElement, custAnim
sources/utils/zip-helpers.ts:334
↓ 2 callers
Function
blitFrameFromSheet
( destCtx: CanvasRenderingContext2D, sourceCanvas: HTMLCanvasElement, sourceX: number, sourceY: number
sources/utils/zip-helpers.ts:81
↓ 2 callers
Function
buildAllMetadataModules
(env = "production", sources = {})
scripts/generateSources/state.js:368
↓ 2 callers
Function
buildNewSelection
( foundItemId: string, matchedVariant: string | null, matchedRecolor: string, subId: number | null = n
sources/state/hash.ts:170
↓ 2 callers
Function
buildSlimByTypeNameRow
( itemId: string, meta: ItemLikeForSlimRow, )
sources/state/resolve-hash-param.ts:148
↓ 2 callers
Function
clearObject
(obj)
scripts/generateSources/state.js:29
↓ 2 callers
Function
clearRecolorCache
()
sources/canvas/palette-recolor.ts:333
↓ 2 callers
Function
closeSkintonePaletteModal
(page)
tests/visual/home-helpers.js:216
↓ 2 callers
Function
clothOptFromPaletteOptions
`opt` shape matches `getPaletteOptions` but `versions` use `material.version` (modal `split`).
tests/components/tree/PaletteSelectModal_spec.js:90
↓ 2 callers
Function
collectCreditsCsvRows
(definition, meta)
scripts/generateSources/credits.js:119
↓ 2 callers
Function
compileShader
( gl: WebGLRenderingContext, type: GLenum, source: string, )
sources/canvas/webgl-palette-recolor.ts:72
↓ 2 callers
Function
computeSourceInputsFingerprint
(deps)
scripts/generateSources/source_inputs_fingerprint.js:11
↓ 2 callers
Function
createDefaultHashDeps
()
sources/state/hash.ts:40
↓ 2 callers
Function
createDefaultJsonDeps
()
sources/state/json.ts:94
↓ 2 callers
Function
createDefaultPathDeps
()
sources/state/path.ts:53
↓ 2 callers
Function
createDefaultStateDeps
()
sources/state/state.ts:78
↓ 2 callers
Function
createFourRowCustomCanvas
(def)
tests/utils/zip-helpers_spec.js:446
↓ 2 callers
Function
createFrameCanvasPool
( poolSize: number, frameWidth: number, frameHeight: number, )
sources/utils/zip-helpers.ts:63
↓ 2 callers
Function
debugWarn
(...args)
scripts/utils/debug.js:31
↓ 2 callers
Function
dispatchMouseWithPage
* ScrollableContainer reads pageX/pageY. Synthetic MouseEvent init often leaves them at 0 * in real browsers, so drag math never moves scrollLeft.
tests/components/preview/ScrollableContainer_spec.js:10
↓ 2 callers
Function
encodeAndAddToZip
( folder: ZipFolder, fileName: string, canvas: HTMLCanvasElement, profiler: ZipHelpersProfiler | null,
sources/utils/zip-helpers.ts:231
↓ 2 callers
Function
ensureDocumentTouchFactories
* Helpers to fire synthetic pinch gestures: build touch points, wrap them in lists, dispatch * `touchstart` / `touchmove` / `touchend` so TinyGesture
tests/components/preview/PinchToZoom_spec.js:23
↓ 2 callers
Function
escapeForRegExp
(string)
vite/wiring.js:11
↓ 2 callers
Function
expandInternedItemLitesInStore
* Fills `variants` and `recolors[0].variants` from `metadataIndexesStore` * when the lite chunk was emitted with interned `v` / `r` (shared tables
sources/state/catalog.ts:323
↓ 2 callers
Function
fontShorthandFromComputed
(cs)
scripts/computed-style/computed-style-dump-shared.js:861
↓ 2 callers
Function
getAnimations
()
sources/components/filters/AnimationFilters.ts:35
↓ 2 callers
Function
getAnimations
()
sources/state/filters.ts:50
↓ 2 callers
Function
getCustomAnimations
()
sources/canvas/preview-animation.ts:207
↓ 2 callers
Function
getDebugParam
()
sources/utils/debug.ts:26
↓ 2 callers
Function
getLicenseConfig
()
sources/components/filters/LicenseFilters.ts:40
↓ 2 callers
Function
getLicenseConfig
()
sources/state/filters.ts:38
↓ 2 callers
Function
getPath
(item)
tests/canvas/load-images_spec.js:80
↓ 2 callers
Function
getSourceInputsCachePath
(cwd)
scripts/generateSources/source_inputs_fingerprint.js:38
↓ 2 callers
Function
getTargetPalette
( material: string, targetColor: string, )
sources/state/palettes.ts:193
↓ 2 callers
Function
gotoHomepageReady
( page, baseUrl = process.env.PLAYWRIGHT_TEST_BASE_URL ?? "http://127.0.0.1:4173", )
tests/visual/home-helpers.js:62
↓ 2 callers
Function
hasPart
(flatMap: string[], part: string)
sources/state/path.ts:102
↓ 2 callers
Function
hasRepoLayout
* @param {string} root
vite/vite-plugin-item-metadata.js:29
↓ 2 callers
Function
headerToCheckboxBlockGap
(box, title)
scripts/computed-style/computed-style-dump-shared.js:1012
↓ 2 callers
Function
hexToRgb
Convert hex color string to RGB object.
sources/canvas/palette-recolor.ts:44
↓ 2 callers
Function
hexToRgbNormalized
Convert hex color to RGB array normalized 0-1.
sources/canvas/webgl-palette-recolor.ts:119
↓ 2 callers
Function
initPreviewCanvas
( previewCanvasElement: HTMLCanvasElement, )
sources/canvas/preview-canvas.ts:101
↓ 2 callers
Function
isAnimationCompatible
( itemId: string, catalog: CatalogReader, )
sources/components/filters/AnimationFilters.ts:25
↓ 2 callers
Function
isDebugEnabled
()
scripts/utils/debug.js:21
↓ 2 callers
Function
isLicenseCompatible
( itemId: string, catalog: CatalogReader, )
sources/components/filters/LicenseFilters.ts:30
↓ 2 callers
Function
isLpcComputedStyleDebug
()
scripts/computed-style/computed-style-dump-shared.js:29
↓ 2 callers
Function
isPathInside
* @param {string} filePath * @param {string} dirPath * @returns {boolean}
vite/vite-plugin-item-metadata.js:17
↓ 2 callers
Function
loadGeneratorModule
()
tests/node/scripts/generateSources/test_helpers.js:177
↓ 2 callers
Function
loadProfile
(p)
scripts/zip/diff-zip-profile.js:40
↓ 2 callers
Function
logIfNotFound
* Tap a `LoadError` to surface a missing-item error to the console. Loading * errors are transient (chunk hasn't registered yet) and stay silent.
sources/state/meta.ts:18
↓ 2 callers
Function
makeFolder
(name, parentPath = "")
tests/helpers/fake-jszip.js:25
↓ 2 callers
Function
openLicenseAnimationAdvancedAndSearchArm
(page)
tests/visual/home-helpers.js:228
↓ 2 callers
Function
processItemCredits
( itemId, filePath, definition, sheetsDir = null, )
scripts/generateSources/credits.js:171
↓ 2 callers
Function
projectPath
(...segments)
tests/node/scripts/generateSources/test_helpers.js:27
↓ 2 callers
Function
recolorImageCPU
* Recolor an image using palette mapping (CPU implementation). * Accepts a list of (source, target) palette mappings; all mappings are * flattened i
sources/canvas/palette-recolor.ts:106
↓ 2 callers
Function
recolorWithPalette
( sourceImage: HTMLImageElement | HTMLCanvasElement, targetColors: Record<string, string>, sourcePalette
sources/canvas/palette-recolor.ts:341
↓ 2 callers
Function
resetAll
()
sources/state/state.ts:194
↓ 2 callers
Function
resetGeneratorState
()
scripts/generateSources/state.js:39
↓ 2 callers
Function
resetJsonDeps
()
sources/state/json.ts:111
↓ 2 callers
Function
resetLoadAllMetadataCacheForTests
()
sources/install-item-metadata.ts:61
← previous
next →
201–300 of 571, ranked by callers