DT Cannon STZ base
This commit is contained in:
parent
ee9bcc5039
commit
537ab9219f
0
deploy.bat
Normal file → Executable file
0
deploy.bat
Normal file → Executable file
86
dist/tetrion.js
vendored
86
dist/tetrion.js
vendored
@ -1504,31 +1504,46 @@ var openerGenerator = {
|
|||||||
shapes.getShape(4),
|
shapes.getShape(4),
|
||||||
shapes.getShape(2),
|
shapes.getShape(2),
|
||||||
shapes.getShape(3));
|
shapes.getShape(3));
|
||||||
break;
|
break;
|
||||||
case 8:
|
case 8:
|
||||||
// Number One
|
// Number One
|
||||||
this.shapeQueue = new Array(
|
this.shapeQueue = new Array(
|
||||||
shapes.getShape(1),
|
shapes.getShape(1),
|
||||||
shapes.getShape(4),
|
shapes.getShape(4),
|
||||||
shapes.getShape(6),
|
shapes.getShape(6),
|
||||||
shapes.getShape(0),
|
shapes.getShape(0),
|
||||||
shapes.getShape(2),
|
shapes.getShape(2),
|
||||||
shapes.getShape(5),
|
shapes.getShape(5),
|
||||||
shapes.getShape(3));
|
shapes.getShape(3));
|
||||||
break;
|
break;
|
||||||
case 9:
|
case 9:
|
||||||
// Pelican
|
// Pelican
|
||||||
this.shapeQueue = new Array(
|
this.shapeQueue = new Array(
|
||||||
shapes.getShape(5),
|
shapes.getShape(5),
|
||||||
shapes.getShape(2),
|
shapes.getShape(2),
|
||||||
shapes.getShape(4),
|
shapes.getShape(4),
|
||||||
shapes.getShape(0),
|
shapes.getShape(0),
|
||||||
shapes.getShape(6),
|
shapes.getShape(6),
|
||||||
shapes.getShape(1),
|
shapes.getShape(1),
|
||||||
shapes.getShape(3));
|
shapes.getShape(3));
|
||||||
break;
|
break;
|
||||||
default:
|
case 10:
|
||||||
return;
|
// DT Cannon TSZ base
|
||||||
|
this.shapeQueue = new Array(
|
||||||
|
shapes.getShape(3),
|
||||||
|
shapes.getShape(1),
|
||||||
|
shapes.getShape(2),
|
||||||
|
shapes.getShape(6),
|
||||||
|
shapes.getShape(5),
|
||||||
|
shapes.getShape(0),
|
||||||
|
shapes.getShape(4),
|
||||||
|
shapes.getShape(4),
|
||||||
|
shapes.getShape(0),
|
||||||
|
shapes.getShape(3),
|
||||||
|
shapes.getShape(3));
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.isInit = 1;
|
this.isInit = 1;
|
||||||
@ -1737,7 +1752,7 @@ var openerGenerator = {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 8:
|
case 8:
|
||||||
// Number One // O - 1, I - 6, L - 0, S - 5, J - 4, Z - 2, T - 3
|
// Number One
|
||||||
this.hintQueue = new Array(
|
this.hintQueue = new Array(
|
||||||
shapes.getShape(1),
|
shapes.getShape(1),
|
||||||
shapes.getShape(4),
|
shapes.getShape(4),
|
||||||
@ -1774,6 +1789,29 @@ var openerGenerator = {
|
|||||||
this.hintQueue[i].state = this.hintQueue[i].nextState(hintDataList[i * 3 + 2]);
|
this.hintQueue[i].state = this.hintQueue[i].nextState(hintDataList[i * 3 + 2]);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case 10: // O - 1, I - 6, L - 0, S - 5, J - 4, Z - 2, T - 3
|
||||||
|
// DT Cannon TSZ base
|
||||||
|
this.hintQueue = new Array(
|
||||||
|
shapes.getShape(3),
|
||||||
|
shapes.getShape(1),
|
||||||
|
shapes.getShape(2),
|
||||||
|
shapes.getShape(6),
|
||||||
|
shapes.getShape(5),
|
||||||
|
shapes.getShape(0),
|
||||||
|
shapes.getShape(4),
|
||||||
|
shapes.getShape(4),
|
||||||
|
shapes.getShape(0),
|
||||||
|
shapes.getShape(3),
|
||||||
|
shapes.getShape(3));
|
||||||
|
|
||||||
|
var hintDataList = [4,18,0, -2,18,0, 2,17,1, 8,16,-1, 6,17,-1, 7,17,-1, 3,15,2, -1,15,1, 2,13,-1, 1,16,2, 1,17,3];
|
||||||
|
|
||||||
|
for(var i = 0; i < this.hintQueue.length; i++) {
|
||||||
|
this.hintQueue[i].x = hintDataList[i * 3];
|
||||||
|
this.hintQueue[i].y = hintDataList[i * 3 + 1];
|
||||||
|
this.hintQueue[i].state = this.hintQueue[i].nextState(hintDataList[i * 3 + 2]);
|
||||||
|
}
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -185,7 +185,7 @@ document.getElementById("divbg").removeAttribute("tabIndex");
|
|||||||
document.getElementById("setAlbatrossVar").addEventListener("click", function() { tetrion.setCurrentOpener(7); } );
|
document.getElementById("setAlbatrossVar").addEventListener("click", function() { tetrion.setCurrentOpener(7); } );
|
||||||
document.getElementById("setNumberOneVar").addEventListener("click", function() { tetrion.setCurrentOpener(8); } );
|
document.getElementById("setNumberOneVar").addEventListener("click", function() { tetrion.setCurrentOpener(8); } );
|
||||||
document.getElementById("setPelicanVar").addEventListener("click", function() { tetrion.setCurrentOpener(9); } );
|
document.getElementById("setPelicanVar").addEventListener("click", function() { tetrion.setCurrentOpener(9); } );
|
||||||
|
document.getElementById("setDTCannonTSZbaseVar").addEventListener("click", function() { tetrion.setCurrentOpener(10); } );
|
||||||
|
|
||||||
document.getElementById("enablegamepad").addEventListener("click", function() { tetrion.toggleGamepad(); } );
|
document.getElementById("enablegamepad").addEventListener("click", function() { tetrion.toggleGamepad(); } );
|
||||||
|
|
||||||
|
@ -132,31 +132,46 @@ var openerGenerator = {
|
|||||||
shapes.getShape(4),
|
shapes.getShape(4),
|
||||||
shapes.getShape(2),
|
shapes.getShape(2),
|
||||||
shapes.getShape(3));
|
shapes.getShape(3));
|
||||||
break;
|
break;
|
||||||
case 8:
|
case 8:
|
||||||
// Number One
|
// Number One
|
||||||
this.shapeQueue = new Array(
|
this.shapeQueue = new Array(
|
||||||
shapes.getShape(1),
|
shapes.getShape(1),
|
||||||
shapes.getShape(4),
|
shapes.getShape(4),
|
||||||
shapes.getShape(6),
|
shapes.getShape(6),
|
||||||
shapes.getShape(0),
|
shapes.getShape(0),
|
||||||
shapes.getShape(2),
|
shapes.getShape(2),
|
||||||
shapes.getShape(5),
|
shapes.getShape(5),
|
||||||
shapes.getShape(3));
|
shapes.getShape(3));
|
||||||
break;
|
break;
|
||||||
case 9:
|
case 9:
|
||||||
// Pelican
|
// Pelican
|
||||||
this.shapeQueue = new Array(
|
this.shapeQueue = new Array(
|
||||||
shapes.getShape(5),
|
shapes.getShape(5),
|
||||||
shapes.getShape(2),
|
shapes.getShape(2),
|
||||||
shapes.getShape(4),
|
shapes.getShape(4),
|
||||||
shapes.getShape(0),
|
shapes.getShape(0),
|
||||||
shapes.getShape(6),
|
shapes.getShape(6),
|
||||||
shapes.getShape(1),
|
shapes.getShape(1),
|
||||||
shapes.getShape(3));
|
shapes.getShape(3));
|
||||||
break;
|
break;
|
||||||
default:
|
case 10:
|
||||||
return;
|
// DT Cannon TSZ base
|
||||||
|
this.shapeQueue = new Array(
|
||||||
|
shapes.getShape(3),
|
||||||
|
shapes.getShape(1),
|
||||||
|
shapes.getShape(2),
|
||||||
|
shapes.getShape(6),
|
||||||
|
shapes.getShape(5),
|
||||||
|
shapes.getShape(0),
|
||||||
|
shapes.getShape(4),
|
||||||
|
shapes.getShape(4),
|
||||||
|
shapes.getShape(0),
|
||||||
|
shapes.getShape(3),
|
||||||
|
shapes.getShape(3));
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.isInit = 1;
|
this.isInit = 1;
|
||||||
@ -365,7 +380,7 @@ var openerGenerator = {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 8:
|
case 8:
|
||||||
// Number One // O - 1, I - 6, L - 0, S - 5, J - 4, Z - 2, T - 3
|
// Number One
|
||||||
this.hintQueue = new Array(
|
this.hintQueue = new Array(
|
||||||
shapes.getShape(1),
|
shapes.getShape(1),
|
||||||
shapes.getShape(4),
|
shapes.getShape(4),
|
||||||
@ -402,6 +417,29 @@ var openerGenerator = {
|
|||||||
this.hintQueue[i].state = this.hintQueue[i].nextState(hintDataList[i * 3 + 2]);
|
this.hintQueue[i].state = this.hintQueue[i].nextState(hintDataList[i * 3 + 2]);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case 10: // O - 1, I - 6, L - 0, S - 5, J - 4, Z - 2, T - 3
|
||||||
|
// DT Cannon TSZ base
|
||||||
|
this.hintQueue = new Array(
|
||||||
|
shapes.getShape(3),
|
||||||
|
shapes.getShape(1),
|
||||||
|
shapes.getShape(2),
|
||||||
|
shapes.getShape(6),
|
||||||
|
shapes.getShape(5),
|
||||||
|
shapes.getShape(0),
|
||||||
|
shapes.getShape(4),
|
||||||
|
shapes.getShape(4),
|
||||||
|
shapes.getShape(0),
|
||||||
|
shapes.getShape(3),
|
||||||
|
shapes.getShape(3));
|
||||||
|
|
||||||
|
var hintDataList = [4,18,0, -2,18,0, 2,17,1, 8,16,-1, 6,17,-1, 7,17,-1, 3,15,2, -1,15,1, 2,13,-1, 1,16,2, 1,17,3];
|
||||||
|
|
||||||
|
for(var i = 0; i < this.hintQueue.length; i++) {
|
||||||
|
this.hintQueue[i].x = hintDataList[i * 3];
|
||||||
|
this.hintQueue[i].y = hintDataList[i * 3 + 1];
|
||||||
|
this.hintQueue[i].state = this.hintQueue[i].nextState(hintDataList[i * 3 + 2]);
|
||||||
|
}
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
0
startserver.bat
Normal file → Executable file
0
startserver.bat
Normal file → Executable file
Loading…
Reference in New Issue
Block a user