Fix sprite builder

Fixes sprite builder to not rely on sprite.ts that is generating
This commit is contained in:
2026-03-21 13:28:03 +01:00
parent 1fc21d700e
commit 6380f0bbcc
33 changed files with 143 additions and 3587 deletions
+1 -1
View File
@@ -1,8 +1,8 @@
import { Injectable } from '@angular/core';
import { Howl } from 'howler';
import { random, sample } from 'lodash';
import { Season, Holiday, MapType } from '../../common/interfaces';
import { getUrl } from '../../client/rev';
import { Holiday, MapType, Season } from '../../common/commonInterfaces';
interface Track {
name: string;
@@ -5,7 +5,7 @@ import { tileHeight, tileWidth, REGION_SIZE } from '../../../common/constants';
import { faHome } from '../../../client/icons';
import { updateMap, createWorldMap, setRegion } from '../../../client/worldMap';
import {
Season, DrawOptions, defaultDrawOptions, EntityFlags, Entity, WorldMap, MapType, MapFlags
DrawOptions, defaultDrawOptions, EntityFlags, Entity, WorldMap,
} from '../../../common/interfaces';
import { drawCanvas } from '../../../graphics/contextSpriteBatch';
import { paletteSpriteSheet } from '../../../generated/sprites';
@@ -25,6 +25,7 @@ import { StorageService } from '../../services/storageService';
import { getTileColor } from '../../../common/colors';
import { colorToCSS } from '../../../common/color';
import { loadAndInitSpriteSheets } from '../../../client/loadSprites';
import { MapFlags, MapType, Season } from '../../../common/commonInterfaces';
export interface ToolsMapOtherInfo {
season: Season;