Move pixi-proxy files

This commit is contained in:
Bill 2022-10-29 23:09:19 -04:00
parent 7dc36f2e77
commit 894680ed36
40 changed files with 550 additions and 549 deletions

View File

@ -1,4 +1,4 @@
import { NitroBaseTexture, NitroFilter } from './proxy'; import { NitroBaseTexture, NitroFilter } from '../../pixi-proxy';
const vertex = ` const vertex = `
attribute vec2 aVertexPosition; attribute vec2 aVertexPosition;

View File

@ -1,4 +1,3 @@
export * from './AdvancedMap'; export * from './AdvancedMap';
export * from './ArrayBufferToBase64'; export * from './ArrayBufferToBase64';
export * from './NitroTimer'; export * from './NitroTimer';
export * from './proxy';

View File

@ -1,4 +1,5 @@
export * from './api'; export * from './api';
export * from './core'; export * from './core';
export * from './nitro'; export * from './nitro';
export * from './pixi-proxy';
export * from './room'; export * from './room';

View File

@ -4,9 +4,9 @@ import { ColorMatrixFilter } from '@pixi/filter-color-matrix';
import { Rectangle } from '@pixi/math'; import { Rectangle } from '@pixi/math';
import { Sprite } from '@pixi/sprite'; import { Sprite } from '@pixi/sprite';
import { IGraphicAsset } from '../../api'; import { IGraphicAsset } from '../../api';
import { NitroContainer, NitroSprite } from '../../core';
import { AdvancedMap } from '../../core/utils/AdvancedMap'; import { AdvancedMap } from '../../core/utils/AdvancedMap';
import { PaletteMapFilter } from '../../core/utils/PaletteMapFilter'; import { PaletteMapFilter } from '../../core/utils/PaletteMapFilter';
import { NitroContainer, NitroSprite } from '../../pixi-proxy';
import { TextureUtils } from '../../room/utils/TextureUtils'; import { TextureUtils } from '../../room/utils/TextureUtils';
import { Nitro } from '../Nitro'; import { Nitro } from '../Nitro';
import { ActiveActionData } from './actions/ActiveActionData'; import { ActiveActionData } from './actions/ActiveActionData';

View File

@ -1,6 +1,6 @@
import { Texture } from '@pixi/core'; import { Texture } from '@pixi/core';
import { Matrix, Point, Rectangle } from '@pixi/math'; import { Matrix, Point, Rectangle } from '@pixi/math';
import { NitroContainer, NitroSprite } from '../../../core'; import { NitroContainer, NitroSprite } from '../../../pixi-proxy';
import { RoomObjectSpriteData } from '../../../room/data/RoomObjectSpriteData'; import { RoomObjectSpriteData } from '../../../room/data/RoomObjectSpriteData';
import { Nitro } from '../../Nitro'; import { Nitro } from '../../Nitro';
import { IActiveActionData } from '../actions/IActiveActionData'; import { IActiveActionData } from '../actions/IActiveActionData';

View File

@ -1,7 +1,8 @@
import { Texture } from '@pixi/core'; import { Texture } from '@pixi/core';
import { ColorMatrix, ColorMatrixFilter } from '@pixi/filter-color-matrix'; import { ColorMatrix, ColorMatrixFilter } from '@pixi/filter-color-matrix';
import { IEventDispatcher } from '../../api'; import { IEventDispatcher } from '../../api';
import { EventDispatcher, NitroContainer, NitroSprite } from '../../core'; import { EventDispatcher } from '../../core';
import { NitroContainer, NitroSprite } from '../../pixi-proxy';
import { TextureUtils } from '../../room'; import { TextureUtils } from '../../room';
import { Nitro } from '../Nitro'; import { Nitro } from '../Nitro';
import { RoomCameraWidgetManagerEvent } from './events/RoomCameraWidgetManagerEvent'; import { RoomCameraWidgetManagerEvent } from './events/RoomCameraWidgetManagerEvent';

View File

@ -2,9 +2,9 @@ import { RenderTexture, Resource, Texture } from '@pixi/core';
import { Container, DisplayObject } from '@pixi/display'; import { Container, DisplayObject } from '@pixi/display';
import { Matrix, Point, Rectangle } from '@pixi/math'; import { Matrix, Point, Rectangle } from '@pixi/math';
import { IConnection, IDisposable, IMessageComposer, IUpdateReceiver } from '../../api'; import { IConnection, IDisposable, IMessageComposer, IUpdateReceiver } from '../../api';
import { NitroSprite } from '../../core';
import { NitroManager } from '../../core/common/NitroManager'; import { NitroManager } from '../../core/common/NitroManager';
import { NitroEvent } from '../../core/events/NitroEvent'; import { NitroEvent } from '../../core/events/NitroEvent';
import { NitroSprite } from '../../pixi-proxy';
import { TextureUtils } from '../../room'; import { TextureUtils } from '../../room';
import { RoomObjectEvent } from '../../room/events/RoomObjectEvent'; import { RoomObjectEvent } from '../../room/events/RoomObjectEvent';
import { RoomObjectMouseEvent } from '../../room/events/RoomObjectMouseEvent'; import { RoomObjectMouseEvent } from '../../room/events/RoomObjectMouseEvent';

View File

@ -1,7 +1,7 @@
import { RenderTexture, Resource, Texture } from '@pixi/core'; import { RenderTexture, Resource, Texture } from '@pixi/core';
import { Matrix } from '@pixi/math'; import { Matrix } from '@pixi/math';
import { IGraphicAsset } from '../../../../../api'; import { IGraphicAsset } from '../../../../../api';
import { NitroSprite } from '../../../../../core/utils/proxy/NitroSprite'; import { NitroSprite } from '../../../../../pixi-proxy';
import { Nitro } from '../../../../Nitro'; import { Nitro } from '../../../../Nitro';
import { FurnitureBBVisualization } from './FurnitureBBVisualization'; import { FurnitureBBVisualization } from './FurnitureBBVisualization';
import { FurnitureBrandedImageVisualization } from './FurnitureBrandedImageVisualization'; import { FurnitureBrandedImageVisualization } from './FurnitureBrandedImageVisualization';

View File

@ -3,7 +3,8 @@ import { AlphaFilter } from '@pixi/filter-alpha';
import { Graphics } from '@pixi/graphics'; import { Graphics } from '@pixi/graphics';
import { Matrix } from '@pixi/math'; import { Matrix } from '@pixi/math';
import { IGraphicAsset, IParticleSystem } from '../../../../../api'; import { IGraphicAsset, IParticleSystem } from '../../../../../api';
import { AdvancedMap, NitroPoint, NitroSprite } from '../../../../../core'; import { AdvancedMap } from '../../../../../core';
import { NitroPoint, NitroSprite } from '../../../../../pixi-proxy';
import { IRoomObjectSprite } from '../../../../../room'; import { IRoomObjectSprite } from '../../../../../room';
import { Vector3D } from '../../../../avatar'; import { Vector3D } from '../../../../avatar';
import { Nitro } from '../../../../Nitro'; import { Nitro } from '../../../../Nitro';

View File

@ -1,4 +1,4 @@
import { NitroPoint } from '../../../../../core'; import { NitroPoint } from '../../../../../pixi-proxy';
import { FurnitureAnimatedVisualization } from './FurnitureAnimatedVisualization'; import { FurnitureAnimatedVisualization } from './FurnitureAnimatedVisualization';
export class FurniturePartyBeamerVisualization extends FurnitureAnimatedVisualization export class FurniturePartyBeamerVisualization extends FurnitureAnimatedVisualization

View File

@ -1,7 +1,7 @@
import { Resource, Texture } from '@pixi/core'; import { Resource, Texture } from '@pixi/core';
import { Matrix } from '@pixi/math'; import { Matrix } from '@pixi/math';
import { IGraphicAsset } from '../../../../../api'; import { IGraphicAsset } from '../../../../../api';
import { NitroSprite, NitroTexture } from '../../../../../core'; import { NitroSprite, NitroTexture } from '../../../../../pixi-proxy';
import { TextureUtils } from '../../../../../room/utils/TextureUtils'; import { TextureUtils } from '../../../../../room/utils/TextureUtils';
import { FurnitureAnimatedVisualization } from './FurnitureAnimatedVisualization'; import { FurnitureAnimatedVisualization } from './FurnitureAnimatedVisualization';

View File

