lowercase folders for Rust convention compatibility

This commit is contained in:
Tangent Wantwight 2020-05-10 18:47:03 -04:00
parent c620e4c982
commit 5c9552fe49
22 changed files with 35 additions and 35 deletions

View file

@ -1,5 +1,5 @@
import { Layer, SpriteSheet } from "../Applet/Render"; import { Layer, SpriteSheet } from "../applet/Render";
import { Component, copyDense, copySparse, EntityState, StateForSchema, Store } from "./Data"; import { Component, copyDense, copySparse, EntityState, StateForSchema, Store } from "./Data";
export class Box { export class Box {

View file

@ -1,4 +1,4 @@
import { DrawSet, Layer } from "../Applet/Render"; import { DrawSet, Layer } from "../applet/Render";
import { Data } from "./Components"; import { Data } from "./Components";
import { Join } from "./Data"; import { Join } from "./Data";
import { TransformCx } from "./Location"; import { TransformCx } from "./Location";

View file

@ -1,7 +1,7 @@
import { Select } from "../Applet/Init"; import { Select } from "../applet/Init";
import { KeyControl } from "../Applet/Keyboard"; import { KeyControl } from "../applet/Keyboard";
import { Loop } from "../Applet/Loop"; import { Loop } from "../applet/Loop";
import { DrawSet, Layer } from "../Applet/Render"; import { DrawSet, Layer } from "../applet/Render";
import { FindCollisions } from "./Collision"; import { FindCollisions } from "./Collision";
import { import {
CollisionClass, CollisionClass,

View file

@ -1,6 +1,6 @@
import { PlaySfx } from "../Applet/Audio"; import { PlaySfx } from "../applet/Audio";
import { Location, Polygon, PolygonComponent, RenderBounds } from "../Ecs/Components"; import { Location, Polygon, PolygonComponent, RenderBounds } from "../ecs/Components";
import { Create, Id, Join, Lookup, Remove } from "../Ecs/Data"; import { Create, Id, Join, Lookup, Remove } from "../ecs/Data";
import { Data, Lifetime, Teams, World } from "./GameComponents"; import { Data, Lifetime, Teams, World } from "./GameComponents";
export function SelfDestructMinions(data: Data, world: World) { export function SelfDestructMinions(data: Data, world: World) {

View file

@ -1,9 +1,9 @@
import { KeyName } from "../Applet/Keyboard"; import { KeyName } from "../applet/Keyboard";
import { DrawSet, Layer } from "../Applet/Render"; import { DrawSet, Layer } from "../applet/Render";
import { ComponentSchema, Data as EcsData } from "../Ecs/Components"; import { ComponentSchema, Data as EcsData } from "../ecs/Components";
import { Component, copySparse, Join, StateForSchema, Store } from "../Ecs/Data"; import { Component, copySparse, Join, StateForSchema, Store } from "../ecs/Data";
import { DumbMotion } from "../Ecs/Location"; import { DumbMotion } from "../ecs/Location";
import { INPUT_FREQUENCY, LockstepProcessor } from "../Ecs/Lockstep"; import { INPUT_FREQUENCY, LockstepProcessor } from "../ecs/Lockstep";
import { Buttons } from "./Input"; import { Buttons } from "./Input";
export enum GamePhase { export enum GamePhase {

View file

@ -1,4 +1,4 @@
import { KeyHandler, KeyName } from "../Applet/Keyboard"; import { KeyHandler, KeyName } from "../applet/Keyboard";
export class Buttons implements KeyHandler { export class Buttons implements KeyHandler {

View file

@ -1,13 +1,13 @@
import pipe from "callbag-pipe"; import pipe from "callbag-pipe";
import subscribe from "callbag-subscribe"; import subscribe from "callbag-subscribe";
import { KeyControl, KeyName } from "../Applet/Keyboard"; import { KeyControl, KeyName } from "../applet/Keyboard";
import { DrawSet } from "../Applet/Render"; import { DrawSet } from "../applet/Render";
import { Location, PolygonComponent, RenderBounds } from "../Ecs/Components"; import { Location, PolygonComponent, RenderBounds } from "../ecs/Components";
import { Create } from "../Ecs/Data"; import { Create } from "../ecs/Data";
import { RunRenderBounds } from "../Ecs/Renderers"; import { RunRenderBounds } from "../ecs/Renderers";
import { LockstepClient } from "../Net/LockstepClient"; import { LockstepClient } from "../net/LockstepClient";
import { LoopbackServer } from "../Net/LoopbackServer"; import { LoopbackServer } from "../net/LoopbackServer";
import { Data, Engine, PlayerControl } from "./GameComponents"; import { Data, Engine, PlayerControl } from "./GameComponents";
import { Buttons } from "./Input"; import { Buttons } from "./Input";

View file

@ -1,6 +1,6 @@
import { DrawSet } from "../Applet/Render"; import { DrawSet } from "../applet/Render";
import { Join, Remove } from "../Ecs/Data"; import { Join, Remove } from "../ecs/Data";
import { TransformCx } from "../Ecs/Location"; import { TransformCx } from "../ecs/Location";
import { Data, GamePhase, World } from "./GameComponents"; import { Data, GamePhase, World } from "./GameComponents";
/*export function SpawnMessage(color: string, text: string) { /*export function SpawnMessage(color: string, text: string) {

View file

@ -1,9 +1,9 @@
import { Select } from "./Applet/Init"; import { Select } from "./applet/Init";
import { KeyName } from "./Applet/Keyboard"; import { KeyName } from "./applet/Keyboard";
import { BindTests } from "./Ecs/test"; import { BindTests } from "./ecs/test";
import { Data } from "./Game/GameComponents"; import { Data } from "./game/GameComponents";
import { Main } from "./Game/Main"; import { Main } from "./game/Main";
import { LoopbackServer } from "./Net/LoopbackServer"; import { LoopbackServer } from "./net/LoopbackServer";
/* // Hot Module Reloading stub, if that's viable /* // Hot Module Reloading stub, if that's viable
* declare const module: any; * declare const module: any;

View file

@ -4,7 +4,7 @@ import animationFrames from "callbag-animation-frames";
import map from "callbag-map"; import map from "callbag-map";
import pipe from "callbag-pipe"; import pipe from "callbag-pipe";
import { INPUT_FREQUENCY, LockstepProcessor, LockstepState } from "../Ecs/Lockstep"; import { INPUT_FREQUENCY, LockstepProcessor, LockstepState } from "../ecs/Lockstep";
export const enum MessageTypes { export const enum MessageTypes {
/** /**

View file

@ -2,8 +2,8 @@ import { Callbag } from "callbag";
import pipe from "callbag-pipe"; import pipe from "callbag-pipe";
import share from "callbag-share"; import share from "callbag-share";
import { INPUT_FREQUENCY } from "../Ecs/Lockstep"; import { INPUT_FREQUENCY } from "../ecs/Lockstep";
import { catchTalkback, defer, interval, makeSubject, map, merge } from "../Utilities/Callbag"; import { catchTalkback, defer, interval, makeSubject, map, merge } from "../utilities/Callbag";
import { ClientMessage, MessageTypes, ServerMessage } from "./LockstepClient"; import { ClientMessage, MessageTypes, ServerMessage } from "./LockstepClient";
/** Stub loopback server that handles multiple clients, for schemes where GlobalInput = LocalInput[] */ /** Stub loopback server that handles multiple clients, for schemes where GlobalInput = LocalInput[] */