mirror of
https://github.com/Terncode/pixel.horse.git
synced 2026-09-24 21:55:52 +02:00
Fix sprite builder
Fixes sprite builder to not rely on sprite.ts that is generating
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user