@ -1,7 +1,7 @@
import { RenderTexture, Resource, Texture } from '@pixi/core'; import { RenderTexture, Resource, Texture } from '@pixi/core';
import { Sprite } from '@pixi/sprite'; import { Sprite } from '@pixi/sprite';
import { Text } from '@pixi/text'; import { Text } from '@pixi/text';
import { NitroContainer, NitroSprite } from '../../../../../core'; import { NitroContainer, NitroSprite } from '../../../../../pixi-proxy';
import { TextureUtils } from '../../../../../room'; import { TextureUtils } from '../../../../../room';
import { Nitro } from '../../../../Nitro'; import { Nitro } from '../../../../Nitro';

View File

@ -1,7 +1,7 @@
import { RenderTexture, Resource, Texture } from '@pixi/core'; import { RenderTexture, Resource, Texture } from '@pixi/core';
import { Graphics } from '@pixi/graphics'; import { Graphics } from '@pixi/graphics';
import { Matrix, Point, Rectangle } from '@pixi/math'; import { Matrix, Point, Rectangle } from '@pixi/math';
import { NitroRenderTexture } from '../../../../../core'; import { NitroRenderTexture } from '../../../../../pixi-proxy';
import { IRoomPlane } from '../../../../../room/object/visualization/IRoomPlane'; import { IRoomPlane } from '../../../../../room/object/visualization/IRoomPlane';
import { IRoomGeometry } from '../../../../../room/utils/IRoomGeometry'; import { IRoomGeometry } from '../../../../../room/utils/IRoomGeometry';
import { IVector3D } from '../../../../../room/utils/IVector3D'; import { IVector3D } from '../../../../../room/utils/IVector3D';

View File

@ -1,6 +1,6 @@
import { Matrix, Point } from '@pixi/math'; import { Matrix, Point } from '@pixi/math';
import { IGraphicAsset } from '../../../../../../../api'; import { IGraphicAsset } from '../../../../../../../api';
import { NitroSprite } from '../../../../../../../core'; import { NitroSprite } from '../../../../../../../pixi-proxy';
import { IVector3D } from '../../../../../../../room/utils/IVector3D'; import { IVector3D } from '../../../../../../../room/utils/IVector3D';
import { Randomizer } from '../../utils'; import { Randomizer } from '../../utils';
import { PlaneTexture } from './PlaneTexture'; import { PlaneTexture } from './PlaneTexture';

View File

@ -1,5 +1,5 @@
import { Graphics } from '@pixi/graphics'; import { Graphics } from '@pixi/graphics';
import { NitroRenderTexture } from '../../../../../../../core'; import { NitroRenderTexture } from '../../../../../../../pixi-proxy';
import { IVector3D } from '../../../../../../../room/utils/IVector3D'; import { IVector3D } from '../../../../../../../room/utils/IVector3D';
import { Vector3d } from '../../../../../../../room/utils/Vector3d'; import { Vector3d } from '../../../../../../../room/utils/Vector3d';
import { PlaneMaterialCell } from './PlaneMaterialCell'; import { PlaneMaterialCell } from './PlaneMaterialCell';

View File

@ -2,7 +2,7 @@ import { RenderTexture, Texture } from '@pixi/core';
import { Container, DisplayObject } from '@pixi/display'; import { Container, DisplayObject } from '@pixi/display';
import { Point, Rectangle } from '@pixi/math'; import { Point, Rectangle } from '@pixi/math';
import { Sprite } from '@pixi/sprite'; import { Sprite } from '@pixi/sprite';
import { NitroSprite } from '../../../core'; import { NitroSprite } from '../../../pixi-proxy';
import { IRoomObjectController } from '../../../room/object/IRoomObjectController'; import { IRoomObjectController } from '../../../room/object/IRoomObjectController';
import { IRoomRenderingCanvas } from '../../../room/renderer/IRoomRenderingCanvas'; import { IRoomRenderingCanvas } from '../../../room/renderer/IRoomRenderingCanvas';
import { IVector3D } from '../../../room/utils/IVector3D'; import { IVector3D } from '../../../room/utils/IVector3D';

View File

