Skip to content
Snippets Groups Projects
Commit b25da445 authored by mcmlxxix's avatar mcmlxxix
Browse files

support "oversized" BIN and ANS files (for scrolling graphics and displaying...

support "oversized" BIN and ANS files (for scrolling graphics and displaying large-scale pictures in a window)
parent 9bd2529e
Branches
Tags
No related merge requests found
......@@ -570,6 +570,8 @@ function Frame(x,y,width,height,attr,frame) {
/* set character and attribute */
var ch = line[0];
line = line.substr(1);
if(!properties.data[x])
properties.data[x]=[];
properties.data[x][y]=new Char(ch,attr,this.id);
x++;
}
......@@ -592,6 +594,8 @@ function Frame(x,y,width,height,attr,frame) {
return(false);
c.attr = f.readBin(1);
c.id = this.id;
if(!properties.data[x])
properties.data[x]=[];
properties.data[x][y] = c;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment