Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove DataStream.js #197

Merged
merged 2 commits into from
Sep 15, 2024
Merged

Remove DataStream.js #197

merged 2 commits into from
Sep 15, 2024

Conversation

njibhu
Copy link
Owner

@njibhu njibhu commented Sep 15, 2024

No description provided.

@njibhu njibhu merged commit 5332773 into master Sep 15, 2024
3 checks passed
@njibhu njibhu deleted the remove-datastream branch September 15, 2024 01:07
Copy link

@julikunz julikunz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Proud of u

@@ -187,8 +187,7 @@ function onRendererDone(context) {
function loadMapFile(fileId, callback) {
if (parseInt(fileId)) {
mapRenderer.localReader.loadFile(fileId, function (arrayBuffer) {
const ds = new DataStream(arrayBuffer, 0, DataStream.LITTLE_ENDIAN);
const mapFile = new T3D.GW2File(ds, 0);
const mapFile = new T3DParser.FileParser(arrayBuffer);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥰

if (typeof DataStream === "undefined") {
T3D.Logger.log(T3D.Logger.TYPE_ERROR, "T3D core functionality requires DataStream library.");
if (typeof FileParser === "undefined") {
T3D.Logger.log(T3D.Logger.TYPE_ERROR, "T3D core functionality requires t3d-parser library.");
numErrors++;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants