added more bus bricks

This commit is contained in:
Redo 2020-05-17 08:22:00 -05:00
parent ba94172cc8
commit 74401cd7f6
44 changed files with 78241 additions and 12 deletions

220
bricks/big/cpu1.cs Normal file
View File

@ -0,0 +1,220 @@
datablock fxDTSBrickData(LogicGate_cpu1_Data)
{
brickFile = "config/server/IllogicGateMaker/cpu1.blb";
category = "Logic Bricks";
subCategory = "Gatemaker";
uiName = "cpu1";
iconName = "";
hasPrint = 1;
printAspectRatio = "Logic";
orientationFix = 3;
isLogic = true;
isLogicGate = true;
isLogicInput = false;
logicUIName = "cpu1";
logicUIDesc = "";
numLogicPorts = 37;
logicPortType[0] = 1;
logicPortPos[0] = "27 7 -3";
logicPortDir[0] = 1;
logicPortUIName[0] = "";
logicPortType[1] = 1;
logicPortPos[1] = "25 7 -3";
logicPortDir[1] = 1;
logicPortUIName[1] = "";
logicPortType[2] = 1;
logicPortPos[2] = "23 7 -3";
logicPortDir[2] = 1;
logicPortUIName[2] = "";
logicPortType[3] = 1;
logicPortPos[3] = "21 7 -3";
logicPortDir[3] = 1;
logicPortUIName[3] = "";
logicPortType[4] = 1;
logicPortPos[4] = "19 7 -3";
logicPortDir[4] = 1;
logicPortUIName[4] = "";
logicPortType[5] = 1;
logicPortPos[5] = "17 7 -3";
logicPortDir[5] = 1;
logicPortUIName[5] = "";
logicPortType[6] = 1;
logicPortPos[6] = "15 7 -3";
logicPortDir[6] = 1;
logicPortUIName[6] = "";
logicPortType[7] = 1;
logicPortPos[7] = "13 7 -3";
logicPortDir[7] = 1;
logicPortUIName[7] = "";
logicPortType[8] = 0;
logicPortPos[8] = "27 7 -2";
logicPortDir[8] = 1;
logicPortUIName[8] = "";
logicPortType[9] = 0;
logicPortPos[9] = "25 7 -2";
logicPortDir[9] = 1;
logicPortUIName[9] = "";
logicPortType[10] = 0;
logicPortPos[10] = "23 7 -2";
logicPortDir[10] = 1;
logicPortUIName[10] = "";
logicPortType[11] = 0;
logicPortPos[11] = "21 7 -2";
logicPortDir[11] = 1;
logicPortUIName[11] = "";
logicPortType[12] = 0;
logicPortPos[12] = "19 7 -2";
logicPortDir[12] = 1;
logicPortUIName[12] = "";
logicPortType[13] = 0;
logicPortPos[13] = "17 7 -2";
logicPortDir[13] = 1;
logicPortUIName[13] = "";
logicPortType[14] = 0;
logicPortPos[14] = "15 7 -2";
logicPortDir[14] = 1;
logicPortUIName[14] = "";
logicPortType[15] = 0;
logicPortPos[15] = "13 7 -2";
logicPortDir[15] = 1;
logicPortUIName[15] = "";
logicPortType[16] = 0;
logicPortPos[16] = "7 7 -3";
logicPortDir[16] = 1;
logicPortUIName[16] = "";
logicPortType[17] = 0;
logicPortPos[17] = "5 7 -3";
logicPortDir[17] = 1;
logicPortUIName[17] = "";
logicPortType[18] = 0;
logicPortPos[18] = "3 7 -3";
logicPortDir[18] = 1;
logicPortUIName[18] = "";
logicPortType[19] = 0;
logicPortPos[19] = "1 7 -3";
logicPortDir[19] = 1;
logicPortUIName[19] = "";
logicPortType[20] = 0;
logicPortPos[20] = "-1 7 -3";
logicPortDir[20] = 1;
logicPortUIName[20] = "";
logicPortType[21] = 0;
logicPortPos[21] = "-3 7 -3";
logicPortDir[21] = 1;
logicPortUIName[21] = "";
logicPortType[22] = 0;
logicPortPos[22] = "-5 7 -3";
logicPortDir[22] = 1;
logicPortUIName[22] = "";
logicPortType[23] = 0;
logicPortPos[23] = "-7 7 -3";
logicPortDir[23] = 1;
logicPortUIName[23] = "";
logicPortType[24] = 0;
logicPortPos[24] = "-9 7 -3";
logicPortDir[24] = 1;
logicPortUIName[24] = "";
logicPortType[25] = 0;
logicPortPos[25] = "-11 7 -3";
logicPortDir[25] = 1;
logicPortUIName[25] = "";
logicPortType[26] = 0;
logicPortPos[26] = "-13 7 -3";
logicPortDir[26] = 1;
logicPortUIName[26] = "";
logicPortType[27] = 0;
logicPortPos[27] = "-15 7 -3";
logicPortDir[27] = 1;
logicPortUIName[27] = "";
logicPortType[28] = 0;
logicPortPos[28] = "-17 7 -3";
logicPortDir[28] = 1;
logicPortUIName[28] = "";
logicPortType[29] = 0;
logicPortPos[29] = "-19 7 -3";
logicPortDir[29] = 1;
logicPortUIName[29] = "";
logicPortType[30] = 0;
logicPortPos[30] = "-21 7 -3";
logicPortDir[30] = 1;
logicPortUIName[30] = "";
logicPortType[31] = 0;
logicPortPos[31] = "-23 7 -3";
logicPortDir[31] = 1;
logicPortUIName[31] = "";
logicPortType[32] = 0;
logicPortPos[32] = "-27 7 -3";
logicPortDir[32] = 1;
logicPortUIName[32] = "";
logicPortType[33] = 0;
logicPortPos[33] = "-29 7 -3";
logicPortDir[33] = 1;
logicPortUIName[33] = "";
logicPortType[34] = 1;
logicPortPos[34] = "27 -7 -3";
logicPortDir[34] = 3;
logicPortUIName[34] = "";
logicPortType[35] = 1;
logicPortPos[35] = "23 -7 -3";
logicPortDir[35] = 3;
logicPortUIName[35] = "";
logicPortType[36] = 1;
logicPortPos[36] = "19 -7 -3";
logicPortDir[36] = 3;
logicPortUIName[36] = "";
};
function LogicGate_cpu1_Data::doLogic(%this, %obj)
{
}
function LogicGate_cpu1_Data::Logic_onGateAdded(%this, %obj)
{
}
function LogicGate_cpu1_Data::Logic_onInput(%this, %obj, %pos, %norm)
{
}

190
bricks/big/ram8x12.cs Normal file
View File

@ -0,0 +1,190 @@
datablock fxDTSBrickData(LogicGate_ram8x12_Data)
{
brickFile = "config/server/IllogicGateMaker/ram8x12.blb";
category = "Logic Bricks";
subCategory = "Gatemaker";
uiName = "ram8x12";
iconName = "";
hasPrint = 1;
printAspectRatio = "Logic";
orientationFix = 3;
isLogic = true;
isLogicGate = true;
isLogicInput = false;
logicUIName = "ram8x12";
logicUIDesc = "";
numLogicPorts = 31;
logicPortType[0] = 1;
logicPortPos[0] = "7 -11 -3";
logicPortDir[0] = 3;
logicPortUIName[0] = "";
logicPortType[1] = 1;
logicPortPos[1] = "5 -11 -3";
logicPortDir[1] = 3;
logicPortUIName[1] = "";
logicPortType[2] = 1;
logicPortPos[2] = "3 -11 -3";
logicPortDir[2] = 3;
logicPortUIName[2] = "";
logicPortType[3] = 1;
logicPortPos[3] = "1 -11 -3";
logicPortDir[3] = 3;
logicPortUIName[3] = "";
logicPortType[4] = 1;
logicPortPos[4] = "-1 -11 -3";
logicPortDir[4] = 3;
logicPortUIName[4] = "";
logicPortType[5] = 1;
logicPortPos[5] = "-3 -11 -3";
logicPortDir[5] = 3;
logicPortUIName[5] = "";
logicPortType[6] = 1;
logicPortPos[6] = "-5 -11 -3";
logicPortDir[6] = 3;
logicPortUIName[6] = "";
logicPortType[7] = 1;
logicPortPos[7] = "-7 -11 -3";
logicPortDir[7] = 3;
logicPortUIName[7] = "";
logicPortType[8] = 0;
logicPortPos[8] = "7 -11 -2";
logicPortDir[8] = 3;
logicPortUIName[8] = "";
logicPortType[9] = 0;
logicPortPos[9] = "5 -11 -2";
logicPortDir[9] = 3;
logicPortUIName[9] = "";
logicPortType[10] = 0;
logicPortPos[10] = "3 -11 -2";
logicPortDir[10] = 3;
logicPortUIName[10] = "";
logicPortType[11] = 0;
logicPortPos[11] = "1 -11 -2";
logicPortDir[11] = 3;
logicPortUIName[11] = "";
logicPortType[12] = 0;
logicPortPos[12] = "-1 -11 -2";
logicPortDir[12] = 3;
logicPortUIName[12] = "";
logicPortType[13] = 0;
logicPortPos[13] = "-3 -11 -2";
logicPortDir[13] = 3;
logicPortUIName[13] = "";
logicPortType[14] = 0;
logicPortPos[14] = "-5 -11 -2";
logicPortDir[14] = 3;
logicPortUIName[14] = "";
logicPortType[15] = 0;
logicPortPos[15] = "-7 -11 -2";
logicPortDir[15] = 3;
logicPortUIName[15] = "";
logicPortType[16] = 1;
logicPortPos[16] = "7 11 -3";
logicPortDir[16] = 2;
logicPortUIName[16] = "";
logicPortType[17] = 1;
logicPortPos[17] = "7 9 -3";
logicPortDir[17] = 2;
logicPortUIName[17] = "";
logicPortType[18] = 1;
logicPortPos[18] = "7 7 -3";
logicPortDir[18] = 2;
logicPortUIName[18] = "";
logicPortType[19] = 1;
logicPortPos[19] = "7 5 -3";
logicPortDir[19] = 2;
logicPortUIName[19] = "";
logicPortType[20] = 1;
logicPortPos[20] = "7 3 -3";
logicPortDir[20] = 2;
logicPortUIName[20] = "";
logicPortType[21] = 1;
logicPortPos[21] = "7 1 -3";
logicPortDir[21] = 2;
logicPortUIName[21] = "";
logicPortType[22] = 1;
logicPortPos[22] = "7 -1 -3";
logicPortDir[22] = 2;
logicPortUIName[22] = "";
logicPortType[23] = 1;
logicPortPos[23] = "7 -3 -3";
logicPortDir[23] = 2;
logicPortUIName[23] = "";
logicPortType[24] = 1;
logicPortPos[24] = "7 -5 -3";
logicPortDir[24] = 2;
logicPortUIName[24] = "";
logicPortType[25] = 1;
logicPortPos[25] = "7 -7 -3";
logicPortDir[25] = 2;
logicPortUIName[25] = "";
logicPortType[26] = 1;
logicPortPos[26] = "7 -9 -3";
logicPortDir[26] = 2;
logicPortUIName[26] = "";
logicPortType[27] = 1;
logicPortPos[27] = "7 -11 -3";
logicPortDir[27] = 2;
logicPortUIName[27] = "";
logicPortType[28] = 1;
logicPortPos[28] = "-7 -9 -3";
logicPortDir[28] = 0;
logicPortUIName[28] = "";
logicPortType[29] = 1;
logicPortPos[29] = "-7 -7 -3";
logicPortDir[29] = 0;
logicPortUIName[29] = "";
logicPortType[30] = 1;
logicPortPos[30] = "-7 -5 -3";
logicPortDir[30] = 0;
logicPortUIName[30] = "";
};
function LogicGate_ram8x12_Data::doLogic(%this, %obj)
{
}
function LogicGate_ram8x12_Data::Logic_onGateAdded(%this, %obj)
{
}
function LogicGate_ram8x12_Data::Logic_onInput(%this, %obj, %pos, %norm)
{
}

3953
bricks/blb/16bitbus.blb Normal file

File diff suppressed because it is too large Load Diff

513
bricks/blb/bus/bus1.blb Normal file
View File

@ -0,0 +1,513 @@
1 1 1
SPECIAL
b
1
0 0 0
1 1 1
COVERAGE:
1 : 1
1 : 1
1 : 1
1 : 1
1 : 1
1 : 1
----------------top quads:
1
TEX:PRINT
POSITION:
0.5 0.5 0.5
0.5 -0.5 0.5
-0.5 -0.5 0.5
-0.5 0.5 0.5
UV COORDS:
1 0
1 1
0 1
0 0
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
----------------bottom quads:
4
TEX:BOTTOMEDGE
POSITION:
-0.5 -0.5 -0.5
0.5 -0.5 -0.5
0 0 -0.5
0 0 -0.5
UV COORDS:
-0.5 0
0.5 0
0 0.5
0 0.5
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
TEX:BOTTOMEDGE
POSITION:
0.5 0.5 -0.5
-0.5 0.5 -0.5
0 0 -0.5
0 0 -0.5
UV COORDS:
-0.5 0
0.5 0
0 0.5
0 0.5
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
TEX:BOTTOMEDGE
POSITION:
0.5 -0.5 -0.5
0.5 0.5 -0.5
0 0 -0.5
0 0 -0.5
UV COORDS:
-0.5 0
0.5 0
0 0.5
0 0.5
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
TEX:BOTTOMEDGE
POSITION:
-0.5 0.5 -0.5
-0.5 -0.5 -0.5
0 0 -0.5
0 0 -0.5
UV COORDS:
-0.5 0
0.5 0
0 0.5
0 0.5
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
----------------north quads:
6
TEX:SIDE
POSITION:
-0.5 0.5 0.5
-0.5 0.5 -0.5
0.5 0.5 -0.5
0.5 0.5 0.5
UV COORDS:
1.02148 -0.0859375
1.02148 1.08594
-0.0214844 1.08594
-0.0214844 -0.0859375
NORMALS:
0 1 0
0 1 0
0 1 0
0 1 0
TEX:SIDE
POSITION:
0.32 0.75 -0.24
-0.32 0.75 -0.24
-0.4 0.5 -0.3
0.4 0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0 0.095561 -0.995424
-0 0.095561 -0.995424
-0 0.095561 -0.995424
-0 0.095561 -0.995424
TEX:SIDE
POSITION:
0.32 0.75 -0.24
0.32 0.75 0.24
-0.32 0.75 0.24
-0.32 0.75 -0.24
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 1 0
0 1 0
0 1 0
0 1 0
TEX:SIDE
POSITION:
-0.32 0.75 0.24
0.32 0.75 0.24
0.4 0.5 0.3
-0.4 0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0 0.095561 0.995424
-0 0.095561 0.995424
-0 0.095561 0.995424
-0 0.095561 0.995424
TEX:SIDE
POSITION:
-0.32 0.75 -0.24
-0.32 0.75 0.24
-0.4 0.5 0.3
-0.4 0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0.952424 0.304776 0
-0.952424 0.304776 0
-0.952424 0.304776 0
-0.952424 0.304776 0
TEX:SIDE
POSITION:
0.32 0.75 0.24
0.32 0.75 -0.24
0.4 0.5 -0.3
0.4 0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0.952424 0.304776 0
0.952424 0.304776 0
0.952424 0.304776 0
0.952424 0.304776 0
----------------east quads:
6
TEX:SIDE
POSITION:
0.5 -0.5 0.5
0.5 0.5 0.5
0.5 0.5 -0.5
0.5 -0.5 -0.5
UV COORDS:
-0.0214844 -0.0859375
1.02148 -0.0859375
1.02148 1.08594
-0.0214844 1.08594
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0
TEX:SIDE
POSITION:
0.64 -0.4 -0.3
0.64 0.4 -0.3
0.5 0.4 -0.3
0.5 -0.4 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
TEX:SIDE
POSITION:
0.64 -0.4 -0.3
0.64 -0.4 0.3
0.64 0.4 0.3
0.64 0.4 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0
TEX:SIDE
POSITION:
0.64 0.4 0.3
0.64 -0.4 0.3
0.5 -0.4 0.3
0.5 0.4 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
TEX:SIDE
POSITION:
0.64 0.4 -0.3
0.64 0.4 0.3
0.5 0.4 0.3
0.5 0.4 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 1 0
0 1 0
0 1 0
0 1 0
TEX:SIDE
POSITION:
0.64 -0.4 0.3
0.64 -0.4 -0.3
0.5 -0.4 -0.3
0.5 -0.4 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 -1 0
0 -1 0
0 -1 0
0 -1 0
----------------south quads:
6
TEX:SIDE
POSITION:
0.5 -0.5 0.5
0.5 -0.5 -0.5
-0.5 -0.5 -0.5
-0.5 -0.5 0.5
UV COORDS:
1.02148 -0.0859375
1.02148 1.08594
-0.0214844 1.08594
-0.0214844 -0.0859375
NORMALS:
0 -1 0
0 -1 0
0 -1 0
0 -1 0
TEX:SIDE
POSITION:
-0.4 -0.64 -0.3
0.4 -0.64 -0.3
0.4 -0.5 -0.3
-0.4 -0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
TEX:SIDE
POSITION:
-0.4 -0.64 -0.3
-0.4 -0.64 0.3
0.4 -0.64 0.3
0.4 -0.64 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 -1 0
0 -1 0
0 -1 0
0 -1 0
TEX:SIDE
POSITION:
0.4 -0.64 0.3
-0.4 -0.64 0.3
-0.4 -0.5 0.3
0.4 -0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
TEX:SIDE
POSITION:
0.4 -0.64 -0.3
0.4 -0.64 0.3
0.4 -0.5 0.3
0.4 -0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0
TEX:SIDE
POSITION:
-0.4 -0.64 0.3
-0.4 -0.64 -0.3
-0.4 -0.5 -0.3
-0.4 -0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-1 0 0
-1 0 0
-1 0 0
-1 0 0
----------------west quads:
1
TEX:SIDE
POSITION:
-0.5 -0.5 -0.5
-0.5 0.5 -0.5
-0.5 0.5 0.5
-0.5 -0.5 0.5
UV COORDS:
1.02148 1.08594
-0.0214844 1.08594
-0.0214844 -0.0859375
1.02148 -0.0859375
NORMALS:
-1 0 0
-1 0 0
-1 0 0
-1 0 0
----------------omni quads:
0

2493
bricks/blb/bus/bus10.blb Normal file

File diff suppressed because it is too large Load Diff

2713
bricks/blb/bus/bus11.blb Normal file

File diff suppressed because it is too large Load Diff

2933
bricks/blb/bus/bus12.blb Normal file

File diff suppressed because it is too large Load Diff

3043
bricks/blb/bus/bus13.blb Normal file

File diff suppressed because it is too large Load Diff

3373
bricks/blb/bus/bus14.blb Normal file

File diff suppressed because it is too large Load Diff

3593
bricks/blb/bus/bus15.blb Normal file

File diff suppressed because it is too large Load Diff

3813
bricks/blb/bus/bus16.blb Normal file

File diff suppressed because it is too large Load Diff

733
bricks/blb/bus/bus2.blb Normal file
View File

@ -0,0 +1,733 @@
2 1 1
SPECIAL
bb
1
0 0 0
2 1 1
COVERAGE:
1 : 2
1 : 2
1 : 2
1 : 1
1 : 2
1 : 1
----------------top quads:
1
TEX:PRINT
POSITION:
1 0.5 0.5
1 -0.5 0.5
-1 -0.5 0.5
-1 0.5 0.5
UV COORDS:
1 0
1 1
0 1
0 0
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
----------------bottom quads:
4
TEX:BOTTOMEDGE
POSITION:
-1 -0.5 -0.5
1 -0.5 -0.5
0.5 0 -0.5
-0.5 0 -0.5
UV COORDS:
-0.5 0
1.5 0
1 0.5
0 0.5
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
TEX:BOTTOMEDGE
POSITION:
1 0.5 -0.5
-1 0.5 -0.5
-0.5 0 -0.5
0.5 0 -0.5
UV COORDS:
-0.5 0
1.5 0
1 0.5
0 0.5
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
TEX:BOTTOMEDGE
POSITION:
1 -0.5 -0.5
1 0.5 -0.5
0.5 0 -0.5
0.5 0 -0.5
UV COORDS:
-0.5 0
0.5 0
0 0.5
0 0.5
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
TEX:BOTTOMEDGE
POSITION:
-1 0.5 -0.5
-1 -0.5 -0.5
-0.5 0 -0.5
-0.5 0 -0.5
UV COORDS:
-0.5 0
0.5 0
0 0.5
0 0.5
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
----------------north quads:
11
TEX:SIDE
POSITION:
-1 0.5 0.5
-1 0.5 -0.5
1 0.5 -0.5
1 0.5 0.5
UV COORDS:
1 -0.0859375
1 1.08594
0 1.08594
0 -0.0859375
NORMALS:
0 1 0
0 1 0
0 1 0
0 1 0
TEX:SIDE
POSITION:
0.82 0.75 -0.24
0.18 0.75 -0.24
0.1 0.5 -0.3
0.9 0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0 0.095561 -0.995424
-0 0.095561 -0.995424
-0 0.095561 -0.995424
-0 0.095561 -0.995424
TEX:SIDE
POSITION:
0.82 0.75 -0.24
0.82 0.75 0.24
0.18 0.75 0.24
0.18 0.75 -0.24
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 1 0
0 1 0
0 1 0
0 1 0
TEX:SIDE
POSITION:
0.18 0.75 0.24
0.82 0.75 0.24
0.9 0.5 0.3
0.1 0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0 0.095561 0.995424
-0 0.095561 0.995424
-0 0.095561 0.995424
-0 0.095561 0.995424
TEX:SIDE
POSITION:
0.18 0.75 -0.24
0.18 0.75 0.24
0.1 0.5 0.3
0.1 0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0.952424 0.304776 0
-0.952424 0.304776 0
-0.952424 0.304776 0
-0.952424 0.304776 0
TEX:SIDE
POSITION:
0.82 0.75 0.24
0.82 0.75 -0.24
0.9 0.5 -0.3
0.9 0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0.952424 0.304776 0
0.952424 0.304776 0
0.952424 0.304776 0
0.952424 0.304776 0
TEX:SIDE
POSITION:
-0.18 0.75 -0.24
-0.82 0.75 -0.24
-0.9 0.5 -0.3
-0.1 0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0 0.095561 -0.995424
-0 0.095561 -0.995424
-0 0.095561 -0.995424
-0 0.095561 -0.995424
TEX:SIDE
POSITION:
-0.18 0.75 -0.24
-0.18 0.75 0.24
-0.82 0.75 0.24
-0.82 0.75 -0.24
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 1 0
0 1 0
0 1 0
0 1 0
TEX:SIDE
POSITION:
-0.82 0.75 0.24
-0.18 0.75 0.24
-0.1 0.5 0.3
-0.9 0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0 0.095561 0.995424
-0 0.095561 0.995424
-0 0.095561 0.995424
-0 0.095561 0.995424
TEX:SIDE
POSITION:
-0.82 0.75 -0.24
-0.82 0.75 0.24
-0.9 0.5 0.3
-0.9 0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0.952424 0.304776 0
-0.952424 0.304776 0
-0.952424 0.304776 0
-0.952424 0.304776 0
TEX:SIDE
POSITION:
-0.18 0.75 0.24
-0.18 0.75 -0.24
-0.1 0.5 -0.3
-0.1 0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0.952424 0.304776 0
0.952424 0.304776 0
0.952424 0.304776 0
0.952424 0.304776 0
----------------east quads:
6
TEX:SIDE
POSITION:
1 -0.5 0.5
1 0.5 0.5
1 0.5 -0.5
1 -0.5 -0.5
UV COORDS:
-0.0214844 -0.0859375
1.02148 -0.0859375
1.02148 1.08594
-0.0214844 1.08594
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0
TEX:SIDE
POSITION:
1.14 -0.4 -0.3
1.14 0.4 -0.3
1 0.4 -0.3
1 -0.4 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
TEX:SIDE
POSITION:
1.14 -0.4 -0.3
1.14 -0.4 0.3
1.14 0.4 0.3
1.14 0.4 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0
TEX:SIDE
POSITION:
1.14 0.4 0.3
1.14 -0.4 0.3
1 -0.4 0.3
1 0.4 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
TEX:SIDE
POSITION:
1.14 0.4 -0.3
1.14 0.4 0.3
1 0.4 0.3
1 0.4 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 1 0
0 1 0
0 1 0
0 1 0
TEX:SIDE
POSITION:
1.14 -0.4 0.3
1.14 -0.4 -0.3
1 -0.4 -0.3
1 -0.4 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 -1 0
0 -1 0
0 -1 0
0 -1 0
----------------south quads:
11
TEX:SIDE
POSITION:
1 -0.5 0.5
1 -0.5 -0.5
-1 -0.5 -0.5
-1 -0.5 0.5
UV COORDS:
1 -0.0859375
1 1.08594
0 1.08594
0 -0.0859375
NORMALS:
0 -1 0
0 -1 0
0 -1 0
0 -1 0
TEX:SIDE
POSITION:
0.1 -0.64 -0.3
0.9 -0.64 -0.3
0.9 -0.5 -0.3
0.1 -0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
TEX:SIDE
POSITION:
0.1 -0.64 -0.3
0.1 -0.64 0.3
0.9 -0.64 0.3
0.9 -0.64 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 -1 0
0 -1 0
0 -1 0
0 -1 0
TEX:SIDE
POSITION:
0.9 -0.64 0.3
0.1 -0.64 0.3
0.1 -0.5 0.3
0.9 -0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
TEX:SIDE
POSITION:
0.9 -0.64 -0.3
0.9 -0.64 0.3
0.9 -0.5 0.3
0.9 -0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0
TEX:SIDE
POSITION:
0.1 -0.64 0.3
0.1 -0.64 -0.3
0.1 -0.5 -0.3
0.1 -0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-1 0 0
-1 0 0
-1 0 0
-1 0 0
TEX:SIDE
POSITION:
-0.9 -0.64 -0.3
-0.1 -0.64 -0.3
-0.1 -0.5 -0.3
-0.9 -0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
TEX:SIDE
POSITION:
-0.9 -0.64 -0.3
-0.9 -0.64 0.3
-0.1 -0.64 0.3
-0.1 -0.64 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 -1 0
0 -1 0
0 -1 0
0 -1 0
TEX:SIDE
POSITION:
-0.1 -0.64 0.3
-0.9 -0.64 0.3
-0.9 -0.5 0.3
-0.1 -0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
TEX:SIDE
POSITION:
-0.1 -0.64 -0.3
-0.1 -0.64 0.3
-0.1 -0.5 0.3
-0.1 -0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0
TEX:SIDE
POSITION:
-0.9 -0.64 0.3
-0.9 -0.64 -0.3
-0.9 -0.5 -0.3
-0.9 -0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-1 0 0
-1 0 0
-1 0 0
-1 0 0
----------------west quads:
1
TEX:SIDE
POSITION:
-1 -0.5 -0.5
-1 0.5 -0.5
-1 0.5 0.5
-1 -0.5 0.5
UV COORDS:
1.02148 1.08594
-0.0214844 1.08594
-0.0214844 -0.0859375
1.02148 -0.0859375
NORMALS:
-1 0 0
-1 0 0
-1 0 0
-1 0 0
----------------omni quads:
0

5573
bricks/blb/bus/bus24.blb Normal file

File diff suppressed because it is too large Load Diff

953
bricks/blb/bus/bus3.blb Normal file
View File

@ -0,0 +1,953 @@
3 1 1
SPECIAL
bbb
1
0 0 0
3 1 1
COVERAGE:
1 : 3
1 : 3
1 : 3
1 : 1
1 : 3
1 : 1
----------------top quads:
1
TEX:PRINT
POSITION:
1.5 0.5 0.5
1.5 -0.5 0.5
-1.5 -0.5 0.5
-1.5 0.5 0.5
UV COORDS:
1 0
1 1
0 1
0 0
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
----------------bottom quads:
4
TEX:BOTTOMEDGE
POSITION:
-1.5 -0.5 -0.5
1.5 -0.5 -0.5
1 0 -0.5
-1 0 -0.5
UV COORDS:
-0.5 0
2.5 0
2 0.5
0 0.5
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
TEX:BOTTOMEDGE
POSITION:
1.5 0.5 -0.5
-1.5 0.5 -0.5
-1 0 -0.5
1 0 -0.5
UV COORDS:
-0.5 0
2.5 0
2 0.5
0 0.5
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
TEX:BOTTOMEDGE
POSITION:
1.5 -0.5 -0.5
1.5 0.5 -0.5
1 0 -0.5
1 0 -0.5
UV COORDS:
-0.5 0
0.5 0
0 0.5
0 0.5
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
TEX:BOTTOMEDGE
POSITION:
-1.5 0.5 -0.5
-1.5 -0.5 -0.5
-1 0 -0.5
-1 0 -0.5
UV COORDS:
-0.5 0
0.5 0
0 0.5
0 0.5
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
----------------north quads:
16
TEX:SIDE
POSITION:
-1.5 0.5 0.5
-1.5 0.5 -0.5
1.5 0.5 -0.5
1.5 0.5 0.5
UV COORDS:
0.992839 -0.0859375
0.992839 1.08594
0.00716146 1.08594
0.00716146 -0.0859375
NORMALS:
0 1 0
0 1 0
0 1 0
0 1 0
TEX:SIDE
POSITION:
1.32 0.75 -0.24
0.68 0.75 -0.24
0.6 0.5 -0.3
1.4 0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0 0.095561 -0.995424
-0 0.095561 -0.995424
-0 0.095561 -0.995424
-0 0.095561 -0.995424
TEX:SIDE
POSITION:
1.32 0.75 -0.24
1.32 0.75 0.24
0.68 0.75 0.24
0.68 0.75 -0.24
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 1 0
0 1 0
0 1 0
0 1 0
TEX:SIDE
POSITION:
0.68 0.75 0.24
1.32 0.75 0.24
1.4 0.5 0.3
0.6 0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0 0.095561 0.995424
-0 0.095561 0.995424
-0 0.095561 0.995424
-0 0.095561 0.995424
TEX:SIDE
POSITION:
0.68 0.75 -0.24
0.68 0.75 0.24
0.6 0.5 0.3
0.6 0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0.952424 0.304776 0
-0.952424 0.304776 0
-0.952424 0.304776 0
-0.952424 0.304776 0
TEX:SIDE
POSITION:
1.32 0.75 0.24
1.32 0.75 -0.24
1.4 0.5 -0.3
1.4 0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0.952424 0.304776 0
0.952424 0.304776 0
0.952424 0.304776 0
0.952424 0.304776 0
TEX:SIDE
POSITION:
0.32 0.75 -0.24
-0.32 0.75 -0.24
-0.4 0.5 -0.3
0.4 0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0 0.095561 -0.995424
-0 0.095561 -0.995424
-0 0.095561 -0.995424
-0 0.095561 -0.995424
TEX:SIDE
POSITION:
0.32 0.75 -0.24
0.32 0.75 0.24
-0.32 0.75 0.24
-0.32 0.75 -0.24
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 1 0
0 1 0
0 1 0
0 1 0
TEX:SIDE
POSITION:
-0.32 0.75 0.24
0.32 0.75 0.24
0.4 0.5 0.3
-0.4 0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0 0.095561 0.995424
-0 0.095561 0.995424
-0 0.095561 0.995424
-0 0.095561 0.995424
TEX:SIDE
POSITION:
-0.32 0.75 -0.24
-0.32 0.75 0.24
-0.4 0.5 0.3
-0.4 0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0.952424 0.304776 0
-0.952424 0.304776 0
-0.952424 0.304776 0
-0.952424 0.304776 0
TEX:SIDE
POSITION:
0.32 0.75 0.24
0.32 0.75 -0.24
0.4 0.5 -0.3
0.4 0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0.952424 0.304776 0
0.952424 0.304776 0
0.952424 0.304776 0
0.952424 0.304776 0
TEX:SIDE
POSITION:
-0.68 0.75 -0.24
-1.32 0.75 -0.24
-1.4 0.5 -0.3
-0.6 0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0 0.095561 -0.995424
-0 0.095561 -0.995424
-0 0.095561 -0.995424
-0 0.095561 -0.995424
TEX:SIDE
POSITION:
-0.68 0.75 -0.24
-0.68 0.75 0.24
-1.32 0.75 0.24
-1.32 0.75 -0.24
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 1 0
0 1 0
0 1 0
0 1 0
TEX:SIDE
POSITION:
-1.32 0.75 0.24
-0.68 0.75 0.24
-0.6 0.5 0.3
-1.4 0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0 0.095561 0.995424
-0 0.095561 0.995424
-0 0.095561 0.995424
-0 0.095561 0.995424
TEX:SIDE
POSITION:
-1.32 0.75 -0.24
-1.32 0.75 0.24
-1.4 0.5 0.3
-1.4 0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0.952424 0.304776 0
-0.952424 0.304776 0
-0.952424 0.304776 0
-0.952424 0.304776 0
TEX:SIDE
POSITION:
-0.68 0.75 0.24
-0.68 0.75 -0.24
-0.6 0.5 -0.3
-0.6 0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0.952424 0.304776 0
0.952424 0.304776 0
0.952424 0.304776 0
0.952424 0.304776 0
----------------east quads:
6
TEX:SIDE
POSITION:
1.5 -0.5 0.5
1.5 0.5 0.5
1.5 0.5 -0.5
1.5 -0.5 -0.5
UV COORDS:
-0.0214844 -0.0859375
1.02148 -0.0859375
1.02148 1.08594
-0.0214844 1.08594
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0
TEX:SIDE
POSITION:
1.64 -0.4 -0.3
1.64 0.4 -0.3
1.5 0.4 -0.3
1.5 -0.4 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
TEX:SIDE
POSITION:
1.64 -0.4 -0.3
1.64 -0.4 0.3
1.64 0.4 0.3
1.64 0.4 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0
TEX:SIDE
POSITION:
1.64 0.4 0.3
1.64 -0.4 0.3
1.5 -0.4 0.3
1.5 0.4 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
TEX:SIDE
POSITION:
1.64 0.4 -0.3
1.64 0.4 0.3
1.5 0.4 0.3
1.5 0.4 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 1 0
0 1 0
0 1 0
0 1 0
TEX:SIDE
POSITION:
1.64 -0.4 0.3
1.64 -0.4 -0.3
1.5 -0.4 -0.3
1.5 -0.4 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 -1 0
0 -1 0
0 -1 0
0 -1 0
----------------south quads:
16
TEX:SIDE
POSITION:
1.5 -0.5 0.5
1.5 -0.5 -0.5
-1.5 -0.5 -0.5
-1.5 -0.5 0.5
UV COORDS:
0.992839 -0.0859375
0.992839 1.08594
0.00716146 1.08594
0.00716146 -0.0859375
NORMALS:
0 -1 0
0 -1 0
0 -1 0
0 -1 0
TEX:SIDE
POSITION:
0.6 -0.64 -0.3
1.4 -0.64 -0.3
1.4 -0.5 -0.3
0.6 -0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
TEX:SIDE
POSITION:
0.6 -0.64 -0.3
0.6 -0.64 0.3
1.4 -0.64 0.3
1.4 -0.64 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 -1 0
0 -1 0
0 -1 0
0 -1 0
TEX:SIDE
POSITION:
1.4 -0.64 0.3
0.6 -0.64 0.3
0.6 -0.5 0.3
1.4 -0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
TEX:SIDE
POSITION:
1.4 -0.64 -0.3
1.4 -0.64 0.3
1.4 -0.5 0.3
1.4 -0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0
TEX:SIDE
POSITION:
0.6 -0.64 0.3
0.6 -0.64 -0.3
0.6 -0.5 -0.3
0.6 -0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-1 0 0
-1 0 0
-1 0 0
-1 0 0
TEX:SIDE
POSITION:
-0.4 -0.64 -0.3
0.4 -0.64 -0.3
0.4 -0.5 -0.3
-0.4 -0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
TEX:SIDE
POSITION:
-0.4 -0.64 -0.3
-0.4 -0.64 0.3
0.4 -0.64 0.3
0.4 -0.64 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 -1 0
0 -1 0
0 -1 0
0 -1 0
TEX:SIDE
POSITION:
0.4 -0.64 0.3
-0.4 -0.64 0.3
-0.4 -0.5 0.3
0.4 -0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
TEX:SIDE
POSITION:
0.4 -0.64 -0.3
0.4 -0.64 0.3
0.4 -0.5 0.3
0.4 -0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0
TEX:SIDE
POSITION:
-0.4 -0.64 0.3
-0.4 -0.64 -0.3
-0.4 -0.5 -0.3
-0.4 -0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-1 0 0
-1 0 0
-1 0 0
-1 0 0
TEX:SIDE
POSITION:
-1.4 -0.64 -0.3
-0.6 -0.64 -0.3
-0.6 -0.5 -0.3
-1.4 -0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
TEX:SIDE
POSITION:
-1.4 -0.64 -0.3
-1.4 -0.64 0.3
-0.6 -0.64 0.3
-0.6 -0.64 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 -1 0
0 -1 0
0 -1 0
0 -1 0
TEX:SIDE
POSITION:
-0.6 -0.64 0.3
-1.4 -0.64 0.3
-1.4 -0.5 0.3
-0.6 -0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
TEX:SIDE
POSITION:
-0.6 -0.64 -0.3
-0.6 -0.64 0.3
-0.6 -0.5 0.3
-0.6 -0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0
TEX:SIDE
POSITION:
-1.4 -0.64 0.3
-1.4 -0.64 -0.3
-1.4 -0.5 -0.3
-1.4 -0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-1 0 0
-1 0 0
-1 0 0
-1 0 0
----------------west quads:
1
TEX:SIDE
POSITION:
-1.5 -0.5 -0.5
-1.5 0.5 -0.5
-1.5 0.5 0.5
-1.5 -0.5 0.5
UV COORDS:
1.02148 1.08594
-0.0214844 1.08594
-0.0214844 -0.0859375
1.02148 -0.0859375
NORMALS:
-1 0 0
-1 0 0
-1 0 0
-1 0 0
----------------omni quads:
0

7333
bricks/blb/bus/bus32.blb Normal file

File diff suppressed because it is too large Load Diff

1173
bricks/blb/bus/bus4.blb Normal file

File diff suppressed because it is too large Load Diff

1393
bricks/blb/bus/bus5.blb Normal file

File diff suppressed because it is too large Load Diff

1613
bricks/blb/bus/bus6.blb Normal file

File diff suppressed because it is too large Load Diff

1833
bricks/blb/bus/bus7.blb Normal file

File diff suppressed because it is too large Load Diff

2053
bricks/blb/bus/bus8.blb Normal file

File diff suppressed because it is too large Load Diff

2273
bricks/blb/bus/bus9.blb Normal file

File diff suppressed because it is too large Load Diff

4324
bricks/blb/cpu1.blb Normal file

File diff suppressed because it is too large Load Diff

623
bricks/blb/mux/mux1.blb Normal file
View File

@ -0,0 +1,623 @@
2 1 1
SPECIAL
bb
1
0 0 0
2 1 1
COVERAGE:
1 : 2
1 : 2
1 : 2
1 : 1
1 : 2
1 : 1
----------------top quads:
1
TEX:PRINT
POSITION:
1 0.5 0.5
1 -0.5 0.5
-1 -0.5 0.5
-1 0.5 0.5
UV COORDS:
1 0
1 1
0 1
0 0
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
----------------bottom quads:
4
TEX:BOTTOMEDGE
POSITION:
-1 -0.5 -0.5
1 -0.5 -0.5
0.5 0 -0.5
-0.5 0 -0.5
UV COORDS:
-0.5 0
1.5 0
1 0.5
0 0.5
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
TEX:BOTTOMEDGE
POSITION:
1 0.5 -0.5
-1 0.5 -0.5
-0.5 0 -0.5
0.5 0 -0.5
UV COORDS:
-0.5 0
1.5 0
1 0.5
0 0.5
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
TEX:BOTTOMEDGE
POSITION:
1 -0.5 -0.5
1 0.5 -0.5
0.5 0 -0.5
0.5 0 -0.5
UV COORDS:
-0.5 0
0.5 0
0 0.5
0 0.5
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
TEX:BOTTOMEDGE
POSITION:
-1 0.5 -0.5
-1 -0.5 -0.5
-0.5 0 -0.5
-0.5 0 -0.5
UV COORDS:
-0.5 0
0.5 0
0 0.5
0 0.5
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
----------------north quads:
11
TEX:SIDE
POSITION:
-1 0.5 0.5
-1 0.5 -0.5
1 0.5 -0.5
1 0.5 0.5
UV COORDS:
1 -0.0859375
1 1.08594
0 1.08594
0 -0.0859375
NORMALS:
0 1 0
0 1 0
0 1 0
0 1 0
TEX:SIDE
POSITION:
0.82 0.75 -0.24
0.18 0.75 -0.24
0.1 0.5 -0.3
0.9 0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0 0.095561 -0.995424
-0 0.095561 -0.995424
-0 0.095561 -0.995424
-0 0.095561 -0.995424
TEX:SIDE
POSITION:
0.82 0.75 -0.24
0.82 0.75 0.24
0.18 0.75 0.24
0.18 0.75 -0.24
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 1 0
0 1 0
0 1 0
0 1 0
TEX:SIDE
POSITION:
0.18 0.75 0.24
0.82 0.75 0.24
0.9 0.5 0.3
0.1 0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0 0.095561 0.995424
-0 0.095561 0.995424
-0 0.095561 0.995424
-0 0.095561 0.995424
TEX:SIDE
POSITION:
0.18 0.75 -0.24
0.18 0.75 0.24
0.1 0.5 0.3
0.1 0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0.952424 0.304776 0
-0.952424 0.304776 0
-0.952424 0.304776 0
-0.952424 0.304776 0
TEX:SIDE
POSITION:
0.82 0.75 0.24
0.82 0.75 -0.24
0.9 0.5 -0.3
0.9 0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0.952424 0.304776 0
0.952424 0.304776 0
0.952424 0.304776 0
0.952424 0.304776 0
TEX:SIDE
POSITION:
-0.18 0.75 -0.24
-0.82 0.75 -0.24
-0.9 0.5 -0.3
-0.1 0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0 0.095561 -0.995424
-0 0.095561 -0.995424
-0 0.095561 -0.995424
-0 0.095561 -0.995424
TEX:SIDE
POSITION:
-0.18 0.75 -0.24
-0.18 0.75 0.24
-0.82 0.75 0.24
-0.82 0.75 -0.24
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 1 0
0 1 0
0 1 0
0 1 0
TEX:SIDE
POSITION:
-0.82 0.75 0.24
-0.18 0.75 0.24
-0.1 0.5 0.3
-0.9 0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0 0.095561 0.995424
-0 0.095561 0.995424
-0 0.095561 0.995424
-0 0.095561 0.995424
TEX:SIDE
POSITION:
-0.82 0.75 -0.24
-0.82 0.75 0.24
-0.9 0.5 0.3
-0.9 0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0.952424 0.304776 0
-0.952424 0.304776 0
-0.952424 0.304776 0
-0.952424 0.304776 0
TEX:SIDE
POSITION:
-0.18 0.75 0.24
-0.18 0.75 -0.24
-0.1 0.5 -0.3
-0.1 0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0.952424 0.304776 0
0.952424 0.304776 0
0.952424 0.304776 0
0.952424 0.304776 0
----------------east quads:
6
TEX:SIDE
POSITION:
1 -0.5 0.5
1 0.5 0.5
1 0.5 -0.5
1 -0.5 -0.5
UV COORDS:
-0.0214844 -0.0859375
1.02148 -0.0859375
1.02148 1.08594
-0.0214844 1.08594
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0
TEX:SIDE
POSITION:
1.14 -0.4 -0.3
1.14 0.4 -0.3
1 0.4 -0.3
1 -0.4 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
TEX:SIDE
POSITION:
1.14 -0.4 -0.3
1.14 -0.4 0.3
1.14 0.4 0.3
1.14 0.4 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0
TEX:SIDE
POSITION:
1.14 0.4 0.3
1.14 -0.4 0.3
1 -0.4 0.3
1 0.4 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
TEX:SIDE
POSITION:
1.14 0.4 -0.3
1.14 0.4 0.3
1 0.4 0.3
1 0.4 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 1 0
0 1 0
0 1 0
0 1 0
TEX:SIDE
POSITION:
1.14 -0.4 0.3
1.14 -0.4 -0.3
1 -0.4 -0.3
1 -0.4 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 -1 0
0 -1 0
0 -1 0
0 -1 0
----------------south quads:
6
TEX:SIDE
POSITION:
1 -0.5 0.5
1 -0.5 -0.5
-1 -0.5 -0.5
-1 -0.5 0.5
UV COORDS:
1 -0.0859375
1 1.08594
0 1.08594
0 -0.0859375
NORMALS:
0 -1 0
0 -1 0
0 -1 0
0 -1 0
TEX:SIDE
POSITION:
0.1 -0.64 -0.3
0.9 -0.64 -0.3
0.9 -0.5 -0.3
0.1 -0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
TEX:SIDE
POSITION:
0.1 -0.64 -0.3
0.1 -0.64 0.3
0.9 -0.64 0.3
0.9 -0.64 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 -1 0
0 -1 0
0 -1 0
0 -1 0
TEX:SIDE
POSITION:
0.9 -0.64 0.3
0.1 -0.64 0.3
0.1 -0.5 0.3
0.9 -0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
TEX:SIDE
POSITION:
0.9 -0.64 -0.3
0.9 -0.64 0.3
0.9 -0.5 0.3
0.9 -0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0
TEX:SIDE
POSITION:
0.1 -0.64 0.3
0.1 -0.64 -0.3
0.1 -0.5 -0.3
0.1 -0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-1 0 0
-1 0 0
-1 0 0
-1 0 0
----------------west quads:
1
TEX:SIDE
POSITION:
-1 -0.5 -0.5
-1 0.5 -0.5
-1 0.5 0.5
-1 -0.5 0.5
UV COORDS:
1.02148 1.08594
-0.0214844 1.08594
-0.0214844 -0.0859375
1.02148 -0.0859375
NORMALS:
-1 0 0
-1 0 0
-1 0 0
-1 0 0
----------------omni quads:
0

953
bricks/blb/mux/mux2.blb Normal file
View File

@ -0,0 +1,953 @@
4 1 1
SPECIAL
bbbb
1
0 0 0
4 1 1
COVERAGE:
1 : 4
1 : 4
1 : 4
1 : 1
1 : 4
1 : 1
----------------top quads:
1
TEX:PRINT
POSITION:
2 0.5 0.5
2 -0.5 0.5
-2 -0.5 0.5
-2 0.5 0.5
UV COORDS:
1 0
1 1
0 1
0 0
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
----------------bottom quads:
4
TEX:BOTTOMEDGE
POSITION:
-2 -0.5 -0.5
2 -0.5 -0.5
1.5 0 -0.5
-1.5 0 -0.5
UV COORDS:
-0.5 0
3.5 0
3 0.5
0 0.5
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
TEX:BOTTOMEDGE
POSITION:
2 0.5 -0.5
-2 0.5 -0.5
-1.5 0 -0.5
1.5 0 -0.5
UV COORDS:
-0.5 0
3.5 0
3 0.5
0 0.5
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
TEX:BOTTOMEDGE
POSITION:
2 -0.5 -0.5
2 0.5 -0.5
1.5 0 -0.5
1.5 0 -0.5
UV COORDS:
-0.5 0
0.5 0
0 0.5
0 0.5
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
TEX:BOTTOMEDGE
POSITION:
-2 0.5 -0.5
-2 -0.5 -0.5
-1.5 0 -0.5
-1.5 0 -0.5
UV COORDS:
-0.5 0
0.5 0
0 0.5
0 0.5
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
----------------north quads:
21
TEX:SIDE
POSITION:
-2 0.5 0.5
-2 0.5 -0.5
2 0.5 -0.5
2 0.5 0.5
UV COORDS:
0.989258 -0.0859375
0.989258 1.08594
0.0107422 1.08594
0.0107422 -0.0859375
NORMALS:
0 1 0
0 1 0
0 1 0
0 1 0
TEX:SIDE
POSITION:
1.82 0.75 -0.24
1.18 0.75 -0.24
1.1 0.5 -0.3
1.9 0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0 0.095561 -0.995424
-0 0.095561 -0.995424
-0 0.095561 -0.995424
-0 0.095561 -0.995424
TEX:SIDE
POSITION:
1.82 0.75 -0.24
1.82 0.75 0.24
1.18 0.75 0.24
1.18 0.75 -0.24
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 1 0
0 1 0
0 1 0
0 1 0
TEX:SIDE
POSITION:
1.18 0.75 0.24
1.82 0.75 0.24
1.9 0.5 0.3
1.1 0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0 0.095561 0.995424
-0 0.095561 0.995424
-0 0.095561 0.995424
-0 0.095561 0.995424
TEX:SIDE
POSITION:
1.18 0.75 -0.24
1.18 0.75 0.24
1.1 0.5 0.3
1.1 0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0.952424 0.304776 0
-0.952424 0.304776 0
-0.952424 0.304776 0
-0.952424 0.304776 0
TEX:SIDE
POSITION:
1.82 0.75 0.24
1.82 0.75 -0.24
1.9 0.5 -0.3
1.9 0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0.952424 0.304776 0
0.952424 0.304776 0
0.952424 0.304776 0
0.952424 0.304776 0
TEX:SIDE
POSITION:
0.82 0.75 -0.24
0.18 0.75 -0.24
0.1 0.5 -0.3
0.9 0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0 0.095561 -0.995424
-0 0.095561 -0.995424
-0 0.095561 -0.995424
-0 0.095561 -0.995424
TEX:SIDE
POSITION:
0.82 0.75 -0.24
0.82 0.75 0.24
0.18 0.75 0.24
0.18 0.75 -0.24
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 1 0
0 1 0
0 1 0
0 1 0
TEX:SIDE
POSITION:
0.18 0.75 0.24
0.82 0.75 0.24
0.9 0.5 0.3
0.1 0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0 0.095561 0.995424
-0 0.095561 0.995424
-0 0.095561 0.995424
-0 0.095561 0.995424
TEX:SIDE
POSITION:
0.18 0.75 -0.24
0.18 0.75 0.24
0.1 0.5 0.3
0.1 0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0.952424 0.304776 0
-0.952424 0.304776 0
-0.952424 0.304776 0
-0.952424 0.304776 0
TEX:SIDE
POSITION:
0.82 0.75 0.24
0.82 0.75 -0.24
0.9 0.5 -0.3
0.9 0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0.952424 0.304776 0
0.952424 0.304776 0
0.952424 0.304776 0
0.952424 0.304776 0
TEX:SIDE
POSITION:
-0.18 0.75 -0.24
-0.82 0.75 -0.24
-0.9 0.5 -0.3
-0.1 0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0 0.095561 -0.995424
-0 0.095561 -0.995424
-0 0.095561 -0.995424
-0 0.095561 -0.995424
TEX:SIDE
POSITION:
-0.18 0.75 -0.24
-0.18 0.75 0.24
-0.82 0.75 0.24
-0.82 0.75 -0.24
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 1 0
0 1 0
0 1 0
0 1 0
TEX:SIDE
POSITION:
-0.82 0.75 0.24
-0.18 0.75 0.24
-0.1 0.5 0.3
-0.9 0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0 0.095561 0.995424
-0 0.095561 0.995424
-0 0.095561 0.995424
-0 0.095561 0.995424
TEX:SIDE
POSITION:
-0.82 0.75 -0.24
-0.82 0.75 0.24
-0.9 0.5 0.3
-0.9 0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0.952424 0.304776 0
-0.952424 0.304776 0
-0.952424 0.304776 0
-0.952424 0.304776 0
TEX:SIDE
POSITION:
-0.18 0.75 0.24
-0.18 0.75 -0.24
-0.1 0.5 -0.3
-0.1 0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0.952424 0.304776 0
0.952424 0.304776 0
0.952424 0.304776 0
0.952424 0.304776 0
TEX:SIDE
POSITION:
-1.18 0.75 -0.24
-1.82 0.75 -0.24
-1.9 0.5 -0.3
-1.1 0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0 0.095561 -0.995424
-0 0.095561 -0.995424
-0 0.095561 -0.995424
-0 0.095561 -0.995424
TEX:SIDE
POSITION:
-1.18 0.75 -0.24
-1.18 0.75 0.24
-1.82 0.75 0.24
-1.82 0.75 -0.24
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 1 0
0 1 0
0 1 0
0 1 0
TEX:SIDE
POSITION:
-1.82 0.75 0.24
-1.18 0.75 0.24
-1.1 0.5 0.3
-1.9 0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0 0.095561 0.995424
-0 0.095561 0.995424
-0 0.095561 0.995424
-0 0.095561 0.995424
TEX:SIDE
POSITION:
-1.82 0.75 -0.24
-1.82 0.75 0.24
-1.9 0.5 0.3
-1.9 0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-0.952424 0.304776 0
-0.952424 0.304776 0
-0.952424 0.304776 0
-0.952424 0.304776 0
TEX:SIDE
POSITION:
-1.18 0.75 0.24
-1.18 0.75 -0.24
-1.1 0.5 -0.3
-1.1 0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0.952424 0.304776 0
0.952424 0.304776 0
0.952424 0.304776 0
0.952424 0.304776 0
----------------east quads:
6
TEX:SIDE
POSITION:
2 -0.5 0.5
2 0.5 0.5
2 0.5 -0.5
2 -0.5 -0.5
UV COORDS:
-0.0214844 -0.0859375
1.02148 -0.0859375
1.02148 1.08594
-0.0214844 1.08594
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0
TEX:SIDE
POSITION:
2.14 -0.4 -0.3
2.14 0.4 -0.3
2 0.4 -0.3
2 -0.4 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
TEX:SIDE
POSITION:
2.14 -0.4 -0.3
2.14 -0.4 0.3
2.14 0.4 0.3
2.14 0.4 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0
TEX:SIDE
POSITION:
2.14 0.4 0.3
2.14 -0.4 0.3
2 -0.4 0.3
2 0.4 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
TEX:SIDE
POSITION:
2.14 0.4 -0.3
2.14 0.4 0.3
2 0.4 0.3
2 0.4 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 1 0
0 1 0
0 1 0
0 1 0
TEX:SIDE
POSITION:
2.14 -0.4 0.3
2.14 -0.4 -0.3
2 -0.4 -0.3
2 -0.4 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 -1 0
0 -1 0
0 -1 0
0 -1 0
----------------south quads:
11
TEX:SIDE
POSITION:
2 -0.5 0.5
2 -0.5 -0.5
-2 -0.5 -0.5
-2 -0.5 0.5
UV COORDS:
0.989258 -0.0859375
0.989258 1.08594
0.0107422 1.08594
0.0107422 -0.0859375
NORMALS:
0 -1 0
0 -1 0
0 -1 0
0 -1 0
TEX:SIDE
POSITION:
1.1 -0.64 -0.3
1.9 -0.64 -0.3
1.9 -0.5 -0.3
1.1 -0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
TEX:SIDE
POSITION:
1.1 -0.64 -0.3
1.1 -0.64 0.3
1.9 -0.64 0.3
1.9 -0.64 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 -1 0
0 -1 0
0 -1 0
0 -1 0
TEX:SIDE
POSITION:
1.9 -0.64 0.3
1.1 -0.64 0.3
1.1 -0.5 0.3
1.9 -0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
TEX:SIDE
POSITION:
1.9 -0.64 -0.3
1.9 -0.64 0.3
1.9 -0.5 0.3
1.9 -0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0
TEX:SIDE
POSITION:
1.1 -0.64 0.3
1.1 -0.64 -0.3
1.1 -0.5 -0.3
1.1 -0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-1 0 0
-1 0 0
-1 0 0
-1 0 0
TEX:SIDE
POSITION:
0.1 -0.64 -0.3
0.9 -0.64 -0.3
0.9 -0.5 -0.3
0.1 -0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
TEX:SIDE
POSITION:
0.1 -0.64 -0.3
0.1 -0.64 0.3
0.9 -0.64 0.3
0.9 -0.64 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 -1 0
0 -1 0
0 -1 0
0 -1 0
TEX:SIDE
POSITION:
0.9 -0.64 0.3
0.1 -0.64 0.3
0.1 -0.5 0.3
0.9 -0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
TEX:SIDE
POSITION:
0.9 -0.64 -0.3
0.9 -0.64 0.3
0.9 -0.5 0.3
0.9 -0.5 -0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0
TEX:SIDE
POSITION:
0.1 -0.64 0.3
0.1 -0.64 -0.3
0.1 -0.5 -0.3
0.1 -0.5 0.3
UV COORDS:
0.5 0.5
0.5 0.5
0.5 0.5
0.5 0.5
COLORS:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
NORMALS:
-1 0 0
-1 0 0
-1 0 0
-1 0 0
----------------west quads:
1
TEX:SIDE
POSITION:
-2 -0.5 -0.5
-2 0.5 -0.5
-2 0.5 0.5
-2 -0.5 0.5
UV COORDS:
1.02148 1.08594
-0.0214844 1.08594
-0.0214844 -0.0859375
1.02148 -0.0859375
NORMALS:
-1 0 0
-1 0 0
-1 0 0
-1 0 0
----------------omni quads:
0

1503
bricks/blb/mux/mux3.blb Normal file

File diff suppressed because it is too large Load Diff

2493
bricks/blb/mux/mux4.blb Normal file

File diff suppressed because it is too large Load Diff

4363
bricks/blb/mux/mux5.blb Normal file

File diff suppressed because it is too large Load Diff

7993
bricks/blb/mux/mux6.blb Normal file

File diff suppressed because it is too large Load Diff

3692
bricks/blb/ram8x12.blb Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,2 @@
1 1 24
BRICK

154
bricks/bus/8BitBuffer.cs Normal file
View File

@ -0,0 +1,154 @@
datablock fxDTSBrickData(LogicGate_8BitBuffer_Data)
{
brickFile = $LuaLogic::Path @ "bricks/blb/1x8f_8i_8o_p.blb";
category = "Logic Bricks";
subCategory = "Bus";
uiName = "8 Bit Buffer";
iconName = $LuaLogic::Path @ "icons/8 Bit Buffer";
hasPrint = 1;
printAspectRatio = "Logic";
orientationFix = 3;
isLogic = true;
isLogicGate = true;
isLogicInput = false;
logicUIName = "8 Bit Buffer";
logicUIDesc = "8 bit buffer with clock propagate";
logicUpdate =
"return function(gate) " @
" if gate.ports[9].state then " @
" for i = 1, 8 do " @
" gate.ports[i+10]:setstate(gate.ports[i].state) " @
" end " @
" gate.ports[10]:setstate(true) " @
" else " @
" for i = 1, 8 do " @
" gate.ports[i+10]:setstate(false) " @
" end " @
" gate.ports[10]:setstate(false) " @
" end " @
"end "
;
numLogicPorts = 18;
logicPortType[0] = 1;
logicPortPos[0] = "-7 0 0";
logicPortDir[0] = 3;
logicPortUIName[0] = "D7";
logicPortType[1] = 1;
logicPortPos[1] = "-5 0 0";
logicPortDir[1] = 3;
logicPortUIName[1] = "D6";
logicPortType[2] = 1;
logicPortPos[2] = "-3 0 0";
logicPortDir[2] = 3;
logicPortUIName[2] = "D5";
logicPortType[3] = 1;
logicPortPos[3] = "-1 0 0";
logicPortDir[3] = 3;
logicPortUIName[3] = "D4";
logicPortType[4] = 1;
logicPortPos[4] = "1 0 0";
logicPortDir[4] = 3;
logicPortUIName[4] = "D3";
logicPortType[5] = 1;
logicPortPos[5] = "3 0 0";
logicPortDir[5] = 3;
logicPortUIName[5] = "D2";
logicPortType[6] = 1;
logicPortPos[6] = "5 0 0";
logicPortDir[6] = 3;
logicPortUIName[6] = "D1";
logicPortType[7] = 1;
logicPortPos[7] = "7 0 0";
logicPortDir[7] = 3;
logicPortUIName[7] = "D0";
logicPortType[8] = 1;
logicPortPos[8] = "7 0 0";
logicPortDir[8] = 2;
logicPortCauseUpdate[8] = true;
logicPortUIName[8] = "ClockIn";
logicPortType[9] = 0;
logicPortPos[9] = "-7 0 0";
logicPortDir[9] = 0;
logicPortUIName[9] = "ClockOut";
logicPortType[10] = 0;
logicPortPos[10] = "-7 0 0";
logicPortDir[10] = 1;
logicPortUIName[10] = "Q7";
logicPortType[11] = 0;
logicPortPos[11] = "-5 0 0";
logicPortDir[11] = 1;
logicPortUIName[11] = "Q6";
logicPortType[12] = 0;
logicPortPos[12] = "-3 0 0";
logicPortDir[12] = 1;
logicPortUIName[12] = "Q5";
logicPortType[13] = 0;
logicPortPos[13] = "-1 0 0";
logicPortDir[13] = 1;
logicPortUIName[13] = "Q4";
logicPortType[14] = 0;
logicPortPos[14] = "1 0 0";
logicPortDir[14] = 1;
logicPortUIName[14] = "Q3";
logicPortType[15] = 0;
logicPortPos[15] = "3 0 0";
logicPortDir[15] = 1;
logicPortUIName[15] = "Q2";
logicPortType[16] = 0;
logicPortPos[16] = "5 0 0";
logicPortDir[16] = 1;
logicPortUIName[16] = "Q1";
logicPortType[17] = 0;
logicPortPos[17] = "7 0 0";
logicPortDir[17] = 1;
logicPortUIName[17] = "Q0";
};
lualogic_registergatedefinition("LogicGate_8BitBuffer_Data");
datablock fxDTSBrickData(LogicGate_8BitBufferAL_Data : LogicGate_8BitBuffer_Data){
uiName = "8 Bit Buffer Active Low";
iconName = $LuaLogic::Path @ "icons/8 Bit Buffer Active Low";
logicUIName = "8 Bit Buffer Active Low";
logicUIDesc = "8 bit buffer with clock propagate; clock is active low";
logicUpdate =
"return function(gate) " @
" if not gate.ports[9].state then " @
" for i = 1, 8 do " @
" gate.ports[i+10]:setstate(gate.ports[i].state) " @
" end " @
" gate.ports[10]:setstate(false) " @
" else " @
" for i = 1, 8 do " @
" gate.ports[i+10]:setstate(false) " @
" end " @
" gate.ports[10]:setstate(true) " @
" end " @
"end "
;
};
lualogic_registergatedefinition("LogicGate_8BitBufferAL_Data");

