Fix ACLS
This commit is contained in:
@@ -165,6 +165,7 @@ class Console
|
|||||||
CSRZs = 0;
|
CSRZs = 0;
|
||||||
foreColors = 15;//#T_WHITE
|
foreColors = 15;//#T_WHITE
|
||||||
backColors = 0;
|
backColors = 0;
|
||||||
|
attrs = ConsoleAttribute.TROT0;
|
||||||
resizeConsole();
|
resizeConsole();
|
||||||
}
|
}
|
||||||
void width(int w)
|
void width(int w)
|
||||||
|
|||||||
@@ -1636,15 +1636,10 @@ class PetitComputer
|
|||||||
|
|
||||||
void acls(bool gclsAndSpriteImageBGImageInit, bool spdef, bool fontdef)
|
void acls(bool gclsAndSpriteImageBGImageInit, bool spdef, bool fontdef)
|
||||||
{
|
{
|
||||||
|
console.initConsole();
|
||||||
xscreen(0, 512, 4);
|
xscreen(0, 512, 4);
|
||||||
|
console.cls();
|
||||||
backcolor = 0;
|
backcolor = 0;
|
||||||
console.width(8);
|
|
||||||
console.foreColors[] = 15;
|
|
||||||
console.backColors[] = 0;
|
|
||||||
console.CSRXs[] = 0;
|
|
||||||
console.CSRYs[] = 0;
|
|
||||||
console.CSRZs[] = 0;
|
|
||||||
console.attrs[] = ConsoleAttribute.TROT0;
|
|
||||||
if (gclsAndSpriteImageBGImageInit)
|
if (gclsAndSpriteImageBGImageInit)
|
||||||
{
|
{
|
||||||
//TODO:sprite,bg
|
//TODO:sprite,bg
|
||||||
|
|||||||
Reference in New Issue
Block a user