@ -1,7 +1,6 @@
import { Resource, Texture } from '@pixi/core'; import { Resource, Texture } from '@pixi/core';
import { IAssetManager, IDisposable, IMessageEvent } from '../../../api'; import { IAssetManager, IDisposable, IMessageEvent } from '../../../api';
import { NitroContainer, NitroTexture } from '../../../core/utils'; import { NitroContainer, NitroSprite, NitroTexture } from '../../../pixi-proxy';
import { NitroSprite } from '../../../core/utils/proxy/NitroSprite';
import { GroupBadgePartsEvent } from '../../communication/messages/incoming/group/GroupBadgePartsEvent'; import { GroupBadgePartsEvent } from '../../communication/messages/incoming/group/GroupBadgePartsEvent';
import { Nitro } from '../../Nitro'; import { Nitro } from '../../Nitro';
import { BadgeImageReadyEvent } from '../events/BadgeImageReadyEvent'; import { BadgeImageReadyEvent } from '../events/BadgeImageReadyEvent';

View File

@ -1,7 +1,7 @@
import { RenderTexture } from '@pixi/core'; import { RenderTexture } from '@pixi/core';
import { Point, Rectangle } from '@pixi/math'; import { Point, Rectangle } from '@pixi/math';
import { IGraphicAssetCollection } from '../../../api'; import { IGraphicAssetCollection } from '../../../api';
import { NitroContainer, NitroSprite } from '../../../core'; import { NitroContainer, NitroSprite } from '../../../pixi-proxy';
import { RoomObjectSpriteData } from '../../data/RoomObjectSpriteData'; import { RoomObjectSpriteData } from '../../data/RoomObjectSpriteData';
import { IRoomGeometry } from '../../utils/IRoomGeometry'; import { IRoomGeometry } from '../../utils/IRoomGeometry';
import { TextureUtils } from '../../utils/TextureUtils'; import { TextureUtils } from '../../utils/TextureUtils';

View File

@ -1,5 +1,5 @@
import { Resource, Texture } from '@pixi/core'; import { Resource, Texture } from '@pixi/core';
import { NitroSprite } from '../../../../core'; import { NitroSprite } from '../../../../pixi-proxy';
import { TextureUtils } from '../../../utils'; import { TextureUtils } from '../../../utils';
export class GraphicAssetPalette export class GraphicAssetPalette

View File

@ -3,9 +3,9 @@ import { Container, DisplayObject } from '@pixi/display';
import { Graphics } from '@pixi/graphics'; import { Graphics } from '@pixi/graphics';
import { Matrix, Point, Rectangle } from '@pixi/math'; import { Matrix, Point, Rectangle } from '@pixi/math';
import { Sprite } from '@pixi/sprite'; import { Sprite } from '@pixi/sprite';
import { NitroContainer, NitroSprite } from '../../core';
import { Nitro } from '../../nitro/Nitro'; import { Nitro } from '../../nitro/Nitro';
import { MouseEventType } from '../../nitro/ui/MouseEventType'; import { MouseEventType } from '../../nitro/ui/MouseEventType';
import { NitroContainer, NitroSprite } from '../../pixi-proxy';
import { RoomObjectSpriteData } from '../data/RoomObjectSpriteData'; import { RoomObjectSpriteData } from '../data/RoomObjectSpriteData';
import { RoomSpriteMouseEvent } from '../events/RoomSpriteMouseEvent'; import { RoomSpriteMouseEvent } from '../events/RoomSpriteMouseEvent';
import { RoomObjectSpriteType } from '../object/enum/RoomObjectSpriteType'; import { RoomObjectSpriteType } from '../object/enum/RoomObjectSpriteType';

View File

@ -2,7 +2,7 @@ import { BLEND_MODES } from '@pixi/constants';
import { BaseTexture, RenderTexture, Resource, Texture } from '@pixi/core'; import { BaseTexture, RenderTexture, Resource, Texture } from '@pixi/core';
import { Point } from '@pixi/math'; import { Point } from '@pixi/math';
import { Sprite } from '@pixi/sprite'; import { Sprite } from '@pixi/sprite';
import { NitroSprite } from '../../../core'; import { NitroSprite } from '../../../pixi-proxy';
import { TextureUtils } from '../../utils'; import { TextureUtils } from '../../utils';
export class ExtendedSprite extends Sprite export class ExtendedSprite extends Sprite