diff --git a/src/lib/parser/parser.js b/src/lib/parser/Parser.js similarity index 100% rename from src/lib/parser/parser.js rename to src/lib/parser/Parser.js diff --git a/src/lib/parser/parseGlobdata.js b/src/lib/parser/parseGlobdata.js index d678883..45c028b 100644 --- a/src/lib/parser/parseGlobdata.js +++ b/src/lib/parser/parseGlobdata.js @@ -1,4 +1,4 @@ -import Parser from './parser.js'; +import Parser from './Parser.js'; const parseGlobdata = (arrayBuffer, i = 0, offset = 0) => { const parser = new Parser(arrayBuffer); diff --git a/src/lib/parser/parsePalette.js b/src/lib/parser/parsePalette.js index 59c9536..e1c62d1 100644 --- a/src/lib/parser/parsePalette.js +++ b/src/lib/parser/parsePalette.js @@ -1,4 +1,4 @@ -import Parser from './parser.js'; +import Parser from './Parser.js'; // Generic palette parser used in rooms and title screens. const parsePalette = (arrayBuffer, offset = 0) => { diff --git a/src/lib/parser/parsePreps.js b/src/lib/parser/parsePreps.js index 943a195..b991df9 100644 --- a/src/lib/parser/parsePreps.js +++ b/src/lib/parser/parsePreps.js @@ -1,4 +1,4 @@ -import Parser from './parser.js'; +import Parser from './Parser.js'; const assert = console.assert; diff --git a/src/lib/parser/parseRoomGfx.js b/src/lib/parser/parseRoomGfx.js index 52f26b6..94a7f6c 100644 --- a/src/lib/parser/parseRoomGfx.js +++ b/src/lib/parser/parseRoomGfx.js @@ -1,4 +1,4 @@ -import Parser from './parser.js'; +import Parser from './Parser.js'; const assert = console.assert; diff --git a/src/lib/parser/parseRooms.js b/src/lib/parser/parseRooms.js index b130127..67c0aa8 100644 --- a/src/lib/parser/parseRooms.js +++ b/src/lib/parser/parseRooms.js @@ -1,4 +1,4 @@ -import Parser from './parser.js'; +import Parser from './Parser.js'; import parseRoomHeader from './room/parseRoomHeader.js'; import parseRoomNametable from './room/parseRoomNametable.js'; import parsePalette from './parsePalette.js'; diff --git a/src/lib/parser/parseScript.js b/src/lib/parser/parseScript.js index 9630dde..e58a194 100644 --- a/src/lib/parser/parseScript.js +++ b/src/lib/parser/parseScript.js @@ -1,5 +1,5 @@ import parseScriptCode from './parseScriptCode.js'; -import Parser from './parser.js'; +import Parser from './Parser.js'; const assert = console.assert; const parseScript = (arrayBuffer, i, offset = 0, characters = {}) => { diff --git a/src/lib/parser/parseTitles.js b/src/lib/parser/parseTitles.js index 7012f82..75860cb 100644 --- a/src/lib/parser/parseTitles.js +++ b/src/lib/parser/parseTitles.js @@ -1,4 +1,4 @@ -import Parser from './parser.js'; +import Parser from './Parser.js'; import parsePalette from './parsePalette.js'; const assert = console.assert; diff --git a/src/lib/parser/room/parseRoomAttributes.js b/src/lib/parser/room/parseRoomAttributes.js index c674232..59a6a69 100644 --- a/src/lib/parser/room/parseRoomAttributes.js +++ b/src/lib/parser/room/parseRoomAttributes.js @@ -1,4 +1,4 @@ -import Parser from '../parser.js'; +import Parser from '../Parser.js'; const parseRoomAttributes = (arrayBuffer, offset = 0, width = 0) => { const parser = new Parser(arrayBuffer); diff --git a/src/lib/parser/room/parseRoomBoxes.js b/src/lib/parser/room/parseRoomBoxes.js index c22acb0..630581a 100644 --- a/src/lib/parser/room/parseRoomBoxes.js +++ b/src/lib/parser/room/parseRoomBoxes.js @@ -1,4 +1,4 @@ -import Parser from '../parser.js'; +import Parser from '../Parser.js'; const assert = console.assert; diff --git a/src/lib/parser/room/parseRoomHeader.js b/src/lib/parser/room/parseRoomHeader.js index 42f0c94..f026da8 100644 --- a/src/lib/parser/room/parseRoomHeader.js +++ b/src/lib/parser/room/parseRoomHeader.js @@ -1,4 +1,4 @@ -import Parser from '../parser.js'; +import Parser from '../Parser.js'; const assert = console.assert; diff --git a/src/lib/parser/room/parseRoomMatrix.js b/src/lib/parser/room/parseRoomMatrix.js index b1d59c7..636333d 100644 --- a/src/lib/parser/room/parseRoomMatrix.js +++ b/src/lib/parser/room/parseRoomMatrix.js @@ -1,4 +1,4 @@ -import Parser from '../parser.js'; +import Parser from '../Parser.js'; const assert = console.assert; diff --git a/src/lib/parser/room/parseRoomNametable.js b/src/lib/parser/room/parseRoomNametable.js index 28b73c1..7715d09 100644 --- a/src/lib/parser/room/parseRoomNametable.js +++ b/src/lib/parser/room/parseRoomNametable.js @@ -1,4 +1,4 @@ -import Parser from '../parser.js'; +import Parser from '../Parser.js'; const assert = console.assert; diff --git a/src/lib/serialiser/serialiser.js b/src/lib/serialiser/Serialiser.js similarity index 100% rename from src/lib/serialiser/serialiser.js rename to src/lib/serialiser/Serialiser.js diff --git a/src/lib/serialiser/room/serialiseRoomAttributes.js b/src/lib/serialiser/room/serialiseRoomAttributes.js index 2bf4d94..63f4085 100644 --- a/src/lib/serialiser/room/serialiseRoomAttributes.js +++ b/src/lib/serialiser/room/serialiseRoomAttributes.js @@ -1,4 +1,4 @@ -import Serialiser from '../serialiser.js'; +import Serialiser from '../Serialiser.js'; import { compress } from '../serialiserUtils.js'; const serialiseRoomAttributes = (attributes = [], width = 0) => { diff --git a/src/lib/serialiser/room/serialiseRoomBoxes.js b/src/lib/serialiser/room/serialiseRoomBoxes.js index 2cb8169..cd4b356 100644 --- a/src/lib/serialiser/room/serialiseRoomBoxes.js +++ b/src/lib/serialiser/room/serialiseRoomBoxes.js @@ -1,4 +1,4 @@ -import Serialiser from '../serialiser.js'; +import Serialiser from '../Serialiser.js'; const serialiseRoomBoxes = (boxes = []) => { const serialiser = new Serialiser(); diff --git a/src/lib/serialiser/room/serialiseRoomHeader.js b/src/lib/serialiser/room/serialiseRoomHeader.js index aabea8f..63c64aa 100644 --- a/src/lib/serialiser/room/serialiseRoomHeader.js +++ b/src/lib/serialiser/room/serialiseRoomHeader.js @@ -1,4 +1,4 @@ -import Serialiser from '../serialiser.js'; +import Serialiser from '../Serialiser.js'; const serialiseRoomHeader = (header) => { const serialiser = new Serialiser(); diff --git a/src/lib/serialiser/room/serialiseRoomMatrix.js b/src/lib/serialiser/room/serialiseRoomMatrix.js index 4c3be5d..747e4f5 100644 --- a/src/lib/serialiser/room/serialiseRoomMatrix.js +++ b/src/lib/serialiser/room/serialiseRoomMatrix.js @@ -1,4 +1,4 @@ -import Serialiser from '../serialiser.js'; +import Serialiser from '../Serialiser.js'; const serialiseRoomMatrix = (matrix = []) => { const serialiser = new Serialiser(); diff --git a/src/lib/serialiser/room/serialiseRoomNametable.js b/src/lib/serialiser/room/serialiseRoomNametable.js index ad974c7..3a7c787 100644 --- a/src/lib/serialiser/room/serialiseRoomNametable.js +++ b/src/lib/serialiser/room/serialiseRoomNametable.js @@ -1,4 +1,4 @@ -import Serialiser from '../serialiser.js'; +import Serialiser from '../Serialiser.js'; import { compress } from '../serialiserUtils.js'; const serialiseRoomNametable = (nametable = []) => { diff --git a/src/lib/serialiser/serialisePalette.js b/src/lib/serialiser/serialisePalette.js index 74c28e6..929e0aa 100644 --- a/src/lib/serialiser/serialisePalette.js +++ b/src/lib/serialiser/serialisePalette.js @@ -1,4 +1,4 @@ -import Serialiser from './serialiser.js'; +import Serialiser from './Serialiser.js'; const serialisePalette = (palette = []) => { const serialiser = new Serialiser(); diff --git a/src/lib/serialiser/serialisePreps.js b/src/lib/serialiser/serialisePreps.js index a6449a4..0287d98 100644 --- a/src/lib/serialiser/serialisePreps.js +++ b/src/lib/serialiser/serialisePreps.js @@ -1,4 +1,4 @@ -import Serialiser from './serialiser.js'; +import Serialiser from './Serialiser.js'; const serialisePreps = (preps = [], characters = {}) => { const serialiser = new Serialiser(characters);