Skip to content

Commit b62c100

Browse files
committed
Add touch event handling
1 parent 5b0f6a6 commit b62c100

File tree

3 files changed

+236
-186
lines changed

3 files changed

+236
-186
lines changed

datFileReader.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/// This file is part of "Lemmings.js" project, which is made available under the terms of the MIT License (MIT). Note the file "LICENSE" for license and warranty information.
2+
///
3+
/// The DatFileReader Class is used for uncompressing of ".dat" Files and providing there sections by calling "this.getPart(sectionIndex)".
4+
///
5+
16
function DatFileReader(gameObject)
27
{
38
///------------------------
@@ -61,7 +66,7 @@ function DatFileReader(gameObject)
6166
function OutWriter(bitReader, outLength)
6267
{
6368
this.bitReader = bitReader;
64-
this.outData = new Array(outLength);
69+
this.outData = new Uint8Array(outLength);
6570
this.outPos = outLength;
6671
var self = this;
6772

0 commit comments

Comments
 (0)