From 81b6eb55b80e0bced6be63ee5c7c467204d6751b Mon Sep 17 00:00:00 2001 From: edo999 Date: Tue, 28 May 2024 21:37:00 +0100 Subject: [PATCH] =?UTF-8?q?Change=20the=20capitalisation=20of=20classes=20?= =?UTF-8?q?=F0=9F=8F=9B=EF=B8=8F.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/parser/{parser.js => Parser.js} | 0 src/lib/parser/parseGlobdata.js | 2 +- src/lib/parser/parsePalette.js | 2 +- src/lib/parser/parsePreps.js | 2 +- src/lib/parser/parseRoomGfx.js | 2 +- src/lib/parser/parseRooms.js | 2 +- src/lib/parser/parseScript.js | 2 +- src/lib/parser/parseTitles.js | 2 +- src/lib/parser/room/parseRoomAttributes.js | 2 +- src/lib/parser/room/parseRoomBoxes.js | 2 +- src/lib/parser/room/parseRoomHeader.js | 2 +- src/lib/parser/room/parseRoomMatrix.js | 2 +- src/lib/parser/room/parseRoomNametable.js | 2 +- src/lib/serialiser/{serialiser.js => Serialiser.js} | 0 src/lib/serialiser/room/serialiseRoomAttributes.js | 2 +- src/lib/serialiser/room/serialiseRoomBoxes.js | 2 +- src/lib/serialiser/room/serialiseRoomHeader.js | 2 +- src/lib/serialiser/room/serialiseRoomMatrix.js | 2 +- src/lib/serialiser/room/serialiseRoomNametable.js | 2 +- src/lib/serialiser/serialisePalette.js | 2 +- src/lib/serialiser/serialisePreps.js | 2 +- 21 files changed, 19 insertions(+), 19 deletions(-) rename src/lib/parser/{parser.js => Parser.js} (100%) rename src/lib/serialiser/{serialiser.js => Serialiser.js} (100%) 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);