View File

@ -1,3 +1,4 @@
datablock fxDTSBrickData(LogicGate_8BitDFlipFlop_Data) datablock fxDTSBrickData(LogicGate_8BitDFlipFlop_Data)
{ {
brickFile = $LuaLogic::Path @ "bricks/blb/1x8f_8i_8o_p.blb"; brickFile = $LuaLogic::Path @ "bricks/blb/1x8f_8i_8o_p.blb";
@ -118,3 +119,21 @@ datablock fxDTSBrickData(LogicGate_8BitDFlipFlop_Data)
logicPortUIName[17] = "Q0"; logicPortUIName[17] = "Q0";
}; };
lualogic_registergatedefinition("LogicGate_8BitDFlipFlop_Data"); lualogic_registergatedefinition("LogicGate_8BitDFlipFlop_Data");
datablock fxDTSBrickData(LogicGate_8BitDFlipFlopAL_Data : LogicGate_8BitDFlipFlop_Data){
uiName = "8 Bit D FlipFlop Active Low";
iconName = $LuaLogic::Path @ "icons/8 Bit D FlipFlop Active Low";
logicUIName = "8 Bit D FlipFlop Active Low";
logicUIDesc = "8 bit d flipflop with clock propagate, clock is active low";
logicUpdate =
"return function(gate) if gate.ports[9]:isfalling() then " @
" for i = 1, 8 do " @
" gate.ports[i+10]:setstate(gate.ports[i].state) " @
" end " @
"end " @
"gate.ports[10]:setstate(gate.ports[9].state) end"
;
};
lualogic_registergatedefinition("LogicGate_8BitDFlipFlopAL_Data");

View File

@ -1,3 +1,4 @@
datablock fxDTSBrickData(LogicGate_8BitEnabler_Data) datablock fxDTSBrickData(LogicGate_8BitEnabler_Data)
{ {
brickFile = $LuaLogic::Path @ "bricks/blb/1x8f_8i_8o_p.blb"; brickFile = $LuaLogic::Path @ "bricks/blb/1x8f_8i_8o_p.blb";
@ -130,3 +131,28 @@ datablock fxDTSBrickData(LogicGate_8BitEnabler_Data)
logicPortUIName[17] = "Q0"; logicPortUIName[17] = "Q0";
}; };
lualogic_registergatedefinition("LogicGate_8BitEnabler_Data"); lualogic_registergatedefinition("LogicGate_8BitEnabler_Data");
datablock fxDTSBrickData(LogicGate_8BitEnablerAL_Data : LogicGate_8BitEnabler_Data){
uiName = "8 Bit Enabler Active Low";
iconName = $LuaLogic::Path @ "icons/8 Bit Enabler Active Low";
logicUIName = "8 Bit Enabler Active Low";
logicUIDesc = "8 bit enabler with enable propagate; enable is active low";
logicUpdate =
"return function(gate) " @
" if not gate.ports[9].state then " @
" for i = 1, 8 do " @
" gate.ports[i+10]:setstate(gate.ports[i].state) " @
" end " @
" gate.ports[10]:setstate(false) " @
" elseif gate.ports[9]:isrising() then" @
" for i = 1, 8 do " @
" gate.ports[i+10]:setstate(false) " @
" end " @
" gate.ports[10]:setstate(true) " @
" end " @
"end"
;
};
lualogic_registergatedefinition("LogicGate_8BitEnablerAL_Data");

269
bricks/bus/bus16.cs Normal file
View File

@ -0,0 +1,269 @@
datablock fxDTSBrickData(LogicGate_16BitBuffer_Data){
brickFile = $LuaLogic::Path @ "/bricks/blb/16bitbus.blb";
category = "Logic Bricks";
subCategory = "Bus";
uiName = "16 Bit Buffer";
iconName = $LuaLogic::Path @ "icons/16 Bit Buffer";
hasPrint = 1;
printAspectRatio = "Logic";
orientationFix = 0;
isLogic = true;
isLogicGate = true;
isLogicInput = false;
logicUIName = "16 Bit Buffer";
logicUIDesc = "16 bit buffer with clock propagate";
logicUpdate =
"return function(gate) " @
" if gate.ports[33].state then " @
" for i = 1, 16 do " @
" gate.ports[i+16]:setstate(gate.ports[i].state) " @
" end " @
" gate.ports[34]:setstate(true) " @
" else " @
" for i = 1, 16 do " @
" gate.ports[i+16]:setstate(false) " @
" end " @
" gate.ports[34]:setstate(false) " @
" end " @
"end "
;
numLogicPorts = 34;
logicPortType[0] = 1;
logicPortPos[0] = "0 -15 0";
logicPortDir[0] = 0;
logicPortUIName[0] = "In0";
logicPortType[1] = 1;
logicPortPos[1] = "0 -13 0";
logicPortDir[1] = 0;
logicPortUIName[1] = "In1";
logicPortType[2] = 1;
logicPortPos[2] = "0 -11 0";
logicPortDir[2] = 0;
logicPortUIName[2] = "In2";
logicPortType[3] = 1;
logicPortPos[3] = "0 -9 0";
logicPortDir[3] = 0;
logicPortUIName[3] = "In3";
logicPortType[4] = 1;
logicPortPos[4] = "0 -7 0";
logicPortDir[4] = 0;
logicPortUIName[4] = "In4";
logicPortType[5] = 1;
logicPortPos[5] = "0 -5 0";
logicPortDir[5] = 0;
logicPortUIName[5] = "In5";
logicPortType[6] = 1;
logicPortPos[6] = "0 -3 0";
logicPortDir[6] = 0;
logicPortUIName[6] = "In6";
logicPortType[7] = 1;
logicPortPos[7] = "0 -1 0";
logicPortDir[7] = 0;
logicPortUIName[7] = "In7";
logicPortType[8] = 1;
logicPortPos[8] = "0 1 0";
logicPortDir[8] = 0;
logicPortUIName[8] = "In8";
logicPortType[9] = 1;
logicPortPos[9] = "0 3 0";
logicPortDir[9] = 0;
logicPortUIName[9] = "In9";
logicPortType[10] = 1;
logicPortPos[10] = "0 5 0";
logicPortDir[10] = 0;
logicPortUIName[10] = "In10";
logicPortType[11] = 1;
logicPortPos[11] = "0 7 0";
logicPortDir[11] = 0;
logicPortUIName[11] = "In11";
logicPortType[12] = 1;
logicPortPos[12] = "0 9 0";
logicPortDir[12] = 0;
logicPortUIName[12] = "In12";
logicPortType[13] = 1;
logicPortPos[13] = "0 11 0";
logicPortDir[13] = 0;
logicPortUIName[13] = "In13";
logicPortType[14] = 1;
logicPortPos[14] = "0 13 0";
logicPortDir[14] = 0;
logicPortUIName[14] = "In14";
logicPortType[15] = 1;
logicPortPos[15] = "0 15 0";
logicPortDir[15] = 0;
logicPortUIName[15] = "In15";
logicPortType[16] = 0;
logicPortPos[16] = "0 -15 0";
logicPortDir[16] = 2;
logicPortUIName[16] = "Out0";
logicPortType[17] = 0;
logicPortPos[17] = "0 -13 0";
logicPortDir[17] = 2;
logicPortUIName[17] = "Out1";
logicPortType[18] = 0;
logicPortPos[18] = "0 -11 0";
logicPortDir[18] = 2;
logicPortUIName[18] = "Out2";
logicPortType[19] = 0;
logicPortPos[19] = "0 -9 0";
logicPortDir[19] = 2;
logicPortUIName[19] = "Out3";
logicPortType[20] = 0;
logicPortPos[20] = "0 -7 0";
logicPortDir[20] = 2;
logicPortUIName[20] = "Out4";
logicPortType[21] = 0;
logicPortPos[21] = "0 -5 0";
logicPortDir[21] = 2;
logicPortUIName[21] = "Out5";
logicPortType[22] = 0;
logicPortPos[22] = "0 -3 0";
logicPortDir[22] = 2;
logicPortUIName[22] = "Out6";
logicPortType[23] = 0;
logicPortPos[23] = "0 -1 0";
logicPortDir[23] = 2;
logicPortUIName[23] = "Out7";
logicPortType[24] = 0;
logicPortPos[24] = "0 1 0";
logicPortDir[24] = 2;
logicPortUIName[24] = "Out8";
logicPortType[25] = 0;
logicPortPos[25] = "0 3 0";
logicPortDir[25] = 2;
logicPortUIName[25] = "Out9";
logicPortType[26] = 0;
logicPortPos[26] = "0 5 0";
logicPortDir[26] = 2;
logicPortUIName[26] = "Out10";
logicPortType[27] = 0;
logicPortPos[27] = "0 7 0";
logicPortDir[27] = 2;
logicPortUIName[27] = "Out11";
logicPortType[28] = 0;
logicPortPos[28] = "0 9 0";
logicPortDir[28] = 2;
logicPortUIName[28] = "Out12";
logicPortType[29] = 0;
logicPortPos[29] = "0 11 0";
logicPortDir[29] = 2;
logicPortUIName[29] = "Out13";
logicPortType[30] = 0;
logicPortPos[30] = "0 13 0";
logicPortDir[30] = 2;
logicPortUIName[30] = "Out14";
logicPortType[31] = 0;
logicPortPos[31] = "0 15 0";
logicPortDir[31] = 2;
logicPortUIName[31] = "Out15";
logicPortType[32] = 1;
logicPortPos[32] = "0 -15 0";
logicPortDir[32] = 3;
logicPortUIName[32] = "ClockIn";
logicPortCauseUpdate[32] = true;
logicPortType[33] = 0;
logicPortPos[33] = "0 15 0";
logicPortDir[33] = 1;
logicPortUIName[33] = "ClockOut";
};
datablock fxDtsBrickData(LogicGate_16BitBufferAL_Data : LogicGate_16BitBuffer_Data){
uiName = "16 Bit Buffer Active Low";
iconName = $LuaLogic::Path @ "icons/16 Bit Buffer Active Low";
logicUIName = "16 Bit Buffer Active Low";
logicUIDesc = "16 big buffer with clock propagate; clock is active low";
logicUpdate =
"return function(gate) " @
" if not gate.ports[33].state then " @
" for i = 1, 16 do " @
" gate.ports[i+16]:setstate(gate.ports[i].state) " @
" end " @
" gate.ports[34]:setstate(false) " @
" else " @
" for i = 1, 16 do " @
" gate.ports[i+16]:setstate(false) " @
" end " @
" gate.ports[34]:setstate(true) " @
" end " @
"end "
;
};
datablock fxDtsBrickData(LogicGate_16BitDFlipFlop_Data : LogicGate_16BitBuffer_Data){
uiName = "16 Bit D FlipFlop";
iconName = $LuaLogic::Path @ "icons/16 Bit D FlipFlop";
logicUIName = "16 Bit D FlipFlop";
logicUIDesc = "16 big D FlipFlop with clock propagate";
logicUpdate =
"return function(gate) " @
" if gate.ports[33]:isrising() then " @
" for i = 1, 16 do " @
" gate.ports[i+16]:setstate(gate.ports[i].state) " @
" end " @
" end " @
" gate.ports[34]:setstate(gate.ports[33].state) " @
"end "
;
};
datablock fxDtsBrickData(LogicGate_16BitDFlipFlopAL_Data : LogicGate_16BitBuffer_Data){
uiName = "16 Bit D FlipFlop Active Low";
iconName = $LuaLogic::Path @ "icons/16 Bit D FlipFlop Active Low";
logicUIName = "16 Bit D FlipFlop Active Low";
logicUIDesc = "16 big D FlipFlop with clock propagate; clock is active low";
logicUpdate =
"return function(gate) " @
" if gate.ports[33]:isfalling() then " @
" for i = 1, 16 do " @
" gate.ports[i+16]:setstate(gate.ports[i].state) " @
" end " @
" end " @
" gate.ports[34]:setstate(gate.ports[33].state) " @
"end "
;
};

29
bricks/inputs/button.cs Normal file
View File

@ -0,0 +1,29 @@
datablock fxDTSBrickData(LogicGate_Button_Data : LogicGate_Switch_Data){
category = "Logic Bricks";
subCategory = "Inputs";
uiName = "Button";
numLogicPorts = 2;
logicPortType[0] = 0;
logicPortPos[0] = "0 1 0";
logicPortDir[0] = "1";
logicPortType[1] = 0;
logicPortPos[1] = "0 -1 0";
logicPortDir[1] = "3";
};
function LogicGate_Button_Data::Logic_onInput(%data, %brick, %pos, %norm){
lualogic_sendinput(%brick, 1, 1);
schedule(100, 0, lualogic_sendinput, %brick, 1, 0);
}
function LogicGate_Button_Data::Logic_onAdd(%data, %brick){
lualogic_sendinput(%brick, 1, %brick.getColorFXID() == 3);
}
function LogicGate_Button_Data::LuaLogic_Callback(%data, %brick, %args){
%brick.setColorFX(getField(%args, 0) == 1 ? 3 : 0);
}

View File

@ -98,9 +98,9 @@ textbrick2_idxToPrint = {
[0x58] = "X", [0x58] = "X",
[0x59] = "Y", [0x59] = "Y",
[0x5A] = "Z", [0x5A] = "Z",
[0x5B] = "squarebracketleft", [0x5B] = "squarebracketright",
[0x5C] = "slashleft", [0x5C] = "slashleft",
[0x5D] = "squarebracketright", [0x5D] = "squarebracketleft",
[0x5E] = "caret", [0x5E] = "caret",
[0x5F] = "underscore", [0x5F] = "underscore",

View File

@ -287,6 +287,13 @@ datablock fxDTSBrickData(LogicWire1x1x18Data : LogicWire1x64fData)
brickFile = $LuaLogic::Path @ "bricks/blb/wires/1x1x18.blb"; brickFile = $LuaLogic::Path @ "bricks/blb/wires/1x1x18.blb";
}; };
datablock fxDTSBrickData(LogicWire1x1x24Data : LogicWire1x64fData)
{
uiName = "Wire 1x1x24";
iconName = $LuaLogic::Path @ "icons/Wire 1x1x24";
brickFile = $LuaLogic::Path @ "bricks/blb/wires/1x1x24.blb";
};
datablock fxDTSBrickData(LogicWire1x1x32Data : LogicWire1x64fData) datablock fxDTSBrickData(LogicWire1x1x32Data : LogicWire1x64fData)
{ {
uiName = "Wire 1x1x32"; uiName = "Wire 1x1x32";

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
icons/8 Bit Buffer.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@ -16,6 +16,7 @@ exec($LuaLogic::Path @ "bricks/gates/verticalNOT.cs");
//Inputs //Inputs
exec($LuaLogic::Path @ "bricks/inputs/switch.cs"); exec($LuaLogic::Path @ "bricks/inputs/switch.cs");
exec($LuaLogic::Path @ "bricks/inputs/button.cs");
exec($LuaLogic::Path @ "bricks/inputs/keyboard.cs"); exec($LuaLogic::Path @ "bricks/inputs/keyboard.cs");
//Outputs //Outputs
@ -34,8 +35,10 @@ exec($LuaLogic::Path @ "bricks/math/8bitMultiplier.cs");
exec($LuaLogic::Path @ "bricks/math/8bitDivider.cs"); exec($LuaLogic::Path @ "bricks/math/8bitDivider.cs");
//Bus //Bus
exec($LuaLogic::Path @ "bricks/bus/8BitEnabler.cs"); exec($LuaLogic::Path @ "bricks/bus/8BitBuffer.cs");
exec($LuaLogic::Path @ "bricks/bus/8BitDFlipFlop.cs"); exec($LuaLogic::Path @ "bricks/bus/8BitDFlipFlop.cs");
exec($LuaLogic::Path @ "bricks/bus/8BitEnabler.cs");
exec($LuaLogic::Path @ "bricks/bus/bus16.cs");
//Memory //Memory
exec($LuaLogic::Path @ "bricks/memory/DFlipFlop.cs"); exec($LuaLogic::Path @ "bricks/memory/DFlipFlop.cs");

View File

@ -12,13 +12,22 @@ function serverCmdLST(%client, %time)
{ {
if(%client.isAdmin || %client.isSuperAdmin) if(%client.isAdmin || %client.isSuperAdmin)
{ {
%time = mClampFloat(%time, 0, 999999); %time = mClampFloat(%time, 1, 10000);
$Pref::Server::LuaLogic::OPT_TICK_TIME = %time/1000; $Pref::Server::LuaLogic::OPT_TICK_TIME = %time/1000;
messageAll('', '\c3%1\c6 has set the logic tick time to \c3%2\c6 millisecond%3.', %client.name, %time, %time == 1 ? "":"s"); messageAll('', '\c3%1\c6 has set the logic tick time to \c3%2\c6 millisecond%3.', %client.name, %time, %time == 1 ? "":"s");
lualogic_sendoptions(); lualogic_sendoptions();
} }
} }
function serverCmdLSM(%client, %mult){
if(%client.isAdmin || %client.isSuperAdmin){
%mult = mFloor(mClamp(%mult, 1, 1000));
$Pref::Server::LuaLogic::OPT_TICK_MULT = %mult;
messageAll('', '\c3%1\c6 has set the logic tick multiplier to \c3%2\c6.', %client.name, %mult);
lualogic_sendoptions();
}
}
function serverCmdLS(%client) function serverCmdLS(%client)
{ {
if(%client.isAdmin || %client.isSuperAdmin) if(%client.isAdmin || %client.isSuperAdmin)

View File

@ -25,8 +25,8 @@ function lualogic_registergatedefinition_auto(%data){
%numports = %data.numLogicPorts; %numports = %data.numLogicPorts;
%def = %id @ ";" @ %def = %id @ ";" @
%data.logicUIName @ ";" @ lualogic_expandescape(%data.logicUIName) @ ";" @
%data.logicUIDesc @ ";" @ lualogic_expandescape(%data.logicUIDesc) @ ";" @
lualogic_expandescape(%data.logicInit) @ ";" @ lualogic_expandescape(%data.logicInit) @ ";" @
lualogic_expandescape(%data.logicUpdate) @ ";" @ lualogic_expandescape(%data.logicUpdate) @ ";" @
lualogic_expandescape(%data.logicInput) @ ";" @ lualogic_expandescape(%data.logicInput) @ ";" @
@ -119,12 +119,12 @@ function lualogic_sendgatedefinitions()
lualogic_send("GD;" @ $LuaLogic::GateDefintion[%i]); lualogic_send("GD;" @ $LuaLogic::GateDefintion[%i]);
} }
function lualogic_sendoptions() function lualogic_sendoptions(){
{ lualogic_send("OPT;TICK_ENABLED;" @ $Pref::Server::LuaLogic::OPT_TICK_ENABLED);
lualogic_send("OPT;TICK_ENABLED;" @ $Pref::Server::LuaLogic::OPT_TICK_ENABLED); lualogic_send("OPT;TICK_TIME;" @ $Pref::Server::LuaLogic::OPT_TICK_TIME );
lualogic_send("OPT;TICK_TIME;" @ $Pref::Server::LuaLogic::OPT_TICK_TIME); lualogic_send("OPT;FX_UPDATES;" @ $Pref::Server::LuaLogic::OPT_FX_UPDATES );
lualogic_send("OPT;FX_UPDATES;" @ $Pref::Server::LuaLogic::OPT_FX_UPDATES); lualogic_send("OPT;FX_TIME;" @ $Pref::Server::LuaLogic::OPT_FX_TIME );
lualogic_send("OPT;FX_TIME;" @ $Pref::Server::LuaLogic::OPT_FX_TIME); lualogic_send("OPT;TICK_MULT;" @ $Pref::Server::LuaLogic::OPT_TICK_MULT );
} }
function lualogic_savedata(){ function lualogic_savedata(){