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
+2 -1
View File
@@ -1,7 +1,7 @@
import { writeFileAsync, readFileAsync, writeFileSync } from 'fs';
import { fromByteArray } from 'base64-js';
import {
TileType, MapInfo, MapState, defaultMapState, Rect, MapType, ServerFlags, EntityFlags, MapFlags, EntityState
TileType, MapInfo, MapState, defaultMapState, Rect, ServerFlags, EntityFlags, EntityState
} from '../common/interfaces';
import { distanceSquaredXY, containsPoint, hasFlag } from '../common/utils';
import { POSITION_MAX } from '../common/movementUtils';
@@ -20,6 +20,7 @@ import { setEntityName } from './entityUtils';
import { WallController } from './controllers/wallController';
import { getTile } from '../common/tileUtils';
import { getRegion, getRegionGlobal } from '../common/region';
import { MapFlags, MapType } from '../common/commonInterfaces';
export interface EntityData {
type: string;