Complete Cocos Creator port with level bundles, themes, and tooling.
Adds level prefabs, theme assets, audio, extensions, and deployment scripts for the Unity WebGL migration. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
38
assets/scripts/theme/ThemeRegistry.ts
Normal file
38
assets/scripts/theme/ThemeRegistry.ts
Normal file
@@ -0,0 +1,38 @@
|
||||
export {
|
||||
loadThemeDatabase,
|
||||
reloadThemeDatabase,
|
||||
isThemeDatabaseReady,
|
||||
getThemeIds,
|
||||
getThemeConfig,
|
||||
hasTheme,
|
||||
getThemeTextureFolder,
|
||||
getThemeEntities,
|
||||
getThemeBackground,
|
||||
getThemeTiles,
|
||||
getThemeBorderDecorKey,
|
||||
getThemeTilePath,
|
||||
getGlobalEntityDisplay,
|
||||
getGlobalEntityDisplayScales,
|
||||
getThemeEntityDisplayScales,
|
||||
getThemeEntityDisplayCellBoxes,
|
||||
mergeEntityDisplay,
|
||||
entityDisplayCellBoxes,
|
||||
ENTITY_DISPLAY_BASE,
|
||||
DEFAULT_ENTITY_DISPLAY,
|
||||
DEFAULT_PROP_BLOCK_Y_OFFSET,
|
||||
DEFAULT_PROP_GROUND_Y_OFFSET,
|
||||
getThemePropPlacementOffsets,
|
||||
getThemeHudConfig,
|
||||
getThemeHudIconPath,
|
||||
getThemeHudIconScale,
|
||||
getThemeHudIconCandidates,
|
||||
getThemePortraitPath,
|
||||
getThemePortraitFlipX,
|
||||
getThemePortraitScale,
|
||||
resolveThemeId,
|
||||
setTheme,
|
||||
removeTheme,
|
||||
exportDatabaseJson,
|
||||
} from './ThemeDatabase';
|
||||
|
||||
export type { ThemeConfig, ThemeEntityConfig, ThemeTileConfig, ThemeHudConfig, ThemeHudIconKey, ThemeDatabaseFile, EntityDisplayGlobalConfig, EntityDisplayCellBox, EntityDisplayScaleConfig, EntityDisplayKind } from './ThemeTypes';
|
||||
Reference in New Issue
Block a user