diff --git a/bricks/big/cpu1.cs b/bricks/big/cpu1.cs index fc9d7c9..3087fe0 100644 --- a/bricks/big/cpu1.cs +++ b/bricks/big/cpu1.cs @@ -2,7 +2,7 @@ datablock fxDTSBrickData(LogicGate_cpu1_Data) { brickFile = $LuaLogic::Path @ "bricks/blb/cpu1.blb"; category = "Logic Bricks"; - subCategory = "Gatemaker"; + subCategory = "Big"; uiName = "cpu1"; iconName = ""; hasPrint = 1; diff --git a/bricks/gates/NOT.cs b/bricks/gates/NOT.cs index acb6555..7c5189b 100644 --- a/bricks/gates/NOT.cs +++ b/bricks/gates/NOT.cs @@ -12,8 +12,10 @@ datablock fxDTSBrickData(LogicGate_NOT_Data : LogicGate_Diode_Data) logicForceColor = "RED"; logicForcePrint = "ARROW"; - logicUpdate = "return function(gate) gate.ports[2]:setstate(not gate.ports[1].state) end"; + logicUpdate = "return function(gate) Gate.setportstate(gate, 2, not Gate.getportstate(gate, 1)) end"; numLogicPorts = 2; }; lualogic_registergatedefinition("LogicGate_NOT_Data"); + +$ND::ManualSymmetryZ["NOT"] = true; diff --git a/bricks/gates/diode.cs b/bricks/gates/diode.cs index f7d3e88..8027562 100644 --- a/bricks/gates/diode.cs +++ b/bricks/gates/diode.cs @@ -16,7 +16,7 @@ datablock fxDTSBrickData(LogicGate_Diode_Data) logicForceColor = "GREEN"; logicForcePrint = "ARROW"; - logicUpdate = "return function(gate) gate.ports[2]:setstate(gate.ports[1].state) end"; + logicUpdate = "return function(gate) Gate.setportstate(gate, 2, Gate.getportstate(gate, 1)) end"; numLogicPorts = 2; @@ -34,3 +34,5 @@ datablock fxDTSBrickData(LogicGate_Diode_Data) logicPortUIDesc[1] = ""; }; lualogic_registergatedefinition("LogicGate_Diode_Data"); + +$ND::ManualSymmetryZ["Diode"] = true; diff --git a/bricks/gates/verticalDiode.cs b/bricks/gates/verticalDiode.cs index 0d2b117..4e0a84d 100644 --- a/bricks/gates/verticalDiode.cs +++ b/bricks/gates/verticalDiode.cs @@ -19,7 +19,7 @@ datablock fxDTSBrickData(LogicGate_DiodeUp_Data) logicForceColor = "GREEN"; logicForcePrint = "UPARROW"; - logicUpdate = "return function(gate) gate.ports[2]:setstate(gate.ports[1].state) end"; + logicUpdate = "return function(gate) Gate.setportstate(gate, 2, Gate.getportstate(gate, 1)) end"; numLogicPorts = 2; @@ -51,3 +51,6 @@ datablock fxDTSBrickData(LogicGate_DiodeDown_Data : LogicGate_DiodeUp_Data) logicPortDir[1] = 5; }; lualogic_registergatedefinition("LogicGate_DiodeDown_Data"); + +$ND::ManualSymmetryZ["Diode Up" ] = "Diode Down"; +$ND::ManualSymmetryZ["Diode Down"] = "Diode Up" ; diff --git a/bricks/gates/verticalNOT.cs b/bricks/gates/verticalNOT.cs index 6540045..7d5774f 100644 --- a/bricks/gates/verticalNOT.cs +++ b/bricks/gates/verticalNOT.cs @@ -12,7 +12,7 @@ datablock fxDTSBrickData(LogicGate_NotUp_Data : LogicGate_DiodeUp_Data) logicForceColor = "RED"; logicForcePrint = "UPARROW"; - logicUpdate = "return function(gate) gate.ports[2]:setstate(not gate.ports[1].state) end"; + logicUpdate = "return function(gate) Gate.setportstate(gate, 2, not Gate.getportstate(gate, 1)) end"; }; lualogic_registergatedefinition("LogicGate_NotUp_Data"); @@ -27,6 +27,9 @@ datablock fxDTSBrickData(LogicGate_NotDown_Data : LogicGate_DiodeDown_Data) logicForceColor = "RED"; logicForcePrint = "DOWNARROW"; - logicUpdate = "return function(gate) gate.ports[2]:setstate(not gate.ports[1].state) end"; + logicUpdate = "return function(gate) Gate.setportstate(gate, 2, not Gate.getportstate(gate, 1)) end"; }; lualogic_registergatedefinition("LogicGate_NotDown_Data"); + +$ND::ManualSymmetryZ["Not Up" ] = "Not Down"; +$ND::ManualSymmetryZ["Not Down"] = "Not Up" ; diff --git a/bricks/gen/execall.cs b/bricks/gen/execall.cs index 260e781..d879642 100644 --- a/bricks/gen/execall.cs +++ b/bricks/gen/execall.cs @@ -226,3 +226,9 @@ exec("./newcode/Demux 3 Bit.cs"); exec("./newcode/Demux 4 Bit.cs"); exec("./newcode/Demux 5 Bit.cs"); exec("./newcode/Demux 6 Bit.cs"); +exec("./newcode/Demux 1 Bit Vertical.cs"); +exec("./newcode/Demux 2 Bit Vertical.cs"); +exec("./newcode/Demux 3 Bit Vertical.cs"); +exec("./newcode/Demux 4 Bit Vertical.cs"); +exec("./newcode/Demux 5 Bit Vertical.cs"); +exec("./newcode/Demux 6 Bit Vertical.cs"); diff --git a/bricks/gen/newbricks/Demux 1 Bit Vertical.blb b/bricks/gen/newbricks/Demux 1 Bit Vertical.blb new file mode 100644 index 0000000..03efe59 --- /dev/null +++ b/bricks/gen/newbricks/Demux 1 Bit Vertical.blb @@ -0,0 +1,624 @@ +1 1 2 +SPECIAL + +u +d + +1 + +0 0 0 +1 1 2 +COVERAGE: +1 : 1 +1 : 1 +1 : 2 +1 : 2 +1 : 2 +1 : 2 +----------------top quads: +1 + +TEX:PRINT +POSITION: +0.5 0.5 1 +0.5 -0.5 1 +-0.5 -0.5 1 +-0.5 0.5 1 +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: +9 + +TEX:BOTTOMEDGE +POSITION: +-0.5 -0.5 -1 +0.5 -0.5 -1 +0 0 -1 +0 0 -1 +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 -1 +-0.5 0.5 -1 +0 0 -1 +0 0 -1 +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 -1 +0.5 0.5 -1 +0 0 -1 +0 0 -1 +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 -1 +-0.5 -0.5 -1 +0 0 -1 +0 0 -1 +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:SIDE +POSITION: +0.4 -0.4 -1.25 +-0.4 -0.4 -1.25 +-0.4 -0.4 -1 +0.4 -0.4 -1 +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.4 -1.25 +0.4 0.4 -1.25 +-0.4 0.4 -1.25 +-0.4 -0.4 -1.25 +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.4 -1.25 +0.4 0.4 -1.25 +0.4 0.4 -1 +-0.4 0.4 -1 +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.4 -1.25 +0.4 -0.4 -1.25 +0.4 -0.4 -1 +0.4 0.4 -1 +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.4 -1.25 +-0.4 0.4 -1.25 +-0.4 0.4 -1 +-0.4 -0.4 -1 +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 +----------------north quads: +11 + +TEX:SIDE +POSITION: +-0.5 0.5 1 +-0.5 0.5 -1 +0.5 0.5 -1 +0.5 0.5 1 +UV COORDS: +1.021484375 -0.0322265625 +1.021484375 1.0322265625 +-0.021484375 1.0322265625 +-0.021484375 -0.0322265625 +NORMALS: +0 1 0 +0 1 0 +0 1 0 +0 1 0 + +TEX:SIDE +POSITION: +0.32 0.75 -0.74 +-0.32 0.75 -0.74 +-0.4 0.5 -0.8 +0.4 0.5 -0.8 +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.74 +0.32 0.75 -0.26 +-0.32 0.75 -0.26 +-0.32 0.75 -0.74 +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.26 +0.32 0.75 -0.26 +0.4 0.5 -0.2 +-0.4 0.5 -0.2 +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.74 +-0.32 0.75 -0.26 +-0.4 0.5 -0.2 +-0.4 0.5 -0.8 +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.26 +0.32 0.75 -0.74 +0.4 0.5 -0.8 +0.4 0.5 -0.2 +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.26 +-0.32 0.75 0.26 +-0.4 0.5 0.2 +0.4 0.5 0.2 +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.26 +0.32 0.75 0.74 +-0.32 0.75 0.74 +-0.32 0.75 0.26 +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.74 +0.32 0.75 0.74 +0.4 0.5 0.8 +-0.4 0.5 0.8 +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.26 +-0.32 0.75 0.74 +-0.4 0.5 0.8 +-0.4 0.5 0.2 +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.74 +0.32 0.75 0.26 +0.4 0.5 0.2 +0.4 0.5 0.8 +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: +1 + +TEX:SIDE +POSITION: +0.5 -0.5 1 +0.5 0.5 1 +0.5 0.5 -1 +0.5 -0.5 -1 +UV COORDS: +-0.021484375 -0.0322265625 +1.021484375 -0.0322265625 +1.021484375 1.0322265625 +-0.021484375 1.0322265625 +NORMALS: +1 0 0 +1 0 0 +1 0 0 +1 0 0 +----------------south quads: +6 + +TEX:SIDE +POSITION: +0.5 -0.5 1 +0.5 -0.5 -1 +-0.5 -0.5 -1 +-0.5 -0.5 1 +UV COORDS: +1.021484375 -0.0322265625 +1.021484375 1.0322265625 +-0.021484375 1.0322265625 +-0.021484375 -0.0322265625 +NORMALS: +0 -1 0 +0 -1 0 +0 -1 0 +0 -1 0 + +TEX:SIDE +POSITION: +-0.4 -0.64 -0.8 +0.4 -0.64 -0.8 +0.4 -0.5 -0.8 +-0.4 -0.5 -0.8 +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.8 +-0.4 -0.64 -0.2 +0.4 -0.64 -0.2 +0.4 -0.64 -0.8 +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.2 +-0.4 -0.64 -0.2 +-0.4 -0.5 -0.2 +0.4 -0.5 -0.2 +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.8 +0.4 -0.64 -0.2 +0.4 -0.5 -0.2 +0.4 -0.5 -0.8 +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.2 +-0.4 -0.64 -0.8 +-0.4 -0.5 -0.8 +-0.4 -0.5 -0.2 +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 -1 +-0.5 0.5 -1 +-0.5 0.5 1 +-0.5 -0.5 1 +UV COORDS: +1.021484375 1.0322265625 +-0.021484375 1.0322265625 +-0.021484375 -0.0322265625 +1.021484375 -0.0322265625 +NORMALS: +-1 0 0 +-1 0 0 +-1 0 0 +-1 0 0 +----------------omni quads: +0 \ No newline at end of file diff --git a/bricks/gen/newbricks/Demux 2 Bit Vertical.blb b/bricks/gen/newbricks/Demux 2 Bit Vertical.blb new file mode 100644 index 0000000..c894479 --- /dev/null +++ b/bricks/gen/newbricks/Demux 2 Bit Vertical.blb @@ -0,0 +1,956 @@ +1 1 4 +SPECIAL + +u +X +X +d + +1 + +0 0 0 +1 1 4 +COVERAGE: +1 : 1 +1 : 1 +1 : 4 +1 : 4 +1 : 4 +1 : 4 +----------------top quads: +1 + +TEX:PRINT +POSITION: +0.5 0.5 2 +0.5 -0.5 2 +-0.5 -0.5 2 +-0.5 0.5 2 +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: +9 + +TEX:BOTTOMEDGE +POSITION: +-0.5 -0.5 -2 +0.5 -0.5 -2 +0 0 -2 +0 0 -2 +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 -2 +-0.5 0.5 -2 +0 0 -2 +0 0 -2 +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 -2 +0.5 0.5 -2 +0 0 -2 +0 0 -2 +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 -2 +-0.5 -0.5 -2 +0 0 -2 +0 0 -2 +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:SIDE +POSITION: +0.4 -0.4 -2.25 +-0.4 -0.4 -2.25 +-0.4 -0.4 -2 +0.4 -0.4 -2 +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.4 -2.25 +0.4 0.4 -2.25 +-0.4 0.4 -2.25 +-0.4 -0.4 -2.25 +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.4 -2.25 +0.4 0.4 -2.25 +0.4 0.4 -2 +-0.4 0.4 -2 +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.4 -2.25 +0.4 -0.4 -2.25 +0.4 -0.4 -2 +0.4 0.4 -2 +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.4 -2.25 +-0.4 0.4 -2.25 +-0.4 0.4 -2 +-0.4 -0.4 -2 +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 +----------------north quads: +21 + +TEX:SIDE +POSITION: +-0.5 0.5 2 +-0.5 0.5 -2 +0.5 0.5 -2 +0.5 0.5 2 +UV COORDS: +1.021484375 -0.00537109375 +1.021484375 1.00537109375 +-0.021484375 1.00537109375 +-0.021484375 -0.00537109375 +NORMALS: +0 1 0 +0 1 0 +0 1 0 +0 1 0 + +TEX:SIDE +POSITION: +0.32 0.75 -1.74 +-0.32 0.75 -1.74 +-0.4 0.5 -1.8 +0.4 0.5 -1.8 +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 -1.74 +0.32 0.75 -1.26 +-0.32 0.75 -1.26 +-0.32 0.75 -1.74 +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 -1.26 +0.32 0.75 -1.26 +0.4 0.5 -1.2 +-0.4 0.5 -1.2 +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 -1.74 +-0.32 0.75 -1.26 +-0.4 0.5 -1.2 +-0.4 0.5 -1.8 +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 -1.26 +0.32 0.75 -1.74 +0.4 0.5 -1.8 +0.4 0.5 -1.2 +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.74 +-0.32 0.75 -0.74 +-0.4 0.5 -0.8 +0.4 0.5 -0.8 +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.74 +0.32 0.75 -0.26 +-0.32 0.75 -0.26 +-0.32 0.75 -0.74 +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.26 +0.32 0.75 -0.26 +0.4 0.5 -0.2 +-0.4 0.5 -0.2 +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.74 +-0.32 0.75 -0.26 +-0.4 0.5 -0.2 +-0.4 0.5 -0.8 +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.26 +0.32 0.75 -0.74 +0.4 0.5 -0.8 +0.4 0.5 -0.2 +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.26 +-0.32 0.75 0.26 +-0.4 0.5 0.2 +0.4 0.5 0.2 +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.26 +0.32 0.75 0.74 +-0.32 0.75 0.74 +-0.32 0.75 0.26 +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.74 +0.32 0.75 0.74 +0.4 0.5 0.8 +-0.4 0.5 0.8 +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.26 +-0.32 0.75 0.74 +-0.4 0.5 0.8 +-0.4 0.5 0.2 +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.74 +0.32 0.75 0.26 +0.4 0.5 0.2 +0.4 0.5 0.8 +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 1.26 +-0.32 0.75 1.26 +-0.4 0.5 1.2 +0.4 0.5 1.2 +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 1.26 +0.32 0.75 1.74 +-0.32 0.75 1.74 +-0.32 0.75 1.26 +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 1.74 +0.32 0.75 1.74 +0.4 0.5 1.8 +-0.4 0.5 1.8 +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 1.26 +-0.32 0.75 1.74 +-0.4 0.5 1.8 +-0.4 0.5 1.2 +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 1.74 +0.32 0.75 1.26 +0.4 0.5 1.2 +0.4 0.5 1.8 +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: +1 + +TEX:SIDE +POSITION: +0.5 -0.5 2 +0.5 0.5 2 +0.5 0.5 -2 +0.5 -0.5 -2 +UV COORDS: +-0.021484375 -0.00537109375 +1.021484375 -0.00537109375 +1.021484375 1.00537109375 +-0.021484375 1.00537109375 +NORMALS: +1 0 0 +1 0 0 +1 0 0 +1 0 0 +----------------south quads: +11 + +TEX:SIDE +POSITION: +0.5 -0.5 2 +0.5 -0.5 -2 +-0.5 -0.5 -2 +-0.5 -0.5 2 +UV COORDS: +1.021484375 -0.00537109375 +1.021484375 1.00537109375 +-0.021484375 1.00537109375 +-0.021484375 -0.00537109375 +NORMALS: +0 -1 0 +0 -1 0 +0 -1 0 +0 -1 0 + +TEX:SIDE +POSITION: +-0.4 -0.64 -1.8 +0.4 -0.64 -1.8 +0.4 -0.5 -1.8 +-0.4 -0.5 -1.8 +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 -1.8 +-0.4 -0.64 -1.2 +0.4 -0.64 -1.2 +0.4 -0.64 -1.8 +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 -1.2 +-0.4 -0.64 -1.2 +-0.4 -0.5 -1.2 +0.4 -0.5 -1.2 +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 -1.8 +0.4 -0.64 -1.2 +0.4 -0.5 -1.2 +0.4 -0.5 -1.8 +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 -1.2 +-0.4 -0.64 -1.8 +-0.4 -0.5 -1.8 +-0.4 -0.5 -1.2 +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.8 +0.4 -0.64 -0.8 +0.4 -0.5 -0.8 +-0.4 -0.5 -0.8 +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.8 +-0.4 -0.64 -0.2 +0.4 -0.64 -0.2 +0.4 -0.64 -0.8 +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.2 +-0.4 -0.64 -0.2 +-0.4 -0.5 -0.2 +0.4 -0.5 -0.2 +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.8 +0.4 -0.64 -0.2 +0.4 -0.5 -0.2 +0.4 -0.5 -0.8 +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.2 +-0.4 -0.64 -0.8 +-0.4 -0.5 -0.8 +-0.4 -0.5 -0.2 +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 -2 +-0.5 0.5 -2 +-0.5 0.5 2 +-0.5 -0.5 2 +UV COORDS: +1.021484375 1.00537109375 +-0.021484375 1.00537109375 +-0.021484375 -0.00537109375 +1.021484375 -0.00537109375 +NORMALS: +-1 0 0 +-1 0 0 +-1 0 0 +-1 0 0 +----------------omni quads: +0 \ No newline at end of file diff --git a/bricks/gen/newbricks/Demux 3 Bit Vertical.blb b/bricks/gen/newbricks/Demux 3 Bit Vertical.blb new file mode 100644 index 0000000..0454e62 --- /dev/null +++ b/bricks/gen/newbricks/Demux 3 Bit Vertical.blb @@ -0,0 +1,1510 @@ +1 1 8 +SPECIAL + +u +X +X +X +X +X +X +d + +1 + +0 0 0 +1 1 8 +COVERAGE: +1 : 1 +1 : 1 +1 : 8 +1 : 8 +1 : 8 +1 : 8 +----------------top quads: +1 + +TEX:PRINT +POSITION: +0.5 0.5 4 +0.5 -0.5 4 +-0.5 -0.5 4 +-0.5 0.5 4 +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: +9 + +TEX:BOTTOMEDGE +POSITION: +-0.5 -0.5 -4 +0.5 -0.5 -4 +0 0 -4 +0 0 -4 +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 -4 +-0.5 0.5 -4 +0 0 -4 +0 0 -4 +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 -4 +0.5 0.5 -4 +0 0 -4 +0 0 -4 +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 -4 +-0.5 -0.5 -4 +0 0 -4 +0 0 -4 +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:SIDE +POSITION: +0.4 -0.4 -4.25 +-0.4 -0.4 -4.25 +-0.4 -0.4 -4 +0.4 -0.4 -4 +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.4 -4.25 +0.4 0.4 -4.25 +-0.4 0.4 -4.25 +-0.4 -0.4 -4.25 +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.4 -4.25 +0.4 0.4 -4.25 +0.4 0.4 -4 +-0.4 0.4 -4 +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.4 -4.25 +0.4 -0.4 -4.25 +0.4 -0.4 -4 +0.4 0.4 -4 +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.4 -4.25 +-0.4 0.4 -4.25 +-0.4 0.4 -4 +-0.4 -0.4 -4 +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 +----------------north quads: +41 + +TEX:SIDE +POSITION: +-0.5 0.5 4 +-0.5 0.5 -4 +0.5 0.5 -4 +0.5 0.5 4 +UV COORDS: +1.021484375 0.008056640625 +1.021484375 0.991943359375 +-0.021484375 0.991943359375 +-0.021484375 0.008056640625 +NORMALS: +0 1 0 +0 1 0 +0 1 0 +0 1 0 + +TEX:SIDE +POSITION: +0.32 0.75 -3.74 +-0.32 0.75 -3.74 +-0.4 0.5 -3.8 +0.4 0.5 -3.8 +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 -3.74 +0.32 0.75 -3.26 +-0.32 0.75 -3.26 +-0.32 0.75 -3.74 +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 -3.26 +0.32 0.75 -3.26 +0.4 0.5 -3.2 +-0.4 0.5 -3.2 +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 -3.74 +-0.32 0.75 -3.26 +-0.4 0.5 -3.2 +-0.4 0.5 -3.8 +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 -3.26 +0.32 0.75 -3.74 +0.4 0.5 -3.8 +0.4 0.5 -3.2 +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 -2.74 +-0.32 0.75 -2.74 +-0.4 0.5 -2.8 +0.4 0.5 -2.8 +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 -2.74 +0.32 0.75 -2.26 +-0.32 0.75 -2.26 +-0.32 0.75 -2.74 +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 -2.26 +0.32 0.75 -2.26 +0.4 0.5 -2.2 +-0.4 0.5 -2.2 +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 -2.74 +-0.32 0.75 -2.26 +-0.4 0.5 -2.2 +-0.4 0.5 -2.8 +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 -2.26 +0.32 0.75 -2.74 +0.4 0.5 -2.8 +0.4 0.5 -2.2 +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 -1.74 +-0.32 0.75 -1.74 +-0.4 0.5 -1.8 +0.4 0.5 -1.8 +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 -1.74 +0.32 0.75 -1.26 +-0.32 0.75 -1.26 +-0.32 0.75 -1.74 +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 -1.26 +0.32 0.75 -1.26 +0.4 0.5 -1.2 +-0.4 0.5 -1.2 +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 -1.74 +-0.32 0.75 -1.26 +-0.4 0.5 -1.2 +-0.4 0.5 -1.8 +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 -1.26 +0.32 0.75 -1.74 +0.4 0.5 -1.8 +0.4 0.5 -1.2 +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.74 +-0.32 0.75 -0.74 +-0.4 0.5 -0.8 +0.4 0.5 -0.8 +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.74 +0.32 0.75 -0.26 +-0.32 0.75 -0.26 +-0.32 0.75 -0.74 +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.26 +0.32 0.75 -0.26 +0.4 0.5 -0.2 +-0.4 0.5 -0.2 +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.74 +-0.32 0.75 -0.26 +-0.4 0.5 -0.2 +-0.4 0.5 -0.8 +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.26 +0.32 0.75 -0.74 +0.4 0.5 -0.8 +0.4 0.5 -0.2 +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.26 +-0.32 0.75 0.26 +-0.4 0.5 0.2 +0.4 0.5 0.2 +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.26 +0.32 0.75 0.74 +-0.32 0.75 0.74 +-0.32 0.75 0.26 +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.74 +0.32 0.75 0.74 +0.4 0.5 0.8 +-0.4 0.5 0.8 +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.26 +-0.32 0.75 0.74 +-0.4 0.5 0.8 +-0.4 0.5 0.2 +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.74 +0.32 0.75 0.26 +0.4 0.5 0.2 +0.4 0.5 0.8 +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 1.26 +-0.32 0.75 1.26 +-0.4 0.5 1.2 +0.4 0.5 1.2 +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 1.26 +0.32 0.75 1.74 +-0.32 0.75 1.74 +-0.32 0.75 1.26 +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 1.74 +0.32 0.75 1.74 +0.4 0.5 1.8 +-0.4 0.5 1.8 +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 1.26 +-0.32 0.75 1.74 +-0.4 0.5 1.8 +-0.4 0.5 1.2 +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 1.74 +0.32 0.75 1.26 +0.4 0.5 1.2 +0.4 0.5 1.8 +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 2.26 +-0.32 0.75 2.26 +-0.4 0.5 2.2 +0.4 0.5 2.2 +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 2.26 +0.32 0.75 2.74 +-0.32 0.75 2.74 +-0.32 0.75 2.26 +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 2.74 +0.32 0.75 2.74 +0.4 0.5 2.8 +-0.4 0.5 2.8 +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 2.26 +-0.32 0.75 2.74 +-0.4 0.5 2.8 +-0.4 0.5 2.2 +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 2.74 +0.32 0.75 2.26 +0.4 0.5 2.2 +0.4 0.5 2.8 +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 3.26 +-0.32 0.75 3.26 +-0.4 0.5 3.2 +0.4 0.5 3.2 +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 3.26 +0.32 0.75 3.74 +-0.32 0.75 3.74 +-0.32 0.75 3.26 +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 3.74 +0.32 0.75 3.74 +0.4 0.5 3.8 +-0.4 0.5 3.8 +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 3.26 +-0.32 0.75 3.74 +-0.4 0.5 3.8 +-0.4 0.5 3.2 +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 3.74 +0.32 0.75 3.26 +0.4 0.5 3.2 +0.4 0.5 3.8 +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: +1 + +TEX:SIDE +POSITION: +0.5 -0.5 4 +0.5 0.5 4 +0.5 0.5 -4 +0.5 -0.5 -4 +UV COORDS: +-0.021484375 0.008056640625 +1.021484375 0.008056640625 +1.021484375 0.991943359375 +-0.021484375 0.991943359375 +NORMALS: +1 0 0 +1 0 0 +1 0 0 +1 0 0 +----------------south quads: +16 + +TEX:SIDE +POSITION: +0.5 -0.5 4 +0.5 -0.5 -4 +-0.5 -0.5 -4 +-0.5 -0.5 4 +UV COORDS: +1.021484375 0.008056640625 +1.021484375 0.991943359375 +-0.021484375 0.991943359375 +-0.021484375 0.008056640625 +NORMALS: +0 -1 0 +0 -1 0 +0 -1 0 +0 -1 0 + +TEX:SIDE +POSITION: +-0.4 -0.64 -3.8 +0.4 -0.64 -3.8 +0.4 -0.5 -3.8 +-0.4 -0.5 -3.8 +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 -3.8 +-0.4 -0.64 -3.2 +0.4 -0.64 -3.2 +0.4 -0.64 -3.8 +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 -3.2 +-0.4 -0.64 -3.2 +-0.4 -0.5 -3.2 +0.4 -0.5 -3.2 +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 -3.8 +0.4 -0.64 -3.2 +0.4 -0.5 -3.2 +0.4 -0.5 -3.8 +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 -3.2 +-0.4 -0.64 -3.8 +-0.4 -0.5 -3.8 +-0.4 -0.5 -3.2 +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 -2.8 +0.4 -0.64 -2.8 +0.4 -0.5 -2.8 +-0.4 -0.5 -2.8 +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 -2.8 +-0.4 -0.64 -2.2 +0.4 -0.64 -2.2 +0.4 -0.64 -2.8 +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 -2.2 +-0.4 -0.64 -2.2 +-0.4 -0.5 -2.2 +0.4 -0.5 -2.2 +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 -2.8 +0.4 -0.64 -2.2 +0.4 -0.5 -2.2 +0.4 -0.5 -2.8 +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 -2.2 +-0.4 -0.64 -2.8 +-0.4 -0.5 -2.8 +-0.4 -0.5 -2.2 +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 -1.8 +0.4 -0.64 -1.8 +0.4 -0.5 -1.8 +-0.4 -0.5 -1.8 +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 -1.8 +-0.4 -0.64 -1.2 +0.4 -0.64 -1.2 +0.4 -0.64 -1.8 +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 -1.2 +-0.4 -0.64 -1.2 +-0.4 -0.5 -1.2 +0.4 -0.5 -1.2 +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 -1.8 +0.4 -0.64 -1.2 +0.4 -0.5 -1.2 +0.4 -0.5 -1.8 +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 -1.2 +-0.4 -0.64 -1.8 +-0.4 -0.5 -1.8 +-0.4 -0.5 -1.2 +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 -4 +-0.5 0.5 -4 +-0.5 0.5 4 +-0.5 -0.5 4 +UV COORDS: +1.021484375 0.991943359375 +-0.021484375 0.991943359375 +-0.021484375 0.008056640625 +1.021484375 0.008056640625 +NORMALS: +-1 0 0 +-1 0 0 +-1 0 0 +-1 0 0 +----------------omni quads: +0 \ No newline at end of file diff --git a/bricks/gen/newbricks/Demux 4 Bit Vertical.blb b/bricks/gen/newbricks/Demux 4 Bit Vertical.blb new file mode 100644 index 0000000..dec3f41 --- /dev/null +++ b/bricks/gen/newbricks/Demux 4 Bit Vertical.blb @@ -0,0 +1,2508 @@ +1 1 16 +SPECIAL + +u +X +X +X +X +X +X +X +X +X +X +X +X +X +X +d + +1 + +0 0 0 +1 1 16 +COVERAGE: +1 : 1 +1 : 1 +1 : 16 +1 : 16 +1 : 16 +1 : 16 +----------------top quads: +1 + +TEX:PRINT +POSITION: +0.5 0.5 8 +0.5 -0.5 8 +-0.5 -0.5 8 +-0.5 0.5 8 +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: +9 + +TEX:BOTTOMEDGE +POSITION: +-0.5 -0.5 -8 +0.5 -0.5 -8 +0 0 -8 +0 0 -8 +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 -8 +-0.5 0.5 -8 +0 0 -8 +0 0 -8 +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 -8 +0.5 0.5 -8 +0 0 -8 +0 0 -8 +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 -8 +-0.5 -0.5 -8 +0 0 -8 +0 0 -8 +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:SIDE +POSITION: +0.4 -0.4 -8.25 +-0.4 -0.4 -8.25 +-0.4 -0.4 -8 +0.4 -0.4 -8 +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.4 -8.25 +0.4 0.4 -8.25 +-0.4 0.4 -8.25 +-0.4 -0.4 -8.25 +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.4 -8.25 +0.4 0.4 -8.25 +0.4 0.4 -8 +-0.4 0.4 -8 +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.4 -8.25 +0.4 -0.4 -8.25 +0.4 -0.4 -8 +0.4 0.4 -8 +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.4 -8.25 +-0.4 0.4 -8.25 +-0.4 0.4 -8 +-0.4 -0.4 -8 +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 +----------------north quads: +81 + +TEX:SIDE +POSITION: +-0.5 0.5 8 +-0.5 0.5 -8 +0.5 0.5 -8 +0.5 0.5 8 +UV COORDS: +1.021484375 0.0147705078125 +1.021484375 0.9852294921875 +-0.021484375 0.9852294921875 +-0.021484375 0.0147705078125 +NORMALS: +0 1 0 +0 1 0 +0 1 0 +0 1 0 + +TEX:SIDE +POSITION: +0.32 0.75 -7.74 +-0.32 0.75 -7.74 +-0.4 0.5 -7.8 +0.4 0.5 -7.8 +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 -7.74 +0.32 0.75 -7.26 +-0.32 0.75 -7.26 +-0.32 0.75 -7.74 +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 -7.26 +0.32 0.75 -7.26 +0.4 0.5 -7.2 +-0.4 0.5 -7.2 +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 -7.74 +-0.32 0.75 -7.26 +-0.4 0.5 -7.2 +-0.4 0.5 -7.8 +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 -7.26 +0.32 0.75 -7.74 +0.4 0.5 -7.8 +0.4 0.5 -7.2 +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 -6.74 +-0.32 0.75 -6.74 +-0.4 0.5 -6.8 +0.4 0.5 -6.8 +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 -6.74 +0.32 0.75 -6.26 +-0.32 0.75 -6.26 +-0.32 0.75 -6.74 +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 -6.26 +0.32 0.75 -6.26 +0.4 0.5 -6.2 +-0.4 0.5 -6.2 +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 -6.74 +-0.32 0.75 -6.26 +-0.4 0.5 -6.2 +-0.4 0.5 -6.8 +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 -6.26 +0.32 0.75 -6.74 +0.4 0.5 -6.8 +0.4 0.5 -6.2 +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 -5.74 +-0.32 0.75 -5.74 +-0.4 0.5 -5.8 +0.4 0.5 -5.8 +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 -5.74 +0.32 0.75 -5.26 +-0.32 0.75 -5.26 +-0.32 0.75 -5.74 +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 -5.26 +0.32 0.75 -5.26 +0.4 0.5 -5.2 +-0.4 0.5 -5.2 +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 -5.74 +-0.32 0.75 -5.26 +-0.4 0.5 -5.2 +-0.4 0.5 -5.8 +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 -5.26 +0.32 0.75 -5.74 +0.4 0.5 -5.8 +0.4 0.5 -5.2 +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 -4.74 +-0.32 0.75 -4.74 +-0.4 0.5 -4.8 +0.4 0.5 -4.8 +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 -4.74 +0.32 0.75 -4.26 +-0.32 0.75 -4.26 +-0.32 0.75 -4.74 +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 -4.26 +0.32 0.75 -4.26 +0.4 0.5 -4.2 +-0.4 0.5 -4.2 +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 -4.74 +-0.32 0.75 -4.26 +-0.4 0.5 -4.2 +-0.4 0.5 -4.8 +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 -4.26 +0.32 0.75 -4.74 +0.4 0.5 -4.8 +0.4 0.5 -4.2 +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 -3.74 +-0.32 0.75 -3.74 +-0.4 0.5 -3.8 +0.4 0.5 -3.8 +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 -3.74 +0.32 0.75 -3.26 +-0.32 0.75 -3.26 +-0.32 0.75 -3.74 +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 -3.26 +0.32 0.75 -3.26 +0.4 0.5 -3.2 +-0.4 0.5 -3.2 +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 -3.74 +-0.32 0.75 -3.26 +-0.4 0.5 -3.2 +-0.4 0.5 -3.8 +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 -3.26 +0.32 0.75 -3.74 +0.4 0.5 -3.8 +0.4 0.5 -3.2 +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 -2.74 +-0.32 0.75 -2.74 +-0.4 0.5 -2.8 +0.4 0.5 -2.8 +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 -2.74 +0.32 0.75 -2.26 +-0.32 0.75 -2.26 +-0.32 0.75 -2.74 +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 -2.26 +0.32 0.75 -2.26 +0.4 0.5 -2.2 +-0.4 0.5 -2.2 +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 -2.74 +-0.32 0.75 -2.26 +-0.4 0.5 -2.2 +-0.4 0.5 -2.8 +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 -2.26 +0.32 0.75 -2.74 +0.4 0.5 -2.8 +0.4 0.5 -2.2 +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 -1.74 +-0.32 0.75 -1.74 +-0.4 0.5 -1.8 +0.4 0.5 -1.8 +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 -1.74 +0.32 0.75 -1.26 +-0.32 0.75 -1.26 +-0.32 0.75 -1.74 +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 -1.26 +0.32 0.75 -1.26 +0.4 0.5 -1.2 +-0.4 0.5 -1.2 +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 -1.74 +-0.32 0.75 -1.26 +-0.4 0.5 -1.2 +-0.4 0.5 -1.8 +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 -1.26 +0.32 0.75 -1.74 +0.4 0.5 -1.8 +0.4 0.5 -1.2 +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.74 +-0.32 0.75 -0.74 +-0.4 0.5 -0.8 +0.4 0.5 -0.8 +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.74 +0.32 0.75 -0.26 +-0.32 0.75 -0.26 +-0.32 0.75 -0.74 +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.26 +0.32 0.75 -0.26 +0.4 0.5 -0.2 +-0.4 0.5 -0.2 +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.74 +-0.32 0.75 -0.26 +-0.4 0.5 -0.2 +-0.4 0.5 -0.8 +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.26 +0.32 0.75 -0.74 +0.4 0.5 -0.8 +0.4 0.5 -0.2 +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.26 +-0.32 0.75 0.26 +-0.4 0.5 0.2 +0.4 0.5 0.2 +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.26 +0.32 0.75 0.74 +-0.32 0.75 0.74 +-0.32 0.75 0.26 +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.74 +0.32 0.75 0.74 +0.4 0.5 0.8 +-0.4 0.5 0.8 +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.26 +-0.32 0.75 0.74 +-0.4 0.5 0.8 +-0.4 0.5 0.2 +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.74 +0.32 0.75 0.26 +0.4 0.5 0.2 +0.4 0.5 0.8 +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 1.26 +-0.32 0.75 1.26 +-0.4 0.5 1.2 +0.4 0.5 1.2 +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 1.26 +0.32 0.75 1.74 +-0.32 0.75 1.74 +-0.32 0.75 1.26 +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 1.74 +0.32 0.75 1.74 +0.4 0.5 1.8 +-0.4 0.5 1.8 +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 1.26 +-0.32 0.75 1.74 +-0.4 0.5 1.8 +-0.4 0.5 1.2 +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 1.74 +0.32 0.75 1.26 +0.4 0.5 1.2 +0.4 0.5 1.8 +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 2.26 +-0.32 0.75 2.26 +-0.4 0.5 2.2 +0.4 0.5 2.2 +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 2.26 +0.32 0.75 2.74 +-0.32 0.75 2.74 +-0.32 0.75 2.26 +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 2.74 +0.32 0.75 2.74 +0.4 0.5 2.8 +-0.4 0.5 2.8 +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 2.26 +-0.32 0.75 2.74 +-0.4 0.5 2.8 +-0.4 0.5 2.2 +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 2.74 +0.32 0.75 2.26 +0.4 0.5 2.2 +0.4 0.5 2.8 +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 3.26 +-0.32 0.75 3.26 +-0.4 0.5 3.2 +0.4 0.5 3.2 +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 3.26 +0.32 0.75 3.74 +-0.32 0.75 3.74 +-0.32 0.75 3.26 +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 3.74 +0.32 0.75 3.74 +0.4 0.5 3.8 +-0.4 0.5 3.8 +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 3.26 +-0.32 0.75 3.74 +-0.4 0.5 3.8 +-0.4 0.5 3.2 +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 3.74 +0.32 0.75 3.26 +0.4 0.5 3.2 +0.4 0.5 3.8 +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 4.26 +-0.32 0.75 4.26 +-0.4 0.5 4.2 +0.4 0.5 4.2 +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 4.26 +0.32 0.75 4.74 +-0.32 0.75 4.74 +-0.32 0.75 4.26 +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 4.74 +0.32 0.75 4.74 +0.4 0.5 4.8 +-0.4 0.5 4.8 +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 4.26 +-0.32 0.75 4.74 +-0.4 0.5 4.8 +-0.4 0.5 4.2 +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 4.74 +0.32 0.75 4.26 +0.4 0.5 4.2 +0.4 0.5 4.8 +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 5.26 +-0.32 0.75 5.26 +-0.4 0.5 5.2 +0.4 0.5 5.2 +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 5.26 +0.32 0.75 5.74 +-0.32 0.75 5.74 +-0.32 0.75 5.26 +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 5.74 +0.32 0.75 5.74 +0.4 0.5 5.8 +-0.4 0.5 5.8 +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 5.26 +-0.32 0.75 5.74 +-0.4 0.5 5.8 +-0.4 0.5 5.2 +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 5.74 +0.32 0.75 5.26 +0.4 0.5 5.2 +0.4 0.5 5.8 +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 6.26 +-0.32 0.75 6.26 +-0.4 0.5 6.2 +0.4 0.5 6.2 +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 6.26 +0.32 0.75 6.74 +-0.32 0.75 6.74 +-0.32 0.75 6.26 +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 6.74 +0.32 0.75 6.74 +0.4 0.5 6.8 +-0.4 0.5 6.8 +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 6.26 +-0.32 0.75 6.74 +-0.4 0.5 6.8 +-0.4 0.5 6.2 +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 6.74 +0.32 0.75 6.26 +0.4 0.5 6.2 +0.4 0.5 6.8 +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 7.26 +-0.32 0.75 7.26 +-0.4 0.5 7.2 +0.4 0.5 7.2 +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 7.26 +0.32 0.75 7.74 +-0.32 0.75 7.74 +-0.32 0.75 7.26 +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 7.74 +0.32 0.75 7.74 +0.4 0.5 7.8 +-0.4 0.5 7.8 +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 7.26 +-0.32 0.75 7.74 +-0.4 0.5 7.8 +-0.4 0.5 7.2 +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 7.74 +0.32 0.75 7.26 +0.4 0.5 7.2 +0.4 0.5 7.8 +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: +1 + +TEX:SIDE +POSITION: +0.5 -0.5 8 +0.5 0.5 8 +0.5 0.5 -8 +0.5 -0.5 -8 +UV COORDS: +-0.021484375 0.0147705078125 +1.021484375 0.0147705078125 +1.021484375 0.9852294921875 +-0.021484375 0.9852294921875 +NORMALS: +1 0 0 +1 0 0 +1 0 0 +1 0 0 +----------------south quads: +21 + +TEX:SIDE +POSITION: +0.5 -0.5 8 +0.5 -0.5 -8 +-0.5 -0.5 -8 +-0.5 -0.5 8 +UV COORDS: +1.021484375 0.0147705078125 +1.021484375 0.9852294921875 +-0.021484375 0.9852294921875 +-0.021484375 0.0147705078125 +NORMALS: +0 -1 0 +0 -1 0 +0 -1 0 +0 -1 0 + +TEX:SIDE +POSITION: +-0.4 -0.64 -7.8 +0.4 -0.64 -7.8 +0.4 -0.5 -7.8 +-0.4 -0.5 -7.8 +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 -7.8 +-0.4 -0.64 -7.2 +0.4 -0.64 -7.2 +0.4 -0.64 -7.8 +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 -7.2 +-0.4 -0.64 -7.2 +-0.4 -0.5 -7.2 +0.4 -0.5 -7.2 +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 -7.8 +0.4 -0.64 -7.2 +0.4 -0.5 -7.2 +0.4 -0.5 -7.8 +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 -7.2 +-0.4 -0.64 -7.8 +-0.4 -0.5 -7.8 +-0.4 -0.5 -7.2 +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 -6.8 +0.4 -0.64 -6.8 +0.4 -0.5 -6.8 +-0.4 -0.5 -6.8 +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 -6.8 +-0.4 -0.64 -6.2 +0.4 -0.64 -6.2 +0.4 -0.64 -6.8 +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 -6.2 +-0.4 -0.64 -6.2 +-0.4 -0.5 -6.2 +0.4 -0.5 -6.2 +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 -6.8 +0.4 -0.64 -6.2 +0.4 -0.5 -6.2 +0.4 -0.5 -6.8 +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 -6.2 +-0.4 -0.64 -6.8 +-0.4 -0.5 -6.8 +-0.4 -0.5 -6.2 +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 -5.8 +0.4 -0.64 -5.8 +0.4 -0.5 -5.8 +-0.4 -0.5 -5.8 +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 -5.8 +-0.4 -0.64 -5.2 +0.4 -0.64 -5.2 +0.4 -0.64 -5.8 +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 -5.2 +-0.4 -0.64 -5.2 +-0.4 -0.5 -5.2 +0.4 -0.5 -5.2 +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 -5.8 +0.4 -0.64 -5.2 +0.4 -0.5 -5.2 +0.4 -0.5 -5.8 +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 -5.2 +-0.4 -0.64 -5.8 +-0.4 -0.5 -5.8 +-0.4 -0.5 -5.2 +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 -4.8 +0.4 -0.64 -4.8 +0.4 -0.5 -4.8 +-0.4 -0.5 -4.8 +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 -4.8 +-0.4 -0.64 -4.2 +0.4 -0.64 -4.2 +0.4 -0.64 -4.8 +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 -4.2 +-0.4 -0.64 -4.2 +-0.4 -0.5 -4.2 +0.4 -0.5 -4.2 +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 -4.8 +0.4 -0.64 -4.2 +0.4 -0.5 -4.2 +0.4 -0.5 -4.8 +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 -4.2 +-0.4 -0.64 -4.8 +-0.4 -0.5 -4.8 +-0.4 -0.5 -4.2 +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 -8 +-0.5 0.5 -8 +-0.5 0.5 8 +-0.5 -0.5 8 +UV COORDS: +1.021484375 0.9852294921875 +-0.021484375 0.9852294921875 +-0.021484375 0.0147705078125 +1.021484375 0.0147705078125 +NORMALS: +-1 0 0 +-1 0 0 +-1 0 0 +-1 0 0 +----------------omni quads: +0 \ No newline at end of file diff --git a/bricks/gen/newbricks/Demux 5 Bit Vertical.blb b/bricks/gen/newbricks/Demux 5 Bit Vertical.blb new file mode 100644 index 0000000..0fc02af --- /dev/null +++ b/bricks/gen/newbricks/Demux 5 Bit Vertical.blb @@ -0,0 +1,4394 @@ +1 1 32 +SPECIAL + +u +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +d + +1 + +0 0 0 +1 1 32 +COVERAGE: +1 : 1 +1 : 1 +1 : 32 +1 : 32 +1 : 32 +1 : 32 +----------------top quads: +1 + +TEX:PRINT +POSITION: +0.5 0.5 16 +0.5 -0.5 16 +-0.5 -0.5 16 +-0.5 0.5 16 +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: +9 + +TEX:BOTTOMEDGE +POSITION: +-0.5 -0.5 -16 +0.5 -0.5 -16 +0 0 -16 +0 0 -16 +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 -16 +-0.5 0.5 -16 +0 0 -16 +0 0 -16 +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 -16 +0.5 0.5 -16 +0 0 -16 +0 0 -16 +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 -16 +-0.5 -0.5 -16 +0 0 -16 +0 0 -16 +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:SIDE +POSITION: +0.4 -0.4 -16.25 +-0.4 -0.4 -16.25 +-0.4 -0.4 -16 +0.4 -0.4 -16 +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.4 -16.25 +0.4 0.4 -16.25 +-0.4 0.4 -16.25 +-0.4 -0.4 -16.25 +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.4 -16.25 +0.4 0.4 -16.25 +0.4 0.4 -16 +-0.4 0.4 -16 +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.4 -16.25 +0.4 -0.4 -16.25 +0.4 -0.4 -16 +0.4 0.4 -16 +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.4 -16.25 +-0.4 0.4 -16.25 +-0.4 0.4 -16 +-0.4 -0.4 -16 +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 +----------------north quads: +161 + +TEX:SIDE +POSITION: +-0.5 0.5 16 +-0.5 0.5 -16 +0.5 0.5 -16 +0.5 0.5 16 +UV COORDS: +1.021484375 0.01812744140625 +1.021484375 0.98187255859375 +-0.021484375 0.98187255859375 +-0.021484375 0.01812744140625 +NORMALS: +0 1 0 +0 1 0 +0 1 0 +0 1 0 + +TEX:SIDE +POSITION: +0.32 0.75 -15.74 +-0.32 0.75 -15.74 +-0.4 0.5 -15.8 +0.4 0.5 -15.8 +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 -15.74 +0.32 0.75 -15.26 +-0.32 0.75 -15.26 +-0.32 0.75 -15.74 +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 -15.26 +0.32 0.75 -15.26 +0.4 0.5 -15.2 +-0.4 0.5 -15.2 +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 -15.74 +-0.32 0.75 -15.26 +-0.4 0.5 -15.2 +-0.4 0.5 -15.8 +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 -15.26 +0.32 0.75 -15.74 +0.4 0.5 -15.8 +0.4 0.5 -15.2 +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 -14.74 +-0.32 0.75 -14.74 +-0.4 0.5 -14.8 +0.4 0.5 -14.8 +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 -14.74 +0.32 0.75 -14.26 +-0.32 0.75 -14.26 +-0.32 0.75 -14.74 +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 -14.26 +0.32 0.75 -14.26 +0.4 0.5 -14.2 +-0.4 0.5 -14.2 +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 -14.74 +-0.32 0.75 -14.26 +-0.4 0.5 -14.2 +-0.4 0.5 -14.8 +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 -14.26 +0.32 0.75 -14.74 +0.4 0.5 -14.8 +0.4 0.5 -14.2 +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 -13.74 +-0.32 0.75 -13.74 +-0.4 0.5 -13.8 +0.4 0.5 -13.8 +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 -13.74 +0.32 0.75 -13.26 +-0.32 0.75 -13.26 +-0.32 0.75 -13.74 +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 -13.26 +0.32 0.75 -13.26 +0.4 0.5 -13.2 +-0.4 0.5 -13.2 +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 -13.74 +-0.32 0.75 -13.26 +-0.4 0.5 -13.2 +-0.4 0.5 -13.8 +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 -13.26 +0.32 0.75 -13.74 +0.4 0.5 -13.8 +0.4 0.5 -13.2 +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 -12.74 +-0.32 0.75 -12.74 +-0.4 0.5 -12.8 +0.4 0.5 -12.8 +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 -12.74 +0.32 0.75 -12.26 +-0.32 0.75 -12.26 +-0.32 0.75 -12.74 +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 -12.26 +0.32 0.75 -12.26 +0.4 0.5 -12.2 +-0.4 0.5 -12.2 +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 -12.74 +-0.32 0.75 -12.26 +-0.4 0.5 -12.2 +-0.4 0.5 -12.8 +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 -12.26 +0.32 0.75 -12.74 +0.4 0.5 -12.8 +0.4 0.5 -12.2 +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 -11.74 +-0.32 0.75 -11.74 +-0.4 0.5 -11.8 +0.4 0.5 -11.8 +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 -11.74 +0.32 0.75 -11.26 +-0.32 0.75 -11.26 +-0.32 0.75 -11.74 +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 -11.26 +0.32 0.75 -11.26 +0.4 0.5 -11.2 +-0.4 0.5 -11.2 +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 -11.74 +-0.32 0.75 -11.26 +-0.4 0.5 -11.2 +-0.4 0.5 -11.8 +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 -11.26 +0.32 0.75 -11.74 +0.4 0.5 -11.8 +0.4 0.5 -11.2 +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 -10.74 +-0.32 0.75 -10.74 +-0.4 0.5 -10.8 +0.4 0.5 -10.8 +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 -10.74 +0.32 0.75 -10.26 +-0.32 0.75 -10.26 +-0.32 0.75 -10.74 +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 -10.26 +0.32 0.75 -10.26 +0.4 0.5 -10.2 +-0.4 0.5 -10.2 +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 -10.74 +-0.32 0.75 -10.26 +-0.4 0.5 -10.2 +-0.4 0.5 -10.8 +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 -10.26 +0.32 0.75 -10.74 +0.4 0.5 -10.8 +0.4 0.5 -10.2 +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 -9.74 +-0.32 0.75 -9.74 +-0.4 0.5 -9.8 +0.4 0.5 -9.8 +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 -9.74 +0.32 0.75 -9.26 +-0.32 0.75 -9.26 +-0.32 0.75 -9.74 +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 -9.26 +0.32 0.75 -9.26 +0.4 0.5 -9.2 +-0.4 0.5 -9.2 +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 -9.74 +-0.32 0.75 -9.26 +-0.4 0.5 -9.2 +-0.4 0.5 -9.8 +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 -9.26 +0.32 0.75 -9.74 +0.4 0.5 -9.8 +0.4 0.5 -9.2 +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 -8.74 +-0.32 0.75 -8.74 +-0.4 0.5 -8.8 +0.4 0.5 -8.8 +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 -8.74 +0.32 0.75 -8.26 +-0.32 0.75 -8.26 +-0.32 0.75 -8.74 +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 -8.26 +0.32 0.75 -8.26 +0.4 0.5 -8.2 +-0.4 0.5 -8.2 +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 -8.74 +-0.32 0.75 -8.26 +-0.4 0.5 -8.2 +-0.4 0.5 -8.8 +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 -8.26 +0.32 0.75 -8.74 +0.4 0.5 -8.8 +0.4 0.5 -8.2 +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 -7.74 +-0.32 0.75 -7.74 +-0.4 0.5 -7.8 +0.4 0.5 -7.8 +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 -7.74 +0.32 0.75 -7.26 +-0.32 0.75 -7.26 +-0.32 0.75 -7.74 +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 -7.26 +0.32 0.75 -7.26 +0.4 0.5 -7.2 +-0.4 0.5 -7.2 +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 -7.74 +-0.32 0.75 -7.26 +-0.4 0.5 -7.2 +-0.4 0.5 -7.8 +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 -7.26 +0.32 0.75 -7.74 +0.4 0.5 -7.8 +0.4 0.5 -7.2 +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 -6.74 +-0.32 0.75 -6.74 +-0.4 0.5 -6.8 +0.4 0.5 -6.8 +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 -6.74 +0.32 0.75 -6.26 +-0.32 0.75 -6.26 +-0.32 0.75 -6.74 +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 -6.26 +0.32 0.75 -6.26 +0.4 0.5 -6.2 +-0.4 0.5 -6.2 +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 -6.74 +-0.32 0.75 -6.26 +-0.4 0.5 -6.2 +-0.4 0.5 -6.8 +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 -6.26 +0.32 0.75 -6.74 +0.4 0.5 -6.8 +0.4 0.5 -6.2 +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 -5.74 +-0.32 0.75 -5.74 +-0.4 0.5 -5.8 +0.4 0.5 -5.8 +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 -5.74 +0.32 0.75 -5.26 +-0.32 0.75 -5.26 +-0.32 0.75 -5.74 +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 -5.26 +0.32 0.75 -5.26 +0.4 0.5 -5.2 +-0.4 0.5 -5.2 +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 -5.74 +-0.32 0.75 -5.26 +-0.4 0.5 -5.2 +-0.4 0.5 -5.8 +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 -5.26 +0.32 0.75 -5.74 +0.4 0.5 -5.8 +0.4 0.5 -5.2 +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 -4.74 +-0.32 0.75 -4.74 +-0.4 0.5 -4.8 +0.4 0.5 -4.8 +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 -4.74 +0.32 0.75 -4.26 +-0.32 0.75 -4.26 +-0.32 0.75 -4.74 +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 -4.26 +0.32 0.75 -4.26 +0.4 0.5 -4.2 +-0.4 0.5 -4.2 +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 -4.74 +-0.32 0.75 -4.26 +-0.4 0.5 -4.2 +-0.4 0.5 -4.8 +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 -4.26 +0.32 0.75 -4.74 +0.4 0.5 -4.8 +0.4 0.5 -4.2 +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 -3.74 +-0.32 0.75 -3.74 +-0.4 0.5 -3.8 +0.4 0.5 -3.8 +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 -3.74 +0.32 0.75 -3.26 +-0.32 0.75 -3.26 +-0.32 0.75 -3.74 +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 -3.26 +0.32 0.75 -3.26 +0.4 0.5 -3.2 +-0.4 0.5 -3.2 +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 -3.74 +-0.32 0.75 -3.26 +-0.4 0.5 -3.2 +-0.4 0.5 -3.8 +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 -3.26 +0.32 0.75 -3.74 +0.4 0.5 -3.8 +0.4 0.5 -3.2 +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 -2.74 +-0.32 0.75 -2.74 +-0.4 0.5 -2.8 +0.4 0.5 -2.8 +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 -2.74 +0.32 0.75 -2.26 +-0.32 0.75 -2.26 +-0.32 0.75 -2.74 +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 -2.26 +0.32 0.75 -2.26 +0.4 0.5 -2.2 +-0.4 0.5 -2.2 +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 -2.74 +-0.32 0.75 -2.26 +-0.4 0.5 -2.2 +-0.4 0.5 -2.8 +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 -2.26 +0.32 0.75 -2.74 +0.4 0.5 -2.8 +0.4 0.5 -2.2 +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 -1.74 +-0.32 0.75 -1.74 +-0.4 0.5 -1.8 +0.4 0.5 -1.8 +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 -1.74 +0.32 0.75 -1.26 +-0.32 0.75 -1.26 +-0.32 0.75 -1.74 +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 -1.26 +0.32 0.75 -1.26 +0.4 0.5 -1.2 +-0.4 0.5 -1.2 +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 -1.74 +-0.32 0.75 -1.26 +-0.4 0.5 -1.2 +-0.4 0.5 -1.8 +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 -1.26 +0.32 0.75 -1.74 +0.4 0.5 -1.8 +0.4 0.5 -1.2 +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.74 +-0.32 0.75 -0.74 +-0.4 0.5 -0.8 +0.4 0.5 -0.8 +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.74 +0.32 0.75 -0.26 +-0.32 0.75 -0.26 +-0.32 0.75 -0.74 +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.26 +0.32 0.75 -0.26 +0.4 0.5 -0.2 +-0.4 0.5 -0.2 +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.74 +-0.32 0.75 -0.26 +-0.4 0.5 -0.2 +-0.4 0.5 -0.8 +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.26 +0.32 0.75 -0.74 +0.4 0.5 -0.8 +0.4 0.5 -0.2 +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.26 +-0.32 0.75 0.26 +-0.4 0.5 0.2 +0.4 0.5 0.2 +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.26 +0.32 0.75 0.74 +-0.32 0.75 0.74 +-0.32 0.75 0.26 +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.74 +0.32 0.75 0.74 +0.4 0.5 0.8 +-0.4 0.5 0.8 +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.26 +-0.32 0.75 0.74 +-0.4 0.5 0.8 +-0.4 0.5 0.2 +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.74 +0.32 0.75 0.26 +0.4 0.5 0.2 +0.4 0.5 0.8 +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 1.26 +-0.32 0.75 1.26 +-0.4 0.5 1.2 +0.4 0.5 1.2 +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 1.26 +0.32 0.75 1.74 +-0.32 0.75 1.74 +-0.32 0.75 1.26 +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 1.74 +0.32 0.75 1.74 +0.4 0.5 1.8 +-0.4 0.5 1.8 +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 1.26 +-0.32 0.75 1.74 +-0.4 0.5 1.8 +-0.4 0.5 1.2 +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 1.74 +0.32 0.75 1.26 +0.4 0.5 1.2 +0.4 0.5 1.8 +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 2.26 +-0.32 0.75 2.26 +-0.4 0.5 2.2 +0.4 0.5 2.2 +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 2.26 +0.32 0.75 2.74 +-0.32 0.75 2.74 +-0.32 0.75 2.26 +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 2.74 +0.32 0.75 2.74 +0.4 0.5 2.8 +-0.4 0.5 2.8 +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 2.26 +-0.32 0.75 2.74 +-0.4 0.5 2.8 +-0.4 0.5 2.2 +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 2.74 +0.32 0.75 2.26 +0.4 0.5 2.2 +0.4 0.5 2.8 +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 3.26 +-0.32 0.75 3.26 +-0.4 0.5 3.2 +0.4 0.5 3.2 +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 3.26 +0.32 0.75 3.74 +-0.32 0.75 3.74 +-0.32 0.75 3.26 +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 3.74 +0.32 0.75 3.74 +0.4 0.5 3.8 +-0.4 0.5 3.8 +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 3.26 +-0.32 0.75 3.74 +-0.4 0.5 3.8 +-0.4 0.5 3.2 +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 3.74 +0.32 0.75 3.26 +0.4 0.5 3.2 +0.4 0.5 3.8 +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 4.26 +-0.32 0.75 4.26 +-0.4 0.5 4.2 +0.4 0.5 4.2 +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 4.26 +0.32 0.75 4.74 +-0.32 0.75 4.74 +-0.32 0.75 4.26 +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 4.74 +0.32 0.75 4.74 +0.4 0.5 4.8 +-0.4 0.5 4.8 +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 4.26 +-0.32 0.75 4.74 +-0.4 0.5 4.8 +-0.4 0.5 4.2 +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 4.74 +0.32 0.75 4.26 +0.4 0.5 4.2 +0.4 0.5 4.8 +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 5.26 +-0.32 0.75 5.26 +-0.4 0.5 5.2 +0.4 0.5 5.2 +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 5.26 +0.32 0.75 5.74 +-0.32 0.75 5.74 +-0.32 0.75 5.26 +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 5.74 +0.32 0.75 5.74 +0.4 0.5 5.8 +-0.4 0.5 5.8 +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 5.26 +-0.32 0.75 5.74 +-0.4 0.5 5.8 +-0.4 0.5 5.2 +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 5.74 +0.32 0.75 5.26 +0.4 0.5 5.2 +0.4 0.5 5.8 +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 6.26 +-0.32 0.75 6.26 +-0.4 0.5 6.2 +0.4 0.5 6.2 +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 6.26 +0.32 0.75 6.74 +-0.32 0.75 6.74 +-0.32 0.75 6.26 +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 6.74 +0.32 0.75 6.74 +0.4 0.5 6.8 +-0.4 0.5 6.8 +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 6.26 +-0.32 0.75 6.74 +-0.4 0.5 6.8 +-0.4 0.5 6.2 +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 6.74 +0.32 0.75 6.26 +0.4 0.5 6.2 +0.4 0.5 6.8 +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 7.26 +-0.32 0.75 7.26 +-0.4 0.5 7.2 +0.4 0.5 7.2 +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 7.26 +0.32 0.75 7.74 +-0.32 0.75 7.74 +-0.32 0.75 7.26 +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 7.74 +0.32 0.75 7.74 +0.4 0.5 7.8 +-0.4 0.5 7.8 +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 7.26 +-0.32 0.75 7.74 +-0.4 0.5 7.8 +-0.4 0.5 7.2 +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 7.74 +0.32 0.75 7.26 +0.4 0.5 7.2 +0.4 0.5 7.8 +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 8.26 +-0.32 0.75 8.26 +-0.4 0.5 8.2 +0.4 0.5 8.2 +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 8.26 +0.32 0.75 8.74 +-0.32 0.75 8.74 +-0.32 0.75 8.26 +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 8.74 +0.32 0.75 8.74 +0.4 0.5 8.8 +-0.4 0.5 8.8 +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 8.26 +-0.32 0.75 8.74 +-0.4 0.5 8.8 +-0.4 0.5 8.2 +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 8.74 +0.32 0.75 8.26 +0.4 0.5 8.2 +0.4 0.5 8.8 +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 9.26 +-0.32 0.75 9.26 +-0.4 0.5 9.2 +0.4 0.5 9.2 +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 9.26 +0.32 0.75 9.74 +-0.32 0.75 9.74 +-0.32 0.75 9.26 +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 9.74 +0.32 0.75 9.74 +0.4 0.5 9.8 +-0.4 0.5 9.8 +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 9.26 +-0.32 0.75 9.74 +-0.4 0.5 9.8 +-0.4 0.5 9.2 +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 9.74 +0.32 0.75 9.26 +0.4 0.5 9.2 +0.4 0.5 9.8 +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 10.26 +-0.32 0.75 10.26 +-0.4 0.5 10.2 +0.4 0.5 10.2 +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 10.26 +0.32 0.75 10.74 +-0.32 0.75 10.74 +-0.32 0.75 10.26 +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 10.74 +0.32 0.75 10.74 +0.4 0.5 10.8 +-0.4 0.5 10.8 +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 10.26 +-0.32 0.75 10.74 +-0.4 0.5 10.8 +-0.4 0.5 10.2 +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 10.74 +0.32 0.75 10.26 +0.4 0.5 10.2 +0.4 0.5 10.8 +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 11.26 +-0.32 0.75 11.26 +-0.4 0.5 11.2 +0.4 0.5 11.2 +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 11.26 +0.32 0.75 11.74 +-0.32 0.75 11.74 +-0.32 0.75 11.26 +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 11.74 +0.32 0.75 11.74 +0.4 0.5 11.8 +-0.4 0.5 11.8 +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 11.26 +-0.32 0.75 11.74 +-0.4 0.5 11.8 +-0.4 0.5 11.2 +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 11.74 +0.32 0.75 11.26 +0.4 0.5 11.2 +0.4 0.5 11.8 +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 12.26 +-0.32 0.75 12.26 +-0.4 0.5 12.2 +0.4 0.5 12.2 +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 12.26 +0.32 0.75 12.74 +-0.32 0.75 12.74 +-0.32 0.75 12.26 +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 12.74 +0.32 0.75 12.74 +0.4 0.5 12.8 +-0.4 0.5 12.8 +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 12.26 +-0.32 0.75 12.74 +-0.4 0.5 12.8 +-0.4 0.5 12.2 +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 12.74 +0.32 0.75 12.26 +0.4 0.5 12.2 +0.4 0.5 12.8 +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 13.26 +-0.32 0.75 13.26 +-0.4 0.5 13.2 +0.4 0.5 13.2 +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 13.26 +0.32 0.75 13.74 +-0.32 0.75 13.74 +-0.32 0.75 13.26 +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 13.74 +0.32 0.75 13.74 +0.4 0.5 13.8 +-0.4 0.5 13.8 +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 13.26 +-0.32 0.75 13.74 +-0.4 0.5 13.8 +-0.4 0.5 13.2 +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 13.74 +0.32 0.75 13.26 +0.4 0.5 13.2 +0.4 0.5 13.8 +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 14.26 +-0.32 0.75 14.26 +-0.4 0.5 14.2 +0.4 0.5 14.2 +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 14.26 +0.32 0.75 14.74 +-0.32 0.75 14.74 +-0.32 0.75 14.26 +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 14.74 +0.32 0.75 14.74 +0.4 0.5 14.8 +-0.4 0.5 14.8 +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 14.26 +-0.32 0.75 14.74 +-0.4 0.5 14.8 +-0.4 0.5 14.2 +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 14.74 +0.32 0.75 14.26 +0.4 0.5 14.2 +0.4 0.5 14.8 +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 15.26 +-0.32 0.75 15.26 +-0.4 0.5 15.2 +0.4 0.5 15.2 +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 15.26 +0.32 0.75 15.74 +-0.32 0.75 15.74 +-0.32 0.75 15.26 +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 15.74 +0.32 0.75 15.74 +0.4 0.5 15.8 +-0.4 0.5 15.8 +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 15.26 +-0.32 0.75 15.74 +-0.4 0.5 15.8 +-0.4 0.5 15.2 +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 15.74 +0.32 0.75 15.26 +0.4 0.5 15.2 +0.4 0.5 15.8 +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: +1 + +TEX:SIDE +POSITION: +0.5 -0.5 16 +0.5 0.5 16 +0.5 0.5 -16 +0.5 -0.5 -16 +UV COORDS: +-0.021484375 0.01812744140625 +1.021484375 0.01812744140625 +1.021484375 0.98187255859375 +-0.021484375 0.98187255859375 +NORMALS: +1 0 0 +1 0 0 +1 0 0 +1 0 0 +----------------south quads: +26 + +TEX:SIDE +POSITION: +0.5 -0.5 16 +0.5 -0.5 -16 +-0.5 -0.5 -16 +-0.5 -0.5 16 +UV COORDS: +1.021484375 0.01812744140625 +1.021484375 0.98187255859375 +-0.021484375 0.98187255859375 +-0.021484375 0.01812744140625 +NORMALS: +0 -1 0 +0 -1 0 +0 -1 0 +0 -1 0 + +TEX:SIDE +POSITION: +-0.4 -0.64 -15.8 +0.4 -0.64 -15.8 +0.4 -0.5 -15.8 +-0.4 -0.5 -15.8 +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 -15.8 +-0.4 -0.64 -15.2 +0.4 -0.64 -15.2 +0.4 -0.64 -15.8 +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 -15.2 +-0.4 -0.64 -15.2 +-0.4 -0.5 -15.2 +0.4 -0.5 -15.2 +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 -15.8 +0.4 -0.64 -15.2 +0.4 -0.5 -15.2 +0.4 -0.5 -15.8 +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 -15.2 +-0.4 -0.64 -15.8 +-0.4 -0.5 -15.8 +-0.4 -0.5 -15.2 +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 -14.8 +0.4 -0.64 -14.8 +0.4 -0.5 -14.8 +-0.4 -0.5 -14.8 +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 -14.8 +-0.4 -0.64 -14.2 +0.4 -0.64 -14.2 +0.4 -0.64 -14.8 +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 -14.2 +-0.4 -0.64 -14.2 +-0.4 -0.5 -14.2 +0.4 -0.5 -14.2 +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 -14.8 +0.4 -0.64 -14.2 +0.4 -0.5 -14.2 +0.4 -0.5 -14.8 +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 -14.2 +-0.4 -0.64 -14.8 +-0.4 -0.5 -14.8 +-0.4 -0.5 -14.2 +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 -13.8 +0.4 -0.64 -13.8 +0.4 -0.5 -13.8 +-0.4 -0.5 -13.8 +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 -13.8 +-0.4 -0.64 -13.2 +0.4 -0.64 -13.2 +0.4 -0.64 -13.8 +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 -13.2 +-0.4 -0.64 -13.2 +-0.4 -0.5 -13.2 +0.4 -0.5 -13.2 +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 -13.8 +0.4 -0.64 -13.2 +0.4 -0.5 -13.2 +0.4 -0.5 -13.8 +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 -13.2 +-0.4 -0.64 -13.8 +-0.4 -0.5 -13.8 +-0.4 -0.5 -13.2 +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 -12.8 +0.4 -0.64 -12.8 +0.4 -0.5 -12.8 +-0.4 -0.5 -12.8 +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 -12.8 +-0.4 -0.64 -12.2 +0.4 -0.64 -12.2 +0.4 -0.64 -12.8 +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 -12.2 +-0.4 -0.64 -12.2 +-0.4 -0.5 -12.2 +0.4 -0.5 -12.2 +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 -12.8 +0.4 -0.64 -12.2 +0.4 -0.5 -12.2 +0.4 -0.5 -12.8 +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 -12.2 +-0.4 -0.64 -12.8 +-0.4 -0.5 -12.8 +-0.4 -0.5 -12.2 +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 -11.8 +0.4 -0.64 -11.8 +0.4 -0.5 -11.8 +-0.4 -0.5 -11.8 +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 -11.8 +-0.4 -0.64 -11.2 +0.4 -0.64 -11.2 +0.4 -0.64 -11.8 +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 -11.2 +-0.4 -0.64 -11.2 +-0.4 -0.5 -11.2 +0.4 -0.5 -11.2 +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 -11.8 +0.4 -0.64 -11.2 +0.4 -0.5 -11.2 +0.4 -0.5 -11.8 +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 -11.2 +-0.4 -0.64 -11.8 +-0.4 -0.5 -11.8 +-0.4 -0.5 -11.2 +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 -16 +-0.5 0.5 -16 +-0.5 0.5 16 +-0.5 -0.5 16 +UV COORDS: +1.021484375 0.98187255859375 +-0.021484375 0.98187255859375 +-0.021484375 0.01812744140625 +1.021484375 0.01812744140625 +NORMALS: +-1 0 0 +-1 0 0 +-1 0 0 +-1 0 0 +----------------omni quads: +0 \ No newline at end of file diff --git a/bricks/gen/newbricks/Demux 6 Bit Vertical.blb b/bricks/gen/newbricks/Demux 6 Bit Vertical.blb new file mode 100644 index 0000000..4138c99 --- /dev/null +++ b/bricks/gen/newbricks/Demux 6 Bit Vertical.blb @@ -0,0 +1,8056 @@ +1 1 64 +SPECIAL + +u +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +X +d + +1 + +0 0 0 +1 1 64 +COVERAGE: +1 : 1 +1 : 1 +1 : 64 +1 : 64 +1 : 64 +1 : 64 +----------------top quads: +1 + +TEX:PRINT +POSITION: +0.5 0.5 32 +0.5 -0.5 32 +-0.5 -0.5 32 +-0.5 0.5 32 +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: +9 + +TEX:BOTTOMEDGE +POSITION: +-0.5 -0.5 -32 +0.5 -0.5 -32 +0 0 -32 +0 0 -32 +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 -32 +-0.5 0.5 -32 +0 0 -32 +0 0 -32 +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 -32 +0.5 0.5 -32 +0 0 -32 +0 0 -32 +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 -32 +-0.5 -0.5 -32 +0 0 -32 +0 0 -32 +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:SIDE +POSITION: +0.4 -0.4 -32.25 +-0.4 -0.4 -32.25 +-0.4 -0.4 -32 +0.4 -0.4 -32 +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.4 -32.25 +0.4 0.4 -32.25 +-0.4 0.4 -32.25 +-0.4 -0.4 -32.25 +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.4 -32.25 +0.4 0.4 -32.25 +0.4 0.4 -32 +-0.4 0.4 -32 +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.4 -32.25 +0.4 -0.4 -32.25 +0.4 -0.4 -32 +0.4 0.4 -32 +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.4 -32.25 +-0.4 0.4 -32.25 +-0.4 0.4 -32 +-0.4 -0.4 -32 +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 +----------------north quads: +321 + +TEX:SIDE +POSITION: +-0.5 0.5 32 +-0.5 0.5 -32 +0.5 0.5 -32 +0.5 0.5 32 +UV COORDS: +1.021484375 0.019805908203125 +1.021484375 0.98019409179688 +-0.021484375 0.98019409179688 +-0.021484375 0.019805908203125 +NORMALS: +0 1 0 +0 1 0 +0 1 0 +0 1 0 + +TEX:SIDE +POSITION: +0.32 0.75 -31.74 +-0.32 0.75 -31.74 +-0.4 0.5 -31.8 +0.4 0.5 -31.8 +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 -31.74 +0.32 0.75 -31.26 +-0.32 0.75 -31.26 +-0.32 0.75 -31.74 +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 -31.26 +0.32 0.75 -31.26 +0.4 0.5 -31.2 +-0.4 0.5 -31.2 +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 -31.74 +-0.32 0.75 -31.26 +-0.4 0.5 -31.2 +-0.4 0.5 -31.8 +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 -31.26 +0.32 0.75 -31.74 +0.4 0.5 -31.8 +0.4 0.5 -31.2 +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 -30.74 +-0.32 0.75 -30.74 +-0.4 0.5 -30.8 +0.4 0.5 -30.8 +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 -30.74 +0.32 0.75 -30.26 +-0.32 0.75 -30.26 +-0.32 0.75 -30.74 +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 -30.26 +0.32 0.75 -30.26 +0.4 0.5 -30.2 +-0.4 0.5 -30.2 +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 -30.74 +-0.32 0.75 -30.26 +-0.4 0.5 -30.2 +-0.4 0.5 -30.8 +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 -30.26 +0.32 0.75 -30.74 +0.4 0.5 -30.8 +0.4 0.5 -30.2 +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 -29.74 +-0.32 0.75 -29.74 +-0.4 0.5 -29.8 +0.4 0.5 -29.8 +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 -29.74 +0.32 0.75 -29.26 +-0.32 0.75 -29.26 +-0.32 0.75 -29.74 +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 -29.26 +0.32 0.75 -29.26 +0.4 0.5 -29.2 +-0.4 0.5 -29.2 +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 -29.74 +-0.32 0.75 -29.26 +-0.4 0.5 -29.2 +-0.4 0.5 -29.8 +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 -29.26 +0.32 0.75 -29.74 +0.4 0.5 -29.8 +0.4 0.5 -29.2 +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 -28.74 +-0.32 0.75 -28.74 +-0.4 0.5 -28.8 +0.4 0.5 -28.8 +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 -28.74 +0.32 0.75 -28.26 +-0.32 0.75 -28.26 +-0.32 0.75 -28.74 +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 -28.26 +0.32 0.75 -28.26 +0.4 0.5 -28.2 +-0.4 0.5 -28.2 +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 -28.74 +-0.32 0.75 -28.26 +-0.4 0.5 -28.2 +-0.4 0.5 -28.8 +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 -28.26 +0.32 0.75 -28.74 +0.4 0.5 -28.8 +0.4 0.5 -28.2 +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 -27.74 +-0.32 0.75 -27.74 +-0.4 0.5 -27.8 +0.4 0.5 -27.8 +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 -27.74 +0.32 0.75 -27.26 +-0.32 0.75 -27.26 +-0.32 0.75 -27.74 +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 -27.26 +0.32 0.75 -27.26 +0.4 0.5 -27.2 +-0.4 0.5 -27.2 +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 -27.74 +-0.32 0.75 -27.26 +-0.4 0.5 -27.2 +-0.4 0.5 -27.8 +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 -27.26 +0.32 0.75 -27.74 +0.4 0.5 -27.8 +0.4 0.5 -27.2 +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 -26.74 +-0.32 0.75 -26.74 +-0.4 0.5 -26.8 +0.4 0.5 -26.8 +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 -26.74 +0.32 0.75 -26.26 +-0.32 0.75 -26.26 +-0.32 0.75 -26.74 +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 -26.26 +0.32 0.75 -26.26 +0.4 0.5 -26.2 +-0.4 0.5 -26.2 +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 -26.74 +-0.32 0.75 -26.26 +-0.4 0.5 -26.2 +-0.4 0.5 -26.8 +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 -26.26 +0.32 0.75 -26.74 +0.4 0.5 -26.8 +0.4 0.5 -26.2 +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 -25.74 +-0.32 0.75 -25.74 +-0.4 0.5 -25.8 +0.4 0.5 -25.8 +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 -25.74 +0.32 0.75 -25.26 +-0.32 0.75 -25.26 +-0.32 0.75 -25.74 +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 -25.26 +0.32 0.75 -25.26 +0.4 0.5 -25.2 +-0.4 0.5 -25.2 +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 -25.74 +-0.32 0.75 -25.26 +-0.4 0.5 -25.2 +-0.4 0.5 -25.8 +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 -25.26 +0.32 0.75 -25.74 +0.4 0.5 -25.8 +0.4 0.5 -25.2 +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 -24.74 +-0.32 0.75 -24.74 +-0.4 0.5 -24.8 +0.4 0.5 -24.8 +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 -24.74 +0.32 0.75 -24.26 +-0.32 0.75 -24.26 +-0.32 0.75 -24.74 +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 -24.26 +0.32 0.75 -24.26 +0.4 0.5 -24.2 +-0.4 0.5 -24.2 +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 -24.74 +-0.32 0.75 -24.26 +-0.4 0.5 -24.2 +-0.4 0.5 -24.8 +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 -24.26 +0.32 0.75 -24.74 +0.4 0.5 -24.8 +0.4 0.5 -24.2 +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 -23.74 +-0.32 0.75 -23.74 +-0.4 0.5 -23.8 +0.4 0.5 -23.8 +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 -23.74 +0.32 0.75 -23.26 +-0.32 0.75 -23.26 +-0.32 0.75 -23.74 +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 -23.26 +0.32 0.75 -23.26 +0.4 0.5 -23.2 +-0.4 0.5 -23.2 +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 -23.74 +-0.32 0.75 -23.26 +-0.4 0.5 -23.2 +-0.4 0.5 -23.8 +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 -23.26 +0.32 0.75 -23.74 +0.4 0.5 -23.8 +0.4 0.5 -23.2 +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 -22.74 +-0.32 0.75 -22.74 +-0.4 0.5 -22.8 +0.4 0.5 -22.8 +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 -22.74 +0.32 0.75 -22.26 +-0.32 0.75 -22.26 +-0.32 0.75 -22.74 +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 -22.26 +0.32 0.75 -22.26 +0.4 0.5 -22.2 +-0.4 0.5 -22.2 +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 -22.74 +-0.32 0.75 -22.26 +-0.4 0.5 -22.2 +-0.4 0.5 -22.8 +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 -22.26 +0.32 0.75 -22.74 +0.4 0.5 -22.8 +0.4 0.5 -22.2 +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 -21.74 +-0.32 0.75 -21.74 +-0.4 0.5 -21.8 +0.4 0.5 -21.8 +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 -21.74 +0.32 0.75 -21.26 +-0.32 0.75 -21.26 +-0.32 0.75 -21.74 +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 -21.26 +0.32 0.75 -21.26 +0.4 0.5 -21.2 +-0.4 0.5 -21.2 +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 -21.74 +-0.32 0.75 -21.26 +-0.4 0.5 -21.2 +-0.4 0.5 -21.8 +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 -21.26 +0.32 0.75 -21.74 +0.4 0.5 -21.8 +0.4 0.5 -21.2 +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 -20.74 +-0.32 0.75 -20.74 +-0.4 0.5 -20.8 +0.4 0.5 -20.8 +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 -20.74 +0.32 0.75 -20.26 +-0.32 0.75 -20.26 +-0.32 0.75 -20.74 +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 -20.26 +0.32 0.75 -20.26 +0.4 0.5 -20.2 +-0.4 0.5 -20.2 +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 -20.74 +-0.32 0.75 -20.26 +-0.4 0.5 -20.2 +-0.4 0.5 -20.8 +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 -20.26 +0.32 0.75 -20.74 +0.4 0.5 -20.8 +0.4 0.5 -20.2 +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 -19.74 +-0.32 0.75 -19.74 +-0.4 0.5 -19.8 +0.4 0.5 -19.8 +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 -19.74 +0.32 0.75 -19.26 +-0.32 0.75 -19.26 +-0.32 0.75 -19.74 +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 -19.26 +0.32 0.75 -19.26 +0.4 0.5 -19.2 +-0.4 0.5 -19.2 +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 -19.74 +-0.32 0.75 -19.26 +-0.4 0.5 -19.2 +-0.4 0.5 -19.8 +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 -19.26 +0.32 0.75 -19.74 +0.4 0.5 -19.8 +0.4 0.5 -19.2 +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 -18.74 +-0.32 0.75 -18.74 +-0.4 0.5 -18.8 +0.4 0.5 -18.8 +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 -18.74 +0.32 0.75 -18.26 +-0.32 0.75 -18.26 +-0.32 0.75 -18.74 +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 -18.26 +0.32 0.75 -18.26 +0.4 0.5 -18.2 +-0.4 0.5 -18.2 +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 -18.74 +-0.32 0.75 -18.26 +-0.4 0.5 -18.2 +-0.4 0.5 -18.8 +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 -18.26 +0.32 0.75 -18.74 +0.4 0.5 -18.8 +0.4 0.5 -18.2 +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 -17.74 +-0.32 0.75 -17.74 +-0.4 0.5 -17.8 +0.4 0.5 -17.8 +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 -17.74 +0.32 0.75 -17.26 +-0.32 0.75 -17.26 +-0.32 0.75 -17.74 +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 -17.26 +0.32 0.75 -17.26 +0.4 0.5 -17.2 +-0.4 0.5 -17.2 +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 -17.74 +-0.32 0.75 -17.26 +-0.4 0.5 -17.2 +-0.4 0.5 -17.8 +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 -17.26 +0.32 0.75 -17.74 +0.4 0.5 -17.8 +0.4 0.5 -17.2 +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 -16.74 +-0.32 0.75 -16.74 +-0.4 0.5 -16.8 +0.4 0.5 -16.8 +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 -16.74 +0.32 0.75 -16.26 +-0.32 0.75 -16.26 +-0.32 0.75 -16.74 +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 -16.26 +0.32 0.75 -16.26 +0.4 0.5 -16.2 +-0.4 0.5 -16.2 +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 -16.74 +-0.32 0.75 -16.26 +-0.4 0.5 -16.2 +-0.4 0.5 -16.8 +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 -16.26 +0.32 0.75 -16.74 +0.4 0.5 -16.8 +0.4 0.5 -16.2 +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 -15.74 +-0.32 0.75 -15.74 +-0.4 0.5 -15.8 +0.4 0.5 -15.8 +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 -15.74 +0.32 0.75 -15.26 +-0.32 0.75 -15.26 +-0.32 0.75 -15.74 +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 -15.26 +0.32 0.75 -15.26 +0.4 0.5 -15.2 +-0.4 0.5 -15.2 +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 -15.74 +-0.32 0.75 -15.26 +-0.4 0.5 -15.2 +-0.4 0.5 -15.8 +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 -15.26 +0.32 0.75 -15.74 +0.4 0.5 -15.8 +0.4 0.5 -15.2 +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 -14.74 +-0.32 0.75 -14.74 +-0.4 0.5 -14.8 +0.4 0.5 -14.8 +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 -14.74 +0.32 0.75 -14.26 +-0.32 0.75 -14.26 +-0.32 0.75 -14.74 +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 -14.26 +0.32 0.75 -14.26 +0.4 0.5 -14.2 +-0.4 0.5 -14.2 +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 -14.74 +-0.32 0.75 -14.26 +-0.4 0.5 -14.2 +-0.4 0.5 -14.8 +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 -14.26 +0.32 0.75 -14.74 +0.4 0.5 -14.8 +0.4 0.5 -14.2 +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 -13.74 +-0.32 0.75 -13.74 +-0.4 0.5 -13.8 +0.4 0.5 -13.8 +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 -13.74 +0.32 0.75 -13.26 +-0.32 0.75 -13.26 +-0.32 0.75 -13.74 +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 -13.26 +0.32 0.75 -13.26 +0.4 0.5 -13.2 +-0.4 0.5 -13.2 +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 -13.74 +-0.32 0.75 -13.26 +-0.4 0.5 -13.2 +-0.4 0.5 -13.8 +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 -13.26 +0.32 0.75 -13.74 +0.4 0.5 -13.8 +0.4 0.5 -13.2 +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 -12.74 +-0.32 0.75 -12.74 +-0.4 0.5 -12.8 +0.4 0.5 -12.8 +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 -12.74 +0.32 0.75 -12.26 +-0.32 0.75 -12.26 +-0.32 0.75 -12.74 +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 -12.26 +0.32 0.75 -12.26 +0.4 0.5 -12.2 +-0.4 0.5 -12.2 +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 -12.74 +-0.32 0.75 -12.26 +-0.4 0.5 -12.2 +-0.4 0.5 -12.8 +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 -12.26 +0.32 0.75 -12.74 +0.4 0.5 -12.8 +0.4 0.5 -12.2 +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 -11.74 +-0.32 0.75 -11.74 +-0.4 0.5 -11.8 +0.4 0.5 -11.8 +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 -11.74 +0.32 0.75 -11.26 +-0.32 0.75 -11.26 +-0.32 0.75 -11.74 +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 -11.26 +0.32 0.75 -11.26 +0.4 0.5 -11.2 +-0.4 0.5 -11.2 +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 -11.74 +-0.32 0.75 -11.26 +-0.4 0.5 -11.2 +-0.4 0.5 -11.8 +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 -11.26 +0.32 0.75 -11.74 +0.4 0.5 -11.8 +0.4 0.5 -11.2 +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 -10.74 +-0.32 0.75 -10.74 +-0.4 0.5 -10.8 +0.4 0.5 -10.8 +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 -10.74 +0.32 0.75 -10.26 +-0.32 0.75 -10.26 +-0.32 0.75 -10.74 +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 -10.26 +0.32 0.75 -10.26 +0.4 0.5 -10.2 +-0.4 0.5 -10.2 +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 -10.74 +-0.32 0.75 -10.26 +-0.4 0.5 -10.2 +-0.4 0.5 -10.8 +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 -10.26 +0.32 0.75 -10.74 +0.4 0.5 -10.8 +0.4 0.5 -10.2 +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 -9.74 +-0.32 0.75 -9.74 +-0.4 0.5 -9.8 +0.4 0.5 -9.8 +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 -9.74 +0.32 0.75 -9.26 +-0.32 0.75 -9.26 +-0.32 0.75 -9.74 +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 -9.26 +0.32 0.75 -9.26 +0.4 0.5 -9.2 +-0.4 0.5 -9.2 +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 -9.74 +-0.32 0.75 -9.26 +-0.4 0.5 -9.2 +-0.4 0.5 -9.8 +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 -9.26 +0.32 0.75 -9.74 +0.4 0.5 -9.8 +0.4 0.5 -9.2 +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 -8.74 +-0.32 0.75 -8.74 +-0.4 0.5 -8.8 +0.4 0.5 -8.8 +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 -8.74 +0.32 0.75 -8.26 +-0.32 0.75 -8.26 +-0.32 0.75 -8.74 +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 -8.26 +0.32 0.75 -8.26 +0.4 0.5 -8.2 +-0.4 0.5 -8.2 +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 -8.74 +-0.32 0.75 -8.26 +-0.4 0.5 -8.2 +-0.4 0.5 -8.8 +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 -8.26 +0.32 0.75 -8.74 +0.4 0.5 -8.8 +0.4 0.5 -8.2 +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 -7.74 +-0.32 0.75 -7.74 +-0.4 0.5 -7.8 +0.4 0.5 -7.8 +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 -7.74 +0.32 0.75 -7.26 +-0.32 0.75 -7.26 +-0.32 0.75 -7.74 +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 -7.26 +0.32 0.75 -7.26 +0.4 0.5 -7.2 +-0.4 0.5 -7.2 +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 -7.74 +-0.32 0.75 -7.26 +-0.4 0.5 -7.2 +-0.4 0.5 -7.8 +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 -7.26 +0.32 0.75 -7.74 +0.4 0.5 -7.8 +0.4 0.5 -7.2 +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 -6.74 +-0.32 0.75 -6.74 +-0.4 0.5 -6.8 +0.4 0.5 -6.8 +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 -6.74 +0.32 0.75 -6.26 +-0.32 0.75 -6.26 +-0.32 0.75 -6.74 +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 -6.26 +0.32 0.75 -6.26 +0.4 0.5 -6.2 +-0.4 0.5 -6.2 +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 -6.74 +-0.32 0.75 -6.26 +-0.4 0.5 -6.2 +-0.4 0.5 -6.8 +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 -6.26 +0.32 0.75 -6.74 +0.4 0.5 -6.8 +0.4 0.5 -6.2 +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 -5.74 +-0.32 0.75 -5.74 +-0.4 0.5 -5.8 +0.4 0.5 -5.8 +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 -5.74 +0.32 0.75 -5.26 +-0.32 0.75 -5.26 +-0.32 0.75 -5.74 +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 -5.26 +0.32 0.75 -5.26 +0.4 0.5 -5.2 +-0.4 0.5 -5.2 +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 -5.74 +-0.32 0.75 -5.26 +-0.4 0.5 -5.2 +-0.4 0.5 -5.8 +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 -5.26 +0.32 0.75 -5.74 +0.4 0.5 -5.8 +0.4 0.5 -5.2 +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 -4.74 +-0.32 0.75 -4.74 +-0.4 0.5 -4.8 +0.4 0.5 -4.8 +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 -4.74 +0.32 0.75 -4.26 +-0.32 0.75 -4.26 +-0.32 0.75 -4.74 +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 -4.26 +0.32 0.75 -4.26 +0.4 0.5 -4.2 +-0.4 0.5 -4.2 +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 -4.74 +-0.32 0.75 -4.26 +-0.4 0.5 -4.2 +-0.4 0.5 -4.8 +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 -4.26 +0.32 0.75 -4.74 +0.4 0.5 -4.8 +0.4 0.5 -4.2 +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 -3.74 +-0.32 0.75 -3.74 +-0.4 0.5 -3.8 +0.4 0.5 -3.8 +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 -3.74 +0.32 0.75 -3.26 +-0.32 0.75 -3.26 +-0.32 0.75 -3.74 +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 -3.26 +0.32 0.75 -3.26 +0.4 0.5 -3.2 +-0.4 0.5 -3.2 +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 -3.74 +-0.32 0.75 -3.26 +-0.4 0.5 -3.2 +-0.4 0.5 -3.8 +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 -3.26 +0.32 0.75 -3.74 +0.4 0.5 -3.8 +0.4 0.5 -3.2 +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 -2.74 +-0.32 0.75 -2.74 +-0.4 0.5 -2.8 +0.4 0.5 -2.8 +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 -2.74 +0.32 0.75 -2.26 +-0.32 0.75 -2.26 +-0.32 0.75 -2.74 +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 -2.26 +0.32 0.75 -2.26 +0.4 0.5 -2.2 +-0.4 0.5 -2.2 +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 -2.74 +-0.32 0.75 -2.26 +-0.4 0.5 -2.2 +-0.4 0.5 -2.8 +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 -2.26 +0.32 0.75 -2.74 +0.4 0.5 -2.8 +0.4 0.5 -2.2 +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 -1.74 +-0.32 0.75 -1.74 +-0.4 0.5 -1.8 +0.4 0.5 -1.8 +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 -1.74 +0.32 0.75 -1.26 +-0.32 0.75 -1.26 +-0.32 0.75 -1.74 +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 -1.26 +0.32 0.75 -1.26 +0.4 0.5 -1.2 +-0.4 0.5 -1.2 +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 -1.74 +-0.32 0.75 -1.26 +-0.4 0.5 -1.2 +-0.4 0.5 -1.8 +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 -1.26 +0.32 0.75 -1.74 +0.4 0.5 -1.8 +0.4 0.5 -1.2 +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.74 +-0.32 0.75 -0.74 +-0.4 0.5 -0.8 +0.4 0.5 -0.8 +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.74 +0.32 0.75 -0.26 +-0.32 0.75 -0.26 +-0.32 0.75 -0.74 +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.26 +0.32 0.75 -0.26 +0.4 0.5 -0.2 +-0.4 0.5 -0.2 +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.74 +-0.32 0.75 -0.26 +-0.4 0.5 -0.2 +-0.4 0.5 -0.8 +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.26 +0.32 0.75 -0.74 +0.4 0.5 -0.8 +0.4 0.5 -0.2 +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.26 +-0.32 0.75 0.26 +-0.4 0.5 0.2 +0.4 0.5 0.2 +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.26 +0.32 0.75 0.74 +-0.32 0.75 0.74 +-0.32 0.75 0.26 +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.74 +0.32 0.75 0.74 +0.4 0.5 0.8 +-0.4 0.5 0.8 +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.26 +-0.32 0.75 0.74 +-0.4 0.5 0.8 +-0.4 0.5 0.2 +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.74 +0.32 0.75 0.26 +0.4 0.5 0.2 +0.4 0.5 0.8 +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 1.26 +-0.32 0.75 1.26 +-0.4 0.5 1.2 +0.4 0.5 1.2 +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 1.26 +0.32 0.75 1.74 +-0.32 0.75 1.74 +-0.32 0.75 1.26 +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 1.74 +0.32 0.75 1.74 +0.4 0.5 1.8 +-0.4 0.5 1.8 +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 1.26 +-0.32 0.75 1.74 +-0.4 0.5 1.8 +-0.4 0.5 1.2 +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 1.74 +0.32 0.75 1.26 +0.4 0.5 1.2 +0.4 0.5 1.8 +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 2.26 +-0.32 0.75 2.26 +-0.4 0.5 2.2 +0.4 0.5 2.2 +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 2.26 +0.32 0.75 2.74 +-0.32 0.75 2.74 +-0.32 0.75 2.26 +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 2.74 +0.32 0.75 2.74 +0.4 0.5 2.8 +-0.4 0.5 2.8 +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 2.26 +-0.32 0.75 2.74 +-0.4 0.5 2.8 +-0.4 0.5 2.2 +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 2.74 +0.32 0.75 2.26 +0.4 0.5 2.2 +0.4 0.5 2.8 +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 3.26 +-0.32 0.75 3.26 +-0.4 0.5 3.2 +0.4 0.5 3.2 +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 3.26 +0.32 0.75 3.74 +-0.32 0.75 3.74 +-0.32 0.75 3.26 +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 3.74 +0.32 0.75 3.74 +0.4 0.5 3.8 +-0.4 0.5 3.8 +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 3.26 +-0.32 0.75 3.74 +-0.4 0.5 3.8 +-0.4 0.5 3.2 +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 3.74 +0.32 0.75 3.26 +0.4 0.5 3.2 +0.4 0.5 3.8 +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 4.26 +-0.32 0.75 4.26 +-0.4 0.5 4.2 +0.4 0.5 4.2 +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 4.26 +0.32 0.75 4.74 +-0.32 0.75 4.74 +-0.32 0.75 4.26 +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 4.74 +0.32 0.75 4.74 +0.4 0.5 4.8 +-0.4 0.5 4.8 +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 4.26 +-0.32 0.75 4.74 +-0.4 0.5 4.8 +-0.4 0.5 4.2 +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 4.74 +0.32 0.75 4.26 +0.4 0.5 4.2 +0.4 0.5 4.8 +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 5.26 +-0.32 0.75 5.26 +-0.4 0.5 5.2 +0.4 0.5 5.2 +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 5.26 +0.32 0.75 5.74 +-0.32 0.75 5.74 +-0.32 0.75 5.26 +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 5.74 +0.32 0.75 5.74 +0.4 0.5 5.8 +-0.4 0.5 5.8 +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 5.26 +-0.32 0.75 5.74 +-0.4 0.5 5.8 +-0.4 0.5 5.2 +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 5.74 +0.32 0.75 5.26 +0.4 0.5 5.2 +0.4 0.5 5.8 +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 6.26 +-0.32 0.75 6.26 +-0.4 0.5 6.2 +0.4 0.5 6.2 +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 6.26 +0.32 0.75 6.74 +-0.32 0.75 6.74 +-0.32 0.75 6.26 +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 6.74 +0.32 0.75 6.74 +0.4 0.5 6.8 +-0.4 0.5 6.8 +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 6.26 +-0.32 0.75 6.74 +-0.4 0.5 6.8 +-0.4 0.5 6.2 +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 6.74 +0.32 0.75 6.26 +0.4 0.5 6.2 +0.4 0.5 6.8 +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 7.26 +-0.32 0.75 7.26 +-0.4 0.5 7.2 +0.4 0.5 7.2 +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 7.26 +0.32 0.75 7.74 +-0.32 0.75 7.74 +-0.32 0.75 7.26 +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 7.74 +0.32 0.75 7.74 +0.4 0.5 7.8 +-0.4 0.5 7.8 +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 7.26 +-0.32 0.75 7.74 +-0.4 0.5 7.8 +-0.4 0.5 7.2 +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 7.74 +0.32 0.75 7.26 +0.4 0.5 7.2 +0.4 0.5 7.8 +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 8.26 +-0.32 0.75 8.26 +-0.4 0.5 8.2 +0.4 0.5 8.2 +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 8.26 +0.32 0.75 8.74 +-0.32 0.75 8.74 +-0.32 0.75 8.26 +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 8.74 +0.32 0.75 8.74 +0.4 0.5 8.8 +-0.4 0.5 8.8 +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 8.26 +-0.32 0.75 8.74 +-0.4 0.5 8.8 +-0.4 0.5 8.2 +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 8.74 +0.32 0.75 8.26 +0.4 0.5 8.2 +0.4 0.5 8.8 +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 9.26 +-0.32 0.75 9.26 +-0.4 0.5 9.2 +0.4 0.5 9.2 +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 9.26 +0.32 0.75 9.74 +-0.32 0.75 9.74 +-0.32 0.75 9.26 +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 9.74 +0.32 0.75 9.74 +0.4 0.5 9.8 +-0.4 0.5 9.8 +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 9.26 +-0.32 0.75 9.74 +-0.4 0.5 9.8 +-0.4 0.5 9.2 +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 9.74 +0.32 0.75 9.26 +0.4 0.5 9.2 +0.4 0.5 9.8 +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 10.26 +-0.32 0.75 10.26 +-0.4 0.5 10.2 +0.4 0.5 10.2 +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 10.26 +0.32 0.75 10.74 +-0.32 0.75 10.74 +-0.32 0.75 10.26 +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 10.74 +0.32 0.75 10.74 +0.4 0.5 10.8 +-0.4 0.5 10.8 +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 10.26 +-0.32 0.75 10.74 +-0.4 0.5 10.8 +-0.4 0.5 10.2 +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 10.74 +0.32 0.75 10.26 +0.4 0.5 10.2 +0.4 0.5 10.8 +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 11.26 +-0.32 0.75 11.26 +-0.4 0.5 11.2 +0.4 0.5 11.2 +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 11.26 +0.32 0.75 11.74 +-0.32 0.75 11.74 +-0.32 0.75 11.26 +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 11.74 +0.32 0.75 11.74 +0.4 0.5 11.8 +-0.4 0.5 11.8 +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 11.26 +-0.32 0.75 11.74 +-0.4 0.5 11.8 +-0.4 0.5 11.2 +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 11.74 +0.32 0.75 11.26 +0.4 0.5 11.2 +0.4 0.5 11.8 +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 12.26 +-0.32 0.75 12.26 +-0.4 0.5 12.2 +0.4 0.5 12.2 +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 12.26 +0.32 0.75 12.74 +-0.32 0.75 12.74 +-0.32 0.75 12.26 +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 12.74 +0.32 0.75 12.74 +0.4 0.5 12.8 +-0.4 0.5 12.8 +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 12.26 +-0.32 0.75 12.74 +-0.4 0.5 12.8 +-0.4 0.5 12.2 +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 12.74 +0.32 0.75 12.26 +0.4 0.5 12.2 +0.4 0.5 12.8 +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 13.26 +-0.32 0.75 13.26 +-0.4 0.5 13.2 +0.4 0.5 13.2 +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 13.26 +0.32 0.75 13.74 +-0.32 0.75 13.74 +-0.32 0.75 13.26 +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 13.74 +0.32 0.75 13.74 +0.4 0.5 13.8 +-0.4 0.5 13.8 +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 13.26 +-0.32 0.75 13.74 +-0.4 0.5 13.8 +-0.4 0.5 13.2 +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 13.74 +0.32 0.75 13.26 +0.4 0.5 13.2 +0.4 0.5 13.8 +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 14.26 +-0.32 0.75 14.26 +-0.4 0.5 14.2 +0.4 0.5 14.2 +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 14.26 +0.32 0.75 14.74 +-0.32 0.75 14.74 +-0.32 0.75 14.26 +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 14.74 +0.32 0.75 14.74 +0.4 0.5 14.8 +-0.4 0.5 14.8 +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 14.26 +-0.32 0.75 14.74 +-0.4 0.5 14.8 +-0.4 0.5 14.2 +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 14.74 +0.32 0.75 14.26 +0.4 0.5 14.2 +0.4 0.5 14.8 +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 15.26 +-0.32 0.75 15.26 +-0.4 0.5 15.2 +0.4 0.5 15.2 +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 15.26 +0.32 0.75 15.74 +-0.32 0.75 15.74 +-0.32 0.75 15.26 +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 15.74 +0.32 0.75 15.74 +0.4 0.5 15.8 +-0.4 0.5 15.8 +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 15.26 +-0.32 0.75 15.74 +-0.4 0.5 15.8 +-0.4 0.5 15.2 +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 15.74 +0.32 0.75 15.26 +0.4 0.5 15.2 +0.4 0.5 15.8 +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 16.26 +-0.32 0.75 16.26 +-0.4 0.5 16.2 +0.4 0.5 16.2 +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 16.26 +0.32 0.75 16.74 +-0.32 0.75 16.74 +-0.32 0.75 16.26 +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 16.74 +0.32 0.75 16.74 +0.4 0.5 16.8 +-0.4 0.5 16.8 +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 16.26 +-0.32 0.75 16.74 +-0.4 0.5 16.8 +-0.4 0.5 16.2 +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 16.74 +0.32 0.75 16.26 +0.4 0.5 16.2 +0.4 0.5 16.8 +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 17.26 +-0.32 0.75 17.26 +-0.4 0.5 17.2 +0.4 0.5 17.2 +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 17.26 +0.32 0.75 17.74 +-0.32 0.75 17.74 +-0.32 0.75 17.26 +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 17.74 +0.32 0.75 17.74 +0.4 0.5 17.8 +-0.4 0.5 17.8 +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 17.26 +-0.32 0.75 17.74 +-0.4 0.5 17.8 +-0.4 0.5 17.2 +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 17.74 +0.32 0.75 17.26 +0.4 0.5 17.2 +0.4 0.5 17.8 +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 18.26 +-0.32 0.75 18.26 +-0.4 0.5 18.2 +0.4 0.5 18.2 +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 18.26 +0.32 0.75 18.74 +-0.32 0.75 18.74 +-0.32 0.75 18.26 +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 18.74 +0.32 0.75 18.74 +0.4 0.5 18.8 +-0.4 0.5 18.8 +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 18.26 +-0.32 0.75 18.74 +-0.4 0.5 18.8 +-0.4 0.5 18.2 +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 18.74 +0.32 0.75 18.26 +0.4 0.5 18.2 +0.4 0.5 18.8 +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 19.26 +-0.32 0.75 19.26 +-0.4 0.5 19.2 +0.4 0.5 19.2 +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 19.26 +0.32 0.75 19.74 +-0.32 0.75 19.74 +-0.32 0.75 19.26 +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 19.74 +0.32 0.75 19.74 +0.4 0.5 19.8 +-0.4 0.5 19.8 +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 19.26 +-0.32 0.75 19.74 +-0.4 0.5 19.8 +-0.4 0.5 19.2 +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 19.74 +0.32 0.75 19.26 +0.4 0.5 19.2 +0.4 0.5 19.8 +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 20.26 +-0.32 0.75 20.26 +-0.4 0.5 20.2 +0.4 0.5 20.2 +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 20.26 +0.32 0.75 20.74 +-0.32 0.75 20.74 +-0.32 0.75 20.26 +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 20.74 +0.32 0.75 20.74 +0.4 0.5 20.8 +-0.4 0.5 20.8 +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 20.26 +-0.32 0.75 20.74 +-0.4 0.5 20.8 +-0.4 0.5 20.2 +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 20.74 +0.32 0.75 20.26 +0.4 0.5 20.2 +0.4 0.5 20.8 +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 21.26 +-0.32 0.75 21.26 +-0.4 0.5 21.2 +0.4 0.5 21.2 +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 21.26 +0.32 0.75 21.74 +-0.32 0.75 21.74 +-0.32 0.75 21.26 +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 21.74 +0.32 0.75 21.74 +0.4 0.5 21.8 +-0.4 0.5 21.8 +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 21.26 +-0.32 0.75 21.74 +-0.4 0.5 21.8 +-0.4 0.5 21.2 +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 21.74 +0.32 0.75 21.26 +0.4 0.5 21.2 +0.4 0.5 21.8 +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 22.26 +-0.32 0.75 22.26 +-0.4 0.5 22.2 +0.4 0.5 22.2 +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 22.26 +0.32 0.75 22.74 +-0.32 0.75 22.74 +-0.32 0.75 22.26 +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 22.74 +0.32 0.75 22.74 +0.4 0.5 22.8 +-0.4 0.5 22.8 +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 22.26 +-0.32 0.75 22.74 +-0.4 0.5 22.8 +-0.4 0.5 22.2 +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 22.74 +0.32 0.75 22.26 +0.4 0.5 22.2 +0.4 0.5 22.8 +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 23.26 +-0.32 0.75 23.26 +-0.4 0.5 23.2 +0.4 0.5 23.2 +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 23.26 +0.32 0.75 23.74 +-0.32 0.75 23.74 +-0.32 0.75 23.26 +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 23.74 +0.32 0.75 23.74 +0.4 0.5 23.8 +-0.4 0.5 23.8 +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 23.26 +-0.32 0.75 23.74 +-0.4 0.5 23.8 +-0.4 0.5 23.2 +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 23.74 +0.32 0.75 23.26 +0.4 0.5 23.2 +0.4 0.5 23.8 +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 24.26 +-0.32 0.75 24.26 +-0.4 0.5 24.2 +0.4 0.5 24.2 +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 24.26 +0.32 0.75 24.74 +-0.32 0.75 24.74 +-0.32 0.75 24.26 +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 24.74 +0.32 0.75 24.74 +0.4 0.5 24.8 +-0.4 0.5 24.8 +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 24.26 +-0.32 0.75 24.74 +-0.4 0.5 24.8 +-0.4 0.5 24.2 +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 24.74 +0.32 0.75 24.26 +0.4 0.5 24.2 +0.4 0.5 24.8 +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 25.26 +-0.32 0.75 25.26 +-0.4 0.5 25.2 +0.4 0.5 25.2 +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 25.26 +0.32 0.75 25.74 +-0.32 0.75 25.74 +-0.32 0.75 25.26 +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 25.74 +0.32 0.75 25.74 +0.4 0.5 25.8 +-0.4 0.5 25.8 +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 25.26 +-0.32 0.75 25.74 +-0.4 0.5 25.8 +-0.4 0.5 25.2 +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 25.74 +0.32 0.75 25.26 +0.4 0.5 25.2 +0.4 0.5 25.8 +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 26.26 +-0.32 0.75 26.26 +-0.4 0.5 26.2 +0.4 0.5 26.2 +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 26.26 +0.32 0.75 26.74 +-0.32 0.75 26.74 +-0.32 0.75 26.26 +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 26.74 +0.32 0.75 26.74 +0.4 0.5 26.8 +-0.4 0.5 26.8 +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 26.26 +-0.32 0.75 26.74 +-0.4 0.5 26.8 +-0.4 0.5 26.2 +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 26.74 +0.32 0.75 26.26 +0.4 0.5 26.2 +0.4 0.5 26.8 +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 27.26 +-0.32 0.75 27.26 +-0.4 0.5 27.2 +0.4 0.5 27.2 +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 27.26 +0.32 0.75 27.74 +-0.32 0.75 27.74 +-0.32 0.75 27.26 +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 27.74 +0.32 0.75 27.74 +0.4 0.5 27.8 +-0.4 0.5 27.8 +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 27.26 +-0.32 0.75 27.74 +-0.4 0.5 27.8 +-0.4 0.5 27.2 +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 27.74 +0.32 0.75 27.26 +0.4 0.5 27.2 +0.4 0.5 27.8 +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 28.26 +-0.32 0.75 28.26 +-0.4 0.5 28.2 +0.4 0.5 28.2 +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 28.26 +0.32 0.75 28.74 +-0.32 0.75 28.74 +-0.32 0.75 28.26 +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 28.74 +0.32 0.75 28.74 +0.4 0.5 28.8 +-0.4 0.5 28.8 +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 28.26 +-0.32 0.75 28.74 +-0.4 0.5 28.8 +-0.4 0.5 28.2 +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 28.74 +0.32 0.75 28.26 +0.4 0.5 28.2 +0.4 0.5 28.8 +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 29.26 +-0.32 0.75 29.26 +-0.4 0.5 29.2 +0.4 0.5 29.2 +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 29.26 +0.32 0.75 29.74 +-0.32 0.75 29.74 +-0.32 0.75 29.26 +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 29.74 +0.32 0.75 29.74 +0.4 0.5 29.8 +-0.4 0.5 29.8 +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 29.26 +-0.32 0.75 29.74 +-0.4 0.5 29.8 +-0.4 0.5 29.2 +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 29.74 +0.32 0.75 29.26 +0.4 0.5 29.2 +0.4 0.5 29.8 +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 30.26 +-0.32 0.75 30.26 +-0.4 0.5 30.2 +0.4 0.5 30.2 +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 30.26 +0.32 0.75 30.74 +-0.32 0.75 30.74 +-0.32 0.75 30.26 +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 30.74 +0.32 0.75 30.74 +0.4 0.5 30.8 +-0.4 0.5 30.8 +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 30.26 +-0.32 0.75 30.74 +-0.4 0.5 30.8 +-0.4 0.5 30.2 +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 30.74 +0.32 0.75 30.26 +0.4 0.5 30.2 +0.4 0.5 30.8 +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 31.26 +-0.32 0.75 31.26 +-0.4 0.5 31.2 +0.4 0.5 31.2 +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 31.26 +0.32 0.75 31.74 +-0.32 0.75 31.74 +-0.32 0.75 31.26 +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 31.74 +0.32 0.75 31.74 +0.4 0.5 31.8 +-0.4 0.5 31.8 +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 31.26 +-0.32 0.75 31.74 +-0.4 0.5 31.8 +-0.4 0.5 31.2 +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 31.74 +0.32 0.75 31.26 +0.4 0.5 31.2 +0.4 0.5 31.8 +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: +1 + +TEX:SIDE +POSITION: +0.5 -0.5 32 +0.5 0.5 32 +0.5 0.5 -32 +0.5 -0.5 -32 +UV COORDS: +-0.021484375 0.019805908203125 +1.021484375 0.019805908203125 +1.021484375 0.98019409179688 +-0.021484375 0.98019409179688 +NORMALS: +1 0 0 +1 0 0 +1 0 0 +1 0 0 +----------------south quads: +31 + +TEX:SIDE +POSITION: +0.5 -0.5 32 +0.5 -0.5 -32 +-0.5 -0.5 -32 +-0.5 -0.5 32 +UV COORDS: +1.021484375 0.019805908203125 +1.021484375 0.98019409179688 +-0.021484375 0.98019409179688 +-0.021484375 0.019805908203125 +NORMALS: +0 -1 0 +0 -1 0 +0 -1 0 +0 -1 0 + +TEX:SIDE +POSITION: +-0.4 -0.64 -31.8 +0.4 -0.64 -31.8 +0.4 -0.5 -31.8 +-0.4 -0.5 -31.8 +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 -31.8 +-0.4 -0.64 -31.2 +0.4 -0.64 -31.2 +0.4 -0.64 -31.8 +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 -31.2 +-0.4 -0.64 -31.2 +-0.4 -0.5 -31.2 +0.4 -0.5 -31.2 +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 -31.8 +0.4 -0.64 -31.2 +0.4 -0.5 -31.2 +0.4 -0.5 -31.8 +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 -31.2 +-0.4 -0.64 -31.8 +-0.4 -0.5 -31.8 +-0.4 -0.5 -31.2 +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 -30.8 +0.4 -0.64 -30.8 +0.4 -0.5 -30.8 +-0.4 -0.5 -30.8 +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 -30.8 +-0.4 -0.64 -30.2 +0.4 -0.64 -30.2 +0.4 -0.64 -30.8 +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 -30.2 +-0.4 -0.64 -30.2 +-0.4 -0.5 -30.2 +0.4 -0.5 -30.2 +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 -30.8 +0.4 -0.64 -30.2 +0.4 -0.5 -30.2 +0.4 -0.5 -30.8 +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 -30.2 +-0.4 -0.64 -30.8 +-0.4 -0.5 -30.8 +-0.4 -0.5 -30.2 +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 -29.8 +0.4 -0.64 -29.8 +0.4 -0.5 -29.8 +-0.4 -0.5 -29.8 +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 -29.8 +-0.4 -0.64 -29.2 +0.4 -0.64 -29.2 +0.4 -0.64 -29.8 +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 -29.2 +-0.4 -0.64 -29.2 +-0.4 -0.5 -29.2 +0.4 -0.5 -29.2 +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 -29.8 +0.4 -0.64 -29.2 +0.4 -0.5 -29.2 +0.4 -0.5 -29.8 +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 -29.2 +-0.4 -0.64 -29.8 +-0.4 -0.5 -29.8 +-0.4 -0.5 -29.2 +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 -28.8 +0.4 -0.64 -28.8 +0.4 -0.5 -28.8 +-0.4 -0.5 -28.8 +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 -28.8 +-0.4 -0.64 -28.2 +0.4 -0.64 -28.2 +0.4 -0.64 -28.8 +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 -28.2 +-0.4 -0.64 -28.2 +-0.4 -0.5 -28.2 +0.4 -0.5 -28.2 +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 -28.8 +0.4 -0.64 -28.2 +0.4 -0.5 -28.2 +0.4 -0.5 -28.8 +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 -28.2 +-0.4 -0.64 -28.8 +-0.4 -0.5 -28.8 +-0.4 -0.5 -28.2 +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 -27.8 +0.4 -0.64 -27.8 +0.4 -0.5 -27.8 +-0.4 -0.5 -27.8 +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 -27.8 +-0.4 -0.64 -27.2 +0.4 -0.64 -27.2 +0.4 -0.64 -27.8 +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 -27.2 +-0.4 -0.64 -27.2 +-0.4 -0.5 -27.2 +0.4 -0.5 -27.2 +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 -27.8 +0.4 -0.64 -27.2 +0.4 -0.5 -27.2 +0.4 -0.5 -27.8 +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 -27.2 +-0.4 -0.64 -27.8 +-0.4 -0.5 -27.8 +-0.4 -0.5 -27.2 +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 -26.8 +0.4 -0.64 -26.8 +0.4 -0.5 -26.8 +-0.4 -0.5 -26.8 +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 -26.8 +-0.4 -0.64 -26.2 +0.4 -0.64 -26.2 +0.4 -0.64 -26.8 +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 -26.2 +-0.4 -0.64 -26.2 +-0.4 -0.5 -26.2 +0.4 -0.5 -26.2 +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 -26.8 +0.4 -0.64 -26.2 +0.4 -0.5 -26.2 +0.4 -0.5 -26.8 +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 -26.2 +-0.4 -0.64 -26.8 +-0.4 -0.5 -26.8 +-0.4 -0.5 -26.2 +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 -32 +-0.5 0.5 -32 +-0.5 0.5 32 +-0.5 -0.5 32 +UV COORDS: +1.021484375 0.98019409179688 +-0.021484375 0.98019409179688 +-0.021484375 0.019805908203125 +1.021484375 0.019805908203125 +NORMALS: +-1 0 0 +-1 0 0 +-1 0 0 +-1 0 0 +----------------omni quads: +0 \ No newline at end of file diff --git a/bricks/gen/newcode/AND 2 Bit.cs b/bricks/gen/newcode/AND 2 Bit.cs index 4bd642e..e59da03 100644 --- a/bricks/gen/newcode/AND 2 Bit.cs +++ b/bricks/gen/newcode/AND 2 Bit.cs @@ -23,9 +23,9 @@ datablock fxDtsBrickData(LogicGate_GateAnd2_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " gate.ports[3]:setstate(( " @ - " gate.ports[1].state and " @ - " gate.ports[2].state " @ + " Gate.setportstate(gate, 3, ( " @ + " Gate.getportstate(gate, 1) and " @ + " Gate.getportstate(gate, 2) " @ " )) " @ "end" ; diff --git a/bricks/gen/newcode/AND 3 Bit.cs b/bricks/gen/newcode/AND 3 Bit.cs index f9815b6..c95e92d 100644 --- a/bricks/gen/newcode/AND 3 Bit.cs +++ b/bricks/gen/newcode/AND 3 Bit.cs @@ -23,10 +23,10 @@ datablock fxDtsBrickData(LogicGate_GateAnd3_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " gate.ports[4]:setstate(( " @ - " gate.ports[1].state and " @ - " gate.ports[2].state and " @ - " gate.ports[3].state " @ + " Gate.setportstate(gate, 4, ( " @ + " Gate.getportstate(gate, 1) and " @ + " Gate.getportstate(gate, 2) and " @ + " Gate.getportstate(gate, 3) " @ " )) " @ "end" ; diff --git a/bricks/gen/newcode/AND 4 Bit.cs b/bricks/gen/newcode/AND 4 Bit.cs index 1134de2..a33d0f4 100644 --- a/bricks/gen/newcode/AND 4 Bit.cs +++ b/bricks/gen/newcode/AND 4 Bit.cs @@ -23,11 +23,11 @@ datablock fxDtsBrickData(LogicGate_GateAnd4_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " gate.ports[5]:setstate(( " @ - " gate.ports[1].state and " @ - " gate.ports[2].state and " @ - " gate.ports[3].state and " @ - " gate.ports[4].state " @ + " Gate.setportstate(gate, 5, ( " @ + " Gate.getportstate(gate, 1) and " @ + " Gate.getportstate(gate, 2) and " @ + " Gate.getportstate(gate, 3) and " @ + " Gate.getportstate(gate, 4) " @ " )) " @ "end" ; diff --git a/bricks/gen/newcode/AND 5 Bit.cs b/bricks/gen/newcode/AND 5 Bit.cs index f865d6c..7169a71 100644 --- a/bricks/gen/newcode/AND 5 Bit.cs +++ b/bricks/gen/newcode/AND 5 Bit.cs @@ -23,12 +23,12 @@ datablock fxDtsBrickData(LogicGate_GateAnd5_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " gate.ports[6]:setstate(( " @ - " gate.ports[1].state and " @ - " gate.ports[2].state and " @ - " gate.ports[3].state and " @ - " gate.ports[4].state and " @ - " gate.ports[5].state " @ + " Gate.setportstate(gate, 6, ( " @ + " Gate.getportstate(gate, 1) and " @ + " Gate.getportstate(gate, 2) and " @ + " Gate.getportstate(gate, 3) and " @ + " Gate.getportstate(gate, 4) and " @ + " Gate.getportstate(gate, 5) " @ " )) " @ "end" ; diff --git a/bricks/gen/newcode/AND 6 Bit.cs b/bricks/gen/newcode/AND 6 Bit.cs index 30ac8e7..bbda7b8 100644 --- a/bricks/gen/newcode/AND 6 Bit.cs +++ b/bricks/gen/newcode/AND 6 Bit.cs @@ -23,13 +23,13 @@ datablock fxDtsBrickData(LogicGate_GateAnd6_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " gate.ports[7]:setstate(( " @ - " gate.ports[1].state and " @ - " gate.ports[2].state and " @ - " gate.ports[3].state and " @ - " gate.ports[4].state and " @ - " gate.ports[5].state and " @ - " gate.ports[6].state " @ + " Gate.setportstate(gate, 7, ( " @ + " Gate.getportstate(gate, 1) and " @ + " Gate.getportstate(gate, 2) and " @ + " Gate.getportstate(gate, 3) and " @ + " Gate.getportstate(gate, 4) and " @ + " Gate.getportstate(gate, 5) and " @ + " Gate.getportstate(gate, 6) " @ " )) " @ "end" ; diff --git a/bricks/gen/newcode/AND 7 Bit.cs b/bricks/gen/newcode/AND 7 Bit.cs index 157b198..cb80c42 100644 --- a/bricks/gen/newcode/AND 7 Bit.cs +++ b/bricks/gen/newcode/AND 7 Bit.cs @@ -23,14 +23,14 @@ datablock fxDtsBrickData(LogicGate_GateAnd7_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " gate.ports[8]:setstate(( " @ - " gate.ports[1].state and " @ - " gate.ports[2].state and " @ - " gate.ports[3].state and " @ - " gate.ports[4].state and " @ - " gate.ports[5].state and " @ - " gate.ports[6].state and " @ - " gate.ports[7].state " @ + " Gate.setportstate(gate, 8, ( " @ + " Gate.getportstate(gate, 1) and " @ + " Gate.getportstate(gate, 2) and " @ + " Gate.getportstate(gate, 3) and " @ + " Gate.getportstate(gate, 4) and " @ + " Gate.getportstate(gate, 5) and " @ + " Gate.getportstate(gate, 6) and " @ + " Gate.getportstate(gate, 7) " @ " )) " @ "end" ; diff --git a/bricks/gen/newcode/AND 8 Bit.cs b/bricks/gen/newcode/AND 8 Bit.cs index 4c94b99..790c8d3 100644 --- a/bricks/gen/newcode/AND 8 Bit.cs +++ b/bricks/gen/newcode/AND 8 Bit.cs @@ -23,15 +23,15 @@ datablock fxDtsBrickData(LogicGate_GateAnd8_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " gate.ports[9]:setstate(( " @ - " gate.ports[1].state and " @ - " gate.ports[2].state and " @ - " gate.ports[3].state and " @ - " gate.ports[4].state and " @ - " gate.ports[5].state and " @ - " gate.ports[6].state and " @ - " gate.ports[7].state and " @ - " gate.ports[8].state " @ + " Gate.setportstate(gate, 9, ( " @ + " Gate.getportstate(gate, 1) and " @ + " Gate.getportstate(gate, 2) and " @ + " Gate.getportstate(gate, 3) and " @ + " Gate.getportstate(gate, 4) and " @ + " Gate.getportstate(gate, 5) and " @ + " Gate.getportstate(gate, 6) and " @ + " Gate.getportstate(gate, 7) and " @ + " Gate.getportstate(gate, 8) " @ " )) " @ "end" ; diff --git a/bricks/gen/newcode/Buffer 1 Bit.cs b/bricks/gen/newcode/Buffer 1 Bit.cs index 9156408..b7296f5 100644 --- a/bricks/gen/newcode/Buffer 1 Bit.cs +++ b/bricks/gen/newcode/Buffer 1 Bit.cs @@ -23,10 +23,10 @@ datablock fxDtsBrickData(LogicGate_Buffer1_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[3].state then " @ - " gate.ports[2]:setstate(gate.ports[1].state) " @ + " if Gate.getportstate(gate, 3) then " @ + " Gate.setportstate(gate, 2, Gate.getportstate(gate, 1)) " @ " else " @ - " gate.ports[2]:setstate(false) " @ + " Gate.setportstate(gate, 2, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer 10 Bit.cs b/bricks/gen/newcode/Buffer 10 Bit.cs index 2b70d60..f313d68 100644 --- a/bricks/gen/newcode/Buffer 10 Bit.cs +++ b/bricks/gen/newcode/Buffer 10 Bit.cs @@ -23,28 +23,28 @@ datablock fxDtsBrickData(LogicGate_Buffer10_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[21].state then " @ - " gate.ports[11]:setstate(gate.ports[1].state) " @ - " gate.ports[12]:setstate(gate.ports[2].state) " @ - " gate.ports[13]:setstate(gate.ports[3].state) " @ - " gate.ports[14]:setstate(gate.ports[4].state) " @ - " gate.ports[15]:setstate(gate.ports[5].state) " @ - " gate.ports[16]:setstate(gate.ports[6].state) " @ - " gate.ports[17]:setstate(gate.ports[7].state) " @ - " gate.ports[18]:setstate(gate.ports[8].state) " @ - " gate.ports[19]:setstate(gate.ports[9].state) " @ - " gate.ports[20]:setstate(gate.ports[10].state) " @ + " if Gate.getportstate(gate, 21) then " @ + " Gate.setportstate(gate, 11, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 10)) " @ " else " @ - " gate.ports[11]:setstate(false) " @ - " gate.ports[12]:setstate(false) " @ - " gate.ports[13]:setstate(false) " @ - " gate.ports[14]:setstate(false) " @ - " gate.ports[15]:setstate(false) " @ - " gate.ports[16]:setstate(false) " @ - " gate.ports[17]:setstate(false) " @ - " gate.ports[18]:setstate(false) " @ - " gate.ports[19]:setstate(false) " @ - " gate.ports[20]:setstate(false) " @ + " Gate.setportstate(gate, 11, false) " @ + " Gate.setportstate(gate, 12, false) " @ + " Gate.setportstate(gate, 13, false) " @ + " Gate.setportstate(gate, 14, false) " @ + " Gate.setportstate(gate, 15, false) " @ + " Gate.setportstate(gate, 16, false) " @ + " Gate.setportstate(gate, 17, false) " @ + " Gate.setportstate(gate, 18, false) " @ + " Gate.setportstate(gate, 19, false) " @ + " Gate.setportstate(gate, 20, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer 11 Bit.cs b/bricks/gen/newcode/Buffer 11 Bit.cs index 4d773bf..820e9eb 100644 --- a/bricks/gen/newcode/Buffer 11 Bit.cs +++ b/bricks/gen/newcode/Buffer 11 Bit.cs @@ -23,30 +23,30 @@ datablock fxDtsBrickData(LogicGate_Buffer11_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[23].state then " @ - " gate.ports[12]:setstate(gate.ports[1].state) " @ - " gate.ports[13]:setstate(gate.ports[2].state) " @ - " gate.ports[14]:setstate(gate.ports[3].state) " @ - " gate.ports[15]:setstate(gate.ports[4].state) " @ - " gate.ports[16]:setstate(gate.ports[5].state) " @ - " gate.ports[17]:setstate(gate.ports[6].state) " @ - " gate.ports[18]:setstate(gate.ports[7].state) " @ - " gate.ports[19]:setstate(gate.ports[8].state) " @ - " gate.ports[20]:setstate(gate.ports[9].state) " @ - " gate.ports[21]:setstate(gate.ports[10].state) " @ - " gate.ports[22]:setstate(gate.ports[11].state) " @ + " if Gate.getportstate(gate, 23) then " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 11)) " @ " else " @ - " gate.ports[12]:setstate(false) " @ - " gate.ports[13]:setstate(false) " @ - " gate.ports[14]:setstate(false) " @ - " gate.ports[15]:setstate(false) " @ - " gate.ports[16]:setstate(false) " @ - " gate.ports[17]:setstate(false) " @ - " gate.ports[18]:setstate(false) " @ - " gate.ports[19]:setstate(false) " @ - " gate.ports[20]:setstate(false) " @ - " gate.ports[21]:setstate(false) " @ - " gate.ports[22]:setstate(false) " @ + " Gate.setportstate(gate, 12, false) " @ + " Gate.setportstate(gate, 13, false) " @ + " Gate.setportstate(gate, 14, false) " @ + " Gate.setportstate(gate, 15, false) " @ + " Gate.setportstate(gate, 16, false) " @ + " Gate.setportstate(gate, 17, false) " @ + " Gate.setportstate(gate, 18, false) " @ + " Gate.setportstate(gate, 19, false) " @ + " Gate.setportstate(gate, 20, false) " @ + " Gate.setportstate(gate, 21, false) " @ + " Gate.setportstate(gate, 22, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer 12 Bit.cs b/bricks/gen/newcode/Buffer 12 Bit.cs index e939ba0..954e1e4 100644 --- a/bricks/gen/newcode/Buffer 12 Bit.cs +++ b/bricks/gen/newcode/Buffer 12 Bit.cs @@ -23,32 +23,32 @@ datablock fxDtsBrickData(LogicGate_Buffer12_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[25].state then " @ - " gate.ports[13]:setstate(gate.ports[1].state) " @ - " gate.ports[14]:setstate(gate.ports[2].state) " @ - " gate.ports[15]:setstate(gate.ports[3].state) " @ - " gate.ports[16]:setstate(gate.ports[4].state) " @ - " gate.ports[17]:setstate(gate.ports[5].state) " @ - " gate.ports[18]:setstate(gate.ports[6].state) " @ - " gate.ports[19]:setstate(gate.ports[7].state) " @ - " gate.ports[20]:setstate(gate.ports[8].state) " @ - " gate.ports[21]:setstate(gate.ports[9].state) " @ - " gate.ports[22]:setstate(gate.ports[10].state) " @ - " gate.ports[23]:setstate(gate.ports[11].state) " @ - " gate.ports[24]:setstate(gate.ports[12].state) " @ + " if Gate.getportstate(gate, 25) then " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 23, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 24, Gate.getportstate(gate, 12)) " @ " else " @ - " gate.ports[13]:setstate(false) " @ - " gate.ports[14]:setstate(false) " @ - " gate.ports[15]:setstate(false) " @ - " gate.ports[16]:setstate(false) " @ - " gate.ports[17]:setstate(false) " @ - " gate.ports[18]:setstate(false) " @ - " gate.ports[19]:setstate(false) " @ - " gate.ports[20]:setstate(false) " @ - " gate.ports[21]:setstate(false) " @ - " gate.ports[22]:setstate(false) " @ - " gate.ports[23]:setstate(false) " @ - " gate.ports[24]:setstate(false) " @ + " Gate.setportstate(gate, 13, false) " @ + " Gate.setportstate(gate, 14, false) " @ + " Gate.setportstate(gate, 15, false) " @ + " Gate.setportstate(gate, 16, false) " @ + " Gate.setportstate(gate, 17, false) " @ + " Gate.setportstate(gate, 18, false) " @ + " Gate.setportstate(gate, 19, false) " @ + " Gate.setportstate(gate, 20, false) " @ + " Gate.setportstate(gate, 21, false) " @ + " Gate.setportstate(gate, 22, false) " @ + " Gate.setportstate(gate, 23, false) " @ + " Gate.setportstate(gate, 24, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer 13 Bit.cs b/bricks/gen/newcode/Buffer 13 Bit.cs index 4c3a3c0..72d58a3 100644 --- a/bricks/gen/newcode/Buffer 13 Bit.cs +++ b/bricks/gen/newcode/Buffer 13 Bit.cs @@ -23,34 +23,34 @@ datablock fxDtsBrickData(LogicGate_Buffer13_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[27].state then " @ - " gate.ports[14]:setstate(gate.ports[1].state) " @ - " gate.ports[15]:setstate(gate.ports[2].state) " @ - " gate.ports[16]:setstate(gate.ports[3].state) " @ - " gate.ports[17]:setstate(gate.ports[4].state) " @ - " gate.ports[18]:setstate(gate.ports[5].state) " @ - " gate.ports[19]:setstate(gate.ports[6].state) " @ - " gate.ports[20]:setstate(gate.ports[7].state) " @ - " gate.ports[21]:setstate(gate.ports[8].state) " @ - " gate.ports[22]:setstate(gate.ports[9].state) " @ - " gate.ports[23]:setstate(gate.ports[10].state) " @ - " gate.ports[24]:setstate(gate.ports[11].state) " @ - " gate.ports[25]:setstate(gate.ports[12].state) " @ - " gate.ports[26]:setstate(gate.ports[13].state) " @ + " if Gate.getportstate(gate, 27) then " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 23, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 24, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 25, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 26, Gate.getportstate(gate, 13)) " @ " else " @ - " gate.ports[14]:setstate(false) " @ - " gate.ports[15]:setstate(false) " @ - " gate.ports[16]:setstate(false) " @ - " gate.ports[17]:setstate(false) " @ - " gate.ports[18]:setstate(false) " @ - " gate.ports[19]:setstate(false) " @ - " gate.ports[20]:setstate(false) " @ - " gate.ports[21]:setstate(false) " @ - " gate.ports[22]:setstate(false) " @ - " gate.ports[23]:setstate(false) " @ - " gate.ports[24]:setstate(false) " @ - " gate.ports[25]:setstate(false) " @ - " gate.ports[26]:setstate(false) " @ + " Gate.setportstate(gate, 14, false) " @ + " Gate.setportstate(gate, 15, false) " @ + " Gate.setportstate(gate, 16, false) " @ + " Gate.setportstate(gate, 17, false) " @ + " Gate.setportstate(gate, 18, false) " @ + " Gate.setportstate(gate, 19, false) " @ + " Gate.setportstate(gate, 20, false) " @ + " Gate.setportstate(gate, 21, false) " @ + " Gate.setportstate(gate, 22, false) " @ + " Gate.setportstate(gate, 23, false) " @ + " Gate.setportstate(gate, 24, false) " @ + " Gate.setportstate(gate, 25, false) " @ + " Gate.setportstate(gate, 26, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer 14 Bit.cs b/bricks/gen/newcode/Buffer 14 Bit.cs index 243171e..26d6033 100644 --- a/bricks/gen/newcode/Buffer 14 Bit.cs +++ b/bricks/gen/newcode/Buffer 14 Bit.cs @@ -23,36 +23,36 @@ datablock fxDtsBrickData(LogicGate_Buffer14_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[29].state then " @ - " gate.ports[15]:setstate(gate.ports[1].state) " @ - " gate.ports[16]:setstate(gate.ports[2].state) " @ - " gate.ports[17]:setstate(gate.ports[3].state) " @ - " gate.ports[18]:setstate(gate.ports[4].state) " @ - " gate.ports[19]:setstate(gate.ports[5].state) " @ - " gate.ports[20]:setstate(gate.ports[6].state) " @ - " gate.ports[21]:setstate(gate.ports[7].state) " @ - " gate.ports[22]:setstate(gate.ports[8].state) " @ - " gate.ports[23]:setstate(gate.ports[9].state) " @ - " gate.ports[24]:setstate(gate.ports[10].state) " @ - " gate.ports[25]:setstate(gate.ports[11].state) " @ - " gate.ports[26]:setstate(gate.ports[12].state) " @ - " gate.ports[27]:setstate(gate.ports[13].state) " @ - " gate.ports[28]:setstate(gate.ports[14].state) " @ + " if Gate.getportstate(gate, 29) then " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 23, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 24, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 25, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 26, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 27, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 28, Gate.getportstate(gate, 14)) " @ " else " @ - " gate.ports[15]:setstate(false) " @ - " gate.ports[16]:setstate(false) " @ - " gate.ports[17]:setstate(false) " @ - " gate.ports[18]:setstate(false) " @ - " gate.ports[19]:setstate(false) " @ - " gate.ports[20]:setstate(false) " @ - " gate.ports[21]:setstate(false) " @ - " gate.ports[22]:setstate(false) " @ - " gate.ports[23]:setstate(false) " @ - " gate.ports[24]:setstate(false) " @ - " gate.ports[25]:setstate(false) " @ - " gate.ports[26]:setstate(false) " @ - " gate.ports[27]:setstate(false) " @ - " gate.ports[28]:setstate(false) " @ + " Gate.setportstate(gate, 15, false) " @ + " Gate.setportstate(gate, 16, false) " @ + " Gate.setportstate(gate, 17, false) " @ + " Gate.setportstate(gate, 18, false) " @ + " Gate.setportstate(gate, 19, false) " @ + " Gate.setportstate(gate, 20, false) " @ + " Gate.setportstate(gate, 21, false) " @ + " Gate.setportstate(gate, 22, false) " @ + " Gate.setportstate(gate, 23, false) " @ + " Gate.setportstate(gate, 24, false) " @ + " Gate.setportstate(gate, 25, false) " @ + " Gate.setportstate(gate, 26, false) " @ + " Gate.setportstate(gate, 27, false) " @ + " Gate.setportstate(gate, 28, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer 15 Bit.cs b/bricks/gen/newcode/Buffer 15 Bit.cs index a2917e7..f0ec7b5 100644 --- a/bricks/gen/newcode/Buffer 15 Bit.cs +++ b/bricks/gen/newcode/Buffer 15 Bit.cs @@ -23,38 +23,38 @@ datablock fxDtsBrickData(LogicGate_Buffer15_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[31].state then " @ - " gate.ports[16]:setstate(gate.ports[1].state) " @ - " gate.ports[17]:setstate(gate.ports[2].state) " @ - " gate.ports[18]:setstate(gate.ports[3].state) " @ - " gate.ports[19]:setstate(gate.ports[4].state) " @ - " gate.ports[20]:setstate(gate.ports[5].state) " @ - " gate.ports[21]:setstate(gate.ports[6].state) " @ - " gate.ports[22]:setstate(gate.ports[7].state) " @ - " gate.ports[23]:setstate(gate.ports[8].state) " @ - " gate.ports[24]:setstate(gate.ports[9].state) " @ - " gate.ports[25]:setstate(gate.ports[10].state) " @ - " gate.ports[26]:setstate(gate.ports[11].state) " @ - " gate.ports[27]:setstate(gate.ports[12].state) " @ - " gate.ports[28]:setstate(gate.ports[13].state) " @ - " gate.ports[29]:setstate(gate.ports[14].state) " @ - " gate.ports[30]:setstate(gate.ports[15].state) " @ + " if Gate.getportstate(gate, 31) then " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 23, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 24, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 25, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 26, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 27, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 28, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 29, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 30, Gate.getportstate(gate, 15)) " @ " else " @ - " gate.ports[16]:setstate(false) " @ - " gate.ports[17]:setstate(false) " @ - " gate.ports[18]:setstate(false) " @ - " gate.ports[19]:setstate(false) " @ - " gate.ports[20]:setstate(false) " @ - " gate.ports[21]:setstate(false) " @ - " gate.ports[22]:setstate(false) " @ - " gate.ports[23]:setstate(false) " @ - " gate.ports[24]:setstate(false) " @ - " gate.ports[25]:setstate(false) " @ - " gate.ports[26]:setstate(false) " @ - " gate.ports[27]:setstate(false) " @ - " gate.ports[28]:setstate(false) " @ - " gate.ports[29]:setstate(false) " @ - " gate.ports[30]:setstate(false) " @ + " Gate.setportstate(gate, 16, false) " @ + " Gate.setportstate(gate, 17, false) " @ + " Gate.setportstate(gate, 18, false) " @ + " Gate.setportstate(gate, 19, false) " @ + " Gate.setportstate(gate, 20, false) " @ + " Gate.setportstate(gate, 21, false) " @ + " Gate.setportstate(gate, 22, false) " @ + " Gate.setportstate(gate, 23, false) " @ + " Gate.setportstate(gate, 24, false) " @ + " Gate.setportstate(gate, 25, false) " @ + " Gate.setportstate(gate, 26, false) " @ + " Gate.setportstate(gate, 27, false) " @ + " Gate.setportstate(gate, 28, false) " @ + " Gate.setportstate(gate, 29, false) " @ + " Gate.setportstate(gate, 30, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer 16 Bit.cs b/bricks/gen/newcode/Buffer 16 Bit.cs index 24719e8..fcde5ae 100644 --- a/bricks/gen/newcode/Buffer 16 Bit.cs +++ b/bricks/gen/newcode/Buffer 16 Bit.cs @@ -23,40 +23,40 @@ datablock fxDtsBrickData(LogicGate_Buffer16_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[33].state then " @ - " gate.ports[17]:setstate(gate.ports[1].state) " @ - " gate.ports[18]:setstate(gate.ports[2].state) " @ - " gate.ports[19]:setstate(gate.ports[3].state) " @ - " gate.ports[20]:setstate(gate.ports[4].state) " @ - " gate.ports[21]:setstate(gate.ports[5].state) " @ - " gate.ports[22]:setstate(gate.ports[6].state) " @ - " gate.ports[23]:setstate(gate.ports[7].state) " @ - " gate.ports[24]:setstate(gate.ports[8].state) " @ - " gate.ports[25]:setstate(gate.ports[9].state) " @ - " gate.ports[26]:setstate(gate.ports[10].state) " @ - " gate.ports[27]:setstate(gate.ports[11].state) " @ - " gate.ports[28]:setstate(gate.ports[12].state) " @ - " gate.ports[29]:setstate(gate.ports[13].state) " @ - " gate.ports[30]:setstate(gate.ports[14].state) " @ - " gate.ports[31]:setstate(gate.ports[15].state) " @ - " gate.ports[32]:setstate(gate.ports[16].state) " @ + " if Gate.getportstate(gate, 33) then " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 23, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 24, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 25, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 26, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 27, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 28, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 29, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 30, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 31, Gate.getportstate(gate, 15)) " @ + " Gate.setportstate(gate, 32, Gate.getportstate(gate, 16)) " @ " else " @ - " gate.ports[17]:setstate(false) " @ - " gate.ports[18]:setstate(false) " @ - " gate.ports[19]:setstate(false) " @ - " gate.ports[20]:setstate(false) " @ - " gate.ports[21]:setstate(false) " @ - " gate.ports[22]:setstate(false) " @ - " gate.ports[23]:setstate(false) " @ - " gate.ports[24]:setstate(false) " @ - " gate.ports[25]:setstate(false) " @ - " gate.ports[26]:setstate(false) " @ - " gate.ports[27]:setstate(false) " @ - " gate.ports[28]:setstate(false) " @ - " gate.ports[29]:setstate(false) " @ - " gate.ports[30]:setstate(false) " @ - " gate.ports[31]:setstate(false) " @ - " gate.ports[32]:setstate(false) " @ + " Gate.setportstate(gate, 17, false) " @ + " Gate.setportstate(gate, 18, false) " @ + " Gate.setportstate(gate, 19, false) " @ + " Gate.setportstate(gate, 20, false) " @ + " Gate.setportstate(gate, 21, false) " @ + " Gate.setportstate(gate, 22, false) " @ + " Gate.setportstate(gate, 23, false) " @ + " Gate.setportstate(gate, 24, false) " @ + " Gate.setportstate(gate, 25, false) " @ + " Gate.setportstate(gate, 26, false) " @ + " Gate.setportstate(gate, 27, false) " @ + " Gate.setportstate(gate, 28, false) " @ + " Gate.setportstate(gate, 29, false) " @ + " Gate.setportstate(gate, 30, false) " @ + " Gate.setportstate(gate, 31, false) " @ + " Gate.setportstate(gate, 32, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer 2 Bit.cs b/bricks/gen/newcode/Buffer 2 Bit.cs index ca6d2ab..257e39d 100644 --- a/bricks/gen/newcode/Buffer 2 Bit.cs +++ b/bricks/gen/newcode/Buffer 2 Bit.cs @@ -23,12 +23,12 @@ datablock fxDtsBrickData(LogicGate_Buffer2_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[5].state then " @ - " gate.ports[3]:setstate(gate.ports[1].state) " @ - " gate.ports[4]:setstate(gate.ports[2].state) " @ + " if Gate.getportstate(gate, 5) then " @ + " Gate.setportstate(gate, 3, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 4, Gate.getportstate(gate, 2)) " @ " else " @ - " gate.ports[3]:setstate(false) " @ - " gate.ports[4]:setstate(false) " @ + " Gate.setportstate(gate, 3, false) " @ + " Gate.setportstate(gate, 4, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer 24 Bit.cs b/bricks/gen/newcode/Buffer 24 Bit.cs index 83dd3f3..fc4da81 100644 --- a/bricks/gen/newcode/Buffer 24 Bit.cs +++ b/bricks/gen/newcode/Buffer 24 Bit.cs @@ -23,56 +23,56 @@ datablock fxDtsBrickData(LogicGate_Buffer24_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[49].state then " @ - " gate.ports[25]:setstate(gate.ports[1].state) " @ - " gate.ports[26]:setstate(gate.ports[2].state) " @ - " gate.ports[27]:setstate(gate.ports[3].state) " @ - " gate.ports[28]:setstate(gate.ports[4].state) " @ - " gate.ports[29]:setstate(gate.ports[5].state) " @ - " gate.ports[30]:setstate(gate.ports[6].state) " @ - " gate.ports[31]:setstate(gate.ports[7].state) " @ - " gate.ports[32]:setstate(gate.ports[8].state) " @ - " gate.ports[33]:setstate(gate.ports[9].state) " @ - " gate.ports[34]:setstate(gate.ports[10].state) " @ - " gate.ports[35]:setstate(gate.ports[11].state) " @ - " gate.ports[36]:setstate(gate.ports[12].state) " @ - " gate.ports[37]:setstate(gate.ports[13].state) " @ - " gate.ports[38]:setstate(gate.ports[14].state) " @ - " gate.ports[39]:setstate(gate.ports[15].state) " @ - " gate.ports[40]:setstate(gate.ports[16].state) " @ - " gate.ports[41]:setstate(gate.ports[17].state) " @ - " gate.ports[42]:setstate(gate.ports[18].state) " @ - " gate.ports[43]:setstate(gate.ports[19].state) " @ - " gate.ports[44]:setstate(gate.ports[20].state) " @ - " gate.ports[45]:setstate(gate.ports[21].state) " @ - " gate.ports[46]:setstate(gate.ports[22].state) " @ - " gate.ports[47]:setstate(gate.ports[23].state) " @ - " gate.ports[48]:setstate(gate.ports[24].state) " @ + " if Gate.getportstate(gate, 49) then " @ + " Gate.setportstate(gate, 25, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 26, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 27, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 28, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 29, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 30, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 31, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 32, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 33, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 34, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 35, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 36, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 37, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 38, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 39, Gate.getportstate(gate, 15)) " @ + " Gate.setportstate(gate, 40, Gate.getportstate(gate, 16)) " @ + " Gate.setportstate(gate, 41, Gate.getportstate(gate, 17)) " @ + " Gate.setportstate(gate, 42, Gate.getportstate(gate, 18)) " @ + " Gate.setportstate(gate, 43, Gate.getportstate(gate, 19)) " @ + " Gate.setportstate(gate, 44, Gate.getportstate(gate, 20)) " @ + " Gate.setportstate(gate, 45, Gate.getportstate(gate, 21)) " @ + " Gate.setportstate(gate, 46, Gate.getportstate(gate, 22)) " @ + " Gate.setportstate(gate, 47, Gate.getportstate(gate, 23)) " @ + " Gate.setportstate(gate, 48, Gate.getportstate(gate, 24)) " @ " else " @ - " gate.ports[25]:setstate(false) " @ - " gate.ports[26]:setstate(false) " @ - " gate.ports[27]:setstate(false) " @ - " gate.ports[28]:setstate(false) " @ - " gate.ports[29]:setstate(false) " @ - " gate.ports[30]:setstate(false) " @ - " gate.ports[31]:setstate(false) " @ - " gate.ports[32]:setstate(false) " @ - " gate.ports[33]:setstate(false) " @ - " gate.ports[34]:setstate(false) " @ - " gate.ports[35]:setstate(false) " @ - " gate.ports[36]:setstate(false) " @ - " gate.ports[37]:setstate(false) " @ - " gate.ports[38]:setstate(false) " @ - " gate.ports[39]:setstate(false) " @ - " gate.ports[40]:setstate(false) " @ - " gate.ports[41]:setstate(false) " @ - " gate.ports[42]:setstate(false) " @ - " gate.ports[43]:setstate(false) " @ - " gate.ports[44]:setstate(false) " @ - " gate.ports[45]:setstate(false) " @ - " gate.ports[46]:setstate(false) " @ - " gate.ports[47]:setstate(false) " @ - " gate.ports[48]:setstate(false) " @ + " Gate.setportstate(gate, 25, false) " @ + " Gate.setportstate(gate, 26, false) " @ + " Gate.setportstate(gate, 27, false) " @ + " Gate.setportstate(gate, 28, false) " @ + " Gate.setportstate(gate, 29, false) " @ + " Gate.setportstate(gate, 30, false) " @ + " Gate.setportstate(gate, 31, false) " @ + " Gate.setportstate(gate, 32, false) " @ + " Gate.setportstate(gate, 33, false) " @ + " Gate.setportstate(gate, 34, false) " @ + " Gate.setportstate(gate, 35, false) " @ + " Gate.setportstate(gate, 36, false) " @ + " Gate.setportstate(gate, 37, false) " @ + " Gate.setportstate(gate, 38, false) " @ + " Gate.setportstate(gate, 39, false) " @ + " Gate.setportstate(gate, 40, false) " @ + " Gate.setportstate(gate, 41, false) " @ + " Gate.setportstate(gate, 42, false) " @ + " Gate.setportstate(gate, 43, false) " @ + " Gate.setportstate(gate, 44, false) " @ + " Gate.setportstate(gate, 45, false) " @ + " Gate.setportstate(gate, 46, false) " @ + " Gate.setportstate(gate, 47, false) " @ + " Gate.setportstate(gate, 48, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer 3 Bit.cs b/bricks/gen/newcode/Buffer 3 Bit.cs index d063730..9714d1d 100644 --- a/bricks/gen/newcode/Buffer 3 Bit.cs +++ b/bricks/gen/newcode/Buffer 3 Bit.cs @@ -23,14 +23,14 @@ datablock fxDtsBrickData(LogicGate_Buffer3_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[7].state then " @ - " gate.ports[4]:setstate(gate.ports[1].state) " @ - " gate.ports[5]:setstate(gate.ports[2].state) " @ - " gate.ports[6]:setstate(gate.ports[3].state) " @ + " if Gate.getportstate(gate, 7) then " @ + " Gate.setportstate(gate, 4, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 5, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 6, Gate.getportstate(gate, 3)) " @ " else " @ - " gate.ports[4]:setstate(false) " @ - " gate.ports[5]:setstate(false) " @ - " gate.ports[6]:setstate(false) " @ + " Gate.setportstate(gate, 4, false) " @ + " Gate.setportstate(gate, 5, false) " @ + " Gate.setportstate(gate, 6, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer 32 Bit.cs b/bricks/gen/newcode/Buffer 32 Bit.cs index 375243e..3bf2005 100644 --- a/bricks/gen/newcode/Buffer 32 Bit.cs +++ b/bricks/gen/newcode/Buffer 32 Bit.cs @@ -23,72 +23,72 @@ datablock fxDtsBrickData(LogicGate_Buffer32_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[65].state then " @ - " gate.ports[33]:setstate(gate.ports[1].state) " @ - " gate.ports[34]:setstate(gate.ports[2].state) " @ - " gate.ports[35]:setstate(gate.ports[3].state) " @ - " gate.ports[36]:setstate(gate.ports[4].state) " @ - " gate.ports[37]:setstate(gate.ports[5].state) " @ - " gate.ports[38]:setstate(gate.ports[6].state) " @ - " gate.ports[39]:setstate(gate.ports[7].state) " @ - " gate.ports[40]:setstate(gate.ports[8].state) " @ - " gate.ports[41]:setstate(gate.ports[9].state) " @ - " gate.ports[42]:setstate(gate.ports[10].state) " @ - " gate.ports[43]:setstate(gate.ports[11].state) " @ - " gate.ports[44]:setstate(gate.ports[12].state) " @ - " gate.ports[45]:setstate(gate.ports[13].state) " @ - " gate.ports[46]:setstate(gate.ports[14].state) " @ - " gate.ports[47]:setstate(gate.ports[15].state) " @ - " gate.ports[48]:setstate(gate.ports[16].state) " @ - " gate.ports[49]:setstate(gate.ports[17].state) " @ - " gate.ports[50]:setstate(gate.ports[18].state) " @ - " gate.ports[51]:setstate(gate.ports[19].state) " @ - " gate.ports[52]:setstate(gate.ports[20].state) " @ - " gate.ports[53]:setstate(gate.ports[21].state) " @ - " gate.ports[54]:setstate(gate.ports[22].state) " @ - " gate.ports[55]:setstate(gate.ports[23].state) " @ - " gate.ports[56]:setstate(gate.ports[24].state) " @ - " gate.ports[57]:setstate(gate.ports[25].state) " @ - " gate.ports[58]:setstate(gate.ports[26].state) " @ - " gate.ports[59]:setstate(gate.ports[27].state) " @ - " gate.ports[60]:setstate(gate.ports[28].state) " @ - " gate.ports[61]:setstate(gate.ports[29].state) " @ - " gate.ports[62]:setstate(gate.ports[30].state) " @ - " gate.ports[63]:setstate(gate.ports[31].state) " @ - " gate.ports[64]:setstate(gate.ports[32].state) " @ + " if Gate.getportstate(gate, 65) then " @ + " Gate.setportstate(gate, 33, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 34, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 35, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 36, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 37, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 38, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 39, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 40, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 41, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 42, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 43, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 44, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 45, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 46, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 47, Gate.getportstate(gate, 15)) " @ + " Gate.setportstate(gate, 48, Gate.getportstate(gate, 16)) " @ + " Gate.setportstate(gate, 49, Gate.getportstate(gate, 17)) " @ + " Gate.setportstate(gate, 50, Gate.getportstate(gate, 18)) " @ + " Gate.setportstate(gate, 51, Gate.getportstate(gate, 19)) " @ + " Gate.setportstate(gate, 52, Gate.getportstate(gate, 20)) " @ + " Gate.setportstate(gate, 53, Gate.getportstate(gate, 21)) " @ + " Gate.setportstate(gate, 54, Gate.getportstate(gate, 22)) " @ + " Gate.setportstate(gate, 55, Gate.getportstate(gate, 23)) " @ + " Gate.setportstate(gate, 56, Gate.getportstate(gate, 24)) " @ + " Gate.setportstate(gate, 57, Gate.getportstate(gate, 25)) " @ + " Gate.setportstate(gate, 58, Gate.getportstate(gate, 26)) " @ + " Gate.setportstate(gate, 59, Gate.getportstate(gate, 27)) " @ + " Gate.setportstate(gate, 60, Gate.getportstate(gate, 28)) " @ + " Gate.setportstate(gate, 61, Gate.getportstate(gate, 29)) " @ + " Gate.setportstate(gate, 62, Gate.getportstate(gate, 30)) " @ + " Gate.setportstate(gate, 63, Gate.getportstate(gate, 31)) " @ + " Gate.setportstate(gate, 64, Gate.getportstate(gate, 32)) " @ " else " @ - " gate.ports[33]:setstate(false) " @ - " gate.ports[34]:setstate(false) " @ - " gate.ports[35]:setstate(false) " @ - " gate.ports[36]:setstate(false) " @ - " gate.ports[37]:setstate(false) " @ - " gate.ports[38]:setstate(false) " @ - " gate.ports[39]:setstate(false) " @ - " gate.ports[40]:setstate(false) " @ - " gate.ports[41]:setstate(false) " @ - " gate.ports[42]:setstate(false) " @ - " gate.ports[43]:setstate(false) " @ - " gate.ports[44]:setstate(false) " @ - " gate.ports[45]:setstate(false) " @ - " gate.ports[46]:setstate(false) " @ - " gate.ports[47]:setstate(false) " @ - " gate.ports[48]:setstate(false) " @ - " gate.ports[49]:setstate(false) " @ - " gate.ports[50]:setstate(false) " @ - " gate.ports[51]:setstate(false) " @ - " gate.ports[52]:setstate(false) " @ - " gate.ports[53]:setstate(false) " @ - " gate.ports[54]:setstate(false) " @ - " gate.ports[55]:setstate(false) " @ - " gate.ports[56]:setstate(false) " @ - " gate.ports[57]:setstate(false) " @ - " gate.ports[58]:setstate(false) " @ - " gate.ports[59]:setstate(false) " @ - " gate.ports[60]:setstate(false) " @ - " gate.ports[61]:setstate(false) " @ - " gate.ports[62]:setstate(false) " @ - " gate.ports[63]:setstate(false) " @ - " gate.ports[64]:setstate(false) " @ + " Gate.setportstate(gate, 33, false) " @ + " Gate.setportstate(gate, 34, false) " @ + " Gate.setportstate(gate, 35, false) " @ + " Gate.setportstate(gate, 36, false) " @ + " Gate.setportstate(gate, 37, false) " @ + " Gate.setportstate(gate, 38, false) " @ + " Gate.setportstate(gate, 39, false) " @ + " Gate.setportstate(gate, 40, false) " @ + " Gate.setportstate(gate, 41, false) " @ + " Gate.setportstate(gate, 42, false) " @ + " Gate.setportstate(gate, 43, false) " @ + " Gate.setportstate(gate, 44, false) " @ + " Gate.setportstate(gate, 45, false) " @ + " Gate.setportstate(gate, 46, false) " @ + " Gate.setportstate(gate, 47, false) " @ + " Gate.setportstate(gate, 48, false) " @ + " Gate.setportstate(gate, 49, false) " @ + " Gate.setportstate(gate, 50, false) " @ + " Gate.setportstate(gate, 51, false) " @ + " Gate.setportstate(gate, 52, false) " @ + " Gate.setportstate(gate, 53, false) " @ + " Gate.setportstate(gate, 54, false) " @ + " Gate.setportstate(gate, 55, false) " @ + " Gate.setportstate(gate, 56, false) " @ + " Gate.setportstate(gate, 57, false) " @ + " Gate.setportstate(gate, 58, false) " @ + " Gate.setportstate(gate, 59, false) " @ + " Gate.setportstate(gate, 60, false) " @ + " Gate.setportstate(gate, 61, false) " @ + " Gate.setportstate(gate, 62, false) " @ + " Gate.setportstate(gate, 63, false) " @ + " Gate.setportstate(gate, 64, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer 4 Bit.cs b/bricks/gen/newcode/Buffer 4 Bit.cs index 01500a5..f06688b 100644 --- a/bricks/gen/newcode/Buffer 4 Bit.cs +++ b/bricks/gen/newcode/Buffer 4 Bit.cs @@ -23,16 +23,16 @@ datablock fxDtsBrickData(LogicGate_Buffer4_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[9].state then " @ - " gate.ports[5]:setstate(gate.ports[1].state) " @ - " gate.ports[6]:setstate(gate.ports[2].state) " @ - " gate.ports[7]:setstate(gate.ports[3].state) " @ - " gate.ports[8]:setstate(gate.ports[4].state) " @ + " if Gate.getportstate(gate, 9) then " @ + " Gate.setportstate(gate, 5, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 6, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 7, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 8, Gate.getportstate(gate, 4)) " @ " else " @ - " gate.ports[5]:setstate(false) " @ - " gate.ports[6]:setstate(false) " @ - " gate.ports[7]:setstate(false) " @ - " gate.ports[8]:setstate(false) " @ + " Gate.setportstate(gate, 5, false) " @ + " Gate.setportstate(gate, 6, false) " @ + " Gate.setportstate(gate, 7, false) " @ + " Gate.setportstate(gate, 8, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer 48 Bit.cs b/bricks/gen/newcode/Buffer 48 Bit.cs index 5fdc9eb..77f5742 100644 --- a/bricks/gen/newcode/Buffer 48 Bit.cs +++ b/bricks/gen/newcode/Buffer 48 Bit.cs @@ -23,104 +23,104 @@ datablock fxDtsBrickData(LogicGate_Buffer48_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[97].state then " @ - " gate.ports[49]:setstate(gate.ports[1].state) " @ - " gate.ports[50]:setstate(gate.ports[2].state) " @ - " gate.ports[51]:setstate(gate.ports[3].state) " @ - " gate.ports[52]:setstate(gate.ports[4].state) " @ - " gate.ports[53]:setstate(gate.ports[5].state) " @ - " gate.ports[54]:setstate(gate.ports[6].state) " @ - " gate.ports[55]:setstate(gate.ports[7].state) " @ - " gate.ports[56]:setstate(gate.ports[8].state) " @ - " gate.ports[57]:setstate(gate.ports[9].state) " @ - " gate.ports[58]:setstate(gate.ports[10].state) " @ - " gate.ports[59]:setstate(gate.ports[11].state) " @ - " gate.ports[60]:setstate(gate.ports[12].state) " @ - " gate.ports[61]:setstate(gate.ports[13].state) " @ - " gate.ports[62]:setstate(gate.ports[14].state) " @ - " gate.ports[63]:setstate(gate.ports[15].state) " @ - " gate.ports[64]:setstate(gate.ports[16].state) " @ - " gate.ports[65]:setstate(gate.ports[17].state) " @ - " gate.ports[66]:setstate(gate.ports[18].state) " @ - " gate.ports[67]:setstate(gate.ports[19].state) " @ - " gate.ports[68]:setstate(gate.ports[20].state) " @ - " gate.ports[69]:setstate(gate.ports[21].state) " @ - " gate.ports[70]:setstate(gate.ports[22].state) " @ - " gate.ports[71]:setstate(gate.ports[23].state) " @ - " gate.ports[72]:setstate(gate.ports[24].state) " @ - " gate.ports[73]:setstate(gate.ports[25].state) " @ - " gate.ports[74]:setstate(gate.ports[26].state) " @ - " gate.ports[75]:setstate(gate.ports[27].state) " @ - " gate.ports[76]:setstate(gate.ports[28].state) " @ - " gate.ports[77]:setstate(gate.ports[29].state) " @ - " gate.ports[78]:setstate(gate.ports[30].state) " @ - " gate.ports[79]:setstate(gate.ports[31].state) " @ - " gate.ports[80]:setstate(gate.ports[32].state) " @ - " gate.ports[81]:setstate(gate.ports[33].state) " @ - " gate.ports[82]:setstate(gate.ports[34].state) " @ - " gate.ports[83]:setstate(gate.ports[35].state) " @ - " gate.ports[84]:setstate(gate.ports[36].state) " @ - " gate.ports[85]:setstate(gate.ports[37].state) " @ - " gate.ports[86]:setstate(gate.ports[38].state) " @ - " gate.ports[87]:setstate(gate.ports[39].state) " @ - " gate.ports[88]:setstate(gate.ports[40].state) " @ - " gate.ports[89]:setstate(gate.ports[41].state) " @ - " gate.ports[90]:setstate(gate.ports[42].state) " @ - " gate.ports[91]:setstate(gate.ports[43].state) " @ - " gate.ports[92]:setstate(gate.ports[44].state) " @ - " gate.ports[93]:setstate(gate.ports[45].state) " @ - " gate.ports[94]:setstate(gate.ports[46].state) " @ - " gate.ports[95]:setstate(gate.ports[47].state) " @ - " gate.ports[96]:setstate(gate.ports[48].state) " @ + " if Gate.getportstate(gate, 97) then " @ + " Gate.setportstate(gate, 49, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 50, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 51, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 52, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 53, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 54, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 55, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 56, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 57, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 58, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 59, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 60, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 61, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 62, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 63, Gate.getportstate(gate, 15)) " @ + " Gate.setportstate(gate, 64, Gate.getportstate(gate, 16)) " @ + " Gate.setportstate(gate, 65, Gate.getportstate(gate, 17)) " @ + " Gate.setportstate(gate, 66, Gate.getportstate(gate, 18)) " @ + " Gate.setportstate(gate, 67, Gate.getportstate(gate, 19)) " @ + " Gate.setportstate(gate, 68, Gate.getportstate(gate, 20)) " @ + " Gate.setportstate(gate, 69, Gate.getportstate(gate, 21)) " @ + " Gate.setportstate(gate, 70, Gate.getportstate(gate, 22)) " @ + " Gate.setportstate(gate, 71, Gate.getportstate(gate, 23)) " @ + " Gate.setportstate(gate, 72, Gate.getportstate(gate, 24)) " @ + " Gate.setportstate(gate, 73, Gate.getportstate(gate, 25)) " @ + " Gate.setportstate(gate, 74, Gate.getportstate(gate, 26)) " @ + " Gate.setportstate(gate, 75, Gate.getportstate(gate, 27)) " @ + " Gate.setportstate(gate, 76, Gate.getportstate(gate, 28)) " @ + " Gate.setportstate(gate, 77, Gate.getportstate(gate, 29)) " @ + " Gate.setportstate(gate, 78, Gate.getportstate(gate, 30)) " @ + " Gate.setportstate(gate, 79, Gate.getportstate(gate, 31)) " @ + " Gate.setportstate(gate, 80, Gate.getportstate(gate, 32)) " @ + " Gate.setportstate(gate, 81, Gate.getportstate(gate, 33)) " @ + " Gate.setportstate(gate, 82, Gate.getportstate(gate, 34)) " @ + " Gate.setportstate(gate, 83, Gate.getportstate(gate, 35)) " @ + " Gate.setportstate(gate, 84, Gate.getportstate(gate, 36)) " @ + " Gate.setportstate(gate, 85, Gate.getportstate(gate, 37)) " @ + " Gate.setportstate(gate, 86, Gate.getportstate(gate, 38)) " @ + " Gate.setportstate(gate, 87, Gate.getportstate(gate, 39)) " @ + " Gate.setportstate(gate, 88, Gate.getportstate(gate, 40)) " @ + " Gate.setportstate(gate, 89, Gate.getportstate(gate, 41)) " @ + " Gate.setportstate(gate, 90, Gate.getportstate(gate, 42)) " @ + " Gate.setportstate(gate, 91, Gate.getportstate(gate, 43)) " @ + " Gate.setportstate(gate, 92, Gate.getportstate(gate, 44)) " @ + " Gate.setportstate(gate, 93, Gate.getportstate(gate, 45)) " @ + " Gate.setportstate(gate, 94, Gate.getportstate(gate, 46)) " @ + " Gate.setportstate(gate, 95, Gate.getportstate(gate, 47)) " @ + " Gate.setportstate(gate, 96, Gate.getportstate(gate, 48)) " @ " else " @ - " gate.ports[49]:setstate(false) " @ - " gate.ports[50]:setstate(false) " @ - " gate.ports[51]:setstate(false) " @ - " gate.ports[52]:setstate(false) " @ - " gate.ports[53]:setstate(false) " @ - " gate.ports[54]:setstate(false) " @ - " gate.ports[55]:setstate(false) " @ - " gate.ports[56]:setstate(false) " @ - " gate.ports[57]:setstate(false) " @ - " gate.ports[58]:setstate(false) " @ - " gate.ports[59]:setstate(false) " @ - " gate.ports[60]:setstate(false) " @ - " gate.ports[61]:setstate(false) " @ - " gate.ports[62]:setstate(false) " @ - " gate.ports[63]:setstate(false) " @ - " gate.ports[64]:setstate(false) " @ - " gate.ports[65]:setstate(false) " @ - " gate.ports[66]:setstate(false) " @ - " gate.ports[67]:setstate(false) " @ - " gate.ports[68]:setstate(false) " @ - " gate.ports[69]:setstate(false) " @ - " gate.ports[70]:setstate(false) " @ - " gate.ports[71]:setstate(false) " @ - " gate.ports[72]:setstate(false) " @ - " gate.ports[73]:setstate(false) " @ - " gate.ports[74]:setstate(false) " @ - " gate.ports[75]:setstate(false) " @ - " gate.ports[76]:setstate(false) " @ - " gate.ports[77]:setstate(false) " @ - " gate.ports[78]:setstate(false) " @ - " gate.ports[79]:setstate(false) " @ - " gate.ports[80]:setstate(false) " @ - " gate.ports[81]:setstate(false) " @ - " gate.ports[82]:setstate(false) " @ - " gate.ports[83]:setstate(false) " @ - " gate.ports[84]:setstate(false) " @ - " gate.ports[85]:setstate(false) " @ - " gate.ports[86]:setstate(false) " @ - " gate.ports[87]:setstate(false) " @ - " gate.ports[88]:setstate(false) " @ - " gate.ports[89]:setstate(false) " @ - " gate.ports[90]:setstate(false) " @ - " gate.ports[91]:setstate(false) " @ - " gate.ports[92]:setstate(false) " @ - " gate.ports[93]:setstate(false) " @ - " gate.ports[94]:setstate(false) " @ - " gate.ports[95]:setstate(false) " @ - " gate.ports[96]:setstate(false) " @ + " Gate.setportstate(gate, 49, false) " @ + " Gate.setportstate(gate, 50, false) " @ + " Gate.setportstate(gate, 51, false) " @ + " Gate.setportstate(gate, 52, false) " @ + " Gate.setportstate(gate, 53, false) " @ + " Gate.setportstate(gate, 54, false) " @ + " Gate.setportstate(gate, 55, false) " @ + " Gate.setportstate(gate, 56, false) " @ + " Gate.setportstate(gate, 57, false) " @ + " Gate.setportstate(gate, 58, false) " @ + " Gate.setportstate(gate, 59, false) " @ + " Gate.setportstate(gate, 60, false) " @ + " Gate.setportstate(gate, 61, false) " @ + " Gate.setportstate(gate, 62, false) " @ + " Gate.setportstate(gate, 63, false) " @ + " Gate.setportstate(gate, 64, false) " @ + " Gate.setportstate(gate, 65, false) " @ + " Gate.setportstate(gate, 66, false) " @ + " Gate.setportstate(gate, 67, false) " @ + " Gate.setportstate(gate, 68, false) " @ + " Gate.setportstate(gate, 69, false) " @ + " Gate.setportstate(gate, 70, false) " @ + " Gate.setportstate(gate, 71, false) " @ + " Gate.setportstate(gate, 72, false) " @ + " Gate.setportstate(gate, 73, false) " @ + " Gate.setportstate(gate, 74, false) " @ + " Gate.setportstate(gate, 75, false) " @ + " Gate.setportstate(gate, 76, false) " @ + " Gate.setportstate(gate, 77, false) " @ + " Gate.setportstate(gate, 78, false) " @ + " Gate.setportstate(gate, 79, false) " @ + " Gate.setportstate(gate, 80, false) " @ + " Gate.setportstate(gate, 81, false) " @ + " Gate.setportstate(gate, 82, false) " @ + " Gate.setportstate(gate, 83, false) " @ + " Gate.setportstate(gate, 84, false) " @ + " Gate.setportstate(gate, 85, false) " @ + " Gate.setportstate(gate, 86, false) " @ + " Gate.setportstate(gate, 87, false) " @ + " Gate.setportstate(gate, 88, false) " @ + " Gate.setportstate(gate, 89, false) " @ + " Gate.setportstate(gate, 90, false) " @ + " Gate.setportstate(gate, 91, false) " @ + " Gate.setportstate(gate, 92, false) " @ + " Gate.setportstate(gate, 93, false) " @ + " Gate.setportstate(gate, 94, false) " @ + " Gate.setportstate(gate, 95, false) " @ + " Gate.setportstate(gate, 96, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer 5 Bit.cs b/bricks/gen/newcode/Buffer 5 Bit.cs index 34b0de3..6dc4281 100644 --- a/bricks/gen/newcode/Buffer 5 Bit.cs +++ b/bricks/gen/newcode/Buffer 5 Bit.cs @@ -23,18 +23,18 @@ datablock fxDtsBrickData(LogicGate_Buffer5_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[11].state then " @ - " gate.ports[6]:setstate(gate.ports[1].state) " @ - " gate.ports[7]:setstate(gate.ports[2].state) " @ - " gate.ports[8]:setstate(gate.ports[3].state) " @ - " gate.ports[9]:setstate(gate.ports[4].state) " @ - " gate.ports[10]:setstate(gate.ports[5].state) " @ + " if Gate.getportstate(gate, 11) then " @ + " Gate.setportstate(gate, 6, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 7, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 8, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 9, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 10, Gate.getportstate(gate, 5)) " @ " else " @ - " gate.ports[6]:setstate(false) " @ - " gate.ports[7]:setstate(false) " @ - " gate.ports[8]:setstate(false) " @ - " gate.ports[9]:setstate(false) " @ - " gate.ports[10]:setstate(false) " @ + " Gate.setportstate(gate, 6, false) " @ + " Gate.setportstate(gate, 7, false) " @ + " Gate.setportstate(gate, 8, false) " @ + " Gate.setportstate(gate, 9, false) " @ + " Gate.setportstate(gate, 10, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer 6 Bit.cs b/bricks/gen/newcode/Buffer 6 Bit.cs index 041cd55..3667d3c 100644 --- a/bricks/gen/newcode/Buffer 6 Bit.cs +++ b/bricks/gen/newcode/Buffer 6 Bit.cs @@ -23,20 +23,20 @@ datablock fxDtsBrickData(LogicGate_Buffer6_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[13].state then " @ - " gate.ports[7]:setstate(gate.ports[1].state) " @ - " gate.ports[8]:setstate(gate.ports[2].state) " @ - " gate.ports[9]:setstate(gate.ports[3].state) " @ - " gate.ports[10]:setstate(gate.ports[4].state) " @ - " gate.ports[11]:setstate(gate.ports[5].state) " @ - " gate.ports[12]:setstate(gate.ports[6].state) " @ + " if Gate.getportstate(gate, 13) then " @ + " Gate.setportstate(gate, 7, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 8, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 9, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 10, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 11, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 6)) " @ " else " @ - " gate.ports[7]:setstate(false) " @ - " gate.ports[8]:setstate(false) " @ - " gate.ports[9]:setstate(false) " @ - " gate.ports[10]:setstate(false) " @ - " gate.ports[11]:setstate(false) " @ - " gate.ports[12]:setstate(false) " @ + " Gate.setportstate(gate, 7, false) " @ + " Gate.setportstate(gate, 8, false) " @ + " Gate.setportstate(gate, 9, false) " @ + " Gate.setportstate(gate, 10, false) " @ + " Gate.setportstate(gate, 11, false) " @ + " Gate.setportstate(gate, 12, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer 64 Bit.cs b/bricks/gen/newcode/Buffer 64 Bit.cs index 4fd1d47..7d83157 100644 --- a/bricks/gen/newcode/Buffer 64 Bit.cs +++ b/bricks/gen/newcode/Buffer 64 Bit.cs @@ -23,136 +23,136 @@ datablock fxDtsBrickData(LogicGate_Buffer64_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[129].state then " @ - " gate.ports[65]:setstate(gate.ports[1].state) " @ - " gate.ports[66]:setstate(gate.ports[2].state) " @ - " gate.ports[67]:setstate(gate.ports[3].state) " @ - " gate.ports[68]:setstate(gate.ports[4].state) " @ - " gate.ports[69]:setstate(gate.ports[5].state) " @ - " gate.ports[70]:setstate(gate.ports[6].state) " @ - " gate.ports[71]:setstate(gate.ports[7].state) " @ - " gate.ports[72]:setstate(gate.ports[8].state) " @ - " gate.ports[73]:setstate(gate.ports[9].state) " @ - " gate.ports[74]:setstate(gate.ports[10].state) " @ - " gate.ports[75]:setstate(gate.ports[11].state) " @ - " gate.ports[76]:setstate(gate.ports[12].state) " @ - " gate.ports[77]:setstate(gate.ports[13].state) " @ - " gate.ports[78]:setstate(gate.ports[14].state) " @ - " gate.ports[79]:setstate(gate.ports[15].state) " @ - " gate.ports[80]:setstate(gate.ports[16].state) " @ - " gate.ports[81]:setstate(gate.ports[17].state) " @ - " gate.ports[82]:setstate(gate.ports[18].state) " @ - " gate.ports[83]:setstate(gate.ports[19].state) " @ - " gate.ports[84]:setstate(gate.ports[20].state) " @ - " gate.ports[85]:setstate(gate.ports[21].state) " @ - " gate.ports[86]:setstate(gate.ports[22].state) " @ - " gate.ports[87]:setstate(gate.ports[23].state) " @ - " gate.ports[88]:setstate(gate.ports[24].state) " @ - " gate.ports[89]:setstate(gate.ports[25].state) " @ - " gate.ports[90]:setstate(gate.ports[26].state) " @ - " gate.ports[91]:setstate(gate.ports[27].state) " @ - " gate.ports[92]:setstate(gate.ports[28].state) " @ - " gate.ports[93]:setstate(gate.ports[29].state) " @ - " gate.ports[94]:setstate(gate.ports[30].state) " @ - " gate.ports[95]:setstate(gate.ports[31].state) " @ - " gate.ports[96]:setstate(gate.ports[32].state) " @ - " gate.ports[97]:setstate(gate.ports[33].state) " @ - " gate.ports[98]:setstate(gate.ports[34].state) " @ - " gate.ports[99]:setstate(gate.ports[35].state) " @ - " gate.ports[100]:setstate(gate.ports[36].state) " @ - " gate.ports[101]:setstate(gate.ports[37].state) " @ - " gate.ports[102]:setstate(gate.ports[38].state) " @ - " gate.ports[103]:setstate(gate.ports[39].state) " @ - " gate.ports[104]:setstate(gate.ports[40].state) " @ - " gate.ports[105]:setstate(gate.ports[41].state) " @ - " gate.ports[106]:setstate(gate.ports[42].state) " @ - " gate.ports[107]:setstate(gate.ports[43].state) " @ - " gate.ports[108]:setstate(gate.ports[44].state) " @ - " gate.ports[109]:setstate(gate.ports[45].state) " @ - " gate.ports[110]:setstate(gate.ports[46].state) " @ - " gate.ports[111]:setstate(gate.ports[47].state) " @ - " gate.ports[112]:setstate(gate.ports[48].state) " @ - " gate.ports[113]:setstate(gate.ports[49].state) " @ - " gate.ports[114]:setstate(gate.ports[50].state) " @ - " gate.ports[115]:setstate(gate.ports[51].state) " @ - " gate.ports[116]:setstate(gate.ports[52].state) " @ - " gate.ports[117]:setstate(gate.ports[53].state) " @ - " gate.ports[118]:setstate(gate.ports[54].state) " @ - " gate.ports[119]:setstate(gate.ports[55].state) " @ - " gate.ports[120]:setstate(gate.ports[56].state) " @ - " gate.ports[121]:setstate(gate.ports[57].state) " @ - " gate.ports[122]:setstate(gate.ports[58].state) " @ - " gate.ports[123]:setstate(gate.ports[59].state) " @ - " gate.ports[124]:setstate(gate.ports[60].state) " @ - " gate.ports[125]:setstate(gate.ports[61].state) " @ - " gate.ports[126]:setstate(gate.ports[62].state) " @ - " gate.ports[127]:setstate(gate.ports[63].state) " @ - " gate.ports[128]:setstate(gate.ports[64].state) " @ + " if Gate.getportstate(gate, 129) then " @ + " Gate.setportstate(gate, 65, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 66, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 67, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 68, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 69, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 70, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 71, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 72, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 73, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 74, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 75, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 76, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 77, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 78, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 79, Gate.getportstate(gate, 15)) " @ + " Gate.setportstate(gate, 80, Gate.getportstate(gate, 16)) " @ + " Gate.setportstate(gate, 81, Gate.getportstate(gate, 17)) " @ + " Gate.setportstate(gate, 82, Gate.getportstate(gate, 18)) " @ + " Gate.setportstate(gate, 83, Gate.getportstate(gate, 19)) " @ + " Gate.setportstate(gate, 84, Gate.getportstate(gate, 20)) " @ + " Gate.setportstate(gate, 85, Gate.getportstate(gate, 21)) " @ + " Gate.setportstate(gate, 86, Gate.getportstate(gate, 22)) " @ + " Gate.setportstate(gate, 87, Gate.getportstate(gate, 23)) " @ + " Gate.setportstate(gate, 88, Gate.getportstate(gate, 24)) " @ + " Gate.setportstate(gate, 89, Gate.getportstate(gate, 25)) " @ + " Gate.setportstate(gate, 90, Gate.getportstate(gate, 26)) " @ + " Gate.setportstate(gate, 91, Gate.getportstate(gate, 27)) " @ + " Gate.setportstate(gate, 92, Gate.getportstate(gate, 28)) " @ + " Gate.setportstate(gate, 93, Gate.getportstate(gate, 29)) " @ + " Gate.setportstate(gate, 94, Gate.getportstate(gate, 30)) " @ + " Gate.setportstate(gate, 95, Gate.getportstate(gate, 31)) " @ + " Gate.setportstate(gate, 96, Gate.getportstate(gate, 32)) " @ + " Gate.setportstate(gate, 97, Gate.getportstate(gate, 33)) " @ + " Gate.setportstate(gate, 98, Gate.getportstate(gate, 34)) " @ + " Gate.setportstate(gate, 99, Gate.getportstate(gate, 35)) " @ + " Gate.setportstate(gate, 100, Gate.getportstate(gate, 36)) " @ + " Gate.setportstate(gate, 101, Gate.getportstate(gate, 37)) " @ + " Gate.setportstate(gate, 102, Gate.getportstate(gate, 38)) " @ + " Gate.setportstate(gate, 103, Gate.getportstate(gate, 39)) " @ + " Gate.setportstate(gate, 104, Gate.getportstate(gate, 40)) " @ + " Gate.setportstate(gate, 105, Gate.getportstate(gate, 41)) " @ + " Gate.setportstate(gate, 106, Gate.getportstate(gate, 42)) " @ + " Gate.setportstate(gate, 107, Gate.getportstate(gate, 43)) " @ + " Gate.setportstate(gate, 108, Gate.getportstate(gate, 44)) " @ + " Gate.setportstate(gate, 109, Gate.getportstate(gate, 45)) " @ + " Gate.setportstate(gate, 110, Gate.getportstate(gate, 46)) " @ + " Gate.setportstate(gate, 111, Gate.getportstate(gate, 47)) " @ + " Gate.setportstate(gate, 112, Gate.getportstate(gate, 48)) " @ + " Gate.setportstate(gate, 113, Gate.getportstate(gate, 49)) " @ + " Gate.setportstate(gate, 114, Gate.getportstate(gate, 50)) " @ + " Gate.setportstate(gate, 115, Gate.getportstate(gate, 51)) " @ + " Gate.setportstate(gate, 116, Gate.getportstate(gate, 52)) " @ + " Gate.setportstate(gate, 117, Gate.getportstate(gate, 53)) " @ + " Gate.setportstate(gate, 118, Gate.getportstate(gate, 54)) " @ + " Gate.setportstate(gate, 119, Gate.getportstate(gate, 55)) " @ + " Gate.setportstate(gate, 120, Gate.getportstate(gate, 56)) " @ + " Gate.setportstate(gate, 121, Gate.getportstate(gate, 57)) " @ + " Gate.setportstate(gate, 122, Gate.getportstate(gate, 58)) " @ + " Gate.setportstate(gate, 123, Gate.getportstate(gate, 59)) " @ + " Gate.setportstate(gate, 124, Gate.getportstate(gate, 60)) " @ + " Gate.setportstate(gate, 125, Gate.getportstate(gate, 61)) " @ + " Gate.setportstate(gate, 126, Gate.getportstate(gate, 62)) " @ + " Gate.setportstate(gate, 127, Gate.getportstate(gate, 63)) " @ + " Gate.setportstate(gate, 128, Gate.getportstate(gate, 64)) " @ " else " @ - " gate.ports[65]:setstate(false) " @ - " gate.ports[66]:setstate(false) " @ - " gate.ports[67]:setstate(false) " @ - " gate.ports[68]:setstate(false) " @ - " gate.ports[69]:setstate(false) " @ - " gate.ports[70]:setstate(false) " @ - " gate.ports[71]:setstate(false) " @ - " gate.ports[72]:setstate(false) " @ - " gate.ports[73]:setstate(false) " @ - " gate.ports[74]:setstate(false) " @ - " gate.ports[75]:setstate(false) " @ - " gate.ports[76]:setstate(false) " @ - " gate.ports[77]:setstate(false) " @ - " gate.ports[78]:setstate(false) " @ - " gate.ports[79]:setstate(false) " @ - " gate.ports[80]:setstate(false) " @ - " gate.ports[81]:setstate(false) " @ - " gate.ports[82]:setstate(false) " @ - " gate.ports[83]:setstate(false) " @ - " gate.ports[84]:setstate(false) " @ - " gate.ports[85]:setstate(false) " @ - " gate.ports[86]:setstate(false) " @ - " gate.ports[87]:setstate(false) " @ - " gate.ports[88]:setstate(false) " @ - " gate.ports[89]:setstate(false) " @ - " gate.ports[90]:setstate(false) " @ - " gate.ports[91]:setstate(false) " @ - " gate.ports[92]:setstate(false) " @ - " gate.ports[93]:setstate(false) " @ - " gate.ports[94]:setstate(false) " @ - " gate.ports[95]:setstate(false) " @ - " gate.ports[96]:setstate(false) " @ - " gate.ports[97]:setstate(false) " @ - " gate.ports[98]:setstate(false) " @ - " gate.ports[99]:setstate(false) " @ - " gate.ports[100]:setstate(false) " @ - " gate.ports[101]:setstate(false) " @ - " gate.ports[102]:setstate(false) " @ - " gate.ports[103]:setstate(false) " @ - " gate.ports[104]:setstate(false) " @ - " gate.ports[105]:setstate(false) " @ - " gate.ports[106]:setstate(false) " @ - " gate.ports[107]:setstate(false) " @ - " gate.ports[108]:setstate(false) " @ - " gate.ports[109]:setstate(false) " @ - " gate.ports[110]:setstate(false) " @ - " gate.ports[111]:setstate(false) " @ - " gate.ports[112]:setstate(false) " @ - " gate.ports[113]:setstate(false) " @ - " gate.ports[114]:setstate(false) " @ - " gate.ports[115]:setstate(false) " @ - " gate.ports[116]:setstate(false) " @ - " gate.ports[117]:setstate(false) " @ - " gate.ports[118]:setstate(false) " @ - " gate.ports[119]:setstate(false) " @ - " gate.ports[120]:setstate(false) " @ - " gate.ports[121]:setstate(false) " @ - " gate.ports[122]:setstate(false) " @ - " gate.ports[123]:setstate(false) " @ - " gate.ports[124]:setstate(false) " @ - " gate.ports[125]:setstate(false) " @ - " gate.ports[126]:setstate(false) " @ - " gate.ports[127]:setstate(false) " @ - " gate.ports[128]:setstate(false) " @ + " Gate.setportstate(gate, 65, false) " @ + " Gate.setportstate(gate, 66, false) " @ + " Gate.setportstate(gate, 67, false) " @ + " Gate.setportstate(gate, 68, false) " @ + " Gate.setportstate(gate, 69, false) " @ + " Gate.setportstate(gate, 70, false) " @ + " Gate.setportstate(gate, 71, false) " @ + " Gate.setportstate(gate, 72, false) " @ + " Gate.setportstate(gate, 73, false) " @ + " Gate.setportstate(gate, 74, false) " @ + " Gate.setportstate(gate, 75, false) " @ + " Gate.setportstate(gate, 76, false) " @ + " Gate.setportstate(gate, 77, false) " @ + " Gate.setportstate(gate, 78, false) " @ + " Gate.setportstate(gate, 79, false) " @ + " Gate.setportstate(gate, 80, false) " @ + " Gate.setportstate(gate, 81, false) " @ + " Gate.setportstate(gate, 82, false) " @ + " Gate.setportstate(gate, 83, false) " @ + " Gate.setportstate(gate, 84, false) " @ + " Gate.setportstate(gate, 85, false) " @ + " Gate.setportstate(gate, 86, false) " @ + " Gate.setportstate(gate, 87, false) " @ + " Gate.setportstate(gate, 88, false) " @ + " Gate.setportstate(gate, 89, false) " @ + " Gate.setportstate(gate, 90, false) " @ + " Gate.setportstate(gate, 91, false) " @ + " Gate.setportstate(gate, 92, false) " @ + " Gate.setportstate(gate, 93, false) " @ + " Gate.setportstate(gate, 94, false) " @ + " Gate.setportstate(gate, 95, false) " @ + " Gate.setportstate(gate, 96, false) " @ + " Gate.setportstate(gate, 97, false) " @ + " Gate.setportstate(gate, 98, false) " @ + " Gate.setportstate(gate, 99, false) " @ + " Gate.setportstate(gate, 100, false) " @ + " Gate.setportstate(gate, 101, false) " @ + " Gate.setportstate(gate, 102, false) " @ + " Gate.setportstate(gate, 103, false) " @ + " Gate.setportstate(gate, 104, false) " @ + " Gate.setportstate(gate, 105, false) " @ + " Gate.setportstate(gate, 106, false) " @ + " Gate.setportstate(gate, 107, false) " @ + " Gate.setportstate(gate, 108, false) " @ + " Gate.setportstate(gate, 109, false) " @ + " Gate.setportstate(gate, 110, false) " @ + " Gate.setportstate(gate, 111, false) " @ + " Gate.setportstate(gate, 112, false) " @ + " Gate.setportstate(gate, 113, false) " @ + " Gate.setportstate(gate, 114, false) " @ + " Gate.setportstate(gate, 115, false) " @ + " Gate.setportstate(gate, 116, false) " @ + " Gate.setportstate(gate, 117, false) " @ + " Gate.setportstate(gate, 118, false) " @ + " Gate.setportstate(gate, 119, false) " @ + " Gate.setportstate(gate, 120, false) " @ + " Gate.setportstate(gate, 121, false) " @ + " Gate.setportstate(gate, 122, false) " @ + " Gate.setportstate(gate, 123, false) " @ + " Gate.setportstate(gate, 124, false) " @ + " Gate.setportstate(gate, 125, false) " @ + " Gate.setportstate(gate, 126, false) " @ + " Gate.setportstate(gate, 127, false) " @ + " Gate.setportstate(gate, 128, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer 7 Bit.cs b/bricks/gen/newcode/Buffer 7 Bit.cs index 2884ac9..b3758fe 100644 --- a/bricks/gen/newcode/Buffer 7 Bit.cs +++ b/bricks/gen/newcode/Buffer 7 Bit.cs @@ -23,22 +23,22 @@ datablock fxDtsBrickData(LogicGate_Buffer7_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[15].state then " @ - " gate.ports[8]:setstate(gate.ports[1].state) " @ - " gate.ports[9]:setstate(gate.ports[2].state) " @ - " gate.ports[10]:setstate(gate.ports[3].state) " @ - " gate.ports[11]:setstate(gate.ports[4].state) " @ - " gate.ports[12]:setstate(gate.ports[5].state) " @ - " gate.ports[13]:setstate(gate.ports[6].state) " @ - " gate.ports[14]:setstate(gate.ports[7].state) " @ + " if Gate.getportstate(gate, 15) then " @ + " Gate.setportstate(gate, 8, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 9, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 10, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 11, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 7)) " @ " else " @ - " gate.ports[8]:setstate(false) " @ - " gate.ports[9]:setstate(false) " @ - " gate.ports[10]:setstate(false) " @ - " gate.ports[11]:setstate(false) " @ - " gate.ports[12]:setstate(false) " @ - " gate.ports[13]:setstate(false) " @ - " gate.ports[14]:setstate(false) " @ + " Gate.setportstate(gate, 8, false) " @ + " Gate.setportstate(gate, 9, false) " @ + " Gate.setportstate(gate, 10, false) " @ + " Gate.setportstate(gate, 11, false) " @ + " Gate.setportstate(gate, 12, false) " @ + " Gate.setportstate(gate, 13, false) " @ + " Gate.setportstate(gate, 14, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer 8 Bit.cs b/bricks/gen/newcode/Buffer 8 Bit.cs index 94e1775..668a851 100644 --- a/bricks/gen/newcode/Buffer 8 Bit.cs +++ b/bricks/gen/newcode/Buffer 8 Bit.cs @@ -23,24 +23,24 @@ datablock fxDtsBrickData(LogicGate_Buffer8_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[17].state then " @ - " gate.ports[9]:setstate(gate.ports[1].state) " @ - " gate.ports[10]:setstate(gate.ports[2].state) " @ - " gate.ports[11]:setstate(gate.ports[3].state) " @ - " gate.ports[12]:setstate(gate.ports[4].state) " @ - " gate.ports[13]:setstate(gate.ports[5].state) " @ - " gate.ports[14]:setstate(gate.ports[6].state) " @ - " gate.ports[15]:setstate(gate.ports[7].state) " @ - " gate.ports[16]:setstate(gate.ports[8].state) " @ + " if Gate.getportstate(gate, 17) then " @ + " Gate.setportstate(gate, 9, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 10, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 11, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 8)) " @ " else " @ - " gate.ports[9]:setstate(false) " @ - " gate.ports[10]:setstate(false) " @ - " gate.ports[11]:setstate(false) " @ - " gate.ports[12]:setstate(false) " @ - " gate.ports[13]:setstate(false) " @ - " gate.ports[14]:setstate(false) " @ - " gate.ports[15]:setstate(false) " @ - " gate.ports[16]:setstate(false) " @ + " Gate.setportstate(gate, 9, false) " @ + " Gate.setportstate(gate, 10, false) " @ + " Gate.setportstate(gate, 11, false) " @ + " Gate.setportstate(gate, 12, false) " @ + " Gate.setportstate(gate, 13, false) " @ + " Gate.setportstate(gate, 14, false) " @ + " Gate.setportstate(gate, 15, false) " @ + " Gate.setportstate(gate, 16, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer 9 Bit.cs b/bricks/gen/newcode/Buffer 9 Bit.cs index ef02e3d..2e3d814 100644 --- a/bricks/gen/newcode/Buffer 9 Bit.cs +++ b/bricks/gen/newcode/Buffer 9 Bit.cs @@ -23,26 +23,26 @@ datablock fxDtsBrickData(LogicGate_Buffer9_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[19].state then " @ - " gate.ports[10]:setstate(gate.ports[1].state) " @ - " gate.ports[11]:setstate(gate.ports[2].state) " @ - " gate.ports[12]:setstate(gate.ports[3].state) " @ - " gate.ports[13]:setstate(gate.ports[4].state) " @ - " gate.ports[14]:setstate(gate.ports[5].state) " @ - " gate.ports[15]:setstate(gate.ports[6].state) " @ - " gate.ports[16]:setstate(gate.ports[7].state) " @ - " gate.ports[17]:setstate(gate.ports[8].state) " @ - " gate.ports[18]:setstate(gate.ports[9].state) " @ + " if Gate.getportstate(gate, 19) then " @ + " Gate.setportstate(gate, 10, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 11, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 9)) " @ " else " @ - " gate.ports[10]:setstate(false) " @ - " gate.ports[11]:setstate(false) " @ - " gate.ports[12]:setstate(false) " @ - " gate.ports[13]:setstate(false) " @ - " gate.ports[14]:setstate(false) " @ - " gate.ports[15]:setstate(false) " @ - " gate.ports[16]:setstate(false) " @ - " gate.ports[17]:setstate(false) " @ - " gate.ports[18]:setstate(false) " @ + " Gate.setportstate(gate, 10, false) " @ + " Gate.setportstate(gate, 11, false) " @ + " Gate.setportstate(gate, 12, false) " @ + " Gate.setportstate(gate, 13, false) " @ + " Gate.setportstate(gate, 14, false) " @ + " Gate.setportstate(gate, 15, false) " @ + " Gate.setportstate(gate, 16, false) " @ + " Gate.setportstate(gate, 17, false) " @ + " Gate.setportstate(gate, 18, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer Active Low 1 Bit.cs b/bricks/gen/newcode/Buffer Active Low 1 Bit.cs index a3f31c8..9b7339a 100644 --- a/bricks/gen/newcode/Buffer Active Low 1 Bit.cs +++ b/bricks/gen/newcode/Buffer Active Low 1 Bit.cs @@ -23,10 +23,10 @@ datablock fxDtsBrickData(LogicGate_BufferAl1_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[3].state then " @ - " gate.ports[2]:setstate(gate.ports[1].state) " @ + " if not Gate.getportstate(gate, 3) then " @ + " Gate.setportstate(gate, 2, Gate.getportstate(gate, 1)) " @ " else " @ - " gate.ports[2]:setstate(false) " @ + " Gate.setportstate(gate, 2, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer Active Low 10 Bit.cs b/bricks/gen/newcode/Buffer Active Low 10 Bit.cs index 4c6cc3f..9361a2c 100644 --- a/bricks/gen/newcode/Buffer Active Low 10 Bit.cs +++ b/bricks/gen/newcode/Buffer Active Low 10 Bit.cs @@ -23,28 +23,28 @@ datablock fxDtsBrickData(LogicGate_BufferAl10_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[21].state then " @ - " gate.ports[11]:setstate(gate.ports[1].state) " @ - " gate.ports[12]:setstate(gate.ports[2].state) " @ - " gate.ports[13]:setstate(gate.ports[3].state) " @ - " gate.ports[14]:setstate(gate.ports[4].state) " @ - " gate.ports[15]:setstate(gate.ports[5].state) " @ - " gate.ports[16]:setstate(gate.ports[6].state) " @ - " gate.ports[17]:setstate(gate.ports[7].state) " @ - " gate.ports[18]:setstate(gate.ports[8].state) " @ - " gate.ports[19]:setstate(gate.ports[9].state) " @ - " gate.ports[20]:setstate(gate.ports[10].state) " @ + " if not Gate.getportstate(gate, 21) then " @ + " Gate.setportstate(gate, 11, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 10)) " @ " else " @ - " gate.ports[11]:setstate(false) " @ - " gate.ports[12]:setstate(false) " @ - " gate.ports[13]:setstate(false) " @ - " gate.ports[14]:setstate(false) " @ - " gate.ports[15]:setstate(false) " @ - " gate.ports[16]:setstate(false) " @ - " gate.ports[17]:setstate(false) " @ - " gate.ports[18]:setstate(false) " @ - " gate.ports[19]:setstate(false) " @ - " gate.ports[20]:setstate(false) " @ + " Gate.setportstate(gate, 11, false) " @ + " Gate.setportstate(gate, 12, false) " @ + " Gate.setportstate(gate, 13, false) " @ + " Gate.setportstate(gate, 14, false) " @ + " Gate.setportstate(gate, 15, false) " @ + " Gate.setportstate(gate, 16, false) " @ + " Gate.setportstate(gate, 17, false) " @ + " Gate.setportstate(gate, 18, false) " @ + " Gate.setportstate(gate, 19, false) " @ + " Gate.setportstate(gate, 20, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer Active Low 11 Bit.cs b/bricks/gen/newcode/Buffer Active Low 11 Bit.cs index 306269a..014350a 100644 --- a/bricks/gen/newcode/Buffer Active Low 11 Bit.cs +++ b/bricks/gen/newcode/Buffer Active Low 11 Bit.cs @@ -23,30 +23,30 @@ datablock fxDtsBrickData(LogicGate_BufferAl11_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[23].state then " @ - " gate.ports[12]:setstate(gate.ports[1].state) " @ - " gate.ports[13]:setstate(gate.ports[2].state) " @ - " gate.ports[14]:setstate(gate.ports[3].state) " @ - " gate.ports[15]:setstate(gate.ports[4].state) " @ - " gate.ports[16]:setstate(gate.ports[5].state) " @ - " gate.ports[17]:setstate(gate.ports[6].state) " @ - " gate.ports[18]:setstate(gate.ports[7].state) " @ - " gate.ports[19]:setstate(gate.ports[8].state) " @ - " gate.ports[20]:setstate(gate.ports[9].state) " @ - " gate.ports[21]:setstate(gate.ports[10].state) " @ - " gate.ports[22]:setstate(gate.ports[11].state) " @ + " if not Gate.getportstate(gate, 23) then " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 11)) " @ " else " @ - " gate.ports[12]:setstate(false) " @ - " gate.ports[13]:setstate(false) " @ - " gate.ports[14]:setstate(false) " @ - " gate.ports[15]:setstate(false) " @ - " gate.ports[16]:setstate(false) " @ - " gate.ports[17]:setstate(false) " @ - " gate.ports[18]:setstate(false) " @ - " gate.ports[19]:setstate(false) " @ - " gate.ports[20]:setstate(false) " @ - " gate.ports[21]:setstate(false) " @ - " gate.ports[22]:setstate(false) " @ + " Gate.setportstate(gate, 12, false) " @ + " Gate.setportstate(gate, 13, false) " @ + " Gate.setportstate(gate, 14, false) " @ + " Gate.setportstate(gate, 15, false) " @ + " Gate.setportstate(gate, 16, false) " @ + " Gate.setportstate(gate, 17, false) " @ + " Gate.setportstate(gate, 18, false) " @ + " Gate.setportstate(gate, 19, false) " @ + " Gate.setportstate(gate, 20, false) " @ + " Gate.setportstate(gate, 21, false) " @ + " Gate.setportstate(gate, 22, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer Active Low 12 Bit.cs b/bricks/gen/newcode/Buffer Active Low 12 Bit.cs index d509f45..c39ef6b 100644 --- a/bricks/gen/newcode/Buffer Active Low 12 Bit.cs +++ b/bricks/gen/newcode/Buffer Active Low 12 Bit.cs @@ -23,32 +23,32 @@ datablock fxDtsBrickData(LogicGate_BufferAl12_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[25].state then " @ - " gate.ports[13]:setstate(gate.ports[1].state) " @ - " gate.ports[14]:setstate(gate.ports[2].state) " @ - " gate.ports[15]:setstate(gate.ports[3].state) " @ - " gate.ports[16]:setstate(gate.ports[4].state) " @ - " gate.ports[17]:setstate(gate.ports[5].state) " @ - " gate.ports[18]:setstate(gate.ports[6].state) " @ - " gate.ports[19]:setstate(gate.ports[7].state) " @ - " gate.ports[20]:setstate(gate.ports[8].state) " @ - " gate.ports[21]:setstate(gate.ports[9].state) " @ - " gate.ports[22]:setstate(gate.ports[10].state) " @ - " gate.ports[23]:setstate(gate.ports[11].state) " @ - " gate.ports[24]:setstate(gate.ports[12].state) " @ + " if not Gate.getportstate(gate, 25) then " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 23, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 24, Gate.getportstate(gate, 12)) " @ " else " @ - " gate.ports[13]:setstate(false) " @ - " gate.ports[14]:setstate(false) " @ - " gate.ports[15]:setstate(false) " @ - " gate.ports[16]:setstate(false) " @ - " gate.ports[17]:setstate(false) " @ - " gate.ports[18]:setstate(false) " @ - " gate.ports[19]:setstate(false) " @ - " gate.ports[20]:setstate(false) " @ - " gate.ports[21]:setstate(false) " @ - " gate.ports[22]:setstate(false) " @ - " gate.ports[23]:setstate(false) " @ - " gate.ports[24]:setstate(false) " @ + " Gate.setportstate(gate, 13, false) " @ + " Gate.setportstate(gate, 14, false) " @ + " Gate.setportstate(gate, 15, false) " @ + " Gate.setportstate(gate, 16, false) " @ + " Gate.setportstate(gate, 17, false) " @ + " Gate.setportstate(gate, 18, false) " @ + " Gate.setportstate(gate, 19, false) " @ + " Gate.setportstate(gate, 20, false) " @ + " Gate.setportstate(gate, 21, false) " @ + " Gate.setportstate(gate, 22, false) " @ + " Gate.setportstate(gate, 23, false) " @ + " Gate.setportstate(gate, 24, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer Active Low 13 Bit.cs b/bricks/gen/newcode/Buffer Active Low 13 Bit.cs index c15cd4f..3e3d7a4 100644 --- a/bricks/gen/newcode/Buffer Active Low 13 Bit.cs +++ b/bricks/gen/newcode/Buffer Active Low 13 Bit.cs @@ -23,34 +23,34 @@ datablock fxDtsBrickData(LogicGate_BufferAl13_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[27].state then " @ - " gate.ports[14]:setstate(gate.ports[1].state) " @ - " gate.ports[15]:setstate(gate.ports[2].state) " @ - " gate.ports[16]:setstate(gate.ports[3].state) " @ - " gate.ports[17]:setstate(gate.ports[4].state) " @ - " gate.ports[18]:setstate(gate.ports[5].state) " @ - " gate.ports[19]:setstate(gate.ports[6].state) " @ - " gate.ports[20]:setstate(gate.ports[7].state) " @ - " gate.ports[21]:setstate(gate.ports[8].state) " @ - " gate.ports[22]:setstate(gate.ports[9].state) " @ - " gate.ports[23]:setstate(gate.ports[10].state) " @ - " gate.ports[24]:setstate(gate.ports[11].state) " @ - " gate.ports[25]:setstate(gate.ports[12].state) " @ - " gate.ports[26]:setstate(gate.ports[13].state) " @ + " if not Gate.getportstate(gate, 27) then " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 23, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 24, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 25, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 26, Gate.getportstate(gate, 13)) " @ " else " @ - " gate.ports[14]:setstate(false) " @ - " gate.ports[15]:setstate(false) " @ - " gate.ports[16]:setstate(false) " @ - " gate.ports[17]:setstate(false) " @ - " gate.ports[18]:setstate(false) " @ - " gate.ports[19]:setstate(false) " @ - " gate.ports[20]:setstate(false) " @ - " gate.ports[21]:setstate(false) " @ - " gate.ports[22]:setstate(false) " @ - " gate.ports[23]:setstate(false) " @ - " gate.ports[24]:setstate(false) " @ - " gate.ports[25]:setstate(false) " @ - " gate.ports[26]:setstate(false) " @ + " Gate.setportstate(gate, 14, false) " @ + " Gate.setportstate(gate, 15, false) " @ + " Gate.setportstate(gate, 16, false) " @ + " Gate.setportstate(gate, 17, false) " @ + " Gate.setportstate(gate, 18, false) " @ + " Gate.setportstate(gate, 19, false) " @ + " Gate.setportstate(gate, 20, false) " @ + " Gate.setportstate(gate, 21, false) " @ + " Gate.setportstate(gate, 22, false) " @ + " Gate.setportstate(gate, 23, false) " @ + " Gate.setportstate(gate, 24, false) " @ + " Gate.setportstate(gate, 25, false) " @ + " Gate.setportstate(gate, 26, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer Active Low 14 Bit.cs b/bricks/gen/newcode/Buffer Active Low 14 Bit.cs index e186034..75e5985 100644 --- a/bricks/gen/newcode/Buffer Active Low 14 Bit.cs +++ b/bricks/gen/newcode/Buffer Active Low 14 Bit.cs @@ -23,36 +23,36 @@ datablock fxDtsBrickData(LogicGate_BufferAl14_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[29].state then " @ - " gate.ports[15]:setstate(gate.ports[1].state) " @ - " gate.ports[16]:setstate(gate.ports[2].state) " @ - " gate.ports[17]:setstate(gate.ports[3].state) " @ - " gate.ports[18]:setstate(gate.ports[4].state) " @ - " gate.ports[19]:setstate(gate.ports[5].state) " @ - " gate.ports[20]:setstate(gate.ports[6].state) " @ - " gate.ports[21]:setstate(gate.ports[7].state) " @ - " gate.ports[22]:setstate(gate.ports[8].state) " @ - " gate.ports[23]:setstate(gate.ports[9].state) " @ - " gate.ports[24]:setstate(gate.ports[10].state) " @ - " gate.ports[25]:setstate(gate.ports[11].state) " @ - " gate.ports[26]:setstate(gate.ports[12].state) " @ - " gate.ports[27]:setstate(gate.ports[13].state) " @ - " gate.ports[28]:setstate(gate.ports[14].state) " @ + " if not Gate.getportstate(gate, 29) then " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 23, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 24, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 25, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 26, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 27, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 28, Gate.getportstate(gate, 14)) " @ " else " @ - " gate.ports[15]:setstate(false) " @ - " gate.ports[16]:setstate(false) " @ - " gate.ports[17]:setstate(false) " @ - " gate.ports[18]:setstate(false) " @ - " gate.ports[19]:setstate(false) " @ - " gate.ports[20]:setstate(false) " @ - " gate.ports[21]:setstate(false) " @ - " gate.ports[22]:setstate(false) " @ - " gate.ports[23]:setstate(false) " @ - " gate.ports[24]:setstate(false) " @ - " gate.ports[25]:setstate(false) " @ - " gate.ports[26]:setstate(false) " @ - " gate.ports[27]:setstate(false) " @ - " gate.ports[28]:setstate(false) " @ + " Gate.setportstate(gate, 15, false) " @ + " Gate.setportstate(gate, 16, false) " @ + " Gate.setportstate(gate, 17, false) " @ + " Gate.setportstate(gate, 18, false) " @ + " Gate.setportstate(gate, 19, false) " @ + " Gate.setportstate(gate, 20, false) " @ + " Gate.setportstate(gate, 21, false) " @ + " Gate.setportstate(gate, 22, false) " @ + " Gate.setportstate(gate, 23, false) " @ + " Gate.setportstate(gate, 24, false) " @ + " Gate.setportstate(gate, 25, false) " @ + " Gate.setportstate(gate, 26, false) " @ + " Gate.setportstate(gate, 27, false) " @ + " Gate.setportstate(gate, 28, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer Active Low 15 Bit.cs b/bricks/gen/newcode/Buffer Active Low 15 Bit.cs index bbd4220..07baf79 100644 --- a/bricks/gen/newcode/Buffer Active Low 15 Bit.cs +++ b/bricks/gen/newcode/Buffer Active Low 15 Bit.cs @@ -23,38 +23,38 @@ datablock fxDtsBrickData(LogicGate_BufferAl15_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[31].state then " @ - " gate.ports[16]:setstate(gate.ports[1].state) " @ - " gate.ports[17]:setstate(gate.ports[2].state) " @ - " gate.ports[18]:setstate(gate.ports[3].state) " @ - " gate.ports[19]:setstate(gate.ports[4].state) " @ - " gate.ports[20]:setstate(gate.ports[5].state) " @ - " gate.ports[21]:setstate(gate.ports[6].state) " @ - " gate.ports[22]:setstate(gate.ports[7].state) " @ - " gate.ports[23]:setstate(gate.ports[8].state) " @ - " gate.ports[24]:setstate(gate.ports[9].state) " @ - " gate.ports[25]:setstate(gate.ports[10].state) " @ - " gate.ports[26]:setstate(gate.ports[11].state) " @ - " gate.ports[27]:setstate(gate.ports[12].state) " @ - " gate.ports[28]:setstate(gate.ports[13].state) " @ - " gate.ports[29]:setstate(gate.ports[14].state) " @ - " gate.ports[30]:setstate(gate.ports[15].state) " @ + " if not Gate.getportstate(gate, 31) then " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 23, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 24, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 25, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 26, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 27, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 28, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 29, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 30, Gate.getportstate(gate, 15)) " @ " else " @ - " gate.ports[16]:setstate(false) " @ - " gate.ports[17]:setstate(false) " @ - " gate.ports[18]:setstate(false) " @ - " gate.ports[19]:setstate(false) " @ - " gate.ports[20]:setstate(false) " @ - " gate.ports[21]:setstate(false) " @ - " gate.ports[22]:setstate(false) " @ - " gate.ports[23]:setstate(false) " @ - " gate.ports[24]:setstate(false) " @ - " gate.ports[25]:setstate(false) " @ - " gate.ports[26]:setstate(false) " @ - " gate.ports[27]:setstate(false) " @ - " gate.ports[28]:setstate(false) " @ - " gate.ports[29]:setstate(false) " @ - " gate.ports[30]:setstate(false) " @ + " Gate.setportstate(gate, 16, false) " @ + " Gate.setportstate(gate, 17, false) " @ + " Gate.setportstate(gate, 18, false) " @ + " Gate.setportstate(gate, 19, false) " @ + " Gate.setportstate(gate, 20, false) " @ + " Gate.setportstate(gate, 21, false) " @ + " Gate.setportstate(gate, 22, false) " @ + " Gate.setportstate(gate, 23, false) " @ + " Gate.setportstate(gate, 24, false) " @ + " Gate.setportstate(gate, 25, false) " @ + " Gate.setportstate(gate, 26, false) " @ + " Gate.setportstate(gate, 27, false) " @ + " Gate.setportstate(gate, 28, false) " @ + " Gate.setportstate(gate, 29, false) " @ + " Gate.setportstate(gate, 30, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer Active Low 16 Bit.cs b/bricks/gen/newcode/Buffer Active Low 16 Bit.cs index 59efff0..408234b 100644 --- a/bricks/gen/newcode/Buffer Active Low 16 Bit.cs +++ b/bricks/gen/newcode/Buffer Active Low 16 Bit.cs @@ -23,40 +23,40 @@ datablock fxDtsBrickData(LogicGate_BufferAl16_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[33].state then " @ - " gate.ports[17]:setstate(gate.ports[1].state) " @ - " gate.ports[18]:setstate(gate.ports[2].state) " @ - " gate.ports[19]:setstate(gate.ports[3].state) " @ - " gate.ports[20]:setstate(gate.ports[4].state) " @ - " gate.ports[21]:setstate(gate.ports[5].state) " @ - " gate.ports[22]:setstate(gate.ports[6].state) " @ - " gate.ports[23]:setstate(gate.ports[7].state) " @ - " gate.ports[24]:setstate(gate.ports[8].state) " @ - " gate.ports[25]:setstate(gate.ports[9].state) " @ - " gate.ports[26]:setstate(gate.ports[10].state) " @ - " gate.ports[27]:setstate(gate.ports[11].state) " @ - " gate.ports[28]:setstate(gate.ports[12].state) " @ - " gate.ports[29]:setstate(gate.ports[13].state) " @ - " gate.ports[30]:setstate(gate.ports[14].state) " @ - " gate.ports[31]:setstate(gate.ports[15].state) " @ - " gate.ports[32]:setstate(gate.ports[16].state) " @ + " if not Gate.getportstate(gate, 33) then " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 23, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 24, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 25, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 26, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 27, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 28, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 29, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 30, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 31, Gate.getportstate(gate, 15)) " @ + " Gate.setportstate(gate, 32, Gate.getportstate(gate, 16)) " @ " else " @ - " gate.ports[17]:setstate(false) " @ - " gate.ports[18]:setstate(false) " @ - " gate.ports[19]:setstate(false) " @ - " gate.ports[20]:setstate(false) " @ - " gate.ports[21]:setstate(false) " @ - " gate.ports[22]:setstate(false) " @ - " gate.ports[23]:setstate(false) " @ - " gate.ports[24]:setstate(false) " @ - " gate.ports[25]:setstate(false) " @ - " gate.ports[26]:setstate(false) " @ - " gate.ports[27]:setstate(false) " @ - " gate.ports[28]:setstate(false) " @ - " gate.ports[29]:setstate(false) " @ - " gate.ports[30]:setstate(false) " @ - " gate.ports[31]:setstate(false) " @ - " gate.ports[32]:setstate(false) " @ + " Gate.setportstate(gate, 17, false) " @ + " Gate.setportstate(gate, 18, false) " @ + " Gate.setportstate(gate, 19, false) " @ + " Gate.setportstate(gate, 20, false) " @ + " Gate.setportstate(gate, 21, false) " @ + " Gate.setportstate(gate, 22, false) " @ + " Gate.setportstate(gate, 23, false) " @ + " Gate.setportstate(gate, 24, false) " @ + " Gate.setportstate(gate, 25, false) " @ + " Gate.setportstate(gate, 26, false) " @ + " Gate.setportstate(gate, 27, false) " @ + " Gate.setportstate(gate, 28, false) " @ + " Gate.setportstate(gate, 29, false) " @ + " Gate.setportstate(gate, 30, false) " @ + " Gate.setportstate(gate, 31, false) " @ + " Gate.setportstate(gate, 32, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer Active Low 2 Bit.cs b/bricks/gen/newcode/Buffer Active Low 2 Bit.cs index 2e127b2..b3f883b 100644 --- a/bricks/gen/newcode/Buffer Active Low 2 Bit.cs +++ b/bricks/gen/newcode/Buffer Active Low 2 Bit.cs @@ -23,12 +23,12 @@ datablock fxDtsBrickData(LogicGate_BufferAl2_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[5].state then " @ - " gate.ports[3]:setstate(gate.ports[1].state) " @ - " gate.ports[4]:setstate(gate.ports[2].state) " @ + " if not Gate.getportstate(gate, 5) then " @ + " Gate.setportstate(gate, 3, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 4, Gate.getportstate(gate, 2)) " @ " else " @ - " gate.ports[3]:setstate(false) " @ - " gate.ports[4]:setstate(false) " @ + " Gate.setportstate(gate, 3, false) " @ + " Gate.setportstate(gate, 4, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer Active Low 24 Bit.cs b/bricks/gen/newcode/Buffer Active Low 24 Bit.cs index 778c02e..c9f6aa0 100644 --- a/bricks/gen/newcode/Buffer Active Low 24 Bit.cs +++ b/bricks/gen/newcode/Buffer Active Low 24 Bit.cs @@ -23,56 +23,56 @@ datablock fxDtsBrickData(LogicGate_BufferAl24_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[49].state then " @ - " gate.ports[25]:setstate(gate.ports[1].state) " @ - " gate.ports[26]:setstate(gate.ports[2].state) " @ - " gate.ports[27]:setstate(gate.ports[3].state) " @ - " gate.ports[28]:setstate(gate.ports[4].state) " @ - " gate.ports[29]:setstate(gate.ports[5].state) " @ - " gate.ports[30]:setstate(gate.ports[6].state) " @ - " gate.ports[31]:setstate(gate.ports[7].state) " @ - " gate.ports[32]:setstate(gate.ports[8].state) " @ - " gate.ports[33]:setstate(gate.ports[9].state) " @ - " gate.ports[34]:setstate(gate.ports[10].state) " @ - " gate.ports[35]:setstate(gate.ports[11].state) " @ - " gate.ports[36]:setstate(gate.ports[12].state) " @ - " gate.ports[37]:setstate(gate.ports[13].state) " @ - " gate.ports[38]:setstate(gate.ports[14].state) " @ - " gate.ports[39]:setstate(gate.ports[15].state) " @ - " gate.ports[40]:setstate(gate.ports[16].state) " @ - " gate.ports[41]:setstate(gate.ports[17].state) " @ - " gate.ports[42]:setstate(gate.ports[18].state) " @ - " gate.ports[43]:setstate(gate.ports[19].state) " @ - " gate.ports[44]:setstate(gate.ports[20].state) " @ - " gate.ports[45]:setstate(gate.ports[21].state) " @ - " gate.ports[46]:setstate(gate.ports[22].state) " @ - " gate.ports[47]:setstate(gate.ports[23].state) " @ - " gate.ports[48]:setstate(gate.ports[24].state) " @ + " if not Gate.getportstate(gate, 49) then " @ + " Gate.setportstate(gate, 25, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 26, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 27, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 28, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 29, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 30, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 31, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 32, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 33, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 34, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 35, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 36, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 37, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 38, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 39, Gate.getportstate(gate, 15)) " @ + " Gate.setportstate(gate, 40, Gate.getportstate(gate, 16)) " @ + " Gate.setportstate(gate, 41, Gate.getportstate(gate, 17)) " @ + " Gate.setportstate(gate, 42, Gate.getportstate(gate, 18)) " @ + " Gate.setportstate(gate, 43, Gate.getportstate(gate, 19)) " @ + " Gate.setportstate(gate, 44, Gate.getportstate(gate, 20)) " @ + " Gate.setportstate(gate, 45, Gate.getportstate(gate, 21)) " @ + " Gate.setportstate(gate, 46, Gate.getportstate(gate, 22)) " @ + " Gate.setportstate(gate, 47, Gate.getportstate(gate, 23)) " @ + " Gate.setportstate(gate, 48, Gate.getportstate(gate, 24)) " @ " else " @ - " gate.ports[25]:setstate(false) " @ - " gate.ports[26]:setstate(false) " @ - " gate.ports[27]:setstate(false) " @ - " gate.ports[28]:setstate(false) " @ - " gate.ports[29]:setstate(false) " @ - " gate.ports[30]:setstate(false) " @ - " gate.ports[31]:setstate(false) " @ - " gate.ports[32]:setstate(false) " @ - " gate.ports[33]:setstate(false) " @ - " gate.ports[34]:setstate(false) " @ - " gate.ports[35]:setstate(false) " @ - " gate.ports[36]:setstate(false) " @ - " gate.ports[37]:setstate(false) " @ - " gate.ports[38]:setstate(false) " @ - " gate.ports[39]:setstate(false) " @ - " gate.ports[40]:setstate(false) " @ - " gate.ports[41]:setstate(false) " @ - " gate.ports[42]:setstate(false) " @ - " gate.ports[43]:setstate(false) " @ - " gate.ports[44]:setstate(false) " @ - " gate.ports[45]:setstate(false) " @ - " gate.ports[46]:setstate(false) " @ - " gate.ports[47]:setstate(false) " @ - " gate.ports[48]:setstate(false) " @ + " Gate.setportstate(gate, 25, false) " @ + " Gate.setportstate(gate, 26, false) " @ + " Gate.setportstate(gate, 27, false) " @ + " Gate.setportstate(gate, 28, false) " @ + " Gate.setportstate(gate, 29, false) " @ + " Gate.setportstate(gate, 30, false) " @ + " Gate.setportstate(gate, 31, false) " @ + " Gate.setportstate(gate, 32, false) " @ + " Gate.setportstate(gate, 33, false) " @ + " Gate.setportstate(gate, 34, false) " @ + " Gate.setportstate(gate, 35, false) " @ + " Gate.setportstate(gate, 36, false) " @ + " Gate.setportstate(gate, 37, false) " @ + " Gate.setportstate(gate, 38, false) " @ + " Gate.setportstate(gate, 39, false) " @ + " Gate.setportstate(gate, 40, false) " @ + " Gate.setportstate(gate, 41, false) " @ + " Gate.setportstate(gate, 42, false) " @ + " Gate.setportstate(gate, 43, false) " @ + " Gate.setportstate(gate, 44, false) " @ + " Gate.setportstate(gate, 45, false) " @ + " Gate.setportstate(gate, 46, false) " @ + " Gate.setportstate(gate, 47, false) " @ + " Gate.setportstate(gate, 48, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer Active Low 3 Bit.cs b/bricks/gen/newcode/Buffer Active Low 3 Bit.cs index cf8fcfe..74a1feb 100644 --- a/bricks/gen/newcode/Buffer Active Low 3 Bit.cs +++ b/bricks/gen/newcode/Buffer Active Low 3 Bit.cs @@ -23,14 +23,14 @@ datablock fxDtsBrickData(LogicGate_BufferAl3_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[7].state then " @ - " gate.ports[4]:setstate(gate.ports[1].state) " @ - " gate.ports[5]:setstate(gate.ports[2].state) " @ - " gate.ports[6]:setstate(gate.ports[3].state) " @ + " if not Gate.getportstate(gate, 7) then " @ + " Gate.setportstate(gate, 4, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 5, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 6, Gate.getportstate(gate, 3)) " @ " else " @ - " gate.ports[4]:setstate(false) " @ - " gate.ports[5]:setstate(false) " @ - " gate.ports[6]:setstate(false) " @ + " Gate.setportstate(gate, 4, false) " @ + " Gate.setportstate(gate, 5, false) " @ + " Gate.setportstate(gate, 6, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer Active Low 32 Bit.cs b/bricks/gen/newcode/Buffer Active Low 32 Bit.cs index ba07b63..75a0aeb 100644 --- a/bricks/gen/newcode/Buffer Active Low 32 Bit.cs +++ b/bricks/gen/newcode/Buffer Active Low 32 Bit.cs @@ -23,72 +23,72 @@ datablock fxDtsBrickData(LogicGate_BufferAl32_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[65].state then " @ - " gate.ports[33]:setstate(gate.ports[1].state) " @ - " gate.ports[34]:setstate(gate.ports[2].state) " @ - " gate.ports[35]:setstate(gate.ports[3].state) " @ - " gate.ports[36]:setstate(gate.ports[4].state) " @ - " gate.ports[37]:setstate(gate.ports[5].state) " @ - " gate.ports[38]:setstate(gate.ports[6].state) " @ - " gate.ports[39]:setstate(gate.ports[7].state) " @ - " gate.ports[40]:setstate(gate.ports[8].state) " @ - " gate.ports[41]:setstate(gate.ports[9].state) " @ - " gate.ports[42]:setstate(gate.ports[10].state) " @ - " gate.ports[43]:setstate(gate.ports[11].state) " @ - " gate.ports[44]:setstate(gate.ports[12].state) " @ - " gate.ports[45]:setstate(gate.ports[13].state) " @ - " gate.ports[46]:setstate(gate.ports[14].state) " @ - " gate.ports[47]:setstate(gate.ports[15].state) " @ - " gate.ports[48]:setstate(gate.ports[16].state) " @ - " gate.ports[49]:setstate(gate.ports[17].state) " @ - " gate.ports[50]:setstate(gate.ports[18].state) " @ - " gate.ports[51]:setstate(gate.ports[19].state) " @ - " gate.ports[52]:setstate(gate.ports[20].state) " @ - " gate.ports[53]:setstate(gate.ports[21].state) " @ - " gate.ports[54]:setstate(gate.ports[22].state) " @ - " gate.ports[55]:setstate(gate.ports[23].state) " @ - " gate.ports[56]:setstate(gate.ports[24].state) " @ - " gate.ports[57]:setstate(gate.ports[25].state) " @ - " gate.ports[58]:setstate(gate.ports[26].state) " @ - " gate.ports[59]:setstate(gate.ports[27].state) " @ - " gate.ports[60]:setstate(gate.ports[28].state) " @ - " gate.ports[61]:setstate(gate.ports[29].state) " @ - " gate.ports[62]:setstate(gate.ports[30].state) " @ - " gate.ports[63]:setstate(gate.ports[31].state) " @ - " gate.ports[64]:setstate(gate.ports[32].state) " @ + " if not Gate.getportstate(gate, 65) then " @ + " Gate.setportstate(gate, 33, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 34, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 35, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 36, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 37, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 38, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 39, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 40, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 41, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 42, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 43, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 44, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 45, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 46, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 47, Gate.getportstate(gate, 15)) " @ + " Gate.setportstate(gate, 48, Gate.getportstate(gate, 16)) " @ + " Gate.setportstate(gate, 49, Gate.getportstate(gate, 17)) " @ + " Gate.setportstate(gate, 50, Gate.getportstate(gate, 18)) " @ + " Gate.setportstate(gate, 51, Gate.getportstate(gate, 19)) " @ + " Gate.setportstate(gate, 52, Gate.getportstate(gate, 20)) " @ + " Gate.setportstate(gate, 53, Gate.getportstate(gate, 21)) " @ + " Gate.setportstate(gate, 54, Gate.getportstate(gate, 22)) " @ + " Gate.setportstate(gate, 55, Gate.getportstate(gate, 23)) " @ + " Gate.setportstate(gate, 56, Gate.getportstate(gate, 24)) " @ + " Gate.setportstate(gate, 57, Gate.getportstate(gate, 25)) " @ + " Gate.setportstate(gate, 58, Gate.getportstate(gate, 26)) " @ + " Gate.setportstate(gate, 59, Gate.getportstate(gate, 27)) " @ + " Gate.setportstate(gate, 60, Gate.getportstate(gate, 28)) " @ + " Gate.setportstate(gate, 61, Gate.getportstate(gate, 29)) " @ + " Gate.setportstate(gate, 62, Gate.getportstate(gate, 30)) " @ + " Gate.setportstate(gate, 63, Gate.getportstate(gate, 31)) " @ + " Gate.setportstate(gate, 64, Gate.getportstate(gate, 32)) " @ " else " @ - " gate.ports[33]:setstate(false) " @ - " gate.ports[34]:setstate(false) " @ - " gate.ports[35]:setstate(false) " @ - " gate.ports[36]:setstate(false) " @ - " gate.ports[37]:setstate(false) " @ - " gate.ports[38]:setstate(false) " @ - " gate.ports[39]:setstate(false) " @ - " gate.ports[40]:setstate(false) " @ - " gate.ports[41]:setstate(false) " @ - " gate.ports[42]:setstate(false) " @ - " gate.ports[43]:setstate(false) " @ - " gate.ports[44]:setstate(false) " @ - " gate.ports[45]:setstate(false) " @ - " gate.ports[46]:setstate(false) " @ - " gate.ports[47]:setstate(false) " @ - " gate.ports[48]:setstate(false) " @ - " gate.ports[49]:setstate(false) " @ - " gate.ports[50]:setstate(false) " @ - " gate.ports[51]:setstate(false) " @ - " gate.ports[52]:setstate(false) " @ - " gate.ports[53]:setstate(false) " @ - " gate.ports[54]:setstate(false) " @ - " gate.ports[55]:setstate(false) " @ - " gate.ports[56]:setstate(false) " @ - " gate.ports[57]:setstate(false) " @ - " gate.ports[58]:setstate(false) " @ - " gate.ports[59]:setstate(false) " @ - " gate.ports[60]:setstate(false) " @ - " gate.ports[61]:setstate(false) " @ - " gate.ports[62]:setstate(false) " @ - " gate.ports[63]:setstate(false) " @ - " gate.ports[64]:setstate(false) " @ + " Gate.setportstate(gate, 33, false) " @ + " Gate.setportstate(gate, 34, false) " @ + " Gate.setportstate(gate, 35, false) " @ + " Gate.setportstate(gate, 36, false) " @ + " Gate.setportstate(gate, 37, false) " @ + " Gate.setportstate(gate, 38, false) " @ + " Gate.setportstate(gate, 39, false) " @ + " Gate.setportstate(gate, 40, false) " @ + " Gate.setportstate(gate, 41, false) " @ + " Gate.setportstate(gate, 42, false) " @ + " Gate.setportstate(gate, 43, false) " @ + " Gate.setportstate(gate, 44, false) " @ + " Gate.setportstate(gate, 45, false) " @ + " Gate.setportstate(gate, 46, false) " @ + " Gate.setportstate(gate, 47, false) " @ + " Gate.setportstate(gate, 48, false) " @ + " Gate.setportstate(gate, 49, false) " @ + " Gate.setportstate(gate, 50, false) " @ + " Gate.setportstate(gate, 51, false) " @ + " Gate.setportstate(gate, 52, false) " @ + " Gate.setportstate(gate, 53, false) " @ + " Gate.setportstate(gate, 54, false) " @ + " Gate.setportstate(gate, 55, false) " @ + " Gate.setportstate(gate, 56, false) " @ + " Gate.setportstate(gate, 57, false) " @ + " Gate.setportstate(gate, 58, false) " @ + " Gate.setportstate(gate, 59, false) " @ + " Gate.setportstate(gate, 60, false) " @ + " Gate.setportstate(gate, 61, false) " @ + " Gate.setportstate(gate, 62, false) " @ + " Gate.setportstate(gate, 63, false) " @ + " Gate.setportstate(gate, 64, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer Active Low 4 Bit.cs b/bricks/gen/newcode/Buffer Active Low 4 Bit.cs index 97d4087..fd1952f 100644 --- a/bricks/gen/newcode/Buffer Active Low 4 Bit.cs +++ b/bricks/gen/newcode/Buffer Active Low 4 Bit.cs @@ -23,16 +23,16 @@ datablock fxDtsBrickData(LogicGate_BufferAl4_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[9].state then " @ - " gate.ports[5]:setstate(gate.ports[1].state) " @ - " gate.ports[6]:setstate(gate.ports[2].state) " @ - " gate.ports[7]:setstate(gate.ports[3].state) " @ - " gate.ports[8]:setstate(gate.ports[4].state) " @ + " if not Gate.getportstate(gate, 9) then " @ + " Gate.setportstate(gate, 5, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 6, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 7, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 8, Gate.getportstate(gate, 4)) " @ " else " @ - " gate.ports[5]:setstate(false) " @ - " gate.ports[6]:setstate(false) " @ - " gate.ports[7]:setstate(false) " @ - " gate.ports[8]:setstate(false) " @ + " Gate.setportstate(gate, 5, false) " @ + " Gate.setportstate(gate, 6, false) " @ + " Gate.setportstate(gate, 7, false) " @ + " Gate.setportstate(gate, 8, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer Active Low 48 Bit.cs b/bricks/gen/newcode/Buffer Active Low 48 Bit.cs index 12d14f8..2f6dc98 100644 --- a/bricks/gen/newcode/Buffer Active Low 48 Bit.cs +++ b/bricks/gen/newcode/Buffer Active Low 48 Bit.cs @@ -23,104 +23,104 @@ datablock fxDtsBrickData(LogicGate_BufferAl48_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[97].state then " @ - " gate.ports[49]:setstate(gate.ports[1].state) " @ - " gate.ports[50]:setstate(gate.ports[2].state) " @ - " gate.ports[51]:setstate(gate.ports[3].state) " @ - " gate.ports[52]:setstate(gate.ports[4].state) " @ - " gate.ports[53]:setstate(gate.ports[5].state) " @ - " gate.ports[54]:setstate(gate.ports[6].state) " @ - " gate.ports[55]:setstate(gate.ports[7].state) " @ - " gate.ports[56]:setstate(gate.ports[8].state) " @ - " gate.ports[57]:setstate(gate.ports[9].state) " @ - " gate.ports[58]:setstate(gate.ports[10].state) " @ - " gate.ports[59]:setstate(gate.ports[11].state) " @ - " gate.ports[60]:setstate(gate.ports[12].state) " @ - " gate.ports[61]:setstate(gate.ports[13].state) " @ - " gate.ports[62]:setstate(gate.ports[14].state) " @ - " gate.ports[63]:setstate(gate.ports[15].state) " @ - " gate.ports[64]:setstate(gate.ports[16].state) " @ - " gate.ports[65]:setstate(gate.ports[17].state) " @ - " gate.ports[66]:setstate(gate.ports[18].state) " @ - " gate.ports[67]:setstate(gate.ports[19].state) " @ - " gate.ports[68]:setstate(gate.ports[20].state) " @ - " gate.ports[69]:setstate(gate.ports[21].state) " @ - " gate.ports[70]:setstate(gate.ports[22].state) " @ - " gate.ports[71]:setstate(gate.ports[23].state) " @ - " gate.ports[72]:setstate(gate.ports[24].state) " @ - " gate.ports[73]:setstate(gate.ports[25].state) " @ - " gate.ports[74]:setstate(gate.ports[26].state) " @ - " gate.ports[75]:setstate(gate.ports[27].state) " @ - " gate.ports[76]:setstate(gate.ports[28].state) " @ - " gate.ports[77]:setstate(gate.ports[29].state) " @ - " gate.ports[78]:setstate(gate.ports[30].state) " @ - " gate.ports[79]:setstate(gate.ports[31].state) " @ - " gate.ports[80]:setstate(gate.ports[32].state) " @ - " gate.ports[81]:setstate(gate.ports[33].state) " @ - " gate.ports[82]:setstate(gate.ports[34].state) " @ - " gate.ports[83]:setstate(gate.ports[35].state) " @ - " gate.ports[84]:setstate(gate.ports[36].state) " @ - " gate.ports[85]:setstate(gate.ports[37].state) " @ - " gate.ports[86]:setstate(gate.ports[38].state) " @ - " gate.ports[87]:setstate(gate.ports[39].state) " @ - " gate.ports[88]:setstate(gate.ports[40].state) " @ - " gate.ports[89]:setstate(gate.ports[41].state) " @ - " gate.ports[90]:setstate(gate.ports[42].state) " @ - " gate.ports[91]:setstate(gate.ports[43].state) " @ - " gate.ports[92]:setstate(gate.ports[44].state) " @ - " gate.ports[93]:setstate(gate.ports[45].state) " @ - " gate.ports[94]:setstate(gate.ports[46].state) " @ - " gate.ports[95]:setstate(gate.ports[47].state) " @ - " gate.ports[96]:setstate(gate.ports[48].state) " @ + " if not Gate.getportstate(gate, 97) then " @ + " Gate.setportstate(gate, 49, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 50, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 51, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 52, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 53, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 54, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 55, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 56, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 57, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 58, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 59, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 60, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 61, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 62, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 63, Gate.getportstate(gate, 15)) " @ + " Gate.setportstate(gate, 64, Gate.getportstate(gate, 16)) " @ + " Gate.setportstate(gate, 65, Gate.getportstate(gate, 17)) " @ + " Gate.setportstate(gate, 66, Gate.getportstate(gate, 18)) " @ + " Gate.setportstate(gate, 67, Gate.getportstate(gate, 19)) " @ + " Gate.setportstate(gate, 68, Gate.getportstate(gate, 20)) " @ + " Gate.setportstate(gate, 69, Gate.getportstate(gate, 21)) " @ + " Gate.setportstate(gate, 70, Gate.getportstate(gate, 22)) " @ + " Gate.setportstate(gate, 71, Gate.getportstate(gate, 23)) " @ + " Gate.setportstate(gate, 72, Gate.getportstate(gate, 24)) " @ + " Gate.setportstate(gate, 73, Gate.getportstate(gate, 25)) " @ + " Gate.setportstate(gate, 74, Gate.getportstate(gate, 26)) " @ + " Gate.setportstate(gate, 75, Gate.getportstate(gate, 27)) " @ + " Gate.setportstate(gate, 76, Gate.getportstate(gate, 28)) " @ + " Gate.setportstate(gate, 77, Gate.getportstate(gate, 29)) " @ + " Gate.setportstate(gate, 78, Gate.getportstate(gate, 30)) " @ + " Gate.setportstate(gate, 79, Gate.getportstate(gate, 31)) " @ + " Gate.setportstate(gate, 80, Gate.getportstate(gate, 32)) " @ + " Gate.setportstate(gate, 81, Gate.getportstate(gate, 33)) " @ + " Gate.setportstate(gate, 82, Gate.getportstate(gate, 34)) " @ + " Gate.setportstate(gate, 83, Gate.getportstate(gate, 35)) " @ + " Gate.setportstate(gate, 84, Gate.getportstate(gate, 36)) " @ + " Gate.setportstate(gate, 85, Gate.getportstate(gate, 37)) " @ + " Gate.setportstate(gate, 86, Gate.getportstate(gate, 38)) " @ + " Gate.setportstate(gate, 87, Gate.getportstate(gate, 39)) " @ + " Gate.setportstate(gate, 88, Gate.getportstate(gate, 40)) " @ + " Gate.setportstate(gate, 89, Gate.getportstate(gate, 41)) " @ + " Gate.setportstate(gate, 90, Gate.getportstate(gate, 42)) " @ + " Gate.setportstate(gate, 91, Gate.getportstate(gate, 43)) " @ + " Gate.setportstate(gate, 92, Gate.getportstate(gate, 44)) " @ + " Gate.setportstate(gate, 93, Gate.getportstate(gate, 45)) " @ + " Gate.setportstate(gate, 94, Gate.getportstate(gate, 46)) " @ + " Gate.setportstate(gate, 95, Gate.getportstate(gate, 47)) " @ + " Gate.setportstate(gate, 96, Gate.getportstate(gate, 48)) " @ " else " @ - " gate.ports[49]:setstate(false) " @ - " gate.ports[50]:setstate(false) " @ - " gate.ports[51]:setstate(false) " @ - " gate.ports[52]:setstate(false) " @ - " gate.ports[53]:setstate(false) " @ - " gate.ports[54]:setstate(false) " @ - " gate.ports[55]:setstate(false) " @ - " gate.ports[56]:setstate(false) " @ - " gate.ports[57]:setstate(false) " @ - " gate.ports[58]:setstate(false) " @ - " gate.ports[59]:setstate(false) " @ - " gate.ports[60]:setstate(false) " @ - " gate.ports[61]:setstate(false) " @ - " gate.ports[62]:setstate(false) " @ - " gate.ports[63]:setstate(false) " @ - " gate.ports[64]:setstate(false) " @ - " gate.ports[65]:setstate(false) " @ - " gate.ports[66]:setstate(false) " @ - " gate.ports[67]:setstate(false) " @ - " gate.ports[68]:setstate(false) " @ - " gate.ports[69]:setstate(false) " @ - " gate.ports[70]:setstate(false) " @ - " gate.ports[71]:setstate(false) " @ - " gate.ports[72]:setstate(false) " @ - " gate.ports[73]:setstate(false) " @ - " gate.ports[74]:setstate(false) " @ - " gate.ports[75]:setstate(false) " @ - " gate.ports[76]:setstate(false) " @ - " gate.ports[77]:setstate(false) " @ - " gate.ports[78]:setstate(false) " @ - " gate.ports[79]:setstate(false) " @ - " gate.ports[80]:setstate(false) " @ - " gate.ports[81]:setstate(false) " @ - " gate.ports[82]:setstate(false) " @ - " gate.ports[83]:setstate(false) " @ - " gate.ports[84]:setstate(false) " @ - " gate.ports[85]:setstate(false) " @ - " gate.ports[86]:setstate(false) " @ - " gate.ports[87]:setstate(false) " @ - " gate.ports[88]:setstate(false) " @ - " gate.ports[89]:setstate(false) " @ - " gate.ports[90]:setstate(false) " @ - " gate.ports[91]:setstate(false) " @ - " gate.ports[92]:setstate(false) " @ - " gate.ports[93]:setstate(false) " @ - " gate.ports[94]:setstate(false) " @ - " gate.ports[95]:setstate(false) " @ - " gate.ports[96]:setstate(false) " @ + " Gate.setportstate(gate, 49, false) " @ + " Gate.setportstate(gate, 50, false) " @ + " Gate.setportstate(gate, 51, false) " @ + " Gate.setportstate(gate, 52, false) " @ + " Gate.setportstate(gate, 53, false) " @ + " Gate.setportstate(gate, 54, false) " @ + " Gate.setportstate(gate, 55, false) " @ + " Gate.setportstate(gate, 56, false) " @ + " Gate.setportstate(gate, 57, false) " @ + " Gate.setportstate(gate, 58, false) " @ + " Gate.setportstate(gate, 59, false) " @ + " Gate.setportstate(gate, 60, false) " @ + " Gate.setportstate(gate, 61, false) " @ + " Gate.setportstate(gate, 62, false) " @ + " Gate.setportstate(gate, 63, false) " @ + " Gate.setportstate(gate, 64, false) " @ + " Gate.setportstate(gate, 65, false) " @ + " Gate.setportstate(gate, 66, false) " @ + " Gate.setportstate(gate, 67, false) " @ + " Gate.setportstate(gate, 68, false) " @ + " Gate.setportstate(gate, 69, false) " @ + " Gate.setportstate(gate, 70, false) " @ + " Gate.setportstate(gate, 71, false) " @ + " Gate.setportstate(gate, 72, false) " @ + " Gate.setportstate(gate, 73, false) " @ + " Gate.setportstate(gate, 74, false) " @ + " Gate.setportstate(gate, 75, false) " @ + " Gate.setportstate(gate, 76, false) " @ + " Gate.setportstate(gate, 77, false) " @ + " Gate.setportstate(gate, 78, false) " @ + " Gate.setportstate(gate, 79, false) " @ + " Gate.setportstate(gate, 80, false) " @ + " Gate.setportstate(gate, 81, false) " @ + " Gate.setportstate(gate, 82, false) " @ + " Gate.setportstate(gate, 83, false) " @ + " Gate.setportstate(gate, 84, false) " @ + " Gate.setportstate(gate, 85, false) " @ + " Gate.setportstate(gate, 86, false) " @ + " Gate.setportstate(gate, 87, false) " @ + " Gate.setportstate(gate, 88, false) " @ + " Gate.setportstate(gate, 89, false) " @ + " Gate.setportstate(gate, 90, false) " @ + " Gate.setportstate(gate, 91, false) " @ + " Gate.setportstate(gate, 92, false) " @ + " Gate.setportstate(gate, 93, false) " @ + " Gate.setportstate(gate, 94, false) " @ + " Gate.setportstate(gate, 95, false) " @ + " Gate.setportstate(gate, 96, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer Active Low 5 Bit.cs b/bricks/gen/newcode/Buffer Active Low 5 Bit.cs index e71afb1..e8a8be1 100644 --- a/bricks/gen/newcode/Buffer Active Low 5 Bit.cs +++ b/bricks/gen/newcode/Buffer Active Low 5 Bit.cs @@ -23,18 +23,18 @@ datablock fxDtsBrickData(LogicGate_BufferAl5_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[11].state then " @ - " gate.ports[6]:setstate(gate.ports[1].state) " @ - " gate.ports[7]:setstate(gate.ports[2].state) " @ - " gate.ports[8]:setstate(gate.ports[3].state) " @ - " gate.ports[9]:setstate(gate.ports[4].state) " @ - " gate.ports[10]:setstate(gate.ports[5].state) " @ + " if not Gate.getportstate(gate, 11) then " @ + " Gate.setportstate(gate, 6, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 7, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 8, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 9, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 10, Gate.getportstate(gate, 5)) " @ " else " @ - " gate.ports[6]:setstate(false) " @ - " gate.ports[7]:setstate(false) " @ - " gate.ports[8]:setstate(false) " @ - " gate.ports[9]:setstate(false) " @ - " gate.ports[10]:setstate(false) " @ + " Gate.setportstate(gate, 6, false) " @ + " Gate.setportstate(gate, 7, false) " @ + " Gate.setportstate(gate, 8, false) " @ + " Gate.setportstate(gate, 9, false) " @ + " Gate.setportstate(gate, 10, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer Active Low 6 Bit.cs b/bricks/gen/newcode/Buffer Active Low 6 Bit.cs index 0cf33e8..51e8c62 100644 --- a/bricks/gen/newcode/Buffer Active Low 6 Bit.cs +++ b/bricks/gen/newcode/Buffer Active Low 6 Bit.cs @@ -23,20 +23,20 @@ datablock fxDtsBrickData(LogicGate_BufferAl6_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[13].state then " @ - " gate.ports[7]:setstate(gate.ports[1].state) " @ - " gate.ports[8]:setstate(gate.ports[2].state) " @ - " gate.ports[9]:setstate(gate.ports[3].state) " @ - " gate.ports[10]:setstate(gate.ports[4].state) " @ - " gate.ports[11]:setstate(gate.ports[5].state) " @ - " gate.ports[12]:setstate(gate.ports[6].state) " @ + " if not Gate.getportstate(gate, 13) then " @ + " Gate.setportstate(gate, 7, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 8, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 9, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 10, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 11, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 6)) " @ " else " @ - " gate.ports[7]:setstate(false) " @ - " gate.ports[8]:setstate(false) " @ - " gate.ports[9]:setstate(false) " @ - " gate.ports[10]:setstate(false) " @ - " gate.ports[11]:setstate(false) " @ - " gate.ports[12]:setstate(false) " @ + " Gate.setportstate(gate, 7, false) " @ + " Gate.setportstate(gate, 8, false) " @ + " Gate.setportstate(gate, 9, false) " @ + " Gate.setportstate(gate, 10, false) " @ + " Gate.setportstate(gate, 11, false) " @ + " Gate.setportstate(gate, 12, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer Active Low 64 Bit.cs b/bricks/gen/newcode/Buffer Active Low 64 Bit.cs index 6e4d610..5ccbf44 100644 --- a/bricks/gen/newcode/Buffer Active Low 64 Bit.cs +++ b/bricks/gen/newcode/Buffer Active Low 64 Bit.cs @@ -23,136 +23,136 @@ datablock fxDtsBrickData(LogicGate_BufferAl64_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[129].state then " @ - " gate.ports[65]:setstate(gate.ports[1].state) " @ - " gate.ports[66]:setstate(gate.ports[2].state) " @ - " gate.ports[67]:setstate(gate.ports[3].state) " @ - " gate.ports[68]:setstate(gate.ports[4].state) " @ - " gate.ports[69]:setstate(gate.ports[5].state) " @ - " gate.ports[70]:setstate(gate.ports[6].state) " @ - " gate.ports[71]:setstate(gate.ports[7].state) " @ - " gate.ports[72]:setstate(gate.ports[8].state) " @ - " gate.ports[73]:setstate(gate.ports[9].state) " @ - " gate.ports[74]:setstate(gate.ports[10].state) " @ - " gate.ports[75]:setstate(gate.ports[11].state) " @ - " gate.ports[76]:setstate(gate.ports[12].state) " @ - " gate.ports[77]:setstate(gate.ports[13].state) " @ - " gate.ports[78]:setstate(gate.ports[14].state) " @ - " gate.ports[79]:setstate(gate.ports[15].state) " @ - " gate.ports[80]:setstate(gate.ports[16].state) " @ - " gate.ports[81]:setstate(gate.ports[17].state) " @ - " gate.ports[82]:setstate(gate.ports[18].state) " @ - " gate.ports[83]:setstate(gate.ports[19].state) " @ - " gate.ports[84]:setstate(gate.ports[20].state) " @ - " gate.ports[85]:setstate(gate.ports[21].state) " @ - " gate.ports[86]:setstate(gate.ports[22].state) " @ - " gate.ports[87]:setstate(gate.ports[23].state) " @ - " gate.ports[88]:setstate(gate.ports[24].state) " @ - " gate.ports[89]:setstate(gate.ports[25].state) " @ - " gate.ports[90]:setstate(gate.ports[26].state) " @ - " gate.ports[91]:setstate(gate.ports[27].state) " @ - " gate.ports[92]:setstate(gate.ports[28].state) " @ - " gate.ports[93]:setstate(gate.ports[29].state) " @ - " gate.ports[94]:setstate(gate.ports[30].state) " @ - " gate.ports[95]:setstate(gate.ports[31].state) " @ - " gate.ports[96]:setstate(gate.ports[32].state) " @ - " gate.ports[97]:setstate(gate.ports[33].state) " @ - " gate.ports[98]:setstate(gate.ports[34].state) " @ - " gate.ports[99]:setstate(gate.ports[35].state) " @ - " gate.ports[100]:setstate(gate.ports[36].state) " @ - " gate.ports[101]:setstate(gate.ports[37].state) " @ - " gate.ports[102]:setstate(gate.ports[38].state) " @ - " gate.ports[103]:setstate(gate.ports[39].state) " @ - " gate.ports[104]:setstate(gate.ports[40].state) " @ - " gate.ports[105]:setstate(gate.ports[41].state) " @ - " gate.ports[106]:setstate(gate.ports[42].state) " @ - " gate.ports[107]:setstate(gate.ports[43].state) " @ - " gate.ports[108]:setstate(gate.ports[44].state) " @ - " gate.ports[109]:setstate(gate.ports[45].state) " @ - " gate.ports[110]:setstate(gate.ports[46].state) " @ - " gate.ports[111]:setstate(gate.ports[47].state) " @ - " gate.ports[112]:setstate(gate.ports[48].state) " @ - " gate.ports[113]:setstate(gate.ports[49].state) " @ - " gate.ports[114]:setstate(gate.ports[50].state) " @ - " gate.ports[115]:setstate(gate.ports[51].state) " @ - " gate.ports[116]:setstate(gate.ports[52].state) " @ - " gate.ports[117]:setstate(gate.ports[53].state) " @ - " gate.ports[118]:setstate(gate.ports[54].state) " @ - " gate.ports[119]:setstate(gate.ports[55].state) " @ - " gate.ports[120]:setstate(gate.ports[56].state) " @ - " gate.ports[121]:setstate(gate.ports[57].state) " @ - " gate.ports[122]:setstate(gate.ports[58].state) " @ - " gate.ports[123]:setstate(gate.ports[59].state) " @ - " gate.ports[124]:setstate(gate.ports[60].state) " @ - " gate.ports[125]:setstate(gate.ports[61].state) " @ - " gate.ports[126]:setstate(gate.ports[62].state) " @ - " gate.ports[127]:setstate(gate.ports[63].state) " @ - " gate.ports[128]:setstate(gate.ports[64].state) " @ + " if not Gate.getportstate(gate, 129) then " @ + " Gate.setportstate(gate, 65, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 66, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 67, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 68, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 69, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 70, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 71, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 72, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 73, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 74, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 75, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 76, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 77, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 78, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 79, Gate.getportstate(gate, 15)) " @ + " Gate.setportstate(gate, 80, Gate.getportstate(gate, 16)) " @ + " Gate.setportstate(gate, 81, Gate.getportstate(gate, 17)) " @ + " Gate.setportstate(gate, 82, Gate.getportstate(gate, 18)) " @ + " Gate.setportstate(gate, 83, Gate.getportstate(gate, 19)) " @ + " Gate.setportstate(gate, 84, Gate.getportstate(gate, 20)) " @ + " Gate.setportstate(gate, 85, Gate.getportstate(gate, 21)) " @ + " Gate.setportstate(gate, 86, Gate.getportstate(gate, 22)) " @ + " Gate.setportstate(gate, 87, Gate.getportstate(gate, 23)) " @ + " Gate.setportstate(gate, 88, Gate.getportstate(gate, 24)) " @ + " Gate.setportstate(gate, 89, Gate.getportstate(gate, 25)) " @ + " Gate.setportstate(gate, 90, Gate.getportstate(gate, 26)) " @ + " Gate.setportstate(gate, 91, Gate.getportstate(gate, 27)) " @ + " Gate.setportstate(gate, 92, Gate.getportstate(gate, 28)) " @ + " Gate.setportstate(gate, 93, Gate.getportstate(gate, 29)) " @ + " Gate.setportstate(gate, 94, Gate.getportstate(gate, 30)) " @ + " Gate.setportstate(gate, 95, Gate.getportstate(gate, 31)) " @ + " Gate.setportstate(gate, 96, Gate.getportstate(gate, 32)) " @ + " Gate.setportstate(gate, 97, Gate.getportstate(gate, 33)) " @ + " Gate.setportstate(gate, 98, Gate.getportstate(gate, 34)) " @ + " Gate.setportstate(gate, 99, Gate.getportstate(gate, 35)) " @ + " Gate.setportstate(gate, 100, Gate.getportstate(gate, 36)) " @ + " Gate.setportstate(gate, 101, Gate.getportstate(gate, 37)) " @ + " Gate.setportstate(gate, 102, Gate.getportstate(gate, 38)) " @ + " Gate.setportstate(gate, 103, Gate.getportstate(gate, 39)) " @ + " Gate.setportstate(gate, 104, Gate.getportstate(gate, 40)) " @ + " Gate.setportstate(gate, 105, Gate.getportstate(gate, 41)) " @ + " Gate.setportstate(gate, 106, Gate.getportstate(gate, 42)) " @ + " Gate.setportstate(gate, 107, Gate.getportstate(gate, 43)) " @ + " Gate.setportstate(gate, 108, Gate.getportstate(gate, 44)) " @ + " Gate.setportstate(gate, 109, Gate.getportstate(gate, 45)) " @ + " Gate.setportstate(gate, 110, Gate.getportstate(gate, 46)) " @ + " Gate.setportstate(gate, 111, Gate.getportstate(gate, 47)) " @ + " Gate.setportstate(gate, 112, Gate.getportstate(gate, 48)) " @ + " Gate.setportstate(gate, 113, Gate.getportstate(gate, 49)) " @ + " Gate.setportstate(gate, 114, Gate.getportstate(gate, 50)) " @ + " Gate.setportstate(gate, 115, Gate.getportstate(gate, 51)) " @ + " Gate.setportstate(gate, 116, Gate.getportstate(gate, 52)) " @ + " Gate.setportstate(gate, 117, Gate.getportstate(gate, 53)) " @ + " Gate.setportstate(gate, 118, Gate.getportstate(gate, 54)) " @ + " Gate.setportstate(gate, 119, Gate.getportstate(gate, 55)) " @ + " Gate.setportstate(gate, 120, Gate.getportstate(gate, 56)) " @ + " Gate.setportstate(gate, 121, Gate.getportstate(gate, 57)) " @ + " Gate.setportstate(gate, 122, Gate.getportstate(gate, 58)) " @ + " Gate.setportstate(gate, 123, Gate.getportstate(gate, 59)) " @ + " Gate.setportstate(gate, 124, Gate.getportstate(gate, 60)) " @ + " Gate.setportstate(gate, 125, Gate.getportstate(gate, 61)) " @ + " Gate.setportstate(gate, 126, Gate.getportstate(gate, 62)) " @ + " Gate.setportstate(gate, 127, Gate.getportstate(gate, 63)) " @ + " Gate.setportstate(gate, 128, Gate.getportstate(gate, 64)) " @ " else " @ - " gate.ports[65]:setstate(false) " @ - " gate.ports[66]:setstate(false) " @ - " gate.ports[67]:setstate(false) " @ - " gate.ports[68]:setstate(false) " @ - " gate.ports[69]:setstate(false) " @ - " gate.ports[70]:setstate(false) " @ - " gate.ports[71]:setstate(false) " @ - " gate.ports[72]:setstate(false) " @ - " gate.ports[73]:setstate(false) " @ - " gate.ports[74]:setstate(false) " @ - " gate.ports[75]:setstate(false) " @ - " gate.ports[76]:setstate(false) " @ - " gate.ports[77]:setstate(false) " @ - " gate.ports[78]:setstate(false) " @ - " gate.ports[79]:setstate(false) " @ - " gate.ports[80]:setstate(false) " @ - " gate.ports[81]:setstate(false) " @ - " gate.ports[82]:setstate(false) " @ - " gate.ports[83]:setstate(false) " @ - " gate.ports[84]:setstate(false) " @ - " gate.ports[85]:setstate(false) " @ - " gate.ports[86]:setstate(false) " @ - " gate.ports[87]:setstate(false) " @ - " gate.ports[88]:setstate(false) " @ - " gate.ports[89]:setstate(false) " @ - " gate.ports[90]:setstate(false) " @ - " gate.ports[91]:setstate(false) " @ - " gate.ports[92]:setstate(false) " @ - " gate.ports[93]:setstate(false) " @ - " gate.ports[94]:setstate(false) " @ - " gate.ports[95]:setstate(false) " @ - " gate.ports[96]:setstate(false) " @ - " gate.ports[97]:setstate(false) " @ - " gate.ports[98]:setstate(false) " @ - " gate.ports[99]:setstate(false) " @ - " gate.ports[100]:setstate(false) " @ - " gate.ports[101]:setstate(false) " @ - " gate.ports[102]:setstate(false) " @ - " gate.ports[103]:setstate(false) " @ - " gate.ports[104]:setstate(false) " @ - " gate.ports[105]:setstate(false) " @ - " gate.ports[106]:setstate(false) " @ - " gate.ports[107]:setstate(false) " @ - " gate.ports[108]:setstate(false) " @ - " gate.ports[109]:setstate(false) " @ - " gate.ports[110]:setstate(false) " @ - " gate.ports[111]:setstate(false) " @ - " gate.ports[112]:setstate(false) " @ - " gate.ports[113]:setstate(false) " @ - " gate.ports[114]:setstate(false) " @ - " gate.ports[115]:setstate(false) " @ - " gate.ports[116]:setstate(false) " @ - " gate.ports[117]:setstate(false) " @ - " gate.ports[118]:setstate(false) " @ - " gate.ports[119]:setstate(false) " @ - " gate.ports[120]:setstate(false) " @ - " gate.ports[121]:setstate(false) " @ - " gate.ports[122]:setstate(false) " @ - " gate.ports[123]:setstate(false) " @ - " gate.ports[124]:setstate(false) " @ - " gate.ports[125]:setstate(false) " @ - " gate.ports[126]:setstate(false) " @ - " gate.ports[127]:setstate(false) " @ - " gate.ports[128]:setstate(false) " @ + " Gate.setportstate(gate, 65, false) " @ + " Gate.setportstate(gate, 66, false) " @ + " Gate.setportstate(gate, 67, false) " @ + " Gate.setportstate(gate, 68, false) " @ + " Gate.setportstate(gate, 69, false) " @ + " Gate.setportstate(gate, 70, false) " @ + " Gate.setportstate(gate, 71, false) " @ + " Gate.setportstate(gate, 72, false) " @ + " Gate.setportstate(gate, 73, false) " @ + " Gate.setportstate(gate, 74, false) " @ + " Gate.setportstate(gate, 75, false) " @ + " Gate.setportstate(gate, 76, false) " @ + " Gate.setportstate(gate, 77, false) " @ + " Gate.setportstate(gate, 78, false) " @ + " Gate.setportstate(gate, 79, false) " @ + " Gate.setportstate(gate, 80, false) " @ + " Gate.setportstate(gate, 81, false) " @ + " Gate.setportstate(gate, 82, false) " @ + " Gate.setportstate(gate, 83, false) " @ + " Gate.setportstate(gate, 84, false) " @ + " Gate.setportstate(gate, 85, false) " @ + " Gate.setportstate(gate, 86, false) " @ + " Gate.setportstate(gate, 87, false) " @ + " Gate.setportstate(gate, 88, false) " @ + " Gate.setportstate(gate, 89, false) " @ + " Gate.setportstate(gate, 90, false) " @ + " Gate.setportstate(gate, 91, false) " @ + " Gate.setportstate(gate, 92, false) " @ + " Gate.setportstate(gate, 93, false) " @ + " Gate.setportstate(gate, 94, false) " @ + " Gate.setportstate(gate, 95, false) " @ + " Gate.setportstate(gate, 96, false) " @ + " Gate.setportstate(gate, 97, false) " @ + " Gate.setportstate(gate, 98, false) " @ + " Gate.setportstate(gate, 99, false) " @ + " Gate.setportstate(gate, 100, false) " @ + " Gate.setportstate(gate, 101, false) " @ + " Gate.setportstate(gate, 102, false) " @ + " Gate.setportstate(gate, 103, false) " @ + " Gate.setportstate(gate, 104, false) " @ + " Gate.setportstate(gate, 105, false) " @ + " Gate.setportstate(gate, 106, false) " @ + " Gate.setportstate(gate, 107, false) " @ + " Gate.setportstate(gate, 108, false) " @ + " Gate.setportstate(gate, 109, false) " @ + " Gate.setportstate(gate, 110, false) " @ + " Gate.setportstate(gate, 111, false) " @ + " Gate.setportstate(gate, 112, false) " @ + " Gate.setportstate(gate, 113, false) " @ + " Gate.setportstate(gate, 114, false) " @ + " Gate.setportstate(gate, 115, false) " @ + " Gate.setportstate(gate, 116, false) " @ + " Gate.setportstate(gate, 117, false) " @ + " Gate.setportstate(gate, 118, false) " @ + " Gate.setportstate(gate, 119, false) " @ + " Gate.setportstate(gate, 120, false) " @ + " Gate.setportstate(gate, 121, false) " @ + " Gate.setportstate(gate, 122, false) " @ + " Gate.setportstate(gate, 123, false) " @ + " Gate.setportstate(gate, 124, false) " @ + " Gate.setportstate(gate, 125, false) " @ + " Gate.setportstate(gate, 126, false) " @ + " Gate.setportstate(gate, 127, false) " @ + " Gate.setportstate(gate, 128, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer Active Low 7 Bit.cs b/bricks/gen/newcode/Buffer Active Low 7 Bit.cs index 6655036..f8f7583 100644 --- a/bricks/gen/newcode/Buffer Active Low 7 Bit.cs +++ b/bricks/gen/newcode/Buffer Active Low 7 Bit.cs @@ -23,22 +23,22 @@ datablock fxDtsBrickData(LogicGate_BufferAl7_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[15].state then " @ - " gate.ports[8]:setstate(gate.ports[1].state) " @ - " gate.ports[9]:setstate(gate.ports[2].state) " @ - " gate.ports[10]:setstate(gate.ports[3].state) " @ - " gate.ports[11]:setstate(gate.ports[4].state) " @ - " gate.ports[12]:setstate(gate.ports[5].state) " @ - " gate.ports[13]:setstate(gate.ports[6].state) " @ - " gate.ports[14]:setstate(gate.ports[7].state) " @ + " if not Gate.getportstate(gate, 15) then " @ + " Gate.setportstate(gate, 8, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 9, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 10, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 11, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 7)) " @ " else " @ - " gate.ports[8]:setstate(false) " @ - " gate.ports[9]:setstate(false) " @ - " gate.ports[10]:setstate(false) " @ - " gate.ports[11]:setstate(false) " @ - " gate.ports[12]:setstate(false) " @ - " gate.ports[13]:setstate(false) " @ - " gate.ports[14]:setstate(false) " @ + " Gate.setportstate(gate, 8, false) " @ + " Gate.setportstate(gate, 9, false) " @ + " Gate.setportstate(gate, 10, false) " @ + " Gate.setportstate(gate, 11, false) " @ + " Gate.setportstate(gate, 12, false) " @ + " Gate.setportstate(gate, 13, false) " @ + " Gate.setportstate(gate, 14, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer Active Low 8 Bit.cs b/bricks/gen/newcode/Buffer Active Low 8 Bit.cs index 96ada14..7cb6771 100644 --- a/bricks/gen/newcode/Buffer Active Low 8 Bit.cs +++ b/bricks/gen/newcode/Buffer Active Low 8 Bit.cs @@ -23,24 +23,24 @@ datablock fxDtsBrickData(LogicGate_BufferAl8_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[17].state then " @ - " gate.ports[9]:setstate(gate.ports[1].state) " @ - " gate.ports[10]:setstate(gate.ports[2].state) " @ - " gate.ports[11]:setstate(gate.ports[3].state) " @ - " gate.ports[12]:setstate(gate.ports[4].state) " @ - " gate.ports[13]:setstate(gate.ports[5].state) " @ - " gate.ports[14]:setstate(gate.ports[6].state) " @ - " gate.ports[15]:setstate(gate.ports[7].state) " @ - " gate.ports[16]:setstate(gate.ports[8].state) " @ + " if not Gate.getportstate(gate, 17) then " @ + " Gate.setportstate(gate, 9, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 10, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 11, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 8)) " @ " else " @ - " gate.ports[9]:setstate(false) " @ - " gate.ports[10]:setstate(false) " @ - " gate.ports[11]:setstate(false) " @ - " gate.ports[12]:setstate(false) " @ - " gate.ports[13]:setstate(false) " @ - " gate.ports[14]:setstate(false) " @ - " gate.ports[15]:setstate(false) " @ - " gate.ports[16]:setstate(false) " @ + " Gate.setportstate(gate, 9, false) " @ + " Gate.setportstate(gate, 10, false) " @ + " Gate.setportstate(gate, 11, false) " @ + " Gate.setportstate(gate, 12, false) " @ + " Gate.setportstate(gate, 13, false) " @ + " Gate.setportstate(gate, 14, false) " @ + " Gate.setportstate(gate, 15, false) " @ + " Gate.setportstate(gate, 16, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Buffer Active Low 9 Bit.cs b/bricks/gen/newcode/Buffer Active Low 9 Bit.cs index 3400e88..9d8c07b 100644 --- a/bricks/gen/newcode/Buffer Active Low 9 Bit.cs +++ b/bricks/gen/newcode/Buffer Active Low 9 Bit.cs @@ -23,26 +23,26 @@ datablock fxDtsBrickData(LogicGate_BufferAl9_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[19].state then " @ - " gate.ports[10]:setstate(gate.ports[1].state) " @ - " gate.ports[11]:setstate(gate.ports[2].state) " @ - " gate.ports[12]:setstate(gate.ports[3].state) " @ - " gate.ports[13]:setstate(gate.ports[4].state) " @ - " gate.ports[14]:setstate(gate.ports[5].state) " @ - " gate.ports[15]:setstate(gate.ports[6].state) " @ - " gate.ports[16]:setstate(gate.ports[7].state) " @ - " gate.ports[17]:setstate(gate.ports[8].state) " @ - " gate.ports[18]:setstate(gate.ports[9].state) " @ + " if not Gate.getportstate(gate, 19) then " @ + " Gate.setportstate(gate, 10, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 11, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 9)) " @ " else " @ - " gate.ports[10]:setstate(false) " @ - " gate.ports[11]:setstate(false) " @ - " gate.ports[12]:setstate(false) " @ - " gate.ports[13]:setstate(false) " @ - " gate.ports[14]:setstate(false) " @ - " gate.ports[15]:setstate(false) " @ - " gate.ports[16]:setstate(false) " @ - " gate.ports[17]:setstate(false) " @ - " gate.ports[18]:setstate(false) " @ + " Gate.setportstate(gate, 10, false) " @ + " Gate.setportstate(gate, 11, false) " @ + " Gate.setportstate(gate, 12, false) " @ + " Gate.setportstate(gate, 13, false) " @ + " Gate.setportstate(gate, 14, false) " @ + " Gate.setportstate(gate, 15, false) " @ + " Gate.setportstate(gate, 16, false) " @ + " Gate.setportstate(gate, 17, false) " @ + " Gate.setportstate(gate, 18, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop 1 Bit.cs b/bricks/gen/newcode/D FlipFlop 1 Bit.cs index 2a4c652..e76986f 100644 --- a/bricks/gen/newcode/D FlipFlop 1 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop 1 Bit.cs @@ -23,8 +23,8 @@ datablock fxDtsBrickData(LogicGate_DFlipFlop1_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[3].state then " @ - " gate.ports[2]:setstate(gate.ports[1].state) " @ + " if Gate.getportstate(gate, 3) then " @ + " Gate.setportstate(gate, 2, Gate.getportstate(gate, 1)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop 10 Bit.cs b/bricks/gen/newcode/D FlipFlop 10 Bit.cs index e8626b2..d9fb33d 100644 --- a/bricks/gen/newcode/D FlipFlop 10 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop 10 Bit.cs @@ -23,17 +23,17 @@ datablock fxDtsBrickData(LogicGate_DFlipFlop10_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[21].state then " @ - " gate.ports[11]:setstate(gate.ports[1].state) " @ - " gate.ports[12]:setstate(gate.ports[2].state) " @ - " gate.ports[13]:setstate(gate.ports[3].state) " @ - " gate.ports[14]:setstate(gate.ports[4].state) " @ - " gate.ports[15]:setstate(gate.ports[5].state) " @ - " gate.ports[16]:setstate(gate.ports[6].state) " @ - " gate.ports[17]:setstate(gate.ports[7].state) " @ - " gate.ports[18]:setstate(gate.ports[8].state) " @ - " gate.ports[19]:setstate(gate.ports[9].state) " @ - " gate.ports[20]:setstate(gate.ports[10].state) " @ + " if Gate.getportstate(gate, 21) then " @ + " Gate.setportstate(gate, 11, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 10)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop 11 Bit.cs b/bricks/gen/newcode/D FlipFlop 11 Bit.cs index fe9c8b2..815bd21 100644 --- a/bricks/gen/newcode/D FlipFlop 11 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop 11 Bit.cs @@ -23,18 +23,18 @@ datablock fxDtsBrickData(LogicGate_DFlipFlop11_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[23].state then " @ - " gate.ports[12]:setstate(gate.ports[1].state) " @ - " gate.ports[13]:setstate(gate.ports[2].state) " @ - " gate.ports[14]:setstate(gate.ports[3].state) " @ - " gate.ports[15]:setstate(gate.ports[4].state) " @ - " gate.ports[16]:setstate(gate.ports[5].state) " @ - " gate.ports[17]:setstate(gate.ports[6].state) " @ - " gate.ports[18]:setstate(gate.ports[7].state) " @ - " gate.ports[19]:setstate(gate.ports[8].state) " @ - " gate.ports[20]:setstate(gate.ports[9].state) " @ - " gate.ports[21]:setstate(gate.ports[10].state) " @ - " gate.ports[22]:setstate(gate.ports[11].state) " @ + " if Gate.getportstate(gate, 23) then " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 11)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop 12 Bit.cs b/bricks/gen/newcode/D FlipFlop 12 Bit.cs index 7d3d98f..4f66ec6 100644 --- a/bricks/gen/newcode/D FlipFlop 12 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop 12 Bit.cs @@ -23,19 +23,19 @@ datablock fxDtsBrickData(LogicGate_DFlipFlop12_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[25].state then " @ - " gate.ports[13]:setstate(gate.ports[1].state) " @ - " gate.ports[14]:setstate(gate.ports[2].state) " @ - " gate.ports[15]:setstate(gate.ports[3].state) " @ - " gate.ports[16]:setstate(gate.ports[4].state) " @ - " gate.ports[17]:setstate(gate.ports[5].state) " @ - " gate.ports[18]:setstate(gate.ports[6].state) " @ - " gate.ports[19]:setstate(gate.ports[7].state) " @ - " gate.ports[20]:setstate(gate.ports[8].state) " @ - " gate.ports[21]:setstate(gate.ports[9].state) " @ - " gate.ports[22]:setstate(gate.ports[10].state) " @ - " gate.ports[23]:setstate(gate.ports[11].state) " @ - " gate.ports[24]:setstate(gate.ports[12].state) " @ + " if Gate.getportstate(gate, 25) then " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 23, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 24, Gate.getportstate(gate, 12)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop 13 Bit.cs b/bricks/gen/newcode/D FlipFlop 13 Bit.cs index f569d33..b5ea11c 100644 --- a/bricks/gen/newcode/D FlipFlop 13 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop 13 Bit.cs @@ -23,20 +23,20 @@ datablock fxDtsBrickData(LogicGate_DFlipFlop13_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[27].state then " @ - " gate.ports[14]:setstate(gate.ports[1].state) " @ - " gate.ports[15]:setstate(gate.ports[2].state) " @ - " gate.ports[16]:setstate(gate.ports[3].state) " @ - " gate.ports[17]:setstate(gate.ports[4].state) " @ - " gate.ports[18]:setstate(gate.ports[5].state) " @ - " gate.ports[19]:setstate(gate.ports[6].state) " @ - " gate.ports[20]:setstate(gate.ports[7].state) " @ - " gate.ports[21]:setstate(gate.ports[8].state) " @ - " gate.ports[22]:setstate(gate.ports[9].state) " @ - " gate.ports[23]:setstate(gate.ports[10].state) " @ - " gate.ports[24]:setstate(gate.ports[11].state) " @ - " gate.ports[25]:setstate(gate.ports[12].state) " @ - " gate.ports[26]:setstate(gate.ports[13].state) " @ + " if Gate.getportstate(gate, 27) then " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 23, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 24, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 25, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 26, Gate.getportstate(gate, 13)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop 14 Bit.cs b/bricks/gen/newcode/D FlipFlop 14 Bit.cs index 2d9b9c2..3175bac 100644 --- a/bricks/gen/newcode/D FlipFlop 14 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop 14 Bit.cs @@ -23,21 +23,21 @@ datablock fxDtsBrickData(LogicGate_DFlipFlop14_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[29].state then " @ - " gate.ports[15]:setstate(gate.ports[1].state) " @ - " gate.ports[16]:setstate(gate.ports[2].state) " @ - " gate.ports[17]:setstate(gate.ports[3].state) " @ - " gate.ports[18]:setstate(gate.ports[4].state) " @ - " gate.ports[19]:setstate(gate.ports[5].state) " @ - " gate.ports[20]:setstate(gate.ports[6].state) " @ - " gate.ports[21]:setstate(gate.ports[7].state) " @ - " gate.ports[22]:setstate(gate.ports[8].state) " @ - " gate.ports[23]:setstate(gate.ports[9].state) " @ - " gate.ports[24]:setstate(gate.ports[10].state) " @ - " gate.ports[25]:setstate(gate.ports[11].state) " @ - " gate.ports[26]:setstate(gate.ports[12].state) " @ - " gate.ports[27]:setstate(gate.ports[13].state) " @ - " gate.ports[28]:setstate(gate.ports[14].state) " @ + " if Gate.getportstate(gate, 29) then " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 23, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 24, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 25, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 26, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 27, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 28, Gate.getportstate(gate, 14)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop 15 Bit.cs b/bricks/gen/newcode/D FlipFlop 15 Bit.cs index e3f775c..1857877 100644 --- a/bricks/gen/newcode/D FlipFlop 15 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop 15 Bit.cs @@ -23,22 +23,22 @@ datablock fxDtsBrickData(LogicGate_DFlipFlop15_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[31].state then " @ - " gate.ports[16]:setstate(gate.ports[1].state) " @ - " gate.ports[17]:setstate(gate.ports[2].state) " @ - " gate.ports[18]:setstate(gate.ports[3].state) " @ - " gate.ports[19]:setstate(gate.ports[4].state) " @ - " gate.ports[20]:setstate(gate.ports[5].state) " @ - " gate.ports[21]:setstate(gate.ports[6].state) " @ - " gate.ports[22]:setstate(gate.ports[7].state) " @ - " gate.ports[23]:setstate(gate.ports[8].state) " @ - " gate.ports[24]:setstate(gate.ports[9].state) " @ - " gate.ports[25]:setstate(gate.ports[10].state) " @ - " gate.ports[26]:setstate(gate.ports[11].state) " @ - " gate.ports[27]:setstate(gate.ports[12].state) " @ - " gate.ports[28]:setstate(gate.ports[13].state) " @ - " gate.ports[29]:setstate(gate.ports[14].state) " @ - " gate.ports[30]:setstate(gate.ports[15].state) " @ + " if Gate.getportstate(gate, 31) then " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 23, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 24, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 25, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 26, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 27, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 28, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 29, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 30, Gate.getportstate(gate, 15)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop 16 Bit.cs b/bricks/gen/newcode/D FlipFlop 16 Bit.cs index 25aa93c..0cc08ec 100644 --- a/bricks/gen/newcode/D FlipFlop 16 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop 16 Bit.cs @@ -23,23 +23,23 @@ datablock fxDtsBrickData(LogicGate_DFlipFlop16_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[33].state then " @ - " gate.ports[17]:setstate(gate.ports[1].state) " @ - " gate.ports[18]:setstate(gate.ports[2].state) " @ - " gate.ports[19]:setstate(gate.ports[3].state) " @ - " gate.ports[20]:setstate(gate.ports[4].state) " @ - " gate.ports[21]:setstate(gate.ports[5].state) " @ - " gate.ports[22]:setstate(gate.ports[6].state) " @ - " gate.ports[23]:setstate(gate.ports[7].state) " @ - " gate.ports[24]:setstate(gate.ports[8].state) " @ - " gate.ports[25]:setstate(gate.ports[9].state) " @ - " gate.ports[26]:setstate(gate.ports[10].state) " @ - " gate.ports[27]:setstate(gate.ports[11].state) " @ - " gate.ports[28]:setstate(gate.ports[12].state) " @ - " gate.ports[29]:setstate(gate.ports[13].state) " @ - " gate.ports[30]:setstate(gate.ports[14].state) " @ - " gate.ports[31]:setstate(gate.ports[15].state) " @ - " gate.ports[32]:setstate(gate.ports[16].state) " @ + " if Gate.getportstate(gate, 33) then " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 23, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 24, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 25, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 26, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 27, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 28, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 29, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 30, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 31, Gate.getportstate(gate, 15)) " @ + " Gate.setportstate(gate, 32, Gate.getportstate(gate, 16)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop 2 Bit.cs b/bricks/gen/newcode/D FlipFlop 2 Bit.cs index 79e915b..a5bf2f6 100644 --- a/bricks/gen/newcode/D FlipFlop 2 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop 2 Bit.cs @@ -23,9 +23,9 @@ datablock fxDtsBrickData(LogicGate_DFlipFlop2_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[5].state then " @ - " gate.ports[3]:setstate(gate.ports[1].state) " @ - " gate.ports[4]:setstate(gate.ports[2].state) " @ + " if Gate.getportstate(gate, 5) then " @ + " Gate.setportstate(gate, 3, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 4, Gate.getportstate(gate, 2)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop 24 Bit.cs b/bricks/gen/newcode/D FlipFlop 24 Bit.cs index a4c3fe9..113827b 100644 --- a/bricks/gen/newcode/D FlipFlop 24 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop 24 Bit.cs @@ -23,31 +23,31 @@ datablock fxDtsBrickData(LogicGate_DFlipFlop24_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[49].state then " @ - " gate.ports[25]:setstate(gate.ports[1].state) " @ - " gate.ports[26]:setstate(gate.ports[2].state) " @ - " gate.ports[27]:setstate(gate.ports[3].state) " @ - " gate.ports[28]:setstate(gate.ports[4].state) " @ - " gate.ports[29]:setstate(gate.ports[5].state) " @ - " gate.ports[30]:setstate(gate.ports[6].state) " @ - " gate.ports[31]:setstate(gate.ports[7].state) " @ - " gate.ports[32]:setstate(gate.ports[8].state) " @ - " gate.ports[33]:setstate(gate.ports[9].state) " @ - " gate.ports[34]:setstate(gate.ports[10].state) " @ - " gate.ports[35]:setstate(gate.ports[11].state) " @ - " gate.ports[36]:setstate(gate.ports[12].state) " @ - " gate.ports[37]:setstate(gate.ports[13].state) " @ - " gate.ports[38]:setstate(gate.ports[14].state) " @ - " gate.ports[39]:setstate(gate.ports[15].state) " @ - " gate.ports[40]:setstate(gate.ports[16].state) " @ - " gate.ports[41]:setstate(gate.ports[17].state) " @ - " gate.ports[42]:setstate(gate.ports[18].state) " @ - " gate.ports[43]:setstate(gate.ports[19].state) " @ - " gate.ports[44]:setstate(gate.ports[20].state) " @ - " gate.ports[45]:setstate(gate.ports[21].state) " @ - " gate.ports[46]:setstate(gate.ports[22].state) " @ - " gate.ports[47]:setstate(gate.ports[23].state) " @ - " gate.ports[48]:setstate(gate.ports[24].state) " @ + " if Gate.getportstate(gate, 49) then " @ + " Gate.setportstate(gate, 25, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 26, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 27, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 28, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 29, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 30, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 31, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 32, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 33, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 34, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 35, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 36, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 37, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 38, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 39, Gate.getportstate(gate, 15)) " @ + " Gate.setportstate(gate, 40, Gate.getportstate(gate, 16)) " @ + " Gate.setportstate(gate, 41, Gate.getportstate(gate, 17)) " @ + " Gate.setportstate(gate, 42, Gate.getportstate(gate, 18)) " @ + " Gate.setportstate(gate, 43, Gate.getportstate(gate, 19)) " @ + " Gate.setportstate(gate, 44, Gate.getportstate(gate, 20)) " @ + " Gate.setportstate(gate, 45, Gate.getportstate(gate, 21)) " @ + " Gate.setportstate(gate, 46, Gate.getportstate(gate, 22)) " @ + " Gate.setportstate(gate, 47, Gate.getportstate(gate, 23)) " @ + " Gate.setportstate(gate, 48, Gate.getportstate(gate, 24)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop 3 Bit.cs b/bricks/gen/newcode/D FlipFlop 3 Bit.cs index f7d914f..c5f71a8 100644 --- a/bricks/gen/newcode/D FlipFlop 3 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop 3 Bit.cs @@ -23,10 +23,10 @@ datablock fxDtsBrickData(LogicGate_DFlipFlop3_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[7].state then " @ - " gate.ports[4]:setstate(gate.ports[1].state) " @ - " gate.ports[5]:setstate(gate.ports[2].state) " @ - " gate.ports[6]:setstate(gate.ports[3].state) " @ + " if Gate.getportstate(gate, 7) then " @ + " Gate.setportstate(gate, 4, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 5, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 6, Gate.getportstate(gate, 3)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop 32 Bit.cs b/bricks/gen/newcode/D FlipFlop 32 Bit.cs index 76557c1..f6d5be7 100644 --- a/bricks/gen/newcode/D FlipFlop 32 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop 32 Bit.cs @@ -23,39 +23,39 @@ datablock fxDtsBrickData(LogicGate_DFlipFlop32_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[65].state then " @ - " gate.ports[33]:setstate(gate.ports[1].state) " @ - " gate.ports[34]:setstate(gate.ports[2].state) " @ - " gate.ports[35]:setstate(gate.ports[3].state) " @ - " gate.ports[36]:setstate(gate.ports[4].state) " @ - " gate.ports[37]:setstate(gate.ports[5].state) " @ - " gate.ports[38]:setstate(gate.ports[6].state) " @ - " gate.ports[39]:setstate(gate.ports[7].state) " @ - " gate.ports[40]:setstate(gate.ports[8].state) " @ - " gate.ports[41]:setstate(gate.ports[9].state) " @ - " gate.ports[42]:setstate(gate.ports[10].state) " @ - " gate.ports[43]:setstate(gate.ports[11].state) " @ - " gate.ports[44]:setstate(gate.ports[12].state) " @ - " gate.ports[45]:setstate(gate.ports[13].state) " @ - " gate.ports[46]:setstate(gate.ports[14].state) " @ - " gate.ports[47]:setstate(gate.ports[15].state) " @ - " gate.ports[48]:setstate(gate.ports[16].state) " @ - " gate.ports[49]:setstate(gate.ports[17].state) " @ - " gate.ports[50]:setstate(gate.ports[18].state) " @ - " gate.ports[51]:setstate(gate.ports[19].state) " @ - " gate.ports[52]:setstate(gate.ports[20].state) " @ - " gate.ports[53]:setstate(gate.ports[21].state) " @ - " gate.ports[54]:setstate(gate.ports[22].state) " @ - " gate.ports[55]:setstate(gate.ports[23].state) " @ - " gate.ports[56]:setstate(gate.ports[24].state) " @ - " gate.ports[57]:setstate(gate.ports[25].state) " @ - " gate.ports[58]:setstate(gate.ports[26].state) " @ - " gate.ports[59]:setstate(gate.ports[27].state) " @ - " gate.ports[60]:setstate(gate.ports[28].state) " @ - " gate.ports[61]:setstate(gate.ports[29].state) " @ - " gate.ports[62]:setstate(gate.ports[30].state) " @ - " gate.ports[63]:setstate(gate.ports[31].state) " @ - " gate.ports[64]:setstate(gate.ports[32].state) " @ + " if Gate.getportstate(gate, 65) then " @ + " Gate.setportstate(gate, 33, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 34, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 35, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 36, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 37, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 38, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 39, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 40, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 41, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 42, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 43, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 44, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 45, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 46, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 47, Gate.getportstate(gate, 15)) " @ + " Gate.setportstate(gate, 48, Gate.getportstate(gate, 16)) " @ + " Gate.setportstate(gate, 49, Gate.getportstate(gate, 17)) " @ + " Gate.setportstate(gate, 50, Gate.getportstate(gate, 18)) " @ + " Gate.setportstate(gate, 51, Gate.getportstate(gate, 19)) " @ + " Gate.setportstate(gate, 52, Gate.getportstate(gate, 20)) " @ + " Gate.setportstate(gate, 53, Gate.getportstate(gate, 21)) " @ + " Gate.setportstate(gate, 54, Gate.getportstate(gate, 22)) " @ + " Gate.setportstate(gate, 55, Gate.getportstate(gate, 23)) " @ + " Gate.setportstate(gate, 56, Gate.getportstate(gate, 24)) " @ + " Gate.setportstate(gate, 57, Gate.getportstate(gate, 25)) " @ + " Gate.setportstate(gate, 58, Gate.getportstate(gate, 26)) " @ + " Gate.setportstate(gate, 59, Gate.getportstate(gate, 27)) " @ + " Gate.setportstate(gate, 60, Gate.getportstate(gate, 28)) " @ + " Gate.setportstate(gate, 61, Gate.getportstate(gate, 29)) " @ + " Gate.setportstate(gate, 62, Gate.getportstate(gate, 30)) " @ + " Gate.setportstate(gate, 63, Gate.getportstate(gate, 31)) " @ + " Gate.setportstate(gate, 64, Gate.getportstate(gate, 32)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop 4 Bit.cs b/bricks/gen/newcode/D FlipFlop 4 Bit.cs index 456205f..8889cb9 100644 --- a/bricks/gen/newcode/D FlipFlop 4 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop 4 Bit.cs @@ -23,11 +23,11 @@ datablock fxDtsBrickData(LogicGate_DFlipFlop4_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[9].state then " @ - " gate.ports[5]:setstate(gate.ports[1].state) " @ - " gate.ports[6]:setstate(gate.ports[2].state) " @ - " gate.ports[7]:setstate(gate.ports[3].state) " @ - " gate.ports[8]:setstate(gate.ports[4].state) " @ + " if Gate.getportstate(gate, 9) then " @ + " Gate.setportstate(gate, 5, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 6, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 7, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 8, Gate.getportstate(gate, 4)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop 48 Bit.cs b/bricks/gen/newcode/D FlipFlop 48 Bit.cs index 7adf5dc..4824d64 100644 --- a/bricks/gen/newcode/D FlipFlop 48 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop 48 Bit.cs @@ -23,55 +23,55 @@ datablock fxDtsBrickData(LogicGate_DFlipFlop48_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[97].state then " @ - " gate.ports[49]:setstate(gate.ports[1].state) " @ - " gate.ports[50]:setstate(gate.ports[2].state) " @ - " gate.ports[51]:setstate(gate.ports[3].state) " @ - " gate.ports[52]:setstate(gate.ports[4].state) " @ - " gate.ports[53]:setstate(gate.ports[5].state) " @ - " gate.ports[54]:setstate(gate.ports[6].state) " @ - " gate.ports[55]:setstate(gate.ports[7].state) " @ - " gate.ports[56]:setstate(gate.ports[8].state) " @ - " gate.ports[57]:setstate(gate.ports[9].state) " @ - " gate.ports[58]:setstate(gate.ports[10].state) " @ - " gate.ports[59]:setstate(gate.ports[11].state) " @ - " gate.ports[60]:setstate(gate.ports[12].state) " @ - " gate.ports[61]:setstate(gate.ports[13].state) " @ - " gate.ports[62]:setstate(gate.ports[14].state) " @ - " gate.ports[63]:setstate(gate.ports[15].state) " @ - " gate.ports[64]:setstate(gate.ports[16].state) " @ - " gate.ports[65]:setstate(gate.ports[17].state) " @ - " gate.ports[66]:setstate(gate.ports[18].state) " @ - " gate.ports[67]:setstate(gate.ports[19].state) " @ - " gate.ports[68]:setstate(gate.ports[20].state) " @ - " gate.ports[69]:setstate(gate.ports[21].state) " @ - " gate.ports[70]:setstate(gate.ports[22].state) " @ - " gate.ports[71]:setstate(gate.ports[23].state) " @ - " gate.ports[72]:setstate(gate.ports[24].state) " @ - " gate.ports[73]:setstate(gate.ports[25].state) " @ - " gate.ports[74]:setstate(gate.ports[26].state) " @ - " gate.ports[75]:setstate(gate.ports[27].state) " @ - " gate.ports[76]:setstate(gate.ports[28].state) " @ - " gate.ports[77]:setstate(gate.ports[29].state) " @ - " gate.ports[78]:setstate(gate.ports[30].state) " @ - " gate.ports[79]:setstate(gate.ports[31].state) " @ - " gate.ports[80]:setstate(gate.ports[32].state) " @ - " gate.ports[81]:setstate(gate.ports[33].state) " @ - " gate.ports[82]:setstate(gate.ports[34].state) " @ - " gate.ports[83]:setstate(gate.ports[35].state) " @ - " gate.ports[84]:setstate(gate.ports[36].state) " @ - " gate.ports[85]:setstate(gate.ports[37].state) " @ - " gate.ports[86]:setstate(gate.ports[38].state) " @ - " gate.ports[87]:setstate(gate.ports[39].state) " @ - " gate.ports[88]:setstate(gate.ports[40].state) " @ - " gate.ports[89]:setstate(gate.ports[41].state) " @ - " gate.ports[90]:setstate(gate.ports[42].state) " @ - " gate.ports[91]:setstate(gate.ports[43].state) " @ - " gate.ports[92]:setstate(gate.ports[44].state) " @ - " gate.ports[93]:setstate(gate.ports[45].state) " @ - " gate.ports[94]:setstate(gate.ports[46].state) " @ - " gate.ports[95]:setstate(gate.ports[47].state) " @ - " gate.ports[96]:setstate(gate.ports[48].state) " @ + " if Gate.getportstate(gate, 97) then " @ + " Gate.setportstate(gate, 49, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 50, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 51, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 52, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 53, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 54, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 55, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 56, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 57, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 58, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 59, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 60, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 61, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 62, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 63, Gate.getportstate(gate, 15)) " @ + " Gate.setportstate(gate, 64, Gate.getportstate(gate, 16)) " @ + " Gate.setportstate(gate, 65, Gate.getportstate(gate, 17)) " @ + " Gate.setportstate(gate, 66, Gate.getportstate(gate, 18)) " @ + " Gate.setportstate(gate, 67, Gate.getportstate(gate, 19)) " @ + " Gate.setportstate(gate, 68, Gate.getportstate(gate, 20)) " @ + " Gate.setportstate(gate, 69, Gate.getportstate(gate, 21)) " @ + " Gate.setportstate(gate, 70, Gate.getportstate(gate, 22)) " @ + " Gate.setportstate(gate, 71, Gate.getportstate(gate, 23)) " @ + " Gate.setportstate(gate, 72, Gate.getportstate(gate, 24)) " @ + " Gate.setportstate(gate, 73, Gate.getportstate(gate, 25)) " @ + " Gate.setportstate(gate, 74, Gate.getportstate(gate, 26)) " @ + " Gate.setportstate(gate, 75, Gate.getportstate(gate, 27)) " @ + " Gate.setportstate(gate, 76, Gate.getportstate(gate, 28)) " @ + " Gate.setportstate(gate, 77, Gate.getportstate(gate, 29)) " @ + " Gate.setportstate(gate, 78, Gate.getportstate(gate, 30)) " @ + " Gate.setportstate(gate, 79, Gate.getportstate(gate, 31)) " @ + " Gate.setportstate(gate, 80, Gate.getportstate(gate, 32)) " @ + " Gate.setportstate(gate, 81, Gate.getportstate(gate, 33)) " @ + " Gate.setportstate(gate, 82, Gate.getportstate(gate, 34)) " @ + " Gate.setportstate(gate, 83, Gate.getportstate(gate, 35)) " @ + " Gate.setportstate(gate, 84, Gate.getportstate(gate, 36)) " @ + " Gate.setportstate(gate, 85, Gate.getportstate(gate, 37)) " @ + " Gate.setportstate(gate, 86, Gate.getportstate(gate, 38)) " @ + " Gate.setportstate(gate, 87, Gate.getportstate(gate, 39)) " @ + " Gate.setportstate(gate, 88, Gate.getportstate(gate, 40)) " @ + " Gate.setportstate(gate, 89, Gate.getportstate(gate, 41)) " @ + " Gate.setportstate(gate, 90, Gate.getportstate(gate, 42)) " @ + " Gate.setportstate(gate, 91, Gate.getportstate(gate, 43)) " @ + " Gate.setportstate(gate, 92, Gate.getportstate(gate, 44)) " @ + " Gate.setportstate(gate, 93, Gate.getportstate(gate, 45)) " @ + " Gate.setportstate(gate, 94, Gate.getportstate(gate, 46)) " @ + " Gate.setportstate(gate, 95, Gate.getportstate(gate, 47)) " @ + " Gate.setportstate(gate, 96, Gate.getportstate(gate, 48)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop 5 Bit.cs b/bricks/gen/newcode/D FlipFlop 5 Bit.cs index 0d9072b..a8eb490 100644 --- a/bricks/gen/newcode/D FlipFlop 5 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop 5 Bit.cs @@ -23,12 +23,12 @@ datablock fxDtsBrickData(LogicGate_DFlipFlop5_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[11].state then " @ - " gate.ports[6]:setstate(gate.ports[1].state) " @ - " gate.ports[7]:setstate(gate.ports[2].state) " @ - " gate.ports[8]:setstate(gate.ports[3].state) " @ - " gate.ports[9]:setstate(gate.ports[4].state) " @ - " gate.ports[10]:setstate(gate.ports[5].state) " @ + " if Gate.getportstate(gate, 11) then " @ + " Gate.setportstate(gate, 6, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 7, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 8, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 9, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 10, Gate.getportstate(gate, 5)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop 6 Bit.cs b/bricks/gen/newcode/D FlipFlop 6 Bit.cs index b3cd248..41d2feb 100644 --- a/bricks/gen/newcode/D FlipFlop 6 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop 6 Bit.cs @@ -23,13 +23,13 @@ datablock fxDtsBrickData(LogicGate_DFlipFlop6_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[13].state then " @ - " gate.ports[7]:setstate(gate.ports[1].state) " @ - " gate.ports[8]:setstate(gate.ports[2].state) " @ - " gate.ports[9]:setstate(gate.ports[3].state) " @ - " gate.ports[10]:setstate(gate.ports[4].state) " @ - " gate.ports[11]:setstate(gate.ports[5].state) " @ - " gate.ports[12]:setstate(gate.ports[6].state) " @ + " if Gate.getportstate(gate, 13) then " @ + " Gate.setportstate(gate, 7, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 8, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 9, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 10, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 11, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 6)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop 64 Bit.cs b/bricks/gen/newcode/D FlipFlop 64 Bit.cs index 2e2da25..e44e57c 100644 --- a/bricks/gen/newcode/D FlipFlop 64 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop 64 Bit.cs @@ -23,71 +23,71 @@ datablock fxDtsBrickData(LogicGate_DFlipFlop64_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[129].state then " @ - " gate.ports[65]:setstate(gate.ports[1].state) " @ - " gate.ports[66]:setstate(gate.ports[2].state) " @ - " gate.ports[67]:setstate(gate.ports[3].state) " @ - " gate.ports[68]:setstate(gate.ports[4].state) " @ - " gate.ports[69]:setstate(gate.ports[5].state) " @ - " gate.ports[70]:setstate(gate.ports[6].state) " @ - " gate.ports[71]:setstate(gate.ports[7].state) " @ - " gate.ports[72]:setstate(gate.ports[8].state) " @ - " gate.ports[73]:setstate(gate.ports[9].state) " @ - " gate.ports[74]:setstate(gate.ports[10].state) " @ - " gate.ports[75]:setstate(gate.ports[11].state) " @ - " gate.ports[76]:setstate(gate.ports[12].state) " @ - " gate.ports[77]:setstate(gate.ports[13].state) " @ - " gate.ports[78]:setstate(gate.ports[14].state) " @ - " gate.ports[79]:setstate(gate.ports[15].state) " @ - " gate.ports[80]:setstate(gate.ports[16].state) " @ - " gate.ports[81]:setstate(gate.ports[17].state) " @ - " gate.ports[82]:setstate(gate.ports[18].state) " @ - " gate.ports[83]:setstate(gate.ports[19].state) " @ - " gate.ports[84]:setstate(gate.ports[20].state) " @ - " gate.ports[85]:setstate(gate.ports[21].state) " @ - " gate.ports[86]:setstate(gate.ports[22].state) " @ - " gate.ports[87]:setstate(gate.ports[23].state) " @ - " gate.ports[88]:setstate(gate.ports[24].state) " @ - " gate.ports[89]:setstate(gate.ports[25].state) " @ - " gate.ports[90]:setstate(gate.ports[26].state) " @ - " gate.ports[91]:setstate(gate.ports[27].state) " @ - " gate.ports[92]:setstate(gate.ports[28].state) " @ - " gate.ports[93]:setstate(gate.ports[29].state) " @ - " gate.ports[94]:setstate(gate.ports[30].state) " @ - " gate.ports[95]:setstate(gate.ports[31].state) " @ - " gate.ports[96]:setstate(gate.ports[32].state) " @ - " gate.ports[97]:setstate(gate.ports[33].state) " @ - " gate.ports[98]:setstate(gate.ports[34].state) " @ - " gate.ports[99]:setstate(gate.ports[35].state) " @ - " gate.ports[100]:setstate(gate.ports[36].state) " @ - " gate.ports[101]:setstate(gate.ports[37].state) " @ - " gate.ports[102]:setstate(gate.ports[38].state) " @ - " gate.ports[103]:setstate(gate.ports[39].state) " @ - " gate.ports[104]:setstate(gate.ports[40].state) " @ - " gate.ports[105]:setstate(gate.ports[41].state) " @ - " gate.ports[106]:setstate(gate.ports[42].state) " @ - " gate.ports[107]:setstate(gate.ports[43].state) " @ - " gate.ports[108]:setstate(gate.ports[44].state) " @ - " gate.ports[109]:setstate(gate.ports[45].state) " @ - " gate.ports[110]:setstate(gate.ports[46].state) " @ - " gate.ports[111]:setstate(gate.ports[47].state) " @ - " gate.ports[112]:setstate(gate.ports[48].state) " @ - " gate.ports[113]:setstate(gate.ports[49].state) " @ - " gate.ports[114]:setstate(gate.ports[50].state) " @ - " gate.ports[115]:setstate(gate.ports[51].state) " @ - " gate.ports[116]:setstate(gate.ports[52].state) " @ - " gate.ports[117]:setstate(gate.ports[53].state) " @ - " gate.ports[118]:setstate(gate.ports[54].state) " @ - " gate.ports[119]:setstate(gate.ports[55].state) " @ - " gate.ports[120]:setstate(gate.ports[56].state) " @ - " gate.ports[121]:setstate(gate.ports[57].state) " @ - " gate.ports[122]:setstate(gate.ports[58].state) " @ - " gate.ports[123]:setstate(gate.ports[59].state) " @ - " gate.ports[124]:setstate(gate.ports[60].state) " @ - " gate.ports[125]:setstate(gate.ports[61].state) " @ - " gate.ports[126]:setstate(gate.ports[62].state) " @ - " gate.ports[127]:setstate(gate.ports[63].state) " @ - " gate.ports[128]:setstate(gate.ports[64].state) " @ + " if Gate.getportstate(gate, 129) then " @ + " Gate.setportstate(gate, 65, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 66, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 67, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 68, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 69, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 70, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 71, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 72, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 73, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 74, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 75, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 76, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 77, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 78, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 79, Gate.getportstate(gate, 15)) " @ + " Gate.setportstate(gate, 80, Gate.getportstate(gate, 16)) " @ + " Gate.setportstate(gate, 81, Gate.getportstate(gate, 17)) " @ + " Gate.setportstate(gate, 82, Gate.getportstate(gate, 18)) " @ + " Gate.setportstate(gate, 83, Gate.getportstate(gate, 19)) " @ + " Gate.setportstate(gate, 84, Gate.getportstate(gate, 20)) " @ + " Gate.setportstate(gate, 85, Gate.getportstate(gate, 21)) " @ + " Gate.setportstate(gate, 86, Gate.getportstate(gate, 22)) " @ + " Gate.setportstate(gate, 87, Gate.getportstate(gate, 23)) " @ + " Gate.setportstate(gate, 88, Gate.getportstate(gate, 24)) " @ + " Gate.setportstate(gate, 89, Gate.getportstate(gate, 25)) " @ + " Gate.setportstate(gate, 90, Gate.getportstate(gate, 26)) " @ + " Gate.setportstate(gate, 91, Gate.getportstate(gate, 27)) " @ + " Gate.setportstate(gate, 92, Gate.getportstate(gate, 28)) " @ + " Gate.setportstate(gate, 93, Gate.getportstate(gate, 29)) " @ + " Gate.setportstate(gate, 94, Gate.getportstate(gate, 30)) " @ + " Gate.setportstate(gate, 95, Gate.getportstate(gate, 31)) " @ + " Gate.setportstate(gate, 96, Gate.getportstate(gate, 32)) " @ + " Gate.setportstate(gate, 97, Gate.getportstate(gate, 33)) " @ + " Gate.setportstate(gate, 98, Gate.getportstate(gate, 34)) " @ + " Gate.setportstate(gate, 99, Gate.getportstate(gate, 35)) " @ + " Gate.setportstate(gate, 100, Gate.getportstate(gate, 36)) " @ + " Gate.setportstate(gate, 101, Gate.getportstate(gate, 37)) " @ + " Gate.setportstate(gate, 102, Gate.getportstate(gate, 38)) " @ + " Gate.setportstate(gate, 103, Gate.getportstate(gate, 39)) " @ + " Gate.setportstate(gate, 104, Gate.getportstate(gate, 40)) " @ + " Gate.setportstate(gate, 105, Gate.getportstate(gate, 41)) " @ + " Gate.setportstate(gate, 106, Gate.getportstate(gate, 42)) " @ + " Gate.setportstate(gate, 107, Gate.getportstate(gate, 43)) " @ + " Gate.setportstate(gate, 108, Gate.getportstate(gate, 44)) " @ + " Gate.setportstate(gate, 109, Gate.getportstate(gate, 45)) " @ + " Gate.setportstate(gate, 110, Gate.getportstate(gate, 46)) " @ + " Gate.setportstate(gate, 111, Gate.getportstate(gate, 47)) " @ + " Gate.setportstate(gate, 112, Gate.getportstate(gate, 48)) " @ + " Gate.setportstate(gate, 113, Gate.getportstate(gate, 49)) " @ + " Gate.setportstate(gate, 114, Gate.getportstate(gate, 50)) " @ + " Gate.setportstate(gate, 115, Gate.getportstate(gate, 51)) " @ + " Gate.setportstate(gate, 116, Gate.getportstate(gate, 52)) " @ + " Gate.setportstate(gate, 117, Gate.getportstate(gate, 53)) " @ + " Gate.setportstate(gate, 118, Gate.getportstate(gate, 54)) " @ + " Gate.setportstate(gate, 119, Gate.getportstate(gate, 55)) " @ + " Gate.setportstate(gate, 120, Gate.getportstate(gate, 56)) " @ + " Gate.setportstate(gate, 121, Gate.getportstate(gate, 57)) " @ + " Gate.setportstate(gate, 122, Gate.getportstate(gate, 58)) " @ + " Gate.setportstate(gate, 123, Gate.getportstate(gate, 59)) " @ + " Gate.setportstate(gate, 124, Gate.getportstate(gate, 60)) " @ + " Gate.setportstate(gate, 125, Gate.getportstate(gate, 61)) " @ + " Gate.setportstate(gate, 126, Gate.getportstate(gate, 62)) " @ + " Gate.setportstate(gate, 127, Gate.getportstate(gate, 63)) " @ + " Gate.setportstate(gate, 128, Gate.getportstate(gate, 64)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop 7 Bit.cs b/bricks/gen/newcode/D FlipFlop 7 Bit.cs index b9a1b82..e6527a1 100644 --- a/bricks/gen/newcode/D FlipFlop 7 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop 7 Bit.cs @@ -23,14 +23,14 @@ datablock fxDtsBrickData(LogicGate_DFlipFlop7_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[15].state then " @ - " gate.ports[8]:setstate(gate.ports[1].state) " @ - " gate.ports[9]:setstate(gate.ports[2].state) " @ - " gate.ports[10]:setstate(gate.ports[3].state) " @ - " gate.ports[11]:setstate(gate.ports[4].state) " @ - " gate.ports[12]:setstate(gate.ports[5].state) " @ - " gate.ports[13]:setstate(gate.ports[6].state) " @ - " gate.ports[14]:setstate(gate.ports[7].state) " @ + " if Gate.getportstate(gate, 15) then " @ + " Gate.setportstate(gate, 8, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 9, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 10, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 11, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 7)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop 8 Bit.cs b/bricks/gen/newcode/D FlipFlop 8 Bit.cs index a1e6e0a..0d10a93 100644 --- a/bricks/gen/newcode/D FlipFlop 8 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop 8 Bit.cs @@ -23,15 +23,15 @@ datablock fxDtsBrickData(LogicGate_DFlipFlop8_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[17].state then " @ - " gate.ports[9]:setstate(gate.ports[1].state) " @ - " gate.ports[10]:setstate(gate.ports[2].state) " @ - " gate.ports[11]:setstate(gate.ports[3].state) " @ - " gate.ports[12]:setstate(gate.ports[4].state) " @ - " gate.ports[13]:setstate(gate.ports[5].state) " @ - " gate.ports[14]:setstate(gate.ports[6].state) " @ - " gate.ports[15]:setstate(gate.ports[7].state) " @ - " gate.ports[16]:setstate(gate.ports[8].state) " @ + " if Gate.getportstate(gate, 17) then " @ + " Gate.setportstate(gate, 9, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 10, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 11, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 8)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop 9 Bit.cs b/bricks/gen/newcode/D FlipFlop 9 Bit.cs index b949e4b..e2768fe 100644 --- a/bricks/gen/newcode/D FlipFlop 9 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop 9 Bit.cs @@ -23,16 +23,16 @@ datablock fxDtsBrickData(LogicGate_DFlipFlop9_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[19].state then " @ - " gate.ports[10]:setstate(gate.ports[1].state) " @ - " gate.ports[11]:setstate(gate.ports[2].state) " @ - " gate.ports[12]:setstate(gate.ports[3].state) " @ - " gate.ports[13]:setstate(gate.ports[4].state) " @ - " gate.ports[14]:setstate(gate.ports[5].state) " @ - " gate.ports[15]:setstate(gate.ports[6].state) " @ - " gate.ports[16]:setstate(gate.ports[7].state) " @ - " gate.ports[17]:setstate(gate.ports[8].state) " @ - " gate.ports[18]:setstate(gate.ports[9].state) " @ + " if Gate.getportstate(gate, 19) then " @ + " Gate.setportstate(gate, 10, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 11, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 9)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop Active Low 1 Bit.cs b/bricks/gen/newcode/D FlipFlop Active Low 1 Bit.cs index 03834b3..b6f3ea6 100644 --- a/bricks/gen/newcode/D FlipFlop Active Low 1 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop Active Low 1 Bit.cs @@ -23,8 +23,8 @@ datablock fxDtsBrickData(LogicGate_DFlipFlopAl1_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[3].state then " @ - " gate.ports[2]:setstate(gate.ports[1].state) " @ + " if not Gate.getportstate(gate, 3) then " @ + " Gate.setportstate(gate, 2, Gate.getportstate(gate, 1)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop Active Low 10 Bit.cs b/bricks/gen/newcode/D FlipFlop Active Low 10 Bit.cs index 81d08a7..60d6784 100644 --- a/bricks/gen/newcode/D FlipFlop Active Low 10 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop Active Low 10 Bit.cs @@ -23,17 +23,17 @@ datablock fxDtsBrickData(LogicGate_DFlipFlopAl10_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[21].state then " @ - " gate.ports[11]:setstate(gate.ports[1].state) " @ - " gate.ports[12]:setstate(gate.ports[2].state) " @ - " gate.ports[13]:setstate(gate.ports[3].state) " @ - " gate.ports[14]:setstate(gate.ports[4].state) " @ - " gate.ports[15]:setstate(gate.ports[5].state) " @ - " gate.ports[16]:setstate(gate.ports[6].state) " @ - " gate.ports[17]:setstate(gate.ports[7].state) " @ - " gate.ports[18]:setstate(gate.ports[8].state) " @ - " gate.ports[19]:setstate(gate.ports[9].state) " @ - " gate.ports[20]:setstate(gate.ports[10].state) " @ + " if not Gate.getportstate(gate, 21) then " @ + " Gate.setportstate(gate, 11, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 10)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop Active Low 11 Bit.cs b/bricks/gen/newcode/D FlipFlop Active Low 11 Bit.cs index b40e702..31d480b 100644 --- a/bricks/gen/newcode/D FlipFlop Active Low 11 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop Active Low 11 Bit.cs @@ -23,18 +23,18 @@ datablock fxDtsBrickData(LogicGate_DFlipFlopAl11_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[23].state then " @ - " gate.ports[12]:setstate(gate.ports[1].state) " @ - " gate.ports[13]:setstate(gate.ports[2].state) " @ - " gate.ports[14]:setstate(gate.ports[3].state) " @ - " gate.ports[15]:setstate(gate.ports[4].state) " @ - " gate.ports[16]:setstate(gate.ports[5].state) " @ - " gate.ports[17]:setstate(gate.ports[6].state) " @ - " gate.ports[18]:setstate(gate.ports[7].state) " @ - " gate.ports[19]:setstate(gate.ports[8].state) " @ - " gate.ports[20]:setstate(gate.ports[9].state) " @ - " gate.ports[21]:setstate(gate.ports[10].state) " @ - " gate.ports[22]:setstate(gate.ports[11].state) " @ + " if not Gate.getportstate(gate, 23) then " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 11)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop Active Low 12 Bit.cs b/bricks/gen/newcode/D FlipFlop Active Low 12 Bit.cs index 8e756c2..7a0276f 100644 --- a/bricks/gen/newcode/D FlipFlop Active Low 12 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop Active Low 12 Bit.cs @@ -23,19 +23,19 @@ datablock fxDtsBrickData(LogicGate_DFlipFlopAl12_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[25].state then " @ - " gate.ports[13]:setstate(gate.ports[1].state) " @ - " gate.ports[14]:setstate(gate.ports[2].state) " @ - " gate.ports[15]:setstate(gate.ports[3].state) " @ - " gate.ports[16]:setstate(gate.ports[4].state) " @ - " gate.ports[17]:setstate(gate.ports[5].state) " @ - " gate.ports[18]:setstate(gate.ports[6].state) " @ - " gate.ports[19]:setstate(gate.ports[7].state) " @ - " gate.ports[20]:setstate(gate.ports[8].state) " @ - " gate.ports[21]:setstate(gate.ports[9].state) " @ - " gate.ports[22]:setstate(gate.ports[10].state) " @ - " gate.ports[23]:setstate(gate.ports[11].state) " @ - " gate.ports[24]:setstate(gate.ports[12].state) " @ + " if not Gate.getportstate(gate, 25) then " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 23, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 24, Gate.getportstate(gate, 12)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop Active Low 13 Bit.cs b/bricks/gen/newcode/D FlipFlop Active Low 13 Bit.cs index 5cc060d..06acd95 100644 --- a/bricks/gen/newcode/D FlipFlop Active Low 13 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop Active Low 13 Bit.cs @@ -23,20 +23,20 @@ datablock fxDtsBrickData(LogicGate_DFlipFlopAl13_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[27].state then " @ - " gate.ports[14]:setstate(gate.ports[1].state) " @ - " gate.ports[15]:setstate(gate.ports[2].state) " @ - " gate.ports[16]:setstate(gate.ports[3].state) " @ - " gate.ports[17]:setstate(gate.ports[4].state) " @ - " gate.ports[18]:setstate(gate.ports[5].state) " @ - " gate.ports[19]:setstate(gate.ports[6].state) " @ - " gate.ports[20]:setstate(gate.ports[7].state) " @ - " gate.ports[21]:setstate(gate.ports[8].state) " @ - " gate.ports[22]:setstate(gate.ports[9].state) " @ - " gate.ports[23]:setstate(gate.ports[10].state) " @ - " gate.ports[24]:setstate(gate.ports[11].state) " @ - " gate.ports[25]:setstate(gate.ports[12].state) " @ - " gate.ports[26]:setstate(gate.ports[13].state) " @ + " if not Gate.getportstate(gate, 27) then " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 23, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 24, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 25, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 26, Gate.getportstate(gate, 13)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop Active Low 14 Bit.cs b/bricks/gen/newcode/D FlipFlop Active Low 14 Bit.cs index f264eb2..a87388e 100644 --- a/bricks/gen/newcode/D FlipFlop Active Low 14 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop Active Low 14 Bit.cs @@ -23,21 +23,21 @@ datablock fxDtsBrickData(LogicGate_DFlipFlopAl14_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[29].state then " @ - " gate.ports[15]:setstate(gate.ports[1].state) " @ - " gate.ports[16]:setstate(gate.ports[2].state) " @ - " gate.ports[17]:setstate(gate.ports[3].state) " @ - " gate.ports[18]:setstate(gate.ports[4].state) " @ - " gate.ports[19]:setstate(gate.ports[5].state) " @ - " gate.ports[20]:setstate(gate.ports[6].state) " @ - " gate.ports[21]:setstate(gate.ports[7].state) " @ - " gate.ports[22]:setstate(gate.ports[8].state) " @ - " gate.ports[23]:setstate(gate.ports[9].state) " @ - " gate.ports[24]:setstate(gate.ports[10].state) " @ - " gate.ports[25]:setstate(gate.ports[11].state) " @ - " gate.ports[26]:setstate(gate.ports[12].state) " @ - " gate.ports[27]:setstate(gate.ports[13].state) " @ - " gate.ports[28]:setstate(gate.ports[14].state) " @ + " if not Gate.getportstate(gate, 29) then " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 23, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 24, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 25, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 26, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 27, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 28, Gate.getportstate(gate, 14)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop Active Low 15 Bit.cs b/bricks/gen/newcode/D FlipFlop Active Low 15 Bit.cs index 0516ca9..5360f95 100644 --- a/bricks/gen/newcode/D FlipFlop Active Low 15 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop Active Low 15 Bit.cs @@ -23,22 +23,22 @@ datablock fxDtsBrickData(LogicGate_DFlipFlopAl15_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[31].state then " @ - " gate.ports[16]:setstate(gate.ports[1].state) " @ - " gate.ports[17]:setstate(gate.ports[2].state) " @ - " gate.ports[18]:setstate(gate.ports[3].state) " @ - " gate.ports[19]:setstate(gate.ports[4].state) " @ - " gate.ports[20]:setstate(gate.ports[5].state) " @ - " gate.ports[21]:setstate(gate.ports[6].state) " @ - " gate.ports[22]:setstate(gate.ports[7].state) " @ - " gate.ports[23]:setstate(gate.ports[8].state) " @ - " gate.ports[24]:setstate(gate.ports[9].state) " @ - " gate.ports[25]:setstate(gate.ports[10].state) " @ - " gate.ports[26]:setstate(gate.ports[11].state) " @ - " gate.ports[27]:setstate(gate.ports[12].state) " @ - " gate.ports[28]:setstate(gate.ports[13].state) " @ - " gate.ports[29]:setstate(gate.ports[14].state) " @ - " gate.ports[30]:setstate(gate.ports[15].state) " @ + " if not Gate.getportstate(gate, 31) then " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 23, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 24, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 25, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 26, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 27, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 28, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 29, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 30, Gate.getportstate(gate, 15)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop Active Low 16 Bit.cs b/bricks/gen/newcode/D FlipFlop Active Low 16 Bit.cs index cfa0e3c..64e643a 100644 --- a/bricks/gen/newcode/D FlipFlop Active Low 16 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop Active Low 16 Bit.cs @@ -23,23 +23,23 @@ datablock fxDtsBrickData(LogicGate_DFlipFlopAl16_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[33].state then " @ - " gate.ports[17]:setstate(gate.ports[1].state) " @ - " gate.ports[18]:setstate(gate.ports[2].state) " @ - " gate.ports[19]:setstate(gate.ports[3].state) " @ - " gate.ports[20]:setstate(gate.ports[4].state) " @ - " gate.ports[21]:setstate(gate.ports[5].state) " @ - " gate.ports[22]:setstate(gate.ports[6].state) " @ - " gate.ports[23]:setstate(gate.ports[7].state) " @ - " gate.ports[24]:setstate(gate.ports[8].state) " @ - " gate.ports[25]:setstate(gate.ports[9].state) " @ - " gate.ports[26]:setstate(gate.ports[10].state) " @ - " gate.ports[27]:setstate(gate.ports[11].state) " @ - " gate.ports[28]:setstate(gate.ports[12].state) " @ - " gate.ports[29]:setstate(gate.ports[13].state) " @ - " gate.ports[30]:setstate(gate.ports[14].state) " @ - " gate.ports[31]:setstate(gate.ports[15].state) " @ - " gate.ports[32]:setstate(gate.ports[16].state) " @ + " if not Gate.getportstate(gate, 33) then " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 23, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 24, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 25, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 26, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 27, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 28, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 29, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 30, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 31, Gate.getportstate(gate, 15)) " @ + " Gate.setportstate(gate, 32, Gate.getportstate(gate, 16)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop Active Low 2 Bit.cs b/bricks/gen/newcode/D FlipFlop Active Low 2 Bit.cs index 916398c..ae74fdf 100644 --- a/bricks/gen/newcode/D FlipFlop Active Low 2 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop Active Low 2 Bit.cs @@ -23,9 +23,9 @@ datablock fxDtsBrickData(LogicGate_DFlipFlopAl2_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[5].state then " @ - " gate.ports[3]:setstate(gate.ports[1].state) " @ - " gate.ports[4]:setstate(gate.ports[2].state) " @ + " if not Gate.getportstate(gate, 5) then " @ + " Gate.setportstate(gate, 3, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 4, Gate.getportstate(gate, 2)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop Active Low 24 Bit.cs b/bricks/gen/newcode/D FlipFlop Active Low 24 Bit.cs index 57f7696..8125495 100644 --- a/bricks/gen/newcode/D FlipFlop Active Low 24 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop Active Low 24 Bit.cs @@ -23,31 +23,31 @@ datablock fxDtsBrickData(LogicGate_DFlipFlopAl24_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[49].state then " @ - " gate.ports[25]:setstate(gate.ports[1].state) " @ - " gate.ports[26]:setstate(gate.ports[2].state) " @ - " gate.ports[27]:setstate(gate.ports[3].state) " @ - " gate.ports[28]:setstate(gate.ports[4].state) " @ - " gate.ports[29]:setstate(gate.ports[5].state) " @ - " gate.ports[30]:setstate(gate.ports[6].state) " @ - " gate.ports[31]:setstate(gate.ports[7].state) " @ - " gate.ports[32]:setstate(gate.ports[8].state) " @ - " gate.ports[33]:setstate(gate.ports[9].state) " @ - " gate.ports[34]:setstate(gate.ports[10].state) " @ - " gate.ports[35]:setstate(gate.ports[11].state) " @ - " gate.ports[36]:setstate(gate.ports[12].state) " @ - " gate.ports[37]:setstate(gate.ports[13].state) " @ - " gate.ports[38]:setstate(gate.ports[14].state) " @ - " gate.ports[39]:setstate(gate.ports[15].state) " @ - " gate.ports[40]:setstate(gate.ports[16].state) " @ - " gate.ports[41]:setstate(gate.ports[17].state) " @ - " gate.ports[42]:setstate(gate.ports[18].state) " @ - " gate.ports[43]:setstate(gate.ports[19].state) " @ - " gate.ports[44]:setstate(gate.ports[20].state) " @ - " gate.ports[45]:setstate(gate.ports[21].state) " @ - " gate.ports[46]:setstate(gate.ports[22].state) " @ - " gate.ports[47]:setstate(gate.ports[23].state) " @ - " gate.ports[48]:setstate(gate.ports[24].state) " @ + " if not Gate.getportstate(gate, 49) then " @ + " Gate.setportstate(gate, 25, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 26, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 27, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 28, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 29, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 30, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 31, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 32, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 33, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 34, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 35, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 36, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 37, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 38, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 39, Gate.getportstate(gate, 15)) " @ + " Gate.setportstate(gate, 40, Gate.getportstate(gate, 16)) " @ + " Gate.setportstate(gate, 41, Gate.getportstate(gate, 17)) " @ + " Gate.setportstate(gate, 42, Gate.getportstate(gate, 18)) " @ + " Gate.setportstate(gate, 43, Gate.getportstate(gate, 19)) " @ + " Gate.setportstate(gate, 44, Gate.getportstate(gate, 20)) " @ + " Gate.setportstate(gate, 45, Gate.getportstate(gate, 21)) " @ + " Gate.setportstate(gate, 46, Gate.getportstate(gate, 22)) " @ + " Gate.setportstate(gate, 47, Gate.getportstate(gate, 23)) " @ + " Gate.setportstate(gate, 48, Gate.getportstate(gate, 24)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop Active Low 3 Bit.cs b/bricks/gen/newcode/D FlipFlop Active Low 3 Bit.cs index 156a8b9..258c70b 100644 --- a/bricks/gen/newcode/D FlipFlop Active Low 3 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop Active Low 3 Bit.cs @@ -23,10 +23,10 @@ datablock fxDtsBrickData(LogicGate_DFlipFlopAl3_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[7].state then " @ - " gate.ports[4]:setstate(gate.ports[1].state) " @ - " gate.ports[5]:setstate(gate.ports[2].state) " @ - " gate.ports[6]:setstate(gate.ports[3].state) " @ + " if not Gate.getportstate(gate, 7) then " @ + " Gate.setportstate(gate, 4, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 5, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 6, Gate.getportstate(gate, 3)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop Active Low 32 Bit.cs b/bricks/gen/newcode/D FlipFlop Active Low 32 Bit.cs index 680cd74..e0bd6b6 100644 --- a/bricks/gen/newcode/D FlipFlop Active Low 32 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop Active Low 32 Bit.cs @@ -23,39 +23,39 @@ datablock fxDtsBrickData(LogicGate_DFlipFlopAl32_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[65].state then " @ - " gate.ports[33]:setstate(gate.ports[1].state) " @ - " gate.ports[34]:setstate(gate.ports[2].state) " @ - " gate.ports[35]:setstate(gate.ports[3].state) " @ - " gate.ports[36]:setstate(gate.ports[4].state) " @ - " gate.ports[37]:setstate(gate.ports[5].state) " @ - " gate.ports[38]:setstate(gate.ports[6].state) " @ - " gate.ports[39]:setstate(gate.ports[7].state) " @ - " gate.ports[40]:setstate(gate.ports[8].state) " @ - " gate.ports[41]:setstate(gate.ports[9].state) " @ - " gate.ports[42]:setstate(gate.ports[10].state) " @ - " gate.ports[43]:setstate(gate.ports[11].state) " @ - " gate.ports[44]:setstate(gate.ports[12].state) " @ - " gate.ports[45]:setstate(gate.ports[13].state) " @ - " gate.ports[46]:setstate(gate.ports[14].state) " @ - " gate.ports[47]:setstate(gate.ports[15].state) " @ - " gate.ports[48]:setstate(gate.ports[16].state) " @ - " gate.ports[49]:setstate(gate.ports[17].state) " @ - " gate.ports[50]:setstate(gate.ports[18].state) " @ - " gate.ports[51]:setstate(gate.ports[19].state) " @ - " gate.ports[52]:setstate(gate.ports[20].state) " @ - " gate.ports[53]:setstate(gate.ports[21].state) " @ - " gate.ports[54]:setstate(gate.ports[22].state) " @ - " gate.ports[55]:setstate(gate.ports[23].state) " @ - " gate.ports[56]:setstate(gate.ports[24].state) " @ - " gate.ports[57]:setstate(gate.ports[25].state) " @ - " gate.ports[58]:setstate(gate.ports[26].state) " @ - " gate.ports[59]:setstate(gate.ports[27].state) " @ - " gate.ports[60]:setstate(gate.ports[28].state) " @ - " gate.ports[61]:setstate(gate.ports[29].state) " @ - " gate.ports[62]:setstate(gate.ports[30].state) " @ - " gate.ports[63]:setstate(gate.ports[31].state) " @ - " gate.ports[64]:setstate(gate.ports[32].state) " @ + " if not Gate.getportstate(gate, 65) then " @ + " Gate.setportstate(gate, 33, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 34, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 35, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 36, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 37, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 38, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 39, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 40, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 41, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 42, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 43, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 44, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 45, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 46, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 47, Gate.getportstate(gate, 15)) " @ + " Gate.setportstate(gate, 48, Gate.getportstate(gate, 16)) " @ + " Gate.setportstate(gate, 49, Gate.getportstate(gate, 17)) " @ + " Gate.setportstate(gate, 50, Gate.getportstate(gate, 18)) " @ + " Gate.setportstate(gate, 51, Gate.getportstate(gate, 19)) " @ + " Gate.setportstate(gate, 52, Gate.getportstate(gate, 20)) " @ + " Gate.setportstate(gate, 53, Gate.getportstate(gate, 21)) " @ + " Gate.setportstate(gate, 54, Gate.getportstate(gate, 22)) " @ + " Gate.setportstate(gate, 55, Gate.getportstate(gate, 23)) " @ + " Gate.setportstate(gate, 56, Gate.getportstate(gate, 24)) " @ + " Gate.setportstate(gate, 57, Gate.getportstate(gate, 25)) " @ + " Gate.setportstate(gate, 58, Gate.getportstate(gate, 26)) " @ + " Gate.setportstate(gate, 59, Gate.getportstate(gate, 27)) " @ + " Gate.setportstate(gate, 60, Gate.getportstate(gate, 28)) " @ + " Gate.setportstate(gate, 61, Gate.getportstate(gate, 29)) " @ + " Gate.setportstate(gate, 62, Gate.getportstate(gate, 30)) " @ + " Gate.setportstate(gate, 63, Gate.getportstate(gate, 31)) " @ + " Gate.setportstate(gate, 64, Gate.getportstate(gate, 32)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop Active Low 4 Bit.cs b/bricks/gen/newcode/D FlipFlop Active Low 4 Bit.cs index 463fe0a..0078adc 100644 --- a/bricks/gen/newcode/D FlipFlop Active Low 4 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop Active Low 4 Bit.cs @@ -23,11 +23,11 @@ datablock fxDtsBrickData(LogicGate_DFlipFlopAl4_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[9].state then " @ - " gate.ports[5]:setstate(gate.ports[1].state) " @ - " gate.ports[6]:setstate(gate.ports[2].state) " @ - " gate.ports[7]:setstate(gate.ports[3].state) " @ - " gate.ports[8]:setstate(gate.ports[4].state) " @ + " if not Gate.getportstate(gate, 9) then " @ + " Gate.setportstate(gate, 5, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 6, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 7, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 8, Gate.getportstate(gate, 4)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop Active Low 48 Bit.cs b/bricks/gen/newcode/D FlipFlop Active Low 48 Bit.cs index 52a9b9b..f0366cc 100644 --- a/bricks/gen/newcode/D FlipFlop Active Low 48 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop Active Low 48 Bit.cs @@ -23,55 +23,55 @@ datablock fxDtsBrickData(LogicGate_DFlipFlopAl48_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[97].state then " @ - " gate.ports[49]:setstate(gate.ports[1].state) " @ - " gate.ports[50]:setstate(gate.ports[2].state) " @ - " gate.ports[51]:setstate(gate.ports[3].state) " @ - " gate.ports[52]:setstate(gate.ports[4].state) " @ - " gate.ports[53]:setstate(gate.ports[5].state) " @ - " gate.ports[54]:setstate(gate.ports[6].state) " @ - " gate.ports[55]:setstate(gate.ports[7].state) " @ - " gate.ports[56]:setstate(gate.ports[8].state) " @ - " gate.ports[57]:setstate(gate.ports[9].state) " @ - " gate.ports[58]:setstate(gate.ports[10].state) " @ - " gate.ports[59]:setstate(gate.ports[11].state) " @ - " gate.ports[60]:setstate(gate.ports[12].state) " @ - " gate.ports[61]:setstate(gate.ports[13].state) " @ - " gate.ports[62]:setstate(gate.ports[14].state) " @ - " gate.ports[63]:setstate(gate.ports[15].state) " @ - " gate.ports[64]:setstate(gate.ports[16].state) " @ - " gate.ports[65]:setstate(gate.ports[17].state) " @ - " gate.ports[66]:setstate(gate.ports[18].state) " @ - " gate.ports[67]:setstate(gate.ports[19].state) " @ - " gate.ports[68]:setstate(gate.ports[20].state) " @ - " gate.ports[69]:setstate(gate.ports[21].state) " @ - " gate.ports[70]:setstate(gate.ports[22].state) " @ - " gate.ports[71]:setstate(gate.ports[23].state) " @ - " gate.ports[72]:setstate(gate.ports[24].state) " @ - " gate.ports[73]:setstate(gate.ports[25].state) " @ - " gate.ports[74]:setstate(gate.ports[26].state) " @ - " gate.ports[75]:setstate(gate.ports[27].state) " @ - " gate.ports[76]:setstate(gate.ports[28].state) " @ - " gate.ports[77]:setstate(gate.ports[29].state) " @ - " gate.ports[78]:setstate(gate.ports[30].state) " @ - " gate.ports[79]:setstate(gate.ports[31].state) " @ - " gate.ports[80]:setstate(gate.ports[32].state) " @ - " gate.ports[81]:setstate(gate.ports[33].state) " @ - " gate.ports[82]:setstate(gate.ports[34].state) " @ - " gate.ports[83]:setstate(gate.ports[35].state) " @ - " gate.ports[84]:setstate(gate.ports[36].state) " @ - " gate.ports[85]:setstate(gate.ports[37].state) " @ - " gate.ports[86]:setstate(gate.ports[38].state) " @ - " gate.ports[87]:setstate(gate.ports[39].state) " @ - " gate.ports[88]:setstate(gate.ports[40].state) " @ - " gate.ports[89]:setstate(gate.ports[41].state) " @ - " gate.ports[90]:setstate(gate.ports[42].state) " @ - " gate.ports[91]:setstate(gate.ports[43].state) " @ - " gate.ports[92]:setstate(gate.ports[44].state) " @ - " gate.ports[93]:setstate(gate.ports[45].state) " @ - " gate.ports[94]:setstate(gate.ports[46].state) " @ - " gate.ports[95]:setstate(gate.ports[47].state) " @ - " gate.ports[96]:setstate(gate.ports[48].state) " @ + " if not Gate.getportstate(gate, 97) then " @ + " Gate.setportstate(gate, 49, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 50, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 51, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 52, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 53, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 54, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 55, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 56, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 57, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 58, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 59, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 60, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 61, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 62, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 63, Gate.getportstate(gate, 15)) " @ + " Gate.setportstate(gate, 64, Gate.getportstate(gate, 16)) " @ + " Gate.setportstate(gate, 65, Gate.getportstate(gate, 17)) " @ + " Gate.setportstate(gate, 66, Gate.getportstate(gate, 18)) " @ + " Gate.setportstate(gate, 67, Gate.getportstate(gate, 19)) " @ + " Gate.setportstate(gate, 68, Gate.getportstate(gate, 20)) " @ + " Gate.setportstate(gate, 69, Gate.getportstate(gate, 21)) " @ + " Gate.setportstate(gate, 70, Gate.getportstate(gate, 22)) " @ + " Gate.setportstate(gate, 71, Gate.getportstate(gate, 23)) " @ + " Gate.setportstate(gate, 72, Gate.getportstate(gate, 24)) " @ + " Gate.setportstate(gate, 73, Gate.getportstate(gate, 25)) " @ + " Gate.setportstate(gate, 74, Gate.getportstate(gate, 26)) " @ + " Gate.setportstate(gate, 75, Gate.getportstate(gate, 27)) " @ + " Gate.setportstate(gate, 76, Gate.getportstate(gate, 28)) " @ + " Gate.setportstate(gate, 77, Gate.getportstate(gate, 29)) " @ + " Gate.setportstate(gate, 78, Gate.getportstate(gate, 30)) " @ + " Gate.setportstate(gate, 79, Gate.getportstate(gate, 31)) " @ + " Gate.setportstate(gate, 80, Gate.getportstate(gate, 32)) " @ + " Gate.setportstate(gate, 81, Gate.getportstate(gate, 33)) " @ + " Gate.setportstate(gate, 82, Gate.getportstate(gate, 34)) " @ + " Gate.setportstate(gate, 83, Gate.getportstate(gate, 35)) " @ + " Gate.setportstate(gate, 84, Gate.getportstate(gate, 36)) " @ + " Gate.setportstate(gate, 85, Gate.getportstate(gate, 37)) " @ + " Gate.setportstate(gate, 86, Gate.getportstate(gate, 38)) " @ + " Gate.setportstate(gate, 87, Gate.getportstate(gate, 39)) " @ + " Gate.setportstate(gate, 88, Gate.getportstate(gate, 40)) " @ + " Gate.setportstate(gate, 89, Gate.getportstate(gate, 41)) " @ + " Gate.setportstate(gate, 90, Gate.getportstate(gate, 42)) " @ + " Gate.setportstate(gate, 91, Gate.getportstate(gate, 43)) " @ + " Gate.setportstate(gate, 92, Gate.getportstate(gate, 44)) " @ + " Gate.setportstate(gate, 93, Gate.getportstate(gate, 45)) " @ + " Gate.setportstate(gate, 94, Gate.getportstate(gate, 46)) " @ + " Gate.setportstate(gate, 95, Gate.getportstate(gate, 47)) " @ + " Gate.setportstate(gate, 96, Gate.getportstate(gate, 48)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop Active Low 5 Bit.cs b/bricks/gen/newcode/D FlipFlop Active Low 5 Bit.cs index 74e83c0..c9e4f59 100644 --- a/bricks/gen/newcode/D FlipFlop Active Low 5 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop Active Low 5 Bit.cs @@ -23,12 +23,12 @@ datablock fxDtsBrickData(LogicGate_DFlipFlopAl5_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[11].state then " @ - " gate.ports[6]:setstate(gate.ports[1].state) " @ - " gate.ports[7]:setstate(gate.ports[2].state) " @ - " gate.ports[8]:setstate(gate.ports[3].state) " @ - " gate.ports[9]:setstate(gate.ports[4].state) " @ - " gate.ports[10]:setstate(gate.ports[5].state) " @ + " if not Gate.getportstate(gate, 11) then " @ + " Gate.setportstate(gate, 6, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 7, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 8, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 9, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 10, Gate.getportstate(gate, 5)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop Active Low 6 Bit.cs b/bricks/gen/newcode/D FlipFlop Active Low 6 Bit.cs index 68439f9..e0480c7 100644 --- a/bricks/gen/newcode/D FlipFlop Active Low 6 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop Active Low 6 Bit.cs @@ -23,13 +23,13 @@ datablock fxDtsBrickData(LogicGate_DFlipFlopAl6_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[13].state then " @ - " gate.ports[7]:setstate(gate.ports[1].state) " @ - " gate.ports[8]:setstate(gate.ports[2].state) " @ - " gate.ports[9]:setstate(gate.ports[3].state) " @ - " gate.ports[10]:setstate(gate.ports[4].state) " @ - " gate.ports[11]:setstate(gate.ports[5].state) " @ - " gate.ports[12]:setstate(gate.ports[6].state) " @ + " if not Gate.getportstate(gate, 13) then " @ + " Gate.setportstate(gate, 7, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 8, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 9, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 10, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 11, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 6)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop Active Low 64 Bit.cs b/bricks/gen/newcode/D FlipFlop Active Low 64 Bit.cs index a06186e..e955c96 100644 --- a/bricks/gen/newcode/D FlipFlop Active Low 64 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop Active Low 64 Bit.cs @@ -23,71 +23,71 @@ datablock fxDtsBrickData(LogicGate_DFlipFlopAl64_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[129].state then " @ - " gate.ports[65]:setstate(gate.ports[1].state) " @ - " gate.ports[66]:setstate(gate.ports[2].state) " @ - " gate.ports[67]:setstate(gate.ports[3].state) " @ - " gate.ports[68]:setstate(gate.ports[4].state) " @ - " gate.ports[69]:setstate(gate.ports[5].state) " @ - " gate.ports[70]:setstate(gate.ports[6].state) " @ - " gate.ports[71]:setstate(gate.ports[7].state) " @ - " gate.ports[72]:setstate(gate.ports[8].state) " @ - " gate.ports[73]:setstate(gate.ports[9].state) " @ - " gate.ports[74]:setstate(gate.ports[10].state) " @ - " gate.ports[75]:setstate(gate.ports[11].state) " @ - " gate.ports[76]:setstate(gate.ports[12].state) " @ - " gate.ports[77]:setstate(gate.ports[13].state) " @ - " gate.ports[78]:setstate(gate.ports[14].state) " @ - " gate.ports[79]:setstate(gate.ports[15].state) " @ - " gate.ports[80]:setstate(gate.ports[16].state) " @ - " gate.ports[81]:setstate(gate.ports[17].state) " @ - " gate.ports[82]:setstate(gate.ports[18].state) " @ - " gate.ports[83]:setstate(gate.ports[19].state) " @ - " gate.ports[84]:setstate(gate.ports[20].state) " @ - " gate.ports[85]:setstate(gate.ports[21].state) " @ - " gate.ports[86]:setstate(gate.ports[22].state) " @ - " gate.ports[87]:setstate(gate.ports[23].state) " @ - " gate.ports[88]:setstate(gate.ports[24].state) " @ - " gate.ports[89]:setstate(gate.ports[25].state) " @ - " gate.ports[90]:setstate(gate.ports[26].state) " @ - " gate.ports[91]:setstate(gate.ports[27].state) " @ - " gate.ports[92]:setstate(gate.ports[28].state) " @ - " gate.ports[93]:setstate(gate.ports[29].state) " @ - " gate.ports[94]:setstate(gate.ports[30].state) " @ - " gate.ports[95]:setstate(gate.ports[31].state) " @ - " gate.ports[96]:setstate(gate.ports[32].state) " @ - " gate.ports[97]:setstate(gate.ports[33].state) " @ - " gate.ports[98]:setstate(gate.ports[34].state) " @ - " gate.ports[99]:setstate(gate.ports[35].state) " @ - " gate.ports[100]:setstate(gate.ports[36].state) " @ - " gate.ports[101]:setstate(gate.ports[37].state) " @ - " gate.ports[102]:setstate(gate.ports[38].state) " @ - " gate.ports[103]:setstate(gate.ports[39].state) " @ - " gate.ports[104]:setstate(gate.ports[40].state) " @ - " gate.ports[105]:setstate(gate.ports[41].state) " @ - " gate.ports[106]:setstate(gate.ports[42].state) " @ - " gate.ports[107]:setstate(gate.ports[43].state) " @ - " gate.ports[108]:setstate(gate.ports[44].state) " @ - " gate.ports[109]:setstate(gate.ports[45].state) " @ - " gate.ports[110]:setstate(gate.ports[46].state) " @ - " gate.ports[111]:setstate(gate.ports[47].state) " @ - " gate.ports[112]:setstate(gate.ports[48].state) " @ - " gate.ports[113]:setstate(gate.ports[49].state) " @ - " gate.ports[114]:setstate(gate.ports[50].state) " @ - " gate.ports[115]:setstate(gate.ports[51].state) " @ - " gate.ports[116]:setstate(gate.ports[52].state) " @ - " gate.ports[117]:setstate(gate.ports[53].state) " @ - " gate.ports[118]:setstate(gate.ports[54].state) " @ - " gate.ports[119]:setstate(gate.ports[55].state) " @ - " gate.ports[120]:setstate(gate.ports[56].state) " @ - " gate.ports[121]:setstate(gate.ports[57].state) " @ - " gate.ports[122]:setstate(gate.ports[58].state) " @ - " gate.ports[123]:setstate(gate.ports[59].state) " @ - " gate.ports[124]:setstate(gate.ports[60].state) " @ - " gate.ports[125]:setstate(gate.ports[61].state) " @ - " gate.ports[126]:setstate(gate.ports[62].state) " @ - " gate.ports[127]:setstate(gate.ports[63].state) " @ - " gate.ports[128]:setstate(gate.ports[64].state) " @ + " if not Gate.getportstate(gate, 129) then " @ + " Gate.setportstate(gate, 65, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 66, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 67, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 68, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 69, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 70, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 71, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 72, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 73, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 74, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 75, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 76, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 77, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 78, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 79, Gate.getportstate(gate, 15)) " @ + " Gate.setportstate(gate, 80, Gate.getportstate(gate, 16)) " @ + " Gate.setportstate(gate, 81, Gate.getportstate(gate, 17)) " @ + " Gate.setportstate(gate, 82, Gate.getportstate(gate, 18)) " @ + " Gate.setportstate(gate, 83, Gate.getportstate(gate, 19)) " @ + " Gate.setportstate(gate, 84, Gate.getportstate(gate, 20)) " @ + " Gate.setportstate(gate, 85, Gate.getportstate(gate, 21)) " @ + " Gate.setportstate(gate, 86, Gate.getportstate(gate, 22)) " @ + " Gate.setportstate(gate, 87, Gate.getportstate(gate, 23)) " @ + " Gate.setportstate(gate, 88, Gate.getportstate(gate, 24)) " @ + " Gate.setportstate(gate, 89, Gate.getportstate(gate, 25)) " @ + " Gate.setportstate(gate, 90, Gate.getportstate(gate, 26)) " @ + " Gate.setportstate(gate, 91, Gate.getportstate(gate, 27)) " @ + " Gate.setportstate(gate, 92, Gate.getportstate(gate, 28)) " @ + " Gate.setportstate(gate, 93, Gate.getportstate(gate, 29)) " @ + " Gate.setportstate(gate, 94, Gate.getportstate(gate, 30)) " @ + " Gate.setportstate(gate, 95, Gate.getportstate(gate, 31)) " @ + " Gate.setportstate(gate, 96, Gate.getportstate(gate, 32)) " @ + " Gate.setportstate(gate, 97, Gate.getportstate(gate, 33)) " @ + " Gate.setportstate(gate, 98, Gate.getportstate(gate, 34)) " @ + " Gate.setportstate(gate, 99, Gate.getportstate(gate, 35)) " @ + " Gate.setportstate(gate, 100, Gate.getportstate(gate, 36)) " @ + " Gate.setportstate(gate, 101, Gate.getportstate(gate, 37)) " @ + " Gate.setportstate(gate, 102, Gate.getportstate(gate, 38)) " @ + " Gate.setportstate(gate, 103, Gate.getportstate(gate, 39)) " @ + " Gate.setportstate(gate, 104, Gate.getportstate(gate, 40)) " @ + " Gate.setportstate(gate, 105, Gate.getportstate(gate, 41)) " @ + " Gate.setportstate(gate, 106, Gate.getportstate(gate, 42)) " @ + " Gate.setportstate(gate, 107, Gate.getportstate(gate, 43)) " @ + " Gate.setportstate(gate, 108, Gate.getportstate(gate, 44)) " @ + " Gate.setportstate(gate, 109, Gate.getportstate(gate, 45)) " @ + " Gate.setportstate(gate, 110, Gate.getportstate(gate, 46)) " @ + " Gate.setportstate(gate, 111, Gate.getportstate(gate, 47)) " @ + " Gate.setportstate(gate, 112, Gate.getportstate(gate, 48)) " @ + " Gate.setportstate(gate, 113, Gate.getportstate(gate, 49)) " @ + " Gate.setportstate(gate, 114, Gate.getportstate(gate, 50)) " @ + " Gate.setportstate(gate, 115, Gate.getportstate(gate, 51)) " @ + " Gate.setportstate(gate, 116, Gate.getportstate(gate, 52)) " @ + " Gate.setportstate(gate, 117, Gate.getportstate(gate, 53)) " @ + " Gate.setportstate(gate, 118, Gate.getportstate(gate, 54)) " @ + " Gate.setportstate(gate, 119, Gate.getportstate(gate, 55)) " @ + " Gate.setportstate(gate, 120, Gate.getportstate(gate, 56)) " @ + " Gate.setportstate(gate, 121, Gate.getportstate(gate, 57)) " @ + " Gate.setportstate(gate, 122, Gate.getportstate(gate, 58)) " @ + " Gate.setportstate(gate, 123, Gate.getportstate(gate, 59)) " @ + " Gate.setportstate(gate, 124, Gate.getportstate(gate, 60)) " @ + " Gate.setportstate(gate, 125, Gate.getportstate(gate, 61)) " @ + " Gate.setportstate(gate, 126, Gate.getportstate(gate, 62)) " @ + " Gate.setportstate(gate, 127, Gate.getportstate(gate, 63)) " @ + " Gate.setportstate(gate, 128, Gate.getportstate(gate, 64)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop Active Low 7 Bit.cs b/bricks/gen/newcode/D FlipFlop Active Low 7 Bit.cs index 09cfd88..4d0419d 100644 --- a/bricks/gen/newcode/D FlipFlop Active Low 7 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop Active Low 7 Bit.cs @@ -23,14 +23,14 @@ datablock fxDtsBrickData(LogicGate_DFlipFlopAl7_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[15].state then " @ - " gate.ports[8]:setstate(gate.ports[1].state) " @ - " gate.ports[9]:setstate(gate.ports[2].state) " @ - " gate.ports[10]:setstate(gate.ports[3].state) " @ - " gate.ports[11]:setstate(gate.ports[4].state) " @ - " gate.ports[12]:setstate(gate.ports[5].state) " @ - " gate.ports[13]:setstate(gate.ports[6].state) " @ - " gate.ports[14]:setstate(gate.ports[7].state) " @ + " if not Gate.getportstate(gate, 15) then " @ + " Gate.setportstate(gate, 8, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 9, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 10, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 11, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 7)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop Active Low 8 Bit.cs b/bricks/gen/newcode/D FlipFlop Active Low 8 Bit.cs index 3ce3835..75f0a46 100644 --- a/bricks/gen/newcode/D FlipFlop Active Low 8 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop Active Low 8 Bit.cs @@ -23,15 +23,15 @@ datablock fxDtsBrickData(LogicGate_DFlipFlopAl8_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[17].state then " @ - " gate.ports[9]:setstate(gate.ports[1].state) " @ - " gate.ports[10]:setstate(gate.ports[2].state) " @ - " gate.ports[11]:setstate(gate.ports[3].state) " @ - " gate.ports[12]:setstate(gate.ports[4].state) " @ - " gate.ports[13]:setstate(gate.ports[5].state) " @ - " gate.ports[14]:setstate(gate.ports[6].state) " @ - " gate.ports[15]:setstate(gate.ports[7].state) " @ - " gate.ports[16]:setstate(gate.ports[8].state) " @ + " if not Gate.getportstate(gate, 17) then " @ + " Gate.setportstate(gate, 9, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 10, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 11, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 8)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/D FlipFlop Active Low 9 Bit.cs b/bricks/gen/newcode/D FlipFlop Active Low 9 Bit.cs index 81e3d19..34610f9 100644 --- a/bricks/gen/newcode/D FlipFlop Active Low 9 Bit.cs +++ b/bricks/gen/newcode/D FlipFlop Active Low 9 Bit.cs @@ -23,16 +23,16 @@ datablock fxDtsBrickData(LogicGate_DFlipFlopAl9_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[19].state then " @ - " gate.ports[10]:setstate(gate.ports[1].state) " @ - " gate.ports[11]:setstate(gate.ports[2].state) " @ - " gate.ports[12]:setstate(gate.ports[3].state) " @ - " gate.ports[13]:setstate(gate.ports[4].state) " @ - " gate.ports[14]:setstate(gate.ports[5].state) " @ - " gate.ports[15]:setstate(gate.ports[6].state) " @ - " gate.ports[16]:setstate(gate.ports[7].state) " @ - " gate.ports[17]:setstate(gate.ports[8].state) " @ - " gate.ports[18]:setstate(gate.ports[9].state) " @ + " if not Gate.getportstate(gate, 19) then " @ + " Gate.setportstate(gate, 10, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 11, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 9)) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Demux 1 Bit Vertical.cs b/bricks/gen/newcode/Demux 1 Bit Vertical.cs new file mode 100644 index 0000000..8f8a576 --- /dev/null +++ b/bricks/gen/newcode/Demux 1 Bit Vertical.cs @@ -0,0 +1,69 @@ + +datablock fxDtsBrickData(LogicGate_Demux1Vertical_Data){ + brickFile = $LuaLogic::Path @ "bricks/gen/newbricks/Demux 1 Bit Vertical.blb"; + iconName = $LuaLogic::Path @ "bricks/gen/newicons/Demux 1 Bit Vertical"; + + category = "Logic Bricks"; + subCategory = "Mux"; + uiName = "Demux 1 Bit Vertical"; + logicUIName = "Demux 1 Bit Vertical"; + logicUIDesc = ""; + + hasPrint = 1; + printAspectRatio = "Logic"; + + logicBrickSize = "1 1 2"; + orientationFix = 3; + + isLogic = true; + isLogicGate = true; + isLogicInput = false; + + logicInit = + "return function(gate) " @ + " gate.laston = 2 " @ + "end" + ; + logicInput = ""; + logicUpdate = + "return function(gate) " @ + " if Gate.getportstate(gate, 4) then " @ + " local idx = 2 + " @ + " (bool_to_int[Gate.getportstate(gate, 1)] * 1) " @ + " Gate.setportstate(gate, idx, true) " @ + " if gate.laston~=idx then " @ + " Gate.setportstate(gate, gate.laston, false) " @ + " gate.laston = idx " @ + " end " @ + " else " @ + " Gate.setportstate(gate, gate.laston, false) " @ + " end " @ + "end" + ; + logicGlobal = ""; + + numLogicPorts = 4; + + logicPortType[0] = 1; + logicPortPos[0] = "0 0 -1"; + logicPortDir[0] = 3; + logicPortUIName[0] = "Sel0"; + logicPortCauseUpdate[0] = true; + + logicPortType[1] = 0; + logicPortPos[1] = "0 0 -1"; + logicPortDir[1] = 1; + logicPortUIName[1] = "Out0"; + + logicPortType[2] = 0; + logicPortPos[2] = "0 0 1"; + logicPortDir[2] = 1; + logicPortUIName[2] = "Out1"; + + logicPortType[3] = 1; + logicPortPos[3] = "0 0 -1"; + logicPortDir[3] = 5; + logicPortUIName[3] = "In"; + logicPortCauseUpdate[3] = true; + +}; diff --git a/bricks/gen/newcode/Demux 1 Bit.cs b/bricks/gen/newcode/Demux 1 Bit.cs index 12816a2..faa5371 100644 --- a/bricks/gen/newcode/Demux 1 Bit.cs +++ b/bricks/gen/newcode/Demux 1 Bit.cs @@ -27,16 +27,16 @@ datablock fxDtsBrickData(LogicGate_Demux1_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[4].state then " @ + " if Gate.getportstate(gate, 4) then " @ " local idx = 2 + " @ - " (gate.ports[1].state and 1 or 0) " @ - " gate.ports[idx]:setstate(true) " @ + " (bool_to_int[Gate.getportstate(gate, 1)] * 1) " @ + " Gate.setportstate(gate, idx, true) " @ " if gate.laston~=idx then " @ - " gate.ports[gate.laston]:setstate(false) " @ + " Gate.setportstate(gate, gate.laston, false) " @ " gate.laston = idx " @ " end " @ " else " @ - " gate.ports[gate.laston]:setstate(false) " @ + " Gate.setportstate(gate, gate.laston, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Demux 2 Bit Vertical.cs b/bricks/gen/newcode/Demux 2 Bit Vertical.cs new file mode 100644 index 0000000..88fac0c --- /dev/null +++ b/bricks/gen/newcode/Demux 2 Bit Vertical.cs @@ -0,0 +1,86 @@ + +datablock fxDtsBrickData(LogicGate_Demux2Vertical_Data){ + brickFile = $LuaLogic::Path @ "bricks/gen/newbricks/Demux 2 Bit Vertical.blb"; + iconName = $LuaLogic::Path @ "bricks/gen/newicons/Demux 2 Bit Vertical"; + + category = "Logic Bricks"; + subCategory = "Mux"; + uiName = "Demux 2 Bit Vertical"; + logicUIName = "Demux 2 Bit Vertical"; + logicUIDesc = ""; + + hasPrint = 1; + printAspectRatio = "Logic"; + + logicBrickSize = "1 1 4"; + orientationFix = 3; + + isLogic = true; + isLogicGate = true; + isLogicInput = false; + + logicInit = + "return function(gate) " @ + " gate.laston = 3 " @ + "end" + ; + logicInput = ""; + logicUpdate = + "return function(gate) " @ + " if Gate.getportstate(gate, 7) then " @ + " local idx = 3 + " @ + " (bool_to_int[Gate.getportstate(gate, 1)] * 1) + " @ + " (bool_to_int[Gate.getportstate(gate, 2)] * 2) " @ + " Gate.setportstate(gate, idx, true) " @ + " if gate.laston~=idx then " @ + " Gate.setportstate(gate, gate.laston, false) " @ + " gate.laston = idx " @ + " end " @ + " else " @ + " Gate.setportstate(gate, gate.laston, false) " @ + " end " @ + "end" + ; + logicGlobal = ""; + + numLogicPorts = 7; + + logicPortType[0] = 1; + logicPortPos[0] = "0 0 -3"; + logicPortDir[0] = 3; + logicPortUIName[0] = "Sel0"; + logicPortCauseUpdate[0] = true; + + logicPortType[1] = 1; + logicPortPos[1] = "0 0 -1"; + logicPortDir[1] = 3; + logicPortUIName[1] = "Sel1"; + logicPortCauseUpdate[1] = true; + + logicPortType[2] = 0; + logicPortPos[2] = "0 0 -3"; + logicPortDir[2] = 1; + logicPortUIName[2] = "Out0"; + + logicPortType[3] = 0; + logicPortPos[3] = "0 0 -1"; + logicPortDir[3] = 1; + logicPortUIName[3] = "Out1"; + + logicPortType[4] = 0; + logicPortPos[4] = "0 0 1"; + logicPortDir[4] = 1; + logicPortUIName[4] = "Out2"; + + logicPortType[5] = 0; + logicPortPos[5] = "0 0 3"; + logicPortDir[5] = 1; + logicPortUIName[5] = "Out3"; + + logicPortType[6] = 1; + logicPortPos[6] = "0 0 -3"; + logicPortDir[6] = 5; + logicPortUIName[6] = "In"; + logicPortCauseUpdate[6] = true; + +}; diff --git a/bricks/gen/newcode/Demux 2 Bit.cs b/bricks/gen/newcode/Demux 2 Bit.cs index 29ca4d3..7f3be43 100644 --- a/bricks/gen/newcode/Demux 2 Bit.cs +++ b/bricks/gen/newcode/Demux 2 Bit.cs @@ -27,17 +27,17 @@ datablock fxDtsBrickData(LogicGate_Demux2_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[7].state then " @ + " if Gate.getportstate(gate, 7) then " @ " local idx = 3 + " @ - " (gate.ports[1].state and 1 or 0) + " @ - " (gate.ports[2].state and 2 or 0) " @ - " gate.ports[idx]:setstate(true) " @ + " (bool_to_int[Gate.getportstate(gate, 1)] * 1) + " @ + " (bool_to_int[Gate.getportstate(gate, 2)] * 2) " @ + " Gate.setportstate(gate, idx, true) " @ " if gate.laston~=idx then " @ - " gate.ports[gate.laston]:setstate(false) " @ + " Gate.setportstate(gate, gate.laston, false) " @ " gate.laston = idx " @ " end " @ " else " @ - " gate.ports[gate.laston]:setstate(false) " @ + " Gate.setportstate(gate, gate.laston, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Demux 3 Bit Vertical.cs b/bricks/gen/newcode/Demux 3 Bit Vertical.cs new file mode 100644 index 0000000..4da3119 --- /dev/null +++ b/bricks/gen/newcode/Demux 3 Bit Vertical.cs @@ -0,0 +1,113 @@ + +datablock fxDtsBrickData(LogicGate_Demux3Vertical_Data){ + brickFile = $LuaLogic::Path @ "bricks/gen/newbricks/Demux 3 Bit Vertical.blb"; + iconName = $LuaLogic::Path @ "bricks/gen/newicons/Demux 3 Bit Vertical"; + + category = "Logic Bricks"; + subCategory = "Mux"; + uiName = "Demux 3 Bit Vertical"; + logicUIName = "Demux 3 Bit Vertical"; + logicUIDesc = ""; + + hasPrint = 1; + printAspectRatio = "Logic"; + + logicBrickSize = "1 1 8"; + orientationFix = 3; + + isLogic = true; + isLogicGate = true; + isLogicInput = false; + + logicInit = + "return function(gate) " @ + " gate.laston = 4 " @ + "end" + ; + logicInput = ""; + logicUpdate = + "return function(gate) " @ + " if Gate.getportstate(gate, 12) then " @ + " local idx = 4 + " @ + " (bool_to_int[Gate.getportstate(gate, 1)] * 1) + " @ + " (bool_to_int[Gate.getportstate(gate, 2)] * 2) + " @ + " (bool_to_int[Gate.getportstate(gate, 3)] * 4) " @ + " Gate.setportstate(gate, idx, true) " @ + " if gate.laston~=idx then " @ + " Gate.setportstate(gate, gate.laston, false) " @ + " gate.laston = idx " @ + " end " @ + " else " @ + " Gate.setportstate(gate, gate.laston, false) " @ + " end " @ + "end" + ; + logicGlobal = ""; + + numLogicPorts = 12; + + logicPortType[0] = 1; + logicPortPos[0] = "0 0 -7"; + logicPortDir[0] = 3; + logicPortUIName[0] = "Sel0"; + logicPortCauseUpdate[0] = true; + + logicPortType[1] = 1; + logicPortPos[1] = "0 0 -5"; + logicPortDir[1] = 3; + logicPortUIName[1] = "Sel1"; + logicPortCauseUpdate[1] = true; + + logicPortType[2] = 1; + logicPortPos[2] = "0 0 -3"; + logicPortDir[2] = 3; + logicPortUIName[2] = "Sel2"; + logicPortCauseUpdate[2] = true; + + logicPortType[3] = 0; + logicPortPos[3] = "0 0 -7"; + logicPortDir[3] = 1; + logicPortUIName[3] = "Out0"; + + logicPortType[4] = 0; + logicPortPos[4] = "0 0 -5"; + logicPortDir[4] = 1; + logicPortUIName[4] = "Out1"; + + logicPortType[5] = 0; + logicPortPos[5] = "0 0 -3"; + logicPortDir[5] = 1; + logicPortUIName[5] = "Out2"; + + logicPortType[6] = 0; + logicPortPos[6] = "0 0 -1"; + logicPortDir[6] = 1; + logicPortUIName[6] = "Out3"; + + logicPortType[7] = 0; + logicPortPos[7] = "0 0 1"; + logicPortDir[7] = 1; + logicPortUIName[7] = "Out4"; + + logicPortType[8] = 0; + logicPortPos[8] = "0 0 3"; + logicPortDir[8] = 1; + logicPortUIName[8] = "Out5"; + + logicPortType[9] = 0; + logicPortPos[9] = "0 0 5"; + logicPortDir[9] = 1; + logicPortUIName[9] = "Out6"; + + logicPortType[10] = 0; + logicPortPos[10] = "0 0 7"; + logicPortDir[10] = 1; + logicPortUIName[10] = "Out7"; + + logicPortType[11] = 1; + logicPortPos[11] = "0 0 -7"; + logicPortDir[11] = 5; + logicPortUIName[11] = "In"; + logicPortCauseUpdate[11] = true; + +}; diff --git a/bricks/gen/newcode/Demux 3 Bit.cs b/bricks/gen/newcode/Demux 3 Bit.cs index 9b57ee2..494dd77 100644 --- a/bricks/gen/newcode/Demux 3 Bit.cs +++ b/bricks/gen/newcode/Demux 3 Bit.cs @@ -27,18 +27,18 @@ datablock fxDtsBrickData(LogicGate_Demux3_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[12].state then " @ + " if Gate.getportstate(gate, 12) then " @ " local idx = 4 + " @ - " (gate.ports[1].state and 1 or 0) + " @ - " (gate.ports[2].state and 2 or 0) + " @ - " (gate.ports[3].state and 4 or 0) " @ - " gate.ports[idx]:setstate(true) " @ + " (bool_to_int[Gate.getportstate(gate, 1)] * 1) + " @ + " (bool_to_int[Gate.getportstate(gate, 2)] * 2) + " @ + " (bool_to_int[Gate.getportstate(gate, 3)] * 4) " @ + " Gate.setportstate(gate, idx, true) " @ " if gate.laston~=idx then " @ - " gate.ports[gate.laston]:setstate(false) " @ + " Gate.setportstate(gate, gate.laston, false) " @ " gate.laston = idx " @ " end " @ " else " @ - " gate.ports[gate.laston]:setstate(false) " @ + " Gate.setportstate(gate, gate.laston, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Demux 4 Bit Vertical.cs b/bricks/gen/newcode/Demux 4 Bit Vertical.cs new file mode 100644 index 0000000..1d994dd --- /dev/null +++ b/bricks/gen/newcode/Demux 4 Bit Vertical.cs @@ -0,0 +1,160 @@ + +datablock fxDtsBrickData(LogicGate_Demux4Vertical_Data){ + brickFile = $LuaLogic::Path @ "bricks/gen/newbricks/Demux 4 Bit Vertical.blb"; + iconName = $LuaLogic::Path @ "bricks/gen/newicons/Demux 4 Bit Vertical"; + + category = "Logic Bricks"; + subCategory = "Mux"; + uiName = "Demux 4 Bit Vertical"; + logicUIName = "Demux 4 Bit Vertical"; + logicUIDesc = ""; + + hasPrint = 1; + printAspectRatio = "Logic"; + + logicBrickSize = "1 1 16"; + orientationFix = 3; + + isLogic = true; + isLogicGate = true; + isLogicInput = false; + + logicInit = + "return function(gate) " @ + " gate.laston = 5 " @ + "end" + ; + logicInput = ""; + logicUpdate = + "return function(gate) " @ + " if Gate.getportstate(gate, 21) then " @ + " local idx = 5 + " @ + " (bool_to_int[Gate.getportstate(gate, 1)] * 1) + " @ + " (bool_to_int[Gate.getportstate(gate, 2)] * 2) + " @ + " (bool_to_int[Gate.getportstate(gate, 3)] * 4) + " @ + " (bool_to_int[Gate.getportstate(gate, 4)] * 8) " @ + " Gate.setportstate(gate, idx, true) " @ + " if gate.laston~=idx then " @ + " Gate.setportstate(gate, gate.laston, false) " @ + " gate.laston = idx " @ + " end " @ + " else " @ + " Gate.setportstate(gate, gate.laston, false) " @ + " end " @ + "end" + ; + logicGlobal = ""; + + numLogicPorts = 21; + + logicPortType[0] = 1; + logicPortPos[0] = "0 0 -15"; + logicPortDir[0] = 3; + logicPortUIName[0] = "Sel0"; + logicPortCauseUpdate[0] = true; + + logicPortType[1] = 1; + logicPortPos[1] = "0 0 -13"; + logicPortDir[1] = 3; + logicPortUIName[1] = "Sel1"; + logicPortCauseUpdate[1] = true; + + logicPortType[2] = 1; + logicPortPos[2] = "0 0 -11"; + logicPortDir[2] = 3; + logicPortUIName[2] = "Sel2"; + logicPortCauseUpdate[2] = true; + + logicPortType[3] = 1; + logicPortPos[3] = "0 0 -9"; + logicPortDir[3] = 3; + logicPortUIName[3] = "Sel3"; + logicPortCauseUpdate[3] = true; + + logicPortType[4] = 0; + logicPortPos[4] = "0 0 -15"; + logicPortDir[4] = 1; + logicPortUIName[4] = "Out0"; + + logicPortType[5] = 0; + logicPortPos[5] = "0 0 -13"; + logicPortDir[5] = 1; + logicPortUIName[5] = "Out1"; + + logicPortType[6] = 0; + logicPortPos[6] = "0 0 -11"; + logicPortDir[6] = 1; + logicPortUIName[6] = "Out2"; + + logicPortType[7] = 0; + logicPortPos[7] = "0 0 -9"; + logicPortDir[7] = 1; + logicPortUIName[7] = "Out3"; + + logicPortType[8] = 0; + logicPortPos[8] = "0 0 -7"; + logicPortDir[8] = 1; + logicPortUIName[8] = "Out4"; + + logicPortType[9] = 0; + logicPortPos[9] = "0 0 -5"; + logicPortDir[9] = 1; + logicPortUIName[9] = "Out5"; + + logicPortType[10] = 0; + logicPortPos[10] = "0 0 -3"; + logicPortDir[10] = 1; + logicPortUIName[10] = "Out6"; + + logicPortType[11] = 0; + logicPortPos[11] = "0 0 -1"; + logicPortDir[11] = 1; + logicPortUIName[11] = "Out7"; + + logicPortType[12] = 0; + logicPortPos[12] = "0 0 1"; + logicPortDir[12] = 1; + logicPortUIName[12] = "Out8"; + + logicPortType[13] = 0; + logicPortPos[13] = "0 0 3"; + logicPortDir[13] = 1; + logicPortUIName[13] = "Out9"; + + logicPortType[14] = 0; + logicPortPos[14] = "0 0 5"; + logicPortDir[14] = 1; + logicPortUIName[14] = "Out10"; + + logicPortType[15] = 0; + logicPortPos[15] = "0 0 7"; + logicPortDir[15] = 1; + logicPortUIName[15] = "Out11"; + + logicPortType[16] = 0; + logicPortPos[16] = "0 0 9"; + logicPortDir[16] = 1; + logicPortUIName[16] = "Out12"; + + logicPortType[17] = 0; + logicPortPos[17] = "0 0 11"; + logicPortDir[17] = 1; + logicPortUIName[17] = "Out13"; + + logicPortType[18] = 0; + logicPortPos[18] = "0 0 13"; + logicPortDir[18] = 1; + logicPortUIName[18] = "Out14"; + + logicPortType[19] = 0; + logicPortPos[19] = "0 0 15"; + logicPortDir[19] = 1; + logicPortUIName[19] = "Out15"; + + logicPortType[20] = 1; + logicPortPos[20] = "0 0 -15"; + logicPortDir[20] = 5; + logicPortUIName[20] = "In"; + logicPortCauseUpdate[20] = true; + +}; diff --git a/bricks/gen/newcode/Demux 4 Bit.cs b/bricks/gen/newcode/Demux 4 Bit.cs index cc7277e..f56f888 100644 --- a/bricks/gen/newcode/Demux 4 Bit.cs +++ b/bricks/gen/newcode/Demux 4 Bit.cs @@ -27,19 +27,19 @@ datablock fxDtsBrickData(LogicGate_Demux4_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[21].state then " @ + " if Gate.getportstate(gate, 21) then " @ " local idx = 5 + " @ - " (gate.ports[1].state and 1 or 0) + " @ - " (gate.ports[2].state and 2 or 0) + " @ - " (gate.ports[3].state and 4 or 0) + " @ - " (gate.ports[4].state and 8 or 0) " @ - " gate.ports[idx]:setstate(true) " @ + " (bool_to_int[Gate.getportstate(gate, 1)] * 1) + " @ + " (bool_to_int[Gate.getportstate(gate, 2)] * 2) + " @ + " (bool_to_int[Gate.getportstate(gate, 3)] * 4) + " @ + " (bool_to_int[Gate.getportstate(gate, 4)] * 8) " @ + " Gate.setportstate(gate, idx, true) " @ " if gate.laston~=idx then " @ - " gate.ports[gate.laston]:setstate(false) " @ + " Gate.setportstate(gate, gate.laston, false) " @ " gate.laston = idx " @ " end " @ " else " @ - " gate.ports[gate.laston]:setstate(false) " @ + " Gate.setportstate(gate, gate.laston, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Demux 5 Bit Vertical.cs b/bricks/gen/newcode/Demux 5 Bit Vertical.cs new file mode 100644 index 0000000..af1e680 --- /dev/null +++ b/bricks/gen/newcode/Demux 5 Bit Vertical.cs @@ -0,0 +1,247 @@ + +datablock fxDtsBrickData(LogicGate_Demux5Vertical_Data){ + brickFile = $LuaLogic::Path @ "bricks/gen/newbricks/Demux 5 Bit Vertical.blb"; + iconName = $LuaLogic::Path @ "bricks/gen/newicons/Demux 5 Bit Vertical"; + + category = "Logic Bricks"; + subCategory = "Mux"; + uiName = "Demux 5 Bit Vertical"; + logicUIName = "Demux 5 Bit Vertical"; + logicUIDesc = ""; + + hasPrint = 1; + printAspectRatio = "Logic"; + + logicBrickSize = "1 1 32"; + orientationFix = 3; + + isLogic = true; + isLogicGate = true; + isLogicInput = false; + + logicInit = + "return function(gate) " @ + " gate.laston = 6 " @ + "end" + ; + logicInput = ""; + logicUpdate = + "return function(gate) " @ + " if Gate.getportstate(gate, 38) then " @ + " local idx = 6 + " @ + " (bool_to_int[Gate.getportstate(gate, 1)] * 1) + " @ + " (bool_to_int[Gate.getportstate(gate, 2)] * 2) + " @ + " (bool_to_int[Gate.getportstate(gate, 3)] * 4) + " @ + " (bool_to_int[Gate.getportstate(gate, 4)] * 8) + " @ + " (bool_to_int[Gate.getportstate(gate, 5)] * 16) " @ + " Gate.setportstate(gate, idx, true) " @ + " if gate.laston~=idx then " @ + " Gate.setportstate(gate, gate.laston, false) " @ + " gate.laston = idx " @ + " end " @ + " else " @ + " Gate.setportstate(gate, gate.laston, false) " @ + " end " @ + "end" + ; + logicGlobal = ""; + + numLogicPorts = 38; + + logicPortType[0] = 1; + logicPortPos[0] = "0 0 -31"; + logicPortDir[0] = 3; + logicPortUIName[0] = "Sel0"; + logicPortCauseUpdate[0] = true; + + logicPortType[1] = 1; + logicPortPos[1] = "0 0 -29"; + logicPortDir[1] = 3; + logicPortUIName[1] = "Sel1"; + logicPortCauseUpdate[1] = true; + + logicPortType[2] = 1; + logicPortPos[2] = "0 0 -27"; + logicPortDir[2] = 3; + logicPortUIName[2] = "Sel2"; + logicPortCauseUpdate[2] = true; + + logicPortType[3] = 1; + logicPortPos[3] = "0 0 -25"; + logicPortDir[3] = 3; + logicPortUIName[3] = "Sel3"; + logicPortCauseUpdate[3] = true; + + logicPortType[4] = 1; + logicPortPos[4] = "0 0 -23"; + logicPortDir[4] = 3; + logicPortUIName[4] = "Sel4"; + logicPortCauseUpdate[4] = true; + + logicPortType[5] = 0; + logicPortPos[5] = "0 0 -31"; + logicPortDir[5] = 1; + logicPortUIName[5] = "Out0"; + + logicPortType[6] = 0; + logicPortPos[6] = "0 0 -29"; + logicPortDir[6] = 1; + logicPortUIName[6] = "Out1"; + + logicPortType[7] = 0; + logicPortPos[7] = "0 0 -27"; + logicPortDir[7] = 1; + logicPortUIName[7] = "Out2"; + + logicPortType[8] = 0; + logicPortPos[8] = "0 0 -25"; + logicPortDir[8] = 1; + logicPortUIName[8] = "Out3"; + + logicPortType[9] = 0; + logicPortPos[9] = "0 0 -23"; + logicPortDir[9] = 1; + logicPortUIName[9] = "Out4"; + + logicPortType[10] = 0; + logicPortPos[10] = "0 0 -21"; + logicPortDir[10] = 1; + logicPortUIName[10] = "Out5"; + + logicPortType[11] = 0; + logicPortPos[11] = "0 0 -19"; + logicPortDir[11] = 1; + logicPortUIName[11] = "Out6"; + + logicPortType[12] = 0; + logicPortPos[12] = "0 0 -17"; + logicPortDir[12] = 1; + logicPortUIName[12] = "Out7"; + + logicPortType[13] = 0; + logicPortPos[13] = "0 0 -15"; + logicPortDir[13] = 1; + logicPortUIName[13] = "Out8"; + + logicPortType[14] = 0; + logicPortPos[14] = "0 0 -13"; + logicPortDir[14] = 1; + logicPortUIName[14] = "Out9"; + + logicPortType[15] = 0; + logicPortPos[15] = "0 0 -11"; + logicPortDir[15] = 1; + logicPortUIName[15] = "Out10"; + + logicPortType[16] = 0; + logicPortPos[16] = "0 0 -9"; + logicPortDir[16] = 1; + logicPortUIName[16] = "Out11"; + + logicPortType[17] = 0; + logicPortPos[17] = "0 0 -7"; + logicPortDir[17] = 1; + logicPortUIName[17] = "Out12"; + + logicPortType[18] = 0; + logicPortPos[18] = "0 0 -5"; + logicPortDir[18] = 1; + logicPortUIName[18] = "Out13"; + + logicPortType[19] = 0; + logicPortPos[19] = "0 0 -3"; + logicPortDir[19] = 1; + logicPortUIName[19] = "Out14"; + + logicPortType[20] = 0; + logicPortPos[20] = "0 0 -1"; + logicPortDir[20] = 1; + logicPortUIName[20] = "Out15"; + + logicPortType[21] = 0; + logicPortPos[21] = "0 0 1"; + logicPortDir[21] = 1; + logicPortUIName[21] = "Out16"; + + logicPortType[22] = 0; + logicPortPos[22] = "0 0 3"; + logicPortDir[22] = 1; + logicPortUIName[22] = "Out17"; + + logicPortType[23] = 0; + logicPortPos[23] = "0 0 5"; + logicPortDir[23] = 1; + logicPortUIName[23] = "Out18"; + + logicPortType[24] = 0; + logicPortPos[24] = "0 0 7"; + logicPortDir[24] = 1; + logicPortUIName[24] = "Out19"; + + logicPortType[25] = 0; + logicPortPos[25] = "0 0 9"; + logicPortDir[25] = 1; + logicPortUIName[25] = "Out20"; + + logicPortType[26] = 0; + logicPortPos[26] = "0 0 11"; + logicPortDir[26] = 1; + logicPortUIName[26] = "Out21"; + + logicPortType[27] = 0; + logicPortPos[27] = "0 0 13"; + logicPortDir[27] = 1; + logicPortUIName[27] = "Out22"; + + logicPortType[28] = 0; + logicPortPos[28] = "0 0 15"; + logicPortDir[28] = 1; + logicPortUIName[28] = "Out23"; + + logicPortType[29] = 0; + logicPortPos[29] = "0 0 17"; + logicPortDir[29] = 1; + logicPortUIName[29] = "Out24"; + + logicPortType[30] = 0; + logicPortPos[30] = "0 0 19"; + logicPortDir[30] = 1; + logicPortUIName[30] = "Out25"; + + logicPortType[31] = 0; + logicPortPos[31] = "0 0 21"; + logicPortDir[31] = 1; + logicPortUIName[31] = "Out26"; + + logicPortType[32] = 0; + logicPortPos[32] = "0 0 23"; + logicPortDir[32] = 1; + logicPortUIName[32] = "Out27"; + + logicPortType[33] = 0; + logicPortPos[33] = "0 0 25"; + logicPortDir[33] = 1; + logicPortUIName[33] = "Out28"; + + logicPortType[34] = 0; + logicPortPos[34] = "0 0 27"; + logicPortDir[34] = 1; + logicPortUIName[34] = "Out29"; + + logicPortType[35] = 0; + logicPortPos[35] = "0 0 29"; + logicPortDir[35] = 1; + logicPortUIName[35] = "Out30"; + + logicPortType[36] = 0; + logicPortPos[36] = "0 0 31"; + logicPortDir[36] = 1; + logicPortUIName[36] = "Out31"; + + logicPortType[37] = 1; + logicPortPos[37] = "0 0 -31"; + logicPortDir[37] = 5; + logicPortUIName[37] = "In"; + logicPortCauseUpdate[37] = true; + +}; diff --git a/bricks/gen/newcode/Demux 5 Bit.cs b/bricks/gen/newcode/Demux 5 Bit.cs index f19978e..28f1ede 100644 --- a/bricks/gen/newcode/Demux 5 Bit.cs +++ b/bricks/gen/newcode/Demux 5 Bit.cs @@ -27,20 +27,20 @@ datablock fxDtsBrickData(LogicGate_Demux5_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[38].state then " @ + " if Gate.getportstate(gate, 38) then " @ " local idx = 6 + " @ - " (gate.ports[1].state and 1 or 0) + " @ - " (gate.ports[2].state and 2 or 0) + " @ - " (gate.ports[3].state and 4 or 0) + " @ - " (gate.ports[4].state and 8 or 0) + " @ - " (gate.ports[5].state and 16 or 0) " @ - " gate.ports[idx]:setstate(true) " @ + " (bool_to_int[Gate.getportstate(gate, 1)] * 1) + " @ + " (bool_to_int[Gate.getportstate(gate, 2)] * 2) + " @ + " (bool_to_int[Gate.getportstate(gate, 3)] * 4) + " @ + " (bool_to_int[Gate.getportstate(gate, 4)] * 8) + " @ + " (bool_to_int[Gate.getportstate(gate, 5)] * 16) " @ + " Gate.setportstate(gate, idx, true) " @ " if gate.laston~=idx then " @ - " gate.ports[gate.laston]:setstate(false) " @ + " Gate.setportstate(gate, gate.laston, false) " @ " gate.laston = idx " @ " end " @ " else " @ - " gate.ports[gate.laston]:setstate(false) " @ + " Gate.setportstate(gate, gate.laston, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Demux 6 Bit Vertical.cs b/bricks/gen/newcode/Demux 6 Bit Vertical.cs new file mode 100644 index 0000000..99e0f2a --- /dev/null +++ b/bricks/gen/newcode/Demux 6 Bit Vertical.cs @@ -0,0 +1,414 @@ + +datablock fxDtsBrickData(LogicGate_Demux6Vertical_Data){ + brickFile = $LuaLogic::Path @ "bricks/gen/newbricks/Demux 6 Bit Vertical.blb"; + iconName = $LuaLogic::Path @ "bricks/gen/newicons/Demux 6 Bit Vertical"; + + category = "Logic Bricks"; + subCategory = "Mux"; + uiName = "Demux 6 Bit Vertical"; + logicUIName = "Demux 6 Bit Vertical"; + logicUIDesc = ""; + + hasPrint = 1; + printAspectRatio = "Logic"; + + logicBrickSize = "1 1 64"; + orientationFix = 3; + + isLogic = true; + isLogicGate = true; + isLogicInput = false; + + logicInit = + "return function(gate) " @ + " gate.laston = 7 " @ + "end" + ; + logicInput = ""; + logicUpdate = + "return function(gate) " @ + " if Gate.getportstate(gate, 71) then " @ + " local idx = 7 + " @ + " (bool_to_int[Gate.getportstate(gate, 1)] * 1) + " @ + " (bool_to_int[Gate.getportstate(gate, 2)] * 2) + " @ + " (bool_to_int[Gate.getportstate(gate, 3)] * 4) + " @ + " (bool_to_int[Gate.getportstate(gate, 4)] * 8) + " @ + " (bool_to_int[Gate.getportstate(gate, 5)] * 16) + " @ + " (bool_to_int[Gate.getportstate(gate, 6)] * 32) " @ + " Gate.setportstate(gate, idx, true) " @ + " if gate.laston~=idx then " @ + " Gate.setportstate(gate, gate.laston, false) " @ + " gate.laston = idx " @ + " end " @ + " else " @ + " Gate.setportstate(gate, gate.laston, false) " @ + " end " @ + "end" + ; + logicGlobal = ""; + + numLogicPorts = 71; + + logicPortType[0] = 1; + logicPortPos[0] = "0 0 -63"; + logicPortDir[0] = 3; + logicPortUIName[0] = "Sel0"; + logicPortCauseUpdate[0] = true; + + logicPortType[1] = 1; + logicPortPos[1] = "0 0 -61"; + logicPortDir[1] = 3; + logicPortUIName[1] = "Sel1"; + logicPortCauseUpdate[1] = true; + + logicPortType[2] = 1; + logicPortPos[2] = "0 0 -59"; + logicPortDir[2] = 3; + logicPortUIName[2] = "Sel2"; + logicPortCauseUpdate[2] = true; + + logicPortType[3] = 1; + logicPortPos[3] = "0 0 -57"; + logicPortDir[3] = 3; + logicPortUIName[3] = "Sel3"; + logicPortCauseUpdate[3] = true; + + logicPortType[4] = 1; + logicPortPos[4] = "0 0 -55"; + logicPortDir[4] = 3; + logicPortUIName[4] = "Sel4"; + logicPortCauseUpdate[4] = true; + + logicPortType[5] = 1; + logicPortPos[5] = "0 0 -53"; + logicPortDir[5] = 3; + logicPortUIName[5] = "Sel5"; + logicPortCauseUpdate[5] = true; + + logicPortType[6] = 0; + logicPortPos[6] = "0 0 -63"; + logicPortDir[6] = 1; + logicPortUIName[6] = "Out0"; + + logicPortType[7] = 0; + logicPortPos[7] = "0 0 -61"; + logicPortDir[7] = 1; + logicPortUIName[7] = "Out1"; + + logicPortType[8] = 0; + logicPortPos[8] = "0 0 -59"; + logicPortDir[8] = 1; + logicPortUIName[8] = "Out2"; + + logicPortType[9] = 0; + logicPortPos[9] = "0 0 -57"; + logicPortDir[9] = 1; + logicPortUIName[9] = "Out3"; + + logicPortType[10] = 0; + logicPortPos[10] = "0 0 -55"; + logicPortDir[10] = 1; + logicPortUIName[10] = "Out4"; + + logicPortType[11] = 0; + logicPortPos[11] = "0 0 -53"; + logicPortDir[11] = 1; + logicPortUIName[11] = "Out5"; + + logicPortType[12] = 0; + logicPortPos[12] = "0 0 -51"; + logicPortDir[12] = 1; + logicPortUIName[12] = "Out6"; + + logicPortType[13] = 0; + logicPortPos[13] = "0 0 -49"; + logicPortDir[13] = 1; + logicPortUIName[13] = "Out7"; + + logicPortType[14] = 0; + logicPortPos[14] = "0 0 -47"; + logicPortDir[14] = 1; + logicPortUIName[14] = "Out8"; + + logicPortType[15] = 0; + logicPortPos[15] = "0 0 -45"; + logicPortDir[15] = 1; + logicPortUIName[15] = "Out9"; + + logicPortType[16] = 0; + logicPortPos[16] = "0 0 -43"; + logicPortDir[16] = 1; + logicPortUIName[16] = "Out10"; + + logicPortType[17] = 0; + logicPortPos[17] = "0 0 -41"; + logicPortDir[17] = 1; + logicPortUIName[17] = "Out11"; + + logicPortType[18] = 0; + logicPortPos[18] = "0 0 -39"; + logicPortDir[18] = 1; + logicPortUIName[18] = "Out12"; + + logicPortType[19] = 0; + logicPortPos[19] = "0 0 -37"; + logicPortDir[19] = 1; + logicPortUIName[19] = "Out13"; + + logicPortType[20] = 0; + logicPortPos[20] = "0 0 -35"; + logicPortDir[20] = 1; + logicPortUIName[20] = "Out14"; + + logicPortType[21] = 0; + logicPortPos[21] = "0 0 -33"; + logicPortDir[21] = 1; + logicPortUIName[21] = "Out15"; + + logicPortType[22] = 0; + logicPortPos[22] = "0 0 -31"; + logicPortDir[22] = 1; + logicPortUIName[22] = "Out16"; + + logicPortType[23] = 0; + logicPortPos[23] = "0 0 -29"; + logicPortDir[23] = 1; + logicPortUIName[23] = "Out17"; + + logicPortType[24] = 0; + logicPortPos[24] = "0 0 -27"; + logicPortDir[24] = 1; + logicPortUIName[24] = "Out18"; + + logicPortType[25] = 0; + logicPortPos[25] = "0 0 -25"; + logicPortDir[25] = 1; + logicPortUIName[25] = "Out19"; + + logicPortType[26] = 0; + logicPortPos[26] = "0 0 -23"; + logicPortDir[26] = 1; + logicPortUIName[26] = "Out20"; + + logicPortType[27] = 0; + logicPortPos[27] = "0 0 -21"; + logicPortDir[27] = 1; + logicPortUIName[27] = "Out21"; + + logicPortType[28] = 0; + logicPortPos[28] = "0 0 -19"; + logicPortDir[28] = 1; + logicPortUIName[28] = "Out22"; + + logicPortType[29] = 0; + logicPortPos[29] = "0 0 -17"; + logicPortDir[29] = 1; + logicPortUIName[29] = "Out23"; + + logicPortType[30] = 0; + logicPortPos[30] = "0 0 -15"; + logicPortDir[30] = 1; + logicPortUIName[30] = "Out24"; + + logicPortType[31] = 0; + logicPortPos[31] = "0 0 -13"; + logicPortDir[31] = 1; + logicPortUIName[31] = "Out25"; + + logicPortType[32] = 0; + logicPortPos[32] = "0 0 -11"; + logicPortDir[32] = 1; + logicPortUIName[32] = "Out26"; + + logicPortType[33] = 0; + logicPortPos[33] = "0 0 -9"; + logicPortDir[33] = 1; + logicPortUIName[33] = "Out27"; + + logicPortType[34] = 0; + logicPortPos[34] = "0 0 -7"; + logicPortDir[34] = 1; + logicPortUIName[34] = "Out28"; + + logicPortType[35] = 0; + logicPortPos[35] = "0 0 -5"; + logicPortDir[35] = 1; + logicPortUIName[35] = "Out29"; + + logicPortType[36] = 0; + logicPortPos[36] = "0 0 -3"; + logicPortDir[36] = 1; + logicPortUIName[36] = "Out30"; + + logicPortType[37] = 0; + logicPortPos[37] = "0 0 -1"; + logicPortDir[37] = 1; + logicPortUIName[37] = "Out31"; + + logicPortType[38] = 0; + logicPortPos[38] = "0 0 1"; + logicPortDir[38] = 1; + logicPortUIName[38] = "Out32"; + + logicPortType[39] = 0; + logicPortPos[39] = "0 0 3"; + logicPortDir[39] = 1; + logicPortUIName[39] = "Out33"; + + logicPortType[40] = 0; + logicPortPos[40] = "0 0 5"; + logicPortDir[40] = 1; + logicPortUIName[40] = "Out34"; + + logicPortType[41] = 0; + logicPortPos[41] = "0 0 7"; + logicPortDir[41] = 1; + logicPortUIName[41] = "Out35"; + + logicPortType[42] = 0; + logicPortPos[42] = "0 0 9"; + logicPortDir[42] = 1; + logicPortUIName[42] = "Out36"; + + logicPortType[43] = 0; + logicPortPos[43] = "0 0 11"; + logicPortDir[43] = 1; + logicPortUIName[43] = "Out37"; + + logicPortType[44] = 0; + logicPortPos[44] = "0 0 13"; + logicPortDir[44] = 1; + logicPortUIName[44] = "Out38"; + + logicPortType[45] = 0; + logicPortPos[45] = "0 0 15"; + logicPortDir[45] = 1; + logicPortUIName[45] = "Out39"; + + logicPortType[46] = 0; + logicPortPos[46] = "0 0 17"; + logicPortDir[46] = 1; + logicPortUIName[46] = "Out40"; + + logicPortType[47] = 0; + logicPortPos[47] = "0 0 19"; + logicPortDir[47] = 1; + logicPortUIName[47] = "Out41"; + + logicPortType[48] = 0; + logicPortPos[48] = "0 0 21"; + logicPortDir[48] = 1; + logicPortUIName[48] = "Out42"; + + logicPortType[49] = 0; + logicPortPos[49] = "0 0 23"; + logicPortDir[49] = 1; + logicPortUIName[49] = "Out43"; + + logicPortType[50] = 0; + logicPortPos[50] = "0 0 25"; + logicPortDir[50] = 1; + logicPortUIName[50] = "Out44"; + + logicPortType[51] = 0; + logicPortPos[51] = "0 0 27"; + logicPortDir[51] = 1; + logicPortUIName[51] = "Out45"; + + logicPortType[52] = 0; + logicPortPos[52] = "0 0 29"; + logicPortDir[52] = 1; + logicPortUIName[52] = "Out46"; + + logicPortType[53] = 0; + logicPortPos[53] = "0 0 31"; + logicPortDir[53] = 1; + logicPortUIName[53] = "Out47"; + + logicPortType[54] = 0; + logicPortPos[54] = "0 0 33"; + logicPortDir[54] = 1; + logicPortUIName[54] = "Out48"; + + logicPortType[55] = 0; + logicPortPos[55] = "0 0 35"; + logicPortDir[55] = 1; + logicPortUIName[55] = "Out49"; + + logicPortType[56] = 0; + logicPortPos[56] = "0 0 37"; + logicPortDir[56] = 1; + logicPortUIName[56] = "Out50"; + + logicPortType[57] = 0; + logicPortPos[57] = "0 0 39"; + logicPortDir[57] = 1; + logicPortUIName[57] = "Out51"; + + logicPortType[58] = 0; + logicPortPos[58] = "0 0 41"; + logicPortDir[58] = 1; + logicPortUIName[58] = "Out52"; + + logicPortType[59] = 0; + logicPortPos[59] = "0 0 43"; + logicPortDir[59] = 1; + logicPortUIName[59] = "Out53"; + + logicPortType[60] = 0; + logicPortPos[60] = "0 0 45"; + logicPortDir[60] = 1; + logicPortUIName[60] = "Out54"; + + logicPortType[61] = 0; + logicPortPos[61] = "0 0 47"; + logicPortDir[61] = 1; + logicPortUIName[61] = "Out55"; + + logicPortType[62] = 0; + logicPortPos[62] = "0 0 49"; + logicPortDir[62] = 1; + logicPortUIName[62] = "Out56"; + + logicPortType[63] = 0; + logicPortPos[63] = "0 0 51"; + logicPortDir[63] = 1; + logicPortUIName[63] = "Out57"; + + logicPortType[64] = 0; + logicPortPos[64] = "0 0 53"; + logicPortDir[64] = 1; + logicPortUIName[64] = "Out58"; + + logicPortType[65] = 0; + logicPortPos[65] = "0 0 55"; + logicPortDir[65] = 1; + logicPortUIName[65] = "Out59"; + + logicPortType[66] = 0; + logicPortPos[66] = "0 0 57"; + logicPortDir[66] = 1; + logicPortUIName[66] = "Out60"; + + logicPortType[67] = 0; + logicPortPos[67] = "0 0 59"; + logicPortDir[67] = 1; + logicPortUIName[67] = "Out61"; + + logicPortType[68] = 0; + logicPortPos[68] = "0 0 61"; + logicPortDir[68] = 1; + logicPortUIName[68] = "Out62"; + + logicPortType[69] = 0; + logicPortPos[69] = "0 0 63"; + logicPortDir[69] = 1; + logicPortUIName[69] = "Out63"; + + logicPortType[70] = 1; + logicPortPos[70] = "0 0 -63"; + logicPortDir[70] = 5; + logicPortUIName[70] = "In"; + logicPortCauseUpdate[70] = true; + +}; diff --git a/bricks/gen/newcode/Demux 6 Bit.cs b/bricks/gen/newcode/Demux 6 Bit.cs index 7c94573..6cedec2 100644 --- a/bricks/gen/newcode/Demux 6 Bit.cs +++ b/bricks/gen/newcode/Demux 6 Bit.cs @@ -27,21 +27,21 @@ datablock fxDtsBrickData(LogicGate_Demux6_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[71].state then " @ + " if Gate.getportstate(gate, 71) then " @ " local idx = 7 + " @ - " (gate.ports[1].state and 1 or 0) + " @ - " (gate.ports[2].state and 2 or 0) + " @ - " (gate.ports[3].state and 4 or 0) + " @ - " (gate.ports[4].state and 8 or 0) + " @ - " (gate.ports[5].state and 16 or 0) + " @ - " (gate.ports[6].state and 32 or 0) " @ - " gate.ports[idx]:setstate(true) " @ + " (bool_to_int[Gate.getportstate(gate, 1)] * 1) + " @ + " (bool_to_int[Gate.getportstate(gate, 2)] * 2) + " @ + " (bool_to_int[Gate.getportstate(gate, 3)] * 4) + " @ + " (bool_to_int[Gate.getportstate(gate, 4)] * 8) + " @ + " (bool_to_int[Gate.getportstate(gate, 5)] * 16) + " @ + " (bool_to_int[Gate.getportstate(gate, 6)] * 32) " @ + " Gate.setportstate(gate, idx, true) " @ " if gate.laston~=idx then " @ - " gate.ports[gate.laston]:setstate(false) " @ + " Gate.setportstate(gate, gate.laston, false) " @ " gate.laston = idx " @ " end " @ " else " @ - " gate.ports[gate.laston]:setstate(false) " @ + " Gate.setportstate(gate, gate.laston, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler 1 Bit.cs b/bricks/gen/newcode/Enabler 1 Bit.cs index e09220f..0cf9087 100644 --- a/bricks/gen/newcode/Enabler 1 Bit.cs +++ b/bricks/gen/newcode/Enabler 1 Bit.cs @@ -23,10 +23,10 @@ datablock fxDtsBrickData(LogicGate_Enabler1_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[3].state then " @ - " gate.ports[2]:setstate(gate.ports[1].state) " @ + " if Gate.getportstate(gate, 3) then " @ + " Gate.setportstate(gate, 2, Gate.getportstate(gate, 1)) " @ " else " @ - " gate.ports[2]:setstate(false) " @ + " Gate.setportstate(gate, 2, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler 10 Bit.cs b/bricks/gen/newcode/Enabler 10 Bit.cs index 2ede5f7..37bf54c 100644 --- a/bricks/gen/newcode/Enabler 10 Bit.cs +++ b/bricks/gen/newcode/Enabler 10 Bit.cs @@ -23,28 +23,28 @@ datablock fxDtsBrickData(LogicGate_Enabler10_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[21].state then " @ - " gate.ports[11]:setstate(gate.ports[1].state) " @ - " gate.ports[12]:setstate(gate.ports[2].state) " @ - " gate.ports[13]:setstate(gate.ports[3].state) " @ - " gate.ports[14]:setstate(gate.ports[4].state) " @ - " gate.ports[15]:setstate(gate.ports[5].state) " @ - " gate.ports[16]:setstate(gate.ports[6].state) " @ - " gate.ports[17]:setstate(gate.ports[7].state) " @ - " gate.ports[18]:setstate(gate.ports[8].state) " @ - " gate.ports[19]:setstate(gate.ports[9].state) " @ - " gate.ports[20]:setstate(gate.ports[10].state) " @ + " if Gate.getportstate(gate, 21) then " @ + " Gate.setportstate(gate, 11, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 10)) " @ " else " @ - " gate.ports[11]:setstate(false) " @ - " gate.ports[12]:setstate(false) " @ - " gate.ports[13]:setstate(false) " @ - " gate.ports[14]:setstate(false) " @ - " gate.ports[15]:setstate(false) " @ - " gate.ports[16]:setstate(false) " @ - " gate.ports[17]:setstate(false) " @ - " gate.ports[18]:setstate(false) " @ - " gate.ports[19]:setstate(false) " @ - " gate.ports[20]:setstate(false) " @ + " Gate.setportstate(gate, 11, false) " @ + " Gate.setportstate(gate, 12, false) " @ + " Gate.setportstate(gate, 13, false) " @ + " Gate.setportstate(gate, 14, false) " @ + " Gate.setportstate(gate, 15, false) " @ + " Gate.setportstate(gate, 16, false) " @ + " Gate.setportstate(gate, 17, false) " @ + " Gate.setportstate(gate, 18, false) " @ + " Gate.setportstate(gate, 19, false) " @ + " Gate.setportstate(gate, 20, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler 11 Bit.cs b/bricks/gen/newcode/Enabler 11 Bit.cs index 6335867..7a1fc80 100644 --- a/bricks/gen/newcode/Enabler 11 Bit.cs +++ b/bricks/gen/newcode/Enabler 11 Bit.cs @@ -23,30 +23,30 @@ datablock fxDtsBrickData(LogicGate_Enabler11_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[23].state then " @ - " gate.ports[12]:setstate(gate.ports[1].state) " @ - " gate.ports[13]:setstate(gate.ports[2].state) " @ - " gate.ports[14]:setstate(gate.ports[3].state) " @ - " gate.ports[15]:setstate(gate.ports[4].state) " @ - " gate.ports[16]:setstate(gate.ports[5].state) " @ - " gate.ports[17]:setstate(gate.ports[6].state) " @ - " gate.ports[18]:setstate(gate.ports[7].state) " @ - " gate.ports[19]:setstate(gate.ports[8].state) " @ - " gate.ports[20]:setstate(gate.ports[9].state) " @ - " gate.ports[21]:setstate(gate.ports[10].state) " @ - " gate.ports[22]:setstate(gate.ports[11].state) " @ + " if Gate.getportstate(gate, 23) then " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 11)) " @ " else " @ - " gate.ports[12]:setstate(false) " @ - " gate.ports[13]:setstate(false) " @ - " gate.ports[14]:setstate(false) " @ - " gate.ports[15]:setstate(false) " @ - " gate.ports[16]:setstate(false) " @ - " gate.ports[17]:setstate(false) " @ - " gate.ports[18]:setstate(false) " @ - " gate.ports[19]:setstate(false) " @ - " gate.ports[20]:setstate(false) " @ - " gate.ports[21]:setstate(false) " @ - " gate.ports[22]:setstate(false) " @ + " Gate.setportstate(gate, 12, false) " @ + " Gate.setportstate(gate, 13, false) " @ + " Gate.setportstate(gate, 14, false) " @ + " Gate.setportstate(gate, 15, false) " @ + " Gate.setportstate(gate, 16, false) " @ + " Gate.setportstate(gate, 17, false) " @ + " Gate.setportstate(gate, 18, false) " @ + " Gate.setportstate(gate, 19, false) " @ + " Gate.setportstate(gate, 20, false) " @ + " Gate.setportstate(gate, 21, false) " @ + " Gate.setportstate(gate, 22, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler 12 Bit.cs b/bricks/gen/newcode/Enabler 12 Bit.cs index 55c8ec4..ed9915f 100644 --- a/bricks/gen/newcode/Enabler 12 Bit.cs +++ b/bricks/gen/newcode/Enabler 12 Bit.cs @@ -23,32 +23,32 @@ datablock fxDtsBrickData(LogicGate_Enabler12_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[25].state then " @ - " gate.ports[13]:setstate(gate.ports[1].state) " @ - " gate.ports[14]:setstate(gate.ports[2].state) " @ - " gate.ports[15]:setstate(gate.ports[3].state) " @ - " gate.ports[16]:setstate(gate.ports[4].state) " @ - " gate.ports[17]:setstate(gate.ports[5].state) " @ - " gate.ports[18]:setstate(gate.ports[6].state) " @ - " gate.ports[19]:setstate(gate.ports[7].state) " @ - " gate.ports[20]:setstate(gate.ports[8].state) " @ - " gate.ports[21]:setstate(gate.ports[9].state) " @ - " gate.ports[22]:setstate(gate.ports[10].state) " @ - " gate.ports[23]:setstate(gate.ports[11].state) " @ - " gate.ports[24]:setstate(gate.ports[12].state) " @ + " if Gate.getportstate(gate, 25) then " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 23, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 24, Gate.getportstate(gate, 12)) " @ " else " @ - " gate.ports[13]:setstate(false) " @ - " gate.ports[14]:setstate(false) " @ - " gate.ports[15]:setstate(false) " @ - " gate.ports[16]:setstate(false) " @ - " gate.ports[17]:setstate(false) " @ - " gate.ports[18]:setstate(false) " @ - " gate.ports[19]:setstate(false) " @ - " gate.ports[20]:setstate(false) " @ - " gate.ports[21]:setstate(false) " @ - " gate.ports[22]:setstate(false) " @ - " gate.ports[23]:setstate(false) " @ - " gate.ports[24]:setstate(false) " @ + " Gate.setportstate(gate, 13, false) " @ + " Gate.setportstate(gate, 14, false) " @ + " Gate.setportstate(gate, 15, false) " @ + " Gate.setportstate(gate, 16, false) " @ + " Gate.setportstate(gate, 17, false) " @ + " Gate.setportstate(gate, 18, false) " @ + " Gate.setportstate(gate, 19, false) " @ + " Gate.setportstate(gate, 20, false) " @ + " Gate.setportstate(gate, 21, false) " @ + " Gate.setportstate(gate, 22, false) " @ + " Gate.setportstate(gate, 23, false) " @ + " Gate.setportstate(gate, 24, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler 13 Bit.cs b/bricks/gen/newcode/Enabler 13 Bit.cs index 281515f..f82652b 100644 --- a/bricks/gen/newcode/Enabler 13 Bit.cs +++ b/bricks/gen/newcode/Enabler 13 Bit.cs @@ -23,34 +23,34 @@ datablock fxDtsBrickData(LogicGate_Enabler13_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[27].state then " @ - " gate.ports[14]:setstate(gate.ports[1].state) " @ - " gate.ports[15]:setstate(gate.ports[2].state) " @ - " gate.ports[16]:setstate(gate.ports[3].state) " @ - " gate.ports[17]:setstate(gate.ports[4].state) " @ - " gate.ports[18]:setstate(gate.ports[5].state) " @ - " gate.ports[19]:setstate(gate.ports[6].state) " @ - " gate.ports[20]:setstate(gate.ports[7].state) " @ - " gate.ports[21]:setstate(gate.ports[8].state) " @ - " gate.ports[22]:setstate(gate.ports[9].state) " @ - " gate.ports[23]:setstate(gate.ports[10].state) " @ - " gate.ports[24]:setstate(gate.ports[11].state) " @ - " gate.ports[25]:setstate(gate.ports[12].state) " @ - " gate.ports[26]:setstate(gate.ports[13].state) " @ + " if Gate.getportstate(gate, 27) then " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 23, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 24, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 25, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 26, Gate.getportstate(gate, 13)) " @ " else " @ - " gate.ports[14]:setstate(false) " @ - " gate.ports[15]:setstate(false) " @ - " gate.ports[16]:setstate(false) " @ - " gate.ports[17]:setstate(false) " @ - " gate.ports[18]:setstate(false) " @ - " gate.ports[19]:setstate(false) " @ - " gate.ports[20]:setstate(false) " @ - " gate.ports[21]:setstate(false) " @ - " gate.ports[22]:setstate(false) " @ - " gate.ports[23]:setstate(false) " @ - " gate.ports[24]:setstate(false) " @ - " gate.ports[25]:setstate(false) " @ - " gate.ports[26]:setstate(false) " @ + " Gate.setportstate(gate, 14, false) " @ + " Gate.setportstate(gate, 15, false) " @ + " Gate.setportstate(gate, 16, false) " @ + " Gate.setportstate(gate, 17, false) " @ + " Gate.setportstate(gate, 18, false) " @ + " Gate.setportstate(gate, 19, false) " @ + " Gate.setportstate(gate, 20, false) " @ + " Gate.setportstate(gate, 21, false) " @ + " Gate.setportstate(gate, 22, false) " @ + " Gate.setportstate(gate, 23, false) " @ + " Gate.setportstate(gate, 24, false) " @ + " Gate.setportstate(gate, 25, false) " @ + " Gate.setportstate(gate, 26, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler 14 Bit.cs b/bricks/gen/newcode/Enabler 14 Bit.cs index 669c803..2f1e979 100644 --- a/bricks/gen/newcode/Enabler 14 Bit.cs +++ b/bricks/gen/newcode/Enabler 14 Bit.cs @@ -23,36 +23,36 @@ datablock fxDtsBrickData(LogicGate_Enabler14_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[29].state then " @ - " gate.ports[15]:setstate(gate.ports[1].state) " @ - " gate.ports[16]:setstate(gate.ports[2].state) " @ - " gate.ports[17]:setstate(gate.ports[3].state) " @ - " gate.ports[18]:setstate(gate.ports[4].state) " @ - " gate.ports[19]:setstate(gate.ports[5].state) " @ - " gate.ports[20]:setstate(gate.ports[6].state) " @ - " gate.ports[21]:setstate(gate.ports[7].state) " @ - " gate.ports[22]:setstate(gate.ports[8].state) " @ - " gate.ports[23]:setstate(gate.ports[9].state) " @ - " gate.ports[24]:setstate(gate.ports[10].state) " @ - " gate.ports[25]:setstate(gate.ports[11].state) " @ - " gate.ports[26]:setstate(gate.ports[12].state) " @ - " gate.ports[27]:setstate(gate.ports[13].state) " @ - " gate.ports[28]:setstate(gate.ports[14].state) " @ + " if Gate.getportstate(gate, 29) then " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 23, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 24, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 25, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 26, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 27, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 28, Gate.getportstate(gate, 14)) " @ " else " @ - " gate.ports[15]:setstate(false) " @ - " gate.ports[16]:setstate(false) " @ - " gate.ports[17]:setstate(false) " @ - " gate.ports[18]:setstate(false) " @ - " gate.ports[19]:setstate(false) " @ - " gate.ports[20]:setstate(false) " @ - " gate.ports[21]:setstate(false) " @ - " gate.ports[22]:setstate(false) " @ - " gate.ports[23]:setstate(false) " @ - " gate.ports[24]:setstate(false) " @ - " gate.ports[25]:setstate(false) " @ - " gate.ports[26]:setstate(false) " @ - " gate.ports[27]:setstate(false) " @ - " gate.ports[28]:setstate(false) " @ + " Gate.setportstate(gate, 15, false) " @ + " Gate.setportstate(gate, 16, false) " @ + " Gate.setportstate(gate, 17, false) " @ + " Gate.setportstate(gate, 18, false) " @ + " Gate.setportstate(gate, 19, false) " @ + " Gate.setportstate(gate, 20, false) " @ + " Gate.setportstate(gate, 21, false) " @ + " Gate.setportstate(gate, 22, false) " @ + " Gate.setportstate(gate, 23, false) " @ + " Gate.setportstate(gate, 24, false) " @ + " Gate.setportstate(gate, 25, false) " @ + " Gate.setportstate(gate, 26, false) " @ + " Gate.setportstate(gate, 27, false) " @ + " Gate.setportstate(gate, 28, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler 15 Bit.cs b/bricks/gen/newcode/Enabler 15 Bit.cs index 12408ac..4131c3d 100644 --- a/bricks/gen/newcode/Enabler 15 Bit.cs +++ b/bricks/gen/newcode/Enabler 15 Bit.cs @@ -23,38 +23,38 @@ datablock fxDtsBrickData(LogicGate_Enabler15_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[31].state then " @ - " gate.ports[16]:setstate(gate.ports[1].state) " @ - " gate.ports[17]:setstate(gate.ports[2].state) " @ - " gate.ports[18]:setstate(gate.ports[3].state) " @ - " gate.ports[19]:setstate(gate.ports[4].state) " @ - " gate.ports[20]:setstate(gate.ports[5].state) " @ - " gate.ports[21]:setstate(gate.ports[6].state) " @ - " gate.ports[22]:setstate(gate.ports[7].state) " @ - " gate.ports[23]:setstate(gate.ports[8].state) " @ - " gate.ports[24]:setstate(gate.ports[9].state) " @ - " gate.ports[25]:setstate(gate.ports[10].state) " @ - " gate.ports[26]:setstate(gate.ports[11].state) " @ - " gate.ports[27]:setstate(gate.ports[12].state) " @ - " gate.ports[28]:setstate(gate.ports[13].state) " @ - " gate.ports[29]:setstate(gate.ports[14].state) " @ - " gate.ports[30]:setstate(gate.ports[15].state) " @ + " if Gate.getportstate(gate, 31) then " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 23, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 24, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 25, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 26, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 27, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 28, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 29, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 30, Gate.getportstate(gate, 15)) " @ " else " @ - " gate.ports[16]:setstate(false) " @ - " gate.ports[17]:setstate(false) " @ - " gate.ports[18]:setstate(false) " @ - " gate.ports[19]:setstate(false) " @ - " gate.ports[20]:setstate(false) " @ - " gate.ports[21]:setstate(false) " @ - " gate.ports[22]:setstate(false) " @ - " gate.ports[23]:setstate(false) " @ - " gate.ports[24]:setstate(false) " @ - " gate.ports[25]:setstate(false) " @ - " gate.ports[26]:setstate(false) " @ - " gate.ports[27]:setstate(false) " @ - " gate.ports[28]:setstate(false) " @ - " gate.ports[29]:setstate(false) " @ - " gate.ports[30]:setstate(false) " @ + " Gate.setportstate(gate, 16, false) " @ + " Gate.setportstate(gate, 17, false) " @ + " Gate.setportstate(gate, 18, false) " @ + " Gate.setportstate(gate, 19, false) " @ + " Gate.setportstate(gate, 20, false) " @ + " Gate.setportstate(gate, 21, false) " @ + " Gate.setportstate(gate, 22, false) " @ + " Gate.setportstate(gate, 23, false) " @ + " Gate.setportstate(gate, 24, false) " @ + " Gate.setportstate(gate, 25, false) " @ + " Gate.setportstate(gate, 26, false) " @ + " Gate.setportstate(gate, 27, false) " @ + " Gate.setportstate(gate, 28, false) " @ + " Gate.setportstate(gate, 29, false) " @ + " Gate.setportstate(gate, 30, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler 16 Bit.cs b/bricks/gen/newcode/Enabler 16 Bit.cs index 0736980..c13ea41 100644 --- a/bricks/gen/newcode/Enabler 16 Bit.cs +++ b/bricks/gen/newcode/Enabler 16 Bit.cs @@ -23,40 +23,40 @@ datablock fxDtsBrickData(LogicGate_Enabler16_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[33].state then " @ - " gate.ports[17]:setstate(gate.ports[1].state) " @ - " gate.ports[18]:setstate(gate.ports[2].state) " @ - " gate.ports[19]:setstate(gate.ports[3].state) " @ - " gate.ports[20]:setstate(gate.ports[4].state) " @ - " gate.ports[21]:setstate(gate.ports[5].state) " @ - " gate.ports[22]:setstate(gate.ports[6].state) " @ - " gate.ports[23]:setstate(gate.ports[7].state) " @ - " gate.ports[24]:setstate(gate.ports[8].state) " @ - " gate.ports[25]:setstate(gate.ports[9].state) " @ - " gate.ports[26]:setstate(gate.ports[10].state) " @ - " gate.ports[27]:setstate(gate.ports[11].state) " @ - " gate.ports[28]:setstate(gate.ports[12].state) " @ - " gate.ports[29]:setstate(gate.ports[13].state) " @ - " gate.ports[30]:setstate(gate.ports[14].state) " @ - " gate.ports[31]:setstate(gate.ports[15].state) " @ - " gate.ports[32]:setstate(gate.ports[16].state) " @ + " if Gate.getportstate(gate, 33) then " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 23, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 24, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 25, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 26, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 27, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 28, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 29, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 30, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 31, Gate.getportstate(gate, 15)) " @ + " Gate.setportstate(gate, 32, Gate.getportstate(gate, 16)) " @ " else " @ - " gate.ports[17]:setstate(false) " @ - " gate.ports[18]:setstate(false) " @ - " gate.ports[19]:setstate(false) " @ - " gate.ports[20]:setstate(false) " @ - " gate.ports[21]:setstate(false) " @ - " gate.ports[22]:setstate(false) " @ - " gate.ports[23]:setstate(false) " @ - " gate.ports[24]:setstate(false) " @ - " gate.ports[25]:setstate(false) " @ - " gate.ports[26]:setstate(false) " @ - " gate.ports[27]:setstate(false) " @ - " gate.ports[28]:setstate(false) " @ - " gate.ports[29]:setstate(false) " @ - " gate.ports[30]:setstate(false) " @ - " gate.ports[31]:setstate(false) " @ - " gate.ports[32]:setstate(false) " @ + " Gate.setportstate(gate, 17, false) " @ + " Gate.setportstate(gate, 18, false) " @ + " Gate.setportstate(gate, 19, false) " @ + " Gate.setportstate(gate, 20, false) " @ + " Gate.setportstate(gate, 21, false) " @ + " Gate.setportstate(gate, 22, false) " @ + " Gate.setportstate(gate, 23, false) " @ + " Gate.setportstate(gate, 24, false) " @ + " Gate.setportstate(gate, 25, false) " @ + " Gate.setportstate(gate, 26, false) " @ + " Gate.setportstate(gate, 27, false) " @ + " Gate.setportstate(gate, 28, false) " @ + " Gate.setportstate(gate, 29, false) " @ + " Gate.setportstate(gate, 30, false) " @ + " Gate.setportstate(gate, 31, false) " @ + " Gate.setportstate(gate, 32, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler 2 Bit.cs b/bricks/gen/newcode/Enabler 2 Bit.cs index c7fb7b8..0794117 100644 --- a/bricks/gen/newcode/Enabler 2 Bit.cs +++ b/bricks/gen/newcode/Enabler 2 Bit.cs @@ -23,12 +23,12 @@ datablock fxDtsBrickData(LogicGate_Enabler2_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[5].state then " @ - " gate.ports[3]:setstate(gate.ports[1].state) " @ - " gate.ports[4]:setstate(gate.ports[2].state) " @ + " if Gate.getportstate(gate, 5) then " @ + " Gate.setportstate(gate, 3, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 4, Gate.getportstate(gate, 2)) " @ " else " @ - " gate.ports[3]:setstate(false) " @ - " gate.ports[4]:setstate(false) " @ + " Gate.setportstate(gate, 3, false) " @ + " Gate.setportstate(gate, 4, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler 24 Bit.cs b/bricks/gen/newcode/Enabler 24 Bit.cs index 25ae643..7b142b4 100644 --- a/bricks/gen/newcode/Enabler 24 Bit.cs +++ b/bricks/gen/newcode/Enabler 24 Bit.cs @@ -23,56 +23,56 @@ datablock fxDtsBrickData(LogicGate_Enabler24_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[49].state then " @ - " gate.ports[25]:setstate(gate.ports[1].state) " @ - " gate.ports[26]:setstate(gate.ports[2].state) " @ - " gate.ports[27]:setstate(gate.ports[3].state) " @ - " gate.ports[28]:setstate(gate.ports[4].state) " @ - " gate.ports[29]:setstate(gate.ports[5].state) " @ - " gate.ports[30]:setstate(gate.ports[6].state) " @ - " gate.ports[31]:setstate(gate.ports[7].state) " @ - " gate.ports[32]:setstate(gate.ports[8].state) " @ - " gate.ports[33]:setstate(gate.ports[9].state) " @ - " gate.ports[34]:setstate(gate.ports[10].state) " @ - " gate.ports[35]:setstate(gate.ports[11].state) " @ - " gate.ports[36]:setstate(gate.ports[12].state) " @ - " gate.ports[37]:setstate(gate.ports[13].state) " @ - " gate.ports[38]:setstate(gate.ports[14].state) " @ - " gate.ports[39]:setstate(gate.ports[15].state) " @ - " gate.ports[40]:setstate(gate.ports[16].state) " @ - " gate.ports[41]:setstate(gate.ports[17].state) " @ - " gate.ports[42]:setstate(gate.ports[18].state) " @ - " gate.ports[43]:setstate(gate.ports[19].state) " @ - " gate.ports[44]:setstate(gate.ports[20].state) " @ - " gate.ports[45]:setstate(gate.ports[21].state) " @ - " gate.ports[46]:setstate(gate.ports[22].state) " @ - " gate.ports[47]:setstate(gate.ports[23].state) " @ - " gate.ports[48]:setstate(gate.ports[24].state) " @ + " if Gate.getportstate(gate, 49) then " @ + " Gate.setportstate(gate, 25, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 26, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 27, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 28, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 29, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 30, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 31, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 32, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 33, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 34, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 35, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 36, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 37, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 38, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 39, Gate.getportstate(gate, 15)) " @ + " Gate.setportstate(gate, 40, Gate.getportstate(gate, 16)) " @ + " Gate.setportstate(gate, 41, Gate.getportstate(gate, 17)) " @ + " Gate.setportstate(gate, 42, Gate.getportstate(gate, 18)) " @ + " Gate.setportstate(gate, 43, Gate.getportstate(gate, 19)) " @ + " Gate.setportstate(gate, 44, Gate.getportstate(gate, 20)) " @ + " Gate.setportstate(gate, 45, Gate.getportstate(gate, 21)) " @ + " Gate.setportstate(gate, 46, Gate.getportstate(gate, 22)) " @ + " Gate.setportstate(gate, 47, Gate.getportstate(gate, 23)) " @ + " Gate.setportstate(gate, 48, Gate.getportstate(gate, 24)) " @ " else " @ - " gate.ports[25]:setstate(false) " @ - " gate.ports[26]:setstate(false) " @ - " gate.ports[27]:setstate(false) " @ - " gate.ports[28]:setstate(false) " @ - " gate.ports[29]:setstate(false) " @ - " gate.ports[30]:setstate(false) " @ - " gate.ports[31]:setstate(false) " @ - " gate.ports[32]:setstate(false) " @ - " gate.ports[33]:setstate(false) " @ - " gate.ports[34]:setstate(false) " @ - " gate.ports[35]:setstate(false) " @ - " gate.ports[36]:setstate(false) " @ - " gate.ports[37]:setstate(false) " @ - " gate.ports[38]:setstate(false) " @ - " gate.ports[39]:setstate(false) " @ - " gate.ports[40]:setstate(false) " @ - " gate.ports[41]:setstate(false) " @ - " gate.ports[42]:setstate(false) " @ - " gate.ports[43]:setstate(false) " @ - " gate.ports[44]:setstate(false) " @ - " gate.ports[45]:setstate(false) " @ - " gate.ports[46]:setstate(false) " @ - " gate.ports[47]:setstate(false) " @ - " gate.ports[48]:setstate(false) " @ + " Gate.setportstate(gate, 25, false) " @ + " Gate.setportstate(gate, 26, false) " @ + " Gate.setportstate(gate, 27, false) " @ + " Gate.setportstate(gate, 28, false) " @ + " Gate.setportstate(gate, 29, false) " @ + " Gate.setportstate(gate, 30, false) " @ + " Gate.setportstate(gate, 31, false) " @ + " Gate.setportstate(gate, 32, false) " @ + " Gate.setportstate(gate, 33, false) " @ + " Gate.setportstate(gate, 34, false) " @ + " Gate.setportstate(gate, 35, false) " @ + " Gate.setportstate(gate, 36, false) " @ + " Gate.setportstate(gate, 37, false) " @ + " Gate.setportstate(gate, 38, false) " @ + " Gate.setportstate(gate, 39, false) " @ + " Gate.setportstate(gate, 40, false) " @ + " Gate.setportstate(gate, 41, false) " @ + " Gate.setportstate(gate, 42, false) " @ + " Gate.setportstate(gate, 43, false) " @ + " Gate.setportstate(gate, 44, false) " @ + " Gate.setportstate(gate, 45, false) " @ + " Gate.setportstate(gate, 46, false) " @ + " Gate.setportstate(gate, 47, false) " @ + " Gate.setportstate(gate, 48, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler 3 Bit.cs b/bricks/gen/newcode/Enabler 3 Bit.cs index 3909423..b7f061d 100644 --- a/bricks/gen/newcode/Enabler 3 Bit.cs +++ b/bricks/gen/newcode/Enabler 3 Bit.cs @@ -23,14 +23,14 @@ datablock fxDtsBrickData(LogicGate_Enabler3_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[7].state then " @ - " gate.ports[4]:setstate(gate.ports[1].state) " @ - " gate.ports[5]:setstate(gate.ports[2].state) " @ - " gate.ports[6]:setstate(gate.ports[3].state) " @ + " if Gate.getportstate(gate, 7) then " @ + " Gate.setportstate(gate, 4, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 5, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 6, Gate.getportstate(gate, 3)) " @ " else " @ - " gate.ports[4]:setstate(false) " @ - " gate.ports[5]:setstate(false) " @ - " gate.ports[6]:setstate(false) " @ + " Gate.setportstate(gate, 4, false) " @ + " Gate.setportstate(gate, 5, false) " @ + " Gate.setportstate(gate, 6, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler 32 Bit.cs b/bricks/gen/newcode/Enabler 32 Bit.cs index e69babf..1637e10 100644 --- a/bricks/gen/newcode/Enabler 32 Bit.cs +++ b/bricks/gen/newcode/Enabler 32 Bit.cs @@ -23,72 +23,72 @@ datablock fxDtsBrickData(LogicGate_Enabler32_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[65].state then " @ - " gate.ports[33]:setstate(gate.ports[1].state) " @ - " gate.ports[34]:setstate(gate.ports[2].state) " @ - " gate.ports[35]:setstate(gate.ports[3].state) " @ - " gate.ports[36]:setstate(gate.ports[4].state) " @ - " gate.ports[37]:setstate(gate.ports[5].state) " @ - " gate.ports[38]:setstate(gate.ports[6].state) " @ - " gate.ports[39]:setstate(gate.ports[7].state) " @ - " gate.ports[40]:setstate(gate.ports[8].state) " @ - " gate.ports[41]:setstate(gate.ports[9].state) " @ - " gate.ports[42]:setstate(gate.ports[10].state) " @ - " gate.ports[43]:setstate(gate.ports[11].state) " @ - " gate.ports[44]:setstate(gate.ports[12].state) " @ - " gate.ports[45]:setstate(gate.ports[13].state) " @ - " gate.ports[46]:setstate(gate.ports[14].state) " @ - " gate.ports[47]:setstate(gate.ports[15].state) " @ - " gate.ports[48]:setstate(gate.ports[16].state) " @ - " gate.ports[49]:setstate(gate.ports[17].state) " @ - " gate.ports[50]:setstate(gate.ports[18].state) " @ - " gate.ports[51]:setstate(gate.ports[19].state) " @ - " gate.ports[52]:setstate(gate.ports[20].state) " @ - " gate.ports[53]:setstate(gate.ports[21].state) " @ - " gate.ports[54]:setstate(gate.ports[22].state) " @ - " gate.ports[55]:setstate(gate.ports[23].state) " @ - " gate.ports[56]:setstate(gate.ports[24].state) " @ - " gate.ports[57]:setstate(gate.ports[25].state) " @ - " gate.ports[58]:setstate(gate.ports[26].state) " @ - " gate.ports[59]:setstate(gate.ports[27].state) " @ - " gate.ports[60]:setstate(gate.ports[28].state) " @ - " gate.ports[61]:setstate(gate.ports[29].state) " @ - " gate.ports[62]:setstate(gate.ports[30].state) " @ - " gate.ports[63]:setstate(gate.ports[31].state) " @ - " gate.ports[64]:setstate(gate.ports[32].state) " @ + " if Gate.getportstate(gate, 65) then " @ + " Gate.setportstate(gate, 33, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 34, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 35, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 36, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 37, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 38, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 39, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 40, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 41, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 42, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 43, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 44, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 45, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 46, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 47, Gate.getportstate(gate, 15)) " @ + " Gate.setportstate(gate, 48, Gate.getportstate(gate, 16)) " @ + " Gate.setportstate(gate, 49, Gate.getportstate(gate, 17)) " @ + " Gate.setportstate(gate, 50, Gate.getportstate(gate, 18)) " @ + " Gate.setportstate(gate, 51, Gate.getportstate(gate, 19)) " @ + " Gate.setportstate(gate, 52, Gate.getportstate(gate, 20)) " @ + " Gate.setportstate(gate, 53, Gate.getportstate(gate, 21)) " @ + " Gate.setportstate(gate, 54, Gate.getportstate(gate, 22)) " @ + " Gate.setportstate(gate, 55, Gate.getportstate(gate, 23)) " @ + " Gate.setportstate(gate, 56, Gate.getportstate(gate, 24)) " @ + " Gate.setportstate(gate, 57, Gate.getportstate(gate, 25)) " @ + " Gate.setportstate(gate, 58, Gate.getportstate(gate, 26)) " @ + " Gate.setportstate(gate, 59, Gate.getportstate(gate, 27)) " @ + " Gate.setportstate(gate, 60, Gate.getportstate(gate, 28)) " @ + " Gate.setportstate(gate, 61, Gate.getportstate(gate, 29)) " @ + " Gate.setportstate(gate, 62, Gate.getportstate(gate, 30)) " @ + " Gate.setportstate(gate, 63, Gate.getportstate(gate, 31)) " @ + " Gate.setportstate(gate, 64, Gate.getportstate(gate, 32)) " @ " else " @ - " gate.ports[33]:setstate(false) " @ - " gate.ports[34]:setstate(false) " @ - " gate.ports[35]:setstate(false) " @ - " gate.ports[36]:setstate(false) " @ - " gate.ports[37]:setstate(false) " @ - " gate.ports[38]:setstate(false) " @ - " gate.ports[39]:setstate(false) " @ - " gate.ports[40]:setstate(false) " @ - " gate.ports[41]:setstate(false) " @ - " gate.ports[42]:setstate(false) " @ - " gate.ports[43]:setstate(false) " @ - " gate.ports[44]:setstate(false) " @ - " gate.ports[45]:setstate(false) " @ - " gate.ports[46]:setstate(false) " @ - " gate.ports[47]:setstate(false) " @ - " gate.ports[48]:setstate(false) " @ - " gate.ports[49]:setstate(false) " @ - " gate.ports[50]:setstate(false) " @ - " gate.ports[51]:setstate(false) " @ - " gate.ports[52]:setstate(false) " @ - " gate.ports[53]:setstate(false) " @ - " gate.ports[54]:setstate(false) " @ - " gate.ports[55]:setstate(false) " @ - " gate.ports[56]:setstate(false) " @ - " gate.ports[57]:setstate(false) " @ - " gate.ports[58]:setstate(false) " @ - " gate.ports[59]:setstate(false) " @ - " gate.ports[60]:setstate(false) " @ - " gate.ports[61]:setstate(false) " @ - " gate.ports[62]:setstate(false) " @ - " gate.ports[63]:setstate(false) " @ - " gate.ports[64]:setstate(false) " @ + " Gate.setportstate(gate, 33, false) " @ + " Gate.setportstate(gate, 34, false) " @ + " Gate.setportstate(gate, 35, false) " @ + " Gate.setportstate(gate, 36, false) " @ + " Gate.setportstate(gate, 37, false) " @ + " Gate.setportstate(gate, 38, false) " @ + " Gate.setportstate(gate, 39, false) " @ + " Gate.setportstate(gate, 40, false) " @ + " Gate.setportstate(gate, 41, false) " @ + " Gate.setportstate(gate, 42, false) " @ + " Gate.setportstate(gate, 43, false) " @ + " Gate.setportstate(gate, 44, false) " @ + " Gate.setportstate(gate, 45, false) " @ + " Gate.setportstate(gate, 46, false) " @ + " Gate.setportstate(gate, 47, false) " @ + " Gate.setportstate(gate, 48, false) " @ + " Gate.setportstate(gate, 49, false) " @ + " Gate.setportstate(gate, 50, false) " @ + " Gate.setportstate(gate, 51, false) " @ + " Gate.setportstate(gate, 52, false) " @ + " Gate.setportstate(gate, 53, false) " @ + " Gate.setportstate(gate, 54, false) " @ + " Gate.setportstate(gate, 55, false) " @ + " Gate.setportstate(gate, 56, false) " @ + " Gate.setportstate(gate, 57, false) " @ + " Gate.setportstate(gate, 58, false) " @ + " Gate.setportstate(gate, 59, false) " @ + " Gate.setportstate(gate, 60, false) " @ + " Gate.setportstate(gate, 61, false) " @ + " Gate.setportstate(gate, 62, false) " @ + " Gate.setportstate(gate, 63, false) " @ + " Gate.setportstate(gate, 64, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler 4 Bit.cs b/bricks/gen/newcode/Enabler 4 Bit.cs index caf9a5d..71fe246 100644 --- a/bricks/gen/newcode/Enabler 4 Bit.cs +++ b/bricks/gen/newcode/Enabler 4 Bit.cs @@ -23,16 +23,16 @@ datablock fxDtsBrickData(LogicGate_Enabler4_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[9].state then " @ - " gate.ports[5]:setstate(gate.ports[1].state) " @ - " gate.ports[6]:setstate(gate.ports[2].state) " @ - " gate.ports[7]:setstate(gate.ports[3].state) " @ - " gate.ports[8]:setstate(gate.ports[4].state) " @ + " if Gate.getportstate(gate, 9) then " @ + " Gate.setportstate(gate, 5, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 6, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 7, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 8, Gate.getportstate(gate, 4)) " @ " else " @ - " gate.ports[5]:setstate(false) " @ - " gate.ports[6]:setstate(false) " @ - " gate.ports[7]:setstate(false) " @ - " gate.ports[8]:setstate(false) " @ + " Gate.setportstate(gate, 5, false) " @ + " Gate.setportstate(gate, 6, false) " @ + " Gate.setportstate(gate, 7, false) " @ + " Gate.setportstate(gate, 8, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler 48 Bit.cs b/bricks/gen/newcode/Enabler 48 Bit.cs index 135ea82..00c4ed4 100644 --- a/bricks/gen/newcode/Enabler 48 Bit.cs +++ b/bricks/gen/newcode/Enabler 48 Bit.cs @@ -23,104 +23,104 @@ datablock fxDtsBrickData(LogicGate_Enabler48_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[97].state then " @ - " gate.ports[49]:setstate(gate.ports[1].state) " @ - " gate.ports[50]:setstate(gate.ports[2].state) " @ - " gate.ports[51]:setstate(gate.ports[3].state) " @ - " gate.ports[52]:setstate(gate.ports[4].state) " @ - " gate.ports[53]:setstate(gate.ports[5].state) " @ - " gate.ports[54]:setstate(gate.ports[6].state) " @ - " gate.ports[55]:setstate(gate.ports[7].state) " @ - " gate.ports[56]:setstate(gate.ports[8].state) " @ - " gate.ports[57]:setstate(gate.ports[9].state) " @ - " gate.ports[58]:setstate(gate.ports[10].state) " @ - " gate.ports[59]:setstate(gate.ports[11].state) " @ - " gate.ports[60]:setstate(gate.ports[12].state) " @ - " gate.ports[61]:setstate(gate.ports[13].state) " @ - " gate.ports[62]:setstate(gate.ports[14].state) " @ - " gate.ports[63]:setstate(gate.ports[15].state) " @ - " gate.ports[64]:setstate(gate.ports[16].state) " @ - " gate.ports[65]:setstate(gate.ports[17].state) " @ - " gate.ports[66]:setstate(gate.ports[18].state) " @ - " gate.ports[67]:setstate(gate.ports[19].state) " @ - " gate.ports[68]:setstate(gate.ports[20].state) " @ - " gate.ports[69]:setstate(gate.ports[21].state) " @ - " gate.ports[70]:setstate(gate.ports[22].state) " @ - " gate.ports[71]:setstate(gate.ports[23].state) " @ - " gate.ports[72]:setstate(gate.ports[24].state) " @ - " gate.ports[73]:setstate(gate.ports[25].state) " @ - " gate.ports[74]:setstate(gate.ports[26].state) " @ - " gate.ports[75]:setstate(gate.ports[27].state) " @ - " gate.ports[76]:setstate(gate.ports[28].state) " @ - " gate.ports[77]:setstate(gate.ports[29].state) " @ - " gate.ports[78]:setstate(gate.ports[30].state) " @ - " gate.ports[79]:setstate(gate.ports[31].state) " @ - " gate.ports[80]:setstate(gate.ports[32].state) " @ - " gate.ports[81]:setstate(gate.ports[33].state) " @ - " gate.ports[82]:setstate(gate.ports[34].state) " @ - " gate.ports[83]:setstate(gate.ports[35].state) " @ - " gate.ports[84]:setstate(gate.ports[36].state) " @ - " gate.ports[85]:setstate(gate.ports[37].state) " @ - " gate.ports[86]:setstate(gate.ports[38].state) " @ - " gate.ports[87]:setstate(gate.ports[39].state) " @ - " gate.ports[88]:setstate(gate.ports[40].state) " @ - " gate.ports[89]:setstate(gate.ports[41].state) " @ - " gate.ports[90]:setstate(gate.ports[42].state) " @ - " gate.ports[91]:setstate(gate.ports[43].state) " @ - " gate.ports[92]:setstate(gate.ports[44].state) " @ - " gate.ports[93]:setstate(gate.ports[45].state) " @ - " gate.ports[94]:setstate(gate.ports[46].state) " @ - " gate.ports[95]:setstate(gate.ports[47].state) " @ - " gate.ports[96]:setstate(gate.ports[48].state) " @ + " if Gate.getportstate(gate, 97) then " @ + " Gate.setportstate(gate, 49, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 50, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 51, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 52, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 53, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 54, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 55, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 56, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 57, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 58, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 59, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 60, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 61, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 62, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 63, Gate.getportstate(gate, 15)) " @ + " Gate.setportstate(gate, 64, Gate.getportstate(gate, 16)) " @ + " Gate.setportstate(gate, 65, Gate.getportstate(gate, 17)) " @ + " Gate.setportstate(gate, 66, Gate.getportstate(gate, 18)) " @ + " Gate.setportstate(gate, 67, Gate.getportstate(gate, 19)) " @ + " Gate.setportstate(gate, 68, Gate.getportstate(gate, 20)) " @ + " Gate.setportstate(gate, 69, Gate.getportstate(gate, 21)) " @ + " Gate.setportstate(gate, 70, Gate.getportstate(gate, 22)) " @ + " Gate.setportstate(gate, 71, Gate.getportstate(gate, 23)) " @ + " Gate.setportstate(gate, 72, Gate.getportstate(gate, 24)) " @ + " Gate.setportstate(gate, 73, Gate.getportstate(gate, 25)) " @ + " Gate.setportstate(gate, 74, Gate.getportstate(gate, 26)) " @ + " Gate.setportstate(gate, 75, Gate.getportstate(gate, 27)) " @ + " Gate.setportstate(gate, 76, Gate.getportstate(gate, 28)) " @ + " Gate.setportstate(gate, 77, Gate.getportstate(gate, 29)) " @ + " Gate.setportstate(gate, 78, Gate.getportstate(gate, 30)) " @ + " Gate.setportstate(gate, 79, Gate.getportstate(gate, 31)) " @ + " Gate.setportstate(gate, 80, Gate.getportstate(gate, 32)) " @ + " Gate.setportstate(gate, 81, Gate.getportstate(gate, 33)) " @ + " Gate.setportstate(gate, 82, Gate.getportstate(gate, 34)) " @ + " Gate.setportstate(gate, 83, Gate.getportstate(gate, 35)) " @ + " Gate.setportstate(gate, 84, Gate.getportstate(gate, 36)) " @ + " Gate.setportstate(gate, 85, Gate.getportstate(gate, 37)) " @ + " Gate.setportstate(gate, 86, Gate.getportstate(gate, 38)) " @ + " Gate.setportstate(gate, 87, Gate.getportstate(gate, 39)) " @ + " Gate.setportstate(gate, 88, Gate.getportstate(gate, 40)) " @ + " Gate.setportstate(gate, 89, Gate.getportstate(gate, 41)) " @ + " Gate.setportstate(gate, 90, Gate.getportstate(gate, 42)) " @ + " Gate.setportstate(gate, 91, Gate.getportstate(gate, 43)) " @ + " Gate.setportstate(gate, 92, Gate.getportstate(gate, 44)) " @ + " Gate.setportstate(gate, 93, Gate.getportstate(gate, 45)) " @ + " Gate.setportstate(gate, 94, Gate.getportstate(gate, 46)) " @ + " Gate.setportstate(gate, 95, Gate.getportstate(gate, 47)) " @ + " Gate.setportstate(gate, 96, Gate.getportstate(gate, 48)) " @ " else " @ - " gate.ports[49]:setstate(false) " @ - " gate.ports[50]:setstate(false) " @ - " gate.ports[51]:setstate(false) " @ - " gate.ports[52]:setstate(false) " @ - " gate.ports[53]:setstate(false) " @ - " gate.ports[54]:setstate(false) " @ - " gate.ports[55]:setstate(false) " @ - " gate.ports[56]:setstate(false) " @ - " gate.ports[57]:setstate(false) " @ - " gate.ports[58]:setstate(false) " @ - " gate.ports[59]:setstate(false) " @ - " gate.ports[60]:setstate(false) " @ - " gate.ports[61]:setstate(false) " @ - " gate.ports[62]:setstate(false) " @ - " gate.ports[63]:setstate(false) " @ - " gate.ports[64]:setstate(false) " @ - " gate.ports[65]:setstate(false) " @ - " gate.ports[66]:setstate(false) " @ - " gate.ports[67]:setstate(false) " @ - " gate.ports[68]:setstate(false) " @ - " gate.ports[69]:setstate(false) " @ - " gate.ports[70]:setstate(false) " @ - " gate.ports[71]:setstate(false) " @ - " gate.ports[72]:setstate(false) " @ - " gate.ports[73]:setstate(false) " @ - " gate.ports[74]:setstate(false) " @ - " gate.ports[75]:setstate(false) " @ - " gate.ports[76]:setstate(false) " @ - " gate.ports[77]:setstate(false) " @ - " gate.ports[78]:setstate(false) " @ - " gate.ports[79]:setstate(false) " @ - " gate.ports[80]:setstate(false) " @ - " gate.ports[81]:setstate(false) " @ - " gate.ports[82]:setstate(false) " @ - " gate.ports[83]:setstate(false) " @ - " gate.ports[84]:setstate(false) " @ - " gate.ports[85]:setstate(false) " @ - " gate.ports[86]:setstate(false) " @ - " gate.ports[87]:setstate(false) " @ - " gate.ports[88]:setstate(false) " @ - " gate.ports[89]:setstate(false) " @ - " gate.ports[90]:setstate(false) " @ - " gate.ports[91]:setstate(false) " @ - " gate.ports[92]:setstate(false) " @ - " gate.ports[93]:setstate(false) " @ - " gate.ports[94]:setstate(false) " @ - " gate.ports[95]:setstate(false) " @ - " gate.ports[96]:setstate(false) " @ + " Gate.setportstate(gate, 49, false) " @ + " Gate.setportstate(gate, 50, false) " @ + " Gate.setportstate(gate, 51, false) " @ + " Gate.setportstate(gate, 52, false) " @ + " Gate.setportstate(gate, 53, false) " @ + " Gate.setportstate(gate, 54, false) " @ + " Gate.setportstate(gate, 55, false) " @ + " Gate.setportstate(gate, 56, false) " @ + " Gate.setportstate(gate, 57, false) " @ + " Gate.setportstate(gate, 58, false) " @ + " Gate.setportstate(gate, 59, false) " @ + " Gate.setportstate(gate, 60, false) " @ + " Gate.setportstate(gate, 61, false) " @ + " Gate.setportstate(gate, 62, false) " @ + " Gate.setportstate(gate, 63, false) " @ + " Gate.setportstate(gate, 64, false) " @ + " Gate.setportstate(gate, 65, false) " @ + " Gate.setportstate(gate, 66, false) " @ + " Gate.setportstate(gate, 67, false) " @ + " Gate.setportstate(gate, 68, false) " @ + " Gate.setportstate(gate, 69, false) " @ + " Gate.setportstate(gate, 70, false) " @ + " Gate.setportstate(gate, 71, false) " @ + " Gate.setportstate(gate, 72, false) " @ + " Gate.setportstate(gate, 73, false) " @ + " Gate.setportstate(gate, 74, false) " @ + " Gate.setportstate(gate, 75, false) " @ + " Gate.setportstate(gate, 76, false) " @ + " Gate.setportstate(gate, 77, false) " @ + " Gate.setportstate(gate, 78, false) " @ + " Gate.setportstate(gate, 79, false) " @ + " Gate.setportstate(gate, 80, false) " @ + " Gate.setportstate(gate, 81, false) " @ + " Gate.setportstate(gate, 82, false) " @ + " Gate.setportstate(gate, 83, false) " @ + " Gate.setportstate(gate, 84, false) " @ + " Gate.setportstate(gate, 85, false) " @ + " Gate.setportstate(gate, 86, false) " @ + " Gate.setportstate(gate, 87, false) " @ + " Gate.setportstate(gate, 88, false) " @ + " Gate.setportstate(gate, 89, false) " @ + " Gate.setportstate(gate, 90, false) " @ + " Gate.setportstate(gate, 91, false) " @ + " Gate.setportstate(gate, 92, false) " @ + " Gate.setportstate(gate, 93, false) " @ + " Gate.setportstate(gate, 94, false) " @ + " Gate.setportstate(gate, 95, false) " @ + " Gate.setportstate(gate, 96, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler 5 Bit.cs b/bricks/gen/newcode/Enabler 5 Bit.cs index 52d26c8..1522c69 100644 --- a/bricks/gen/newcode/Enabler 5 Bit.cs +++ b/bricks/gen/newcode/Enabler 5 Bit.cs @@ -23,18 +23,18 @@ datablock fxDtsBrickData(LogicGate_Enabler5_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[11].state then " @ - " gate.ports[6]:setstate(gate.ports[1].state) " @ - " gate.ports[7]:setstate(gate.ports[2].state) " @ - " gate.ports[8]:setstate(gate.ports[3].state) " @ - " gate.ports[9]:setstate(gate.ports[4].state) " @ - " gate.ports[10]:setstate(gate.ports[5].state) " @ + " if Gate.getportstate(gate, 11) then " @ + " Gate.setportstate(gate, 6, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 7, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 8, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 9, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 10, Gate.getportstate(gate, 5)) " @ " else " @ - " gate.ports[6]:setstate(false) " @ - " gate.ports[7]:setstate(false) " @ - " gate.ports[8]:setstate(false) " @ - " gate.ports[9]:setstate(false) " @ - " gate.ports[10]:setstate(false) " @ + " Gate.setportstate(gate, 6, false) " @ + " Gate.setportstate(gate, 7, false) " @ + " Gate.setportstate(gate, 8, false) " @ + " Gate.setportstate(gate, 9, false) " @ + " Gate.setportstate(gate, 10, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler 6 Bit.cs b/bricks/gen/newcode/Enabler 6 Bit.cs index 16f92c8..b47e898 100644 --- a/bricks/gen/newcode/Enabler 6 Bit.cs +++ b/bricks/gen/newcode/Enabler 6 Bit.cs @@ -23,20 +23,20 @@ datablock fxDtsBrickData(LogicGate_Enabler6_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[13].state then " @ - " gate.ports[7]:setstate(gate.ports[1].state) " @ - " gate.ports[8]:setstate(gate.ports[2].state) " @ - " gate.ports[9]:setstate(gate.ports[3].state) " @ - " gate.ports[10]:setstate(gate.ports[4].state) " @ - " gate.ports[11]:setstate(gate.ports[5].state) " @ - " gate.ports[12]:setstate(gate.ports[6].state) " @ + " if Gate.getportstate(gate, 13) then " @ + " Gate.setportstate(gate, 7, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 8, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 9, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 10, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 11, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 6)) " @ " else " @ - " gate.ports[7]:setstate(false) " @ - " gate.ports[8]:setstate(false) " @ - " gate.ports[9]:setstate(false) " @ - " gate.ports[10]:setstate(false) " @ - " gate.ports[11]:setstate(false) " @ - " gate.ports[12]:setstate(false) " @ + " Gate.setportstate(gate, 7, false) " @ + " Gate.setportstate(gate, 8, false) " @ + " Gate.setportstate(gate, 9, false) " @ + " Gate.setportstate(gate, 10, false) " @ + " Gate.setportstate(gate, 11, false) " @ + " Gate.setportstate(gate, 12, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler 64 Bit.cs b/bricks/gen/newcode/Enabler 64 Bit.cs index f5cddde..264265b 100644 --- a/bricks/gen/newcode/Enabler 64 Bit.cs +++ b/bricks/gen/newcode/Enabler 64 Bit.cs @@ -23,136 +23,136 @@ datablock fxDtsBrickData(LogicGate_Enabler64_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[129].state then " @ - " gate.ports[65]:setstate(gate.ports[1].state) " @ - " gate.ports[66]:setstate(gate.ports[2].state) " @ - " gate.ports[67]:setstate(gate.ports[3].state) " @ - " gate.ports[68]:setstate(gate.ports[4].state) " @ - " gate.ports[69]:setstate(gate.ports[5].state) " @ - " gate.ports[70]:setstate(gate.ports[6].state) " @ - " gate.ports[71]:setstate(gate.ports[7].state) " @ - " gate.ports[72]:setstate(gate.ports[8].state) " @ - " gate.ports[73]:setstate(gate.ports[9].state) " @ - " gate.ports[74]:setstate(gate.ports[10].state) " @ - " gate.ports[75]:setstate(gate.ports[11].state) " @ - " gate.ports[76]:setstate(gate.ports[12].state) " @ - " gate.ports[77]:setstate(gate.ports[13].state) " @ - " gate.ports[78]:setstate(gate.ports[14].state) " @ - " gate.ports[79]:setstate(gate.ports[15].state) " @ - " gate.ports[80]:setstate(gate.ports[16].state) " @ - " gate.ports[81]:setstate(gate.ports[17].state) " @ - " gate.ports[82]:setstate(gate.ports[18].state) " @ - " gate.ports[83]:setstate(gate.ports[19].state) " @ - " gate.ports[84]:setstate(gate.ports[20].state) " @ - " gate.ports[85]:setstate(gate.ports[21].state) " @ - " gate.ports[86]:setstate(gate.ports[22].state) " @ - " gate.ports[87]:setstate(gate.ports[23].state) " @ - " gate.ports[88]:setstate(gate.ports[24].state) " @ - " gate.ports[89]:setstate(gate.ports[25].state) " @ - " gate.ports[90]:setstate(gate.ports[26].state) " @ - " gate.ports[91]:setstate(gate.ports[27].state) " @ - " gate.ports[92]:setstate(gate.ports[28].state) " @ - " gate.ports[93]:setstate(gate.ports[29].state) " @ - " gate.ports[94]:setstate(gate.ports[30].state) " @ - " gate.ports[95]:setstate(gate.ports[31].state) " @ - " gate.ports[96]:setstate(gate.ports[32].state) " @ - " gate.ports[97]:setstate(gate.ports[33].state) " @ - " gate.ports[98]:setstate(gate.ports[34].state) " @ - " gate.ports[99]:setstate(gate.ports[35].state) " @ - " gate.ports[100]:setstate(gate.ports[36].state) " @ - " gate.ports[101]:setstate(gate.ports[37].state) " @ - " gate.ports[102]:setstate(gate.ports[38].state) " @ - " gate.ports[103]:setstate(gate.ports[39].state) " @ - " gate.ports[104]:setstate(gate.ports[40].state) " @ - " gate.ports[105]:setstate(gate.ports[41].state) " @ - " gate.ports[106]:setstate(gate.ports[42].state) " @ - " gate.ports[107]:setstate(gate.ports[43].state) " @ - " gate.ports[108]:setstate(gate.ports[44].state) " @ - " gate.ports[109]:setstate(gate.ports[45].state) " @ - " gate.ports[110]:setstate(gate.ports[46].state) " @ - " gate.ports[111]:setstate(gate.ports[47].state) " @ - " gate.ports[112]:setstate(gate.ports[48].state) " @ - " gate.ports[113]:setstate(gate.ports[49].state) " @ - " gate.ports[114]:setstate(gate.ports[50].state) " @ - " gate.ports[115]:setstate(gate.ports[51].state) " @ - " gate.ports[116]:setstate(gate.ports[52].state) " @ - " gate.ports[117]:setstate(gate.ports[53].state) " @ - " gate.ports[118]:setstate(gate.ports[54].state) " @ - " gate.ports[119]:setstate(gate.ports[55].state) " @ - " gate.ports[120]:setstate(gate.ports[56].state) " @ - " gate.ports[121]:setstate(gate.ports[57].state) " @ - " gate.ports[122]:setstate(gate.ports[58].state) " @ - " gate.ports[123]:setstate(gate.ports[59].state) " @ - " gate.ports[124]:setstate(gate.ports[60].state) " @ - " gate.ports[125]:setstate(gate.ports[61].state) " @ - " gate.ports[126]:setstate(gate.ports[62].state) " @ - " gate.ports[127]:setstate(gate.ports[63].state) " @ - " gate.ports[128]:setstate(gate.ports[64].state) " @ + " if Gate.getportstate(gate, 129) then " @ + " Gate.setportstate(gate, 65, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 66, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 67, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 68, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 69, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 70, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 71, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 72, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 73, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 74, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 75, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 76, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 77, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 78, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 79, Gate.getportstate(gate, 15)) " @ + " Gate.setportstate(gate, 80, Gate.getportstate(gate, 16)) " @ + " Gate.setportstate(gate, 81, Gate.getportstate(gate, 17)) " @ + " Gate.setportstate(gate, 82, Gate.getportstate(gate, 18)) " @ + " Gate.setportstate(gate, 83, Gate.getportstate(gate, 19)) " @ + " Gate.setportstate(gate, 84, Gate.getportstate(gate, 20)) " @ + " Gate.setportstate(gate, 85, Gate.getportstate(gate, 21)) " @ + " Gate.setportstate(gate, 86, Gate.getportstate(gate, 22)) " @ + " Gate.setportstate(gate, 87, Gate.getportstate(gate, 23)) " @ + " Gate.setportstate(gate, 88, Gate.getportstate(gate, 24)) " @ + " Gate.setportstate(gate, 89, Gate.getportstate(gate, 25)) " @ + " Gate.setportstate(gate, 90, Gate.getportstate(gate, 26)) " @ + " Gate.setportstate(gate, 91, Gate.getportstate(gate, 27)) " @ + " Gate.setportstate(gate, 92, Gate.getportstate(gate, 28)) " @ + " Gate.setportstate(gate, 93, Gate.getportstate(gate, 29)) " @ + " Gate.setportstate(gate, 94, Gate.getportstate(gate, 30)) " @ + " Gate.setportstate(gate, 95, Gate.getportstate(gate, 31)) " @ + " Gate.setportstate(gate, 96, Gate.getportstate(gate, 32)) " @ + " Gate.setportstate(gate, 97, Gate.getportstate(gate, 33)) " @ + " Gate.setportstate(gate, 98, Gate.getportstate(gate, 34)) " @ + " Gate.setportstate(gate, 99, Gate.getportstate(gate, 35)) " @ + " Gate.setportstate(gate, 100, Gate.getportstate(gate, 36)) " @ + " Gate.setportstate(gate, 101, Gate.getportstate(gate, 37)) " @ + " Gate.setportstate(gate, 102, Gate.getportstate(gate, 38)) " @ + " Gate.setportstate(gate, 103, Gate.getportstate(gate, 39)) " @ + " Gate.setportstate(gate, 104, Gate.getportstate(gate, 40)) " @ + " Gate.setportstate(gate, 105, Gate.getportstate(gate, 41)) " @ + " Gate.setportstate(gate, 106, Gate.getportstate(gate, 42)) " @ + " Gate.setportstate(gate, 107, Gate.getportstate(gate, 43)) " @ + " Gate.setportstate(gate, 108, Gate.getportstate(gate, 44)) " @ + " Gate.setportstate(gate, 109, Gate.getportstate(gate, 45)) " @ + " Gate.setportstate(gate, 110, Gate.getportstate(gate, 46)) " @ + " Gate.setportstate(gate, 111, Gate.getportstate(gate, 47)) " @ + " Gate.setportstate(gate, 112, Gate.getportstate(gate, 48)) " @ + " Gate.setportstate(gate, 113, Gate.getportstate(gate, 49)) " @ + " Gate.setportstate(gate, 114, Gate.getportstate(gate, 50)) " @ + " Gate.setportstate(gate, 115, Gate.getportstate(gate, 51)) " @ + " Gate.setportstate(gate, 116, Gate.getportstate(gate, 52)) " @ + " Gate.setportstate(gate, 117, Gate.getportstate(gate, 53)) " @ + " Gate.setportstate(gate, 118, Gate.getportstate(gate, 54)) " @ + " Gate.setportstate(gate, 119, Gate.getportstate(gate, 55)) " @ + " Gate.setportstate(gate, 120, Gate.getportstate(gate, 56)) " @ + " Gate.setportstate(gate, 121, Gate.getportstate(gate, 57)) " @ + " Gate.setportstate(gate, 122, Gate.getportstate(gate, 58)) " @ + " Gate.setportstate(gate, 123, Gate.getportstate(gate, 59)) " @ + " Gate.setportstate(gate, 124, Gate.getportstate(gate, 60)) " @ + " Gate.setportstate(gate, 125, Gate.getportstate(gate, 61)) " @ + " Gate.setportstate(gate, 126, Gate.getportstate(gate, 62)) " @ + " Gate.setportstate(gate, 127, Gate.getportstate(gate, 63)) " @ + " Gate.setportstate(gate, 128, Gate.getportstate(gate, 64)) " @ " else " @ - " gate.ports[65]:setstate(false) " @ - " gate.ports[66]:setstate(false) " @ - " gate.ports[67]:setstate(false) " @ - " gate.ports[68]:setstate(false) " @ - " gate.ports[69]:setstate(false) " @ - " gate.ports[70]:setstate(false) " @ - " gate.ports[71]:setstate(false) " @ - " gate.ports[72]:setstate(false) " @ - " gate.ports[73]:setstate(false) " @ - " gate.ports[74]:setstate(false) " @ - " gate.ports[75]:setstate(false) " @ - " gate.ports[76]:setstate(false) " @ - " gate.ports[77]:setstate(false) " @ - " gate.ports[78]:setstate(false) " @ - " gate.ports[79]:setstate(false) " @ - " gate.ports[80]:setstate(false) " @ - " gate.ports[81]:setstate(false) " @ - " gate.ports[82]:setstate(false) " @ - " gate.ports[83]:setstate(false) " @ - " gate.ports[84]:setstate(false) " @ - " gate.ports[85]:setstate(false) " @ - " gate.ports[86]:setstate(false) " @ - " gate.ports[87]:setstate(false) " @ - " gate.ports[88]:setstate(false) " @ - " gate.ports[89]:setstate(false) " @ - " gate.ports[90]:setstate(false) " @ - " gate.ports[91]:setstate(false) " @ - " gate.ports[92]:setstate(false) " @ - " gate.ports[93]:setstate(false) " @ - " gate.ports[94]:setstate(false) " @ - " gate.ports[95]:setstate(false) " @ - " gate.ports[96]:setstate(false) " @ - " gate.ports[97]:setstate(false) " @ - " gate.ports[98]:setstate(false) " @ - " gate.ports[99]:setstate(false) " @ - " gate.ports[100]:setstate(false) " @ - " gate.ports[101]:setstate(false) " @ - " gate.ports[102]:setstate(false) " @ - " gate.ports[103]:setstate(false) " @ - " gate.ports[104]:setstate(false) " @ - " gate.ports[105]:setstate(false) " @ - " gate.ports[106]:setstate(false) " @ - " gate.ports[107]:setstate(false) " @ - " gate.ports[108]:setstate(false) " @ - " gate.ports[109]:setstate(false) " @ - " gate.ports[110]:setstate(false) " @ - " gate.ports[111]:setstate(false) " @ - " gate.ports[112]:setstate(false) " @ - " gate.ports[113]:setstate(false) " @ - " gate.ports[114]:setstate(false) " @ - " gate.ports[115]:setstate(false) " @ - " gate.ports[116]:setstate(false) " @ - " gate.ports[117]:setstate(false) " @ - " gate.ports[118]:setstate(false) " @ - " gate.ports[119]:setstate(false) " @ - " gate.ports[120]:setstate(false) " @ - " gate.ports[121]:setstate(false) " @ - " gate.ports[122]:setstate(false) " @ - " gate.ports[123]:setstate(false) " @ - " gate.ports[124]:setstate(false) " @ - " gate.ports[125]:setstate(false) " @ - " gate.ports[126]:setstate(false) " @ - " gate.ports[127]:setstate(false) " @ - " gate.ports[128]:setstate(false) " @ + " Gate.setportstate(gate, 65, false) " @ + " Gate.setportstate(gate, 66, false) " @ + " Gate.setportstate(gate, 67, false) " @ + " Gate.setportstate(gate, 68, false) " @ + " Gate.setportstate(gate, 69, false) " @ + " Gate.setportstate(gate, 70, false) " @ + " Gate.setportstate(gate, 71, false) " @ + " Gate.setportstate(gate, 72, false) " @ + " Gate.setportstate(gate, 73, false) " @ + " Gate.setportstate(gate, 74, false) " @ + " Gate.setportstate(gate, 75, false) " @ + " Gate.setportstate(gate, 76, false) " @ + " Gate.setportstate(gate, 77, false) " @ + " Gate.setportstate(gate, 78, false) " @ + " Gate.setportstate(gate, 79, false) " @ + " Gate.setportstate(gate, 80, false) " @ + " Gate.setportstate(gate, 81, false) " @ + " Gate.setportstate(gate, 82, false) " @ + " Gate.setportstate(gate, 83, false) " @ + " Gate.setportstate(gate, 84, false) " @ + " Gate.setportstate(gate, 85, false) " @ + " Gate.setportstate(gate, 86, false) " @ + " Gate.setportstate(gate, 87, false) " @ + " Gate.setportstate(gate, 88, false) " @ + " Gate.setportstate(gate, 89, false) " @ + " Gate.setportstate(gate, 90, false) " @ + " Gate.setportstate(gate, 91, false) " @ + " Gate.setportstate(gate, 92, false) " @ + " Gate.setportstate(gate, 93, false) " @ + " Gate.setportstate(gate, 94, false) " @ + " Gate.setportstate(gate, 95, false) " @ + " Gate.setportstate(gate, 96, false) " @ + " Gate.setportstate(gate, 97, false) " @ + " Gate.setportstate(gate, 98, false) " @ + " Gate.setportstate(gate, 99, false) " @ + " Gate.setportstate(gate, 100, false) " @ + " Gate.setportstate(gate, 101, false) " @ + " Gate.setportstate(gate, 102, false) " @ + " Gate.setportstate(gate, 103, false) " @ + " Gate.setportstate(gate, 104, false) " @ + " Gate.setportstate(gate, 105, false) " @ + " Gate.setportstate(gate, 106, false) " @ + " Gate.setportstate(gate, 107, false) " @ + " Gate.setportstate(gate, 108, false) " @ + " Gate.setportstate(gate, 109, false) " @ + " Gate.setportstate(gate, 110, false) " @ + " Gate.setportstate(gate, 111, false) " @ + " Gate.setportstate(gate, 112, false) " @ + " Gate.setportstate(gate, 113, false) " @ + " Gate.setportstate(gate, 114, false) " @ + " Gate.setportstate(gate, 115, false) " @ + " Gate.setportstate(gate, 116, false) " @ + " Gate.setportstate(gate, 117, false) " @ + " Gate.setportstate(gate, 118, false) " @ + " Gate.setportstate(gate, 119, false) " @ + " Gate.setportstate(gate, 120, false) " @ + " Gate.setportstate(gate, 121, false) " @ + " Gate.setportstate(gate, 122, false) " @ + " Gate.setportstate(gate, 123, false) " @ + " Gate.setportstate(gate, 124, false) " @ + " Gate.setportstate(gate, 125, false) " @ + " Gate.setportstate(gate, 126, false) " @ + " Gate.setportstate(gate, 127, false) " @ + " Gate.setportstate(gate, 128, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler 7 Bit.cs b/bricks/gen/newcode/Enabler 7 Bit.cs index fc84e57..ff66a44 100644 --- a/bricks/gen/newcode/Enabler 7 Bit.cs +++ b/bricks/gen/newcode/Enabler 7 Bit.cs @@ -23,22 +23,22 @@ datablock fxDtsBrickData(LogicGate_Enabler7_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[15].state then " @ - " gate.ports[8]:setstate(gate.ports[1].state) " @ - " gate.ports[9]:setstate(gate.ports[2].state) " @ - " gate.ports[10]:setstate(gate.ports[3].state) " @ - " gate.ports[11]:setstate(gate.ports[4].state) " @ - " gate.ports[12]:setstate(gate.ports[5].state) " @ - " gate.ports[13]:setstate(gate.ports[6].state) " @ - " gate.ports[14]:setstate(gate.ports[7].state) " @ + " if Gate.getportstate(gate, 15) then " @ + " Gate.setportstate(gate, 8, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 9, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 10, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 11, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 7)) " @ " else " @ - " gate.ports[8]:setstate(false) " @ - " gate.ports[9]:setstate(false) " @ - " gate.ports[10]:setstate(false) " @ - " gate.ports[11]:setstate(false) " @ - " gate.ports[12]:setstate(false) " @ - " gate.ports[13]:setstate(false) " @ - " gate.ports[14]:setstate(false) " @ + " Gate.setportstate(gate, 8, false) " @ + " Gate.setportstate(gate, 9, false) " @ + " Gate.setportstate(gate, 10, false) " @ + " Gate.setportstate(gate, 11, false) " @ + " Gate.setportstate(gate, 12, false) " @ + " Gate.setportstate(gate, 13, false) " @ + " Gate.setportstate(gate, 14, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler 8 Bit.cs b/bricks/gen/newcode/Enabler 8 Bit.cs index 3f88223..a075744 100644 --- a/bricks/gen/newcode/Enabler 8 Bit.cs +++ b/bricks/gen/newcode/Enabler 8 Bit.cs @@ -23,24 +23,24 @@ datablock fxDtsBrickData(LogicGate_Enabler8_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[17].state then " @ - " gate.ports[9]:setstate(gate.ports[1].state) " @ - " gate.ports[10]:setstate(gate.ports[2].state) " @ - " gate.ports[11]:setstate(gate.ports[3].state) " @ - " gate.ports[12]:setstate(gate.ports[4].state) " @ - " gate.ports[13]:setstate(gate.ports[5].state) " @ - " gate.ports[14]:setstate(gate.ports[6].state) " @ - " gate.ports[15]:setstate(gate.ports[7].state) " @ - " gate.ports[16]:setstate(gate.ports[8].state) " @ + " if Gate.getportstate(gate, 17) then " @ + " Gate.setportstate(gate, 9, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 10, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 11, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 8)) " @ " else " @ - " gate.ports[9]:setstate(false) " @ - " gate.ports[10]:setstate(false) " @ - " gate.ports[11]:setstate(false) " @ - " gate.ports[12]:setstate(false) " @ - " gate.ports[13]:setstate(false) " @ - " gate.ports[14]:setstate(false) " @ - " gate.ports[15]:setstate(false) " @ - " gate.ports[16]:setstate(false) " @ + " Gate.setportstate(gate, 9, false) " @ + " Gate.setportstate(gate, 10, false) " @ + " Gate.setportstate(gate, 11, false) " @ + " Gate.setportstate(gate, 12, false) " @ + " Gate.setportstate(gate, 13, false) " @ + " Gate.setportstate(gate, 14, false) " @ + " Gate.setportstate(gate, 15, false) " @ + " Gate.setportstate(gate, 16, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler 9 Bit.cs b/bricks/gen/newcode/Enabler 9 Bit.cs index 9d20726..6addccc 100644 --- a/bricks/gen/newcode/Enabler 9 Bit.cs +++ b/bricks/gen/newcode/Enabler 9 Bit.cs @@ -23,26 +23,26 @@ datablock fxDtsBrickData(LogicGate_Enabler9_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if gate.ports[19].state then " @ - " gate.ports[10]:setstate(gate.ports[1].state) " @ - " gate.ports[11]:setstate(gate.ports[2].state) " @ - " gate.ports[12]:setstate(gate.ports[3].state) " @ - " gate.ports[13]:setstate(gate.ports[4].state) " @ - " gate.ports[14]:setstate(gate.ports[5].state) " @ - " gate.ports[15]:setstate(gate.ports[6].state) " @ - " gate.ports[16]:setstate(gate.ports[7].state) " @ - " gate.ports[17]:setstate(gate.ports[8].state) " @ - " gate.ports[18]:setstate(gate.ports[9].state) " @ + " if Gate.getportstate(gate, 19) then " @ + " Gate.setportstate(gate, 10, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 11, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 9)) " @ " else " @ - " gate.ports[10]:setstate(false) " @ - " gate.ports[11]:setstate(false) " @ - " gate.ports[12]:setstate(false) " @ - " gate.ports[13]:setstate(false) " @ - " gate.ports[14]:setstate(false) " @ - " gate.ports[15]:setstate(false) " @ - " gate.ports[16]:setstate(false) " @ - " gate.ports[17]:setstate(false) " @ - " gate.ports[18]:setstate(false) " @ + " Gate.setportstate(gate, 10, false) " @ + " Gate.setportstate(gate, 11, false) " @ + " Gate.setportstate(gate, 12, false) " @ + " Gate.setportstate(gate, 13, false) " @ + " Gate.setportstate(gate, 14, false) " @ + " Gate.setportstate(gate, 15, false) " @ + " Gate.setportstate(gate, 16, false) " @ + " Gate.setportstate(gate, 17, false) " @ + " Gate.setportstate(gate, 18, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler Active Low 1 Bit.cs b/bricks/gen/newcode/Enabler Active Low 1 Bit.cs index 2b6cea7..855e635 100644 --- a/bricks/gen/newcode/Enabler Active Low 1 Bit.cs +++ b/bricks/gen/newcode/Enabler Active Low 1 Bit.cs @@ -23,10 +23,10 @@ datablock fxDtsBrickData(LogicGate_EnablerAl1_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[3].state then " @ - " gate.ports[2]:setstate(gate.ports[1].state) " @ + " if not Gate.getportstate(gate, 3) then " @ + " Gate.setportstate(gate, 2, Gate.getportstate(gate, 1)) " @ " else " @ - " gate.ports[2]:setstate(false) " @ + " Gate.setportstate(gate, 2, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler Active Low 10 Bit.cs b/bricks/gen/newcode/Enabler Active Low 10 Bit.cs index 3fd7841..2ac6c60 100644 --- a/bricks/gen/newcode/Enabler Active Low 10 Bit.cs +++ b/bricks/gen/newcode/Enabler Active Low 10 Bit.cs @@ -23,28 +23,28 @@ datablock fxDtsBrickData(LogicGate_EnablerAl10_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[21].state then " @ - " gate.ports[11]:setstate(gate.ports[1].state) " @ - " gate.ports[12]:setstate(gate.ports[2].state) " @ - " gate.ports[13]:setstate(gate.ports[3].state) " @ - " gate.ports[14]:setstate(gate.ports[4].state) " @ - " gate.ports[15]:setstate(gate.ports[5].state) " @ - " gate.ports[16]:setstate(gate.ports[6].state) " @ - " gate.ports[17]:setstate(gate.ports[7].state) " @ - " gate.ports[18]:setstate(gate.ports[8].state) " @ - " gate.ports[19]:setstate(gate.ports[9].state) " @ - " gate.ports[20]:setstate(gate.ports[10].state) " @ + " if not Gate.getportstate(gate, 21) then " @ + " Gate.setportstate(gate, 11, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 10)) " @ " else " @ - " gate.ports[11]:setstate(false) " @ - " gate.ports[12]:setstate(false) " @ - " gate.ports[13]:setstate(false) " @ - " gate.ports[14]:setstate(false) " @ - " gate.ports[15]:setstate(false) " @ - " gate.ports[16]:setstate(false) " @ - " gate.ports[17]:setstate(false) " @ - " gate.ports[18]:setstate(false) " @ - " gate.ports[19]:setstate(false) " @ - " gate.ports[20]:setstate(false) " @ + " Gate.setportstate(gate, 11, false) " @ + " Gate.setportstate(gate, 12, false) " @ + " Gate.setportstate(gate, 13, false) " @ + " Gate.setportstate(gate, 14, false) " @ + " Gate.setportstate(gate, 15, false) " @ + " Gate.setportstate(gate, 16, false) " @ + " Gate.setportstate(gate, 17, false) " @ + " Gate.setportstate(gate, 18, false) " @ + " Gate.setportstate(gate, 19, false) " @ + " Gate.setportstate(gate, 20, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler Active Low 11 Bit.cs b/bricks/gen/newcode/Enabler Active Low 11 Bit.cs index d6f1468..1be9a57 100644 --- a/bricks/gen/newcode/Enabler Active Low 11 Bit.cs +++ b/bricks/gen/newcode/Enabler Active Low 11 Bit.cs @@ -23,30 +23,30 @@ datablock fxDtsBrickData(LogicGate_EnablerAl11_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[23].state then " @ - " gate.ports[12]:setstate(gate.ports[1].state) " @ - " gate.ports[13]:setstate(gate.ports[2].state) " @ - " gate.ports[14]:setstate(gate.ports[3].state) " @ - " gate.ports[15]:setstate(gate.ports[4].state) " @ - " gate.ports[16]:setstate(gate.ports[5].state) " @ - " gate.ports[17]:setstate(gate.ports[6].state) " @ - " gate.ports[18]:setstate(gate.ports[7].state) " @ - " gate.ports[19]:setstate(gate.ports[8].state) " @ - " gate.ports[20]:setstate(gate.ports[9].state) " @ - " gate.ports[21]:setstate(gate.ports[10].state) " @ - " gate.ports[22]:setstate(gate.ports[11].state) " @ + " if not Gate.getportstate(gate, 23) then " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 11)) " @ " else " @ - " gate.ports[12]:setstate(false) " @ - " gate.ports[13]:setstate(false) " @ - " gate.ports[14]:setstate(false) " @ - " gate.ports[15]:setstate(false) " @ - " gate.ports[16]:setstate(false) " @ - " gate.ports[17]:setstate(false) " @ - " gate.ports[18]:setstate(false) " @ - " gate.ports[19]:setstate(false) " @ - " gate.ports[20]:setstate(false) " @ - " gate.ports[21]:setstate(false) " @ - " gate.ports[22]:setstate(false) " @ + " Gate.setportstate(gate, 12, false) " @ + " Gate.setportstate(gate, 13, false) " @ + " Gate.setportstate(gate, 14, false) " @ + " Gate.setportstate(gate, 15, false) " @ + " Gate.setportstate(gate, 16, false) " @ + " Gate.setportstate(gate, 17, false) " @ + " Gate.setportstate(gate, 18, false) " @ + " Gate.setportstate(gate, 19, false) " @ + " Gate.setportstate(gate, 20, false) " @ + " Gate.setportstate(gate, 21, false) " @ + " Gate.setportstate(gate, 22, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler Active Low 12 Bit.cs b/bricks/gen/newcode/Enabler Active Low 12 Bit.cs index 42542c9..16e633d 100644 --- a/bricks/gen/newcode/Enabler Active Low 12 Bit.cs +++ b/bricks/gen/newcode/Enabler Active Low 12 Bit.cs @@ -23,32 +23,32 @@ datablock fxDtsBrickData(LogicGate_EnablerAl12_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[25].state then " @ - " gate.ports[13]:setstate(gate.ports[1].state) " @ - " gate.ports[14]:setstate(gate.ports[2].state) " @ - " gate.ports[15]:setstate(gate.ports[3].state) " @ - " gate.ports[16]:setstate(gate.ports[4].state) " @ - " gate.ports[17]:setstate(gate.ports[5].state) " @ - " gate.ports[18]:setstate(gate.ports[6].state) " @ - " gate.ports[19]:setstate(gate.ports[7].state) " @ - " gate.ports[20]:setstate(gate.ports[8].state) " @ - " gate.ports[21]:setstate(gate.ports[9].state) " @ - " gate.ports[22]:setstate(gate.ports[10].state) " @ - " gate.ports[23]:setstate(gate.ports[11].state) " @ - " gate.ports[24]:setstate(gate.ports[12].state) " @ + " if not Gate.getportstate(gate, 25) then " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 23, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 24, Gate.getportstate(gate, 12)) " @ " else " @ - " gate.ports[13]:setstate(false) " @ - " gate.ports[14]:setstate(false) " @ - " gate.ports[15]:setstate(false) " @ - " gate.ports[16]:setstate(false) " @ - " gate.ports[17]:setstate(false) " @ - " gate.ports[18]:setstate(false) " @ - " gate.ports[19]:setstate(false) " @ - " gate.ports[20]:setstate(false) " @ - " gate.ports[21]:setstate(false) " @ - " gate.ports[22]:setstate(false) " @ - " gate.ports[23]:setstate(false) " @ - " gate.ports[24]:setstate(false) " @ + " Gate.setportstate(gate, 13, false) " @ + " Gate.setportstate(gate, 14, false) " @ + " Gate.setportstate(gate, 15, false) " @ + " Gate.setportstate(gate, 16, false) " @ + " Gate.setportstate(gate, 17, false) " @ + " Gate.setportstate(gate, 18, false) " @ + " Gate.setportstate(gate, 19, false) " @ + " Gate.setportstate(gate, 20, false) " @ + " Gate.setportstate(gate, 21, false) " @ + " Gate.setportstate(gate, 22, false) " @ + " Gate.setportstate(gate, 23, false) " @ + " Gate.setportstate(gate, 24, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler Active Low 13 Bit.cs b/bricks/gen/newcode/Enabler Active Low 13 Bit.cs index 200916e..320161a 100644 --- a/bricks/gen/newcode/Enabler Active Low 13 Bit.cs +++ b/bricks/gen/newcode/Enabler Active Low 13 Bit.cs @@ -23,34 +23,34 @@ datablock fxDtsBrickData(LogicGate_EnablerAl13_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[27].state then " @ - " gate.ports[14]:setstate(gate.ports[1].state) " @ - " gate.ports[15]:setstate(gate.ports[2].state) " @ - " gate.ports[16]:setstate(gate.ports[3].state) " @ - " gate.ports[17]:setstate(gate.ports[4].state) " @ - " gate.ports[18]:setstate(gate.ports[5].state) " @ - " gate.ports[19]:setstate(gate.ports[6].state) " @ - " gate.ports[20]:setstate(gate.ports[7].state) " @ - " gate.ports[21]:setstate(gate.ports[8].state) " @ - " gate.ports[22]:setstate(gate.ports[9].state) " @ - " gate.ports[23]:setstate(gate.ports[10].state) " @ - " gate.ports[24]:setstate(gate.ports[11].state) " @ - " gate.ports[25]:setstate(gate.ports[12].state) " @ - " gate.ports[26]:setstate(gate.ports[13].state) " @ + " if not Gate.getportstate(gate, 27) then " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 23, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 24, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 25, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 26, Gate.getportstate(gate, 13)) " @ " else " @ - " gate.ports[14]:setstate(false) " @ - " gate.ports[15]:setstate(false) " @ - " gate.ports[16]:setstate(false) " @ - " gate.ports[17]:setstate(false) " @ - " gate.ports[18]:setstate(false) " @ - " gate.ports[19]:setstate(false) " @ - " gate.ports[20]:setstate(false) " @ - " gate.ports[21]:setstate(false) " @ - " gate.ports[22]:setstate(false) " @ - " gate.ports[23]:setstate(false) " @ - " gate.ports[24]:setstate(false) " @ - " gate.ports[25]:setstate(false) " @ - " gate.ports[26]:setstate(false) " @ + " Gate.setportstate(gate, 14, false) " @ + " Gate.setportstate(gate, 15, false) " @ + " Gate.setportstate(gate, 16, false) " @ + " Gate.setportstate(gate, 17, false) " @ + " Gate.setportstate(gate, 18, false) " @ + " Gate.setportstate(gate, 19, false) " @ + " Gate.setportstate(gate, 20, false) " @ + " Gate.setportstate(gate, 21, false) " @ + " Gate.setportstate(gate, 22, false) " @ + " Gate.setportstate(gate, 23, false) " @ + " Gate.setportstate(gate, 24, false) " @ + " Gate.setportstate(gate, 25, false) " @ + " Gate.setportstate(gate, 26, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler Active Low 14 Bit.cs b/bricks/gen/newcode/Enabler Active Low 14 Bit.cs index 5f4a25f..af5e723 100644 --- a/bricks/gen/newcode/Enabler Active Low 14 Bit.cs +++ b/bricks/gen/newcode/Enabler Active Low 14 Bit.cs @@ -23,36 +23,36 @@ datablock fxDtsBrickData(LogicGate_EnablerAl14_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[29].state then " @ - " gate.ports[15]:setstate(gate.ports[1].state) " @ - " gate.ports[16]:setstate(gate.ports[2].state) " @ - " gate.ports[17]:setstate(gate.ports[3].state) " @ - " gate.ports[18]:setstate(gate.ports[4].state) " @ - " gate.ports[19]:setstate(gate.ports[5].state) " @ - " gate.ports[20]:setstate(gate.ports[6].state) " @ - " gate.ports[21]:setstate(gate.ports[7].state) " @ - " gate.ports[22]:setstate(gate.ports[8].state) " @ - " gate.ports[23]:setstate(gate.ports[9].state) " @ - " gate.ports[24]:setstate(gate.ports[10].state) " @ - " gate.ports[25]:setstate(gate.ports[11].state) " @ - " gate.ports[26]:setstate(gate.ports[12].state) " @ - " gate.ports[27]:setstate(gate.ports[13].state) " @ - " gate.ports[28]:setstate(gate.ports[14].state) " @ + " if not Gate.getportstate(gate, 29) then " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 23, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 24, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 25, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 26, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 27, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 28, Gate.getportstate(gate, 14)) " @ " else " @ - " gate.ports[15]:setstate(false) " @ - " gate.ports[16]:setstate(false) " @ - " gate.ports[17]:setstate(false) " @ - " gate.ports[18]:setstate(false) " @ - " gate.ports[19]:setstate(false) " @ - " gate.ports[20]:setstate(false) " @ - " gate.ports[21]:setstate(false) " @ - " gate.ports[22]:setstate(false) " @ - " gate.ports[23]:setstate(false) " @ - " gate.ports[24]:setstate(false) " @ - " gate.ports[25]:setstate(false) " @ - " gate.ports[26]:setstate(false) " @ - " gate.ports[27]:setstate(false) " @ - " gate.ports[28]:setstate(false) " @ + " Gate.setportstate(gate, 15, false) " @ + " Gate.setportstate(gate, 16, false) " @ + " Gate.setportstate(gate, 17, false) " @ + " Gate.setportstate(gate, 18, false) " @ + " Gate.setportstate(gate, 19, false) " @ + " Gate.setportstate(gate, 20, false) " @ + " Gate.setportstate(gate, 21, false) " @ + " Gate.setportstate(gate, 22, false) " @ + " Gate.setportstate(gate, 23, false) " @ + " Gate.setportstate(gate, 24, false) " @ + " Gate.setportstate(gate, 25, false) " @ + " Gate.setportstate(gate, 26, false) " @ + " Gate.setportstate(gate, 27, false) " @ + " Gate.setportstate(gate, 28, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler Active Low 15 Bit.cs b/bricks/gen/newcode/Enabler Active Low 15 Bit.cs index 93cae27..9d6a7b0 100644 --- a/bricks/gen/newcode/Enabler Active Low 15 Bit.cs +++ b/bricks/gen/newcode/Enabler Active Low 15 Bit.cs @@ -23,38 +23,38 @@ datablock fxDtsBrickData(LogicGate_EnablerAl15_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[31].state then " @ - " gate.ports[16]:setstate(gate.ports[1].state) " @ - " gate.ports[17]:setstate(gate.ports[2].state) " @ - " gate.ports[18]:setstate(gate.ports[3].state) " @ - " gate.ports[19]:setstate(gate.ports[4].state) " @ - " gate.ports[20]:setstate(gate.ports[5].state) " @ - " gate.ports[21]:setstate(gate.ports[6].state) " @ - " gate.ports[22]:setstate(gate.ports[7].state) " @ - " gate.ports[23]:setstate(gate.ports[8].state) " @ - " gate.ports[24]:setstate(gate.ports[9].state) " @ - " gate.ports[25]:setstate(gate.ports[10].state) " @ - " gate.ports[26]:setstate(gate.ports[11].state) " @ - " gate.ports[27]:setstate(gate.ports[12].state) " @ - " gate.ports[28]:setstate(gate.ports[13].state) " @ - " gate.ports[29]:setstate(gate.ports[14].state) " @ - " gate.ports[30]:setstate(gate.ports[15].state) " @ + " if not Gate.getportstate(gate, 31) then " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 23, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 24, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 25, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 26, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 27, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 28, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 29, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 30, Gate.getportstate(gate, 15)) " @ " else " @ - " gate.ports[16]:setstate(false) " @ - " gate.ports[17]:setstate(false) " @ - " gate.ports[18]:setstate(false) " @ - " gate.ports[19]:setstate(false) " @ - " gate.ports[20]:setstate(false) " @ - " gate.ports[21]:setstate(false) " @ - " gate.ports[22]:setstate(false) " @ - " gate.ports[23]:setstate(false) " @ - " gate.ports[24]:setstate(false) " @ - " gate.ports[25]:setstate(false) " @ - " gate.ports[26]:setstate(false) " @ - " gate.ports[27]:setstate(false) " @ - " gate.ports[28]:setstate(false) " @ - " gate.ports[29]:setstate(false) " @ - " gate.ports[30]:setstate(false) " @ + " Gate.setportstate(gate, 16, false) " @ + " Gate.setportstate(gate, 17, false) " @ + " Gate.setportstate(gate, 18, false) " @ + " Gate.setportstate(gate, 19, false) " @ + " Gate.setportstate(gate, 20, false) " @ + " Gate.setportstate(gate, 21, false) " @ + " Gate.setportstate(gate, 22, false) " @ + " Gate.setportstate(gate, 23, false) " @ + " Gate.setportstate(gate, 24, false) " @ + " Gate.setportstate(gate, 25, false) " @ + " Gate.setportstate(gate, 26, false) " @ + " Gate.setportstate(gate, 27, false) " @ + " Gate.setportstate(gate, 28, false) " @ + " Gate.setportstate(gate, 29, false) " @ + " Gate.setportstate(gate, 30, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler Active Low 16 Bit.cs b/bricks/gen/newcode/Enabler Active Low 16 Bit.cs index f0a22f4..f8e8d33 100644 --- a/bricks/gen/newcode/Enabler Active Low 16 Bit.cs +++ b/bricks/gen/newcode/Enabler Active Low 16 Bit.cs @@ -23,40 +23,40 @@ datablock fxDtsBrickData(LogicGate_EnablerAl16_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[33].state then " @ - " gate.ports[17]:setstate(gate.ports[1].state) " @ - " gate.ports[18]:setstate(gate.ports[2].state) " @ - " gate.ports[19]:setstate(gate.ports[3].state) " @ - " gate.ports[20]:setstate(gate.ports[4].state) " @ - " gate.ports[21]:setstate(gate.ports[5].state) " @ - " gate.ports[22]:setstate(gate.ports[6].state) " @ - " gate.ports[23]:setstate(gate.ports[7].state) " @ - " gate.ports[24]:setstate(gate.ports[8].state) " @ - " gate.ports[25]:setstate(gate.ports[9].state) " @ - " gate.ports[26]:setstate(gate.ports[10].state) " @ - " gate.ports[27]:setstate(gate.ports[11].state) " @ - " gate.ports[28]:setstate(gate.ports[12].state) " @ - " gate.ports[29]:setstate(gate.ports[13].state) " @ - " gate.ports[30]:setstate(gate.ports[14].state) " @ - " gate.ports[31]:setstate(gate.ports[15].state) " @ - " gate.ports[32]:setstate(gate.ports[16].state) " @ + " if not Gate.getportstate(gate, 33) then " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 19, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 20, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 21, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 22, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 23, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 24, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 25, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 26, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 27, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 28, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 29, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 30, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 31, Gate.getportstate(gate, 15)) " @ + " Gate.setportstate(gate, 32, Gate.getportstate(gate, 16)) " @ " else " @ - " gate.ports[17]:setstate(false) " @ - " gate.ports[18]:setstate(false) " @ - " gate.ports[19]:setstate(false) " @ - " gate.ports[20]:setstate(false) " @ - " gate.ports[21]:setstate(false) " @ - " gate.ports[22]:setstate(false) " @ - " gate.ports[23]:setstate(false) " @ - " gate.ports[24]:setstate(false) " @ - " gate.ports[25]:setstate(false) " @ - " gate.ports[26]:setstate(false) " @ - " gate.ports[27]:setstate(false) " @ - " gate.ports[28]:setstate(false) " @ - " gate.ports[29]:setstate(false) " @ - " gate.ports[30]:setstate(false) " @ - " gate.ports[31]:setstate(false) " @ - " gate.ports[32]:setstate(false) " @ + " Gate.setportstate(gate, 17, false) " @ + " Gate.setportstate(gate, 18, false) " @ + " Gate.setportstate(gate, 19, false) " @ + " Gate.setportstate(gate, 20, false) " @ + " Gate.setportstate(gate, 21, false) " @ + " Gate.setportstate(gate, 22, false) " @ + " Gate.setportstate(gate, 23, false) " @ + " Gate.setportstate(gate, 24, false) " @ + " Gate.setportstate(gate, 25, false) " @ + " Gate.setportstate(gate, 26, false) " @ + " Gate.setportstate(gate, 27, false) " @ + " Gate.setportstate(gate, 28, false) " @ + " Gate.setportstate(gate, 29, false) " @ + " Gate.setportstate(gate, 30, false) " @ + " Gate.setportstate(gate, 31, false) " @ + " Gate.setportstate(gate, 32, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler Active Low 2 Bit.cs b/bricks/gen/newcode/Enabler Active Low 2 Bit.cs index b663957..8a8de87 100644 --- a/bricks/gen/newcode/Enabler Active Low 2 Bit.cs +++ b/bricks/gen/newcode/Enabler Active Low 2 Bit.cs @@ -23,12 +23,12 @@ datablock fxDtsBrickData(LogicGate_EnablerAl2_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[5].state then " @ - " gate.ports[3]:setstate(gate.ports[1].state) " @ - " gate.ports[4]:setstate(gate.ports[2].state) " @ + " if not Gate.getportstate(gate, 5) then " @ + " Gate.setportstate(gate, 3, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 4, Gate.getportstate(gate, 2)) " @ " else " @ - " gate.ports[3]:setstate(false) " @ - " gate.ports[4]:setstate(false) " @ + " Gate.setportstate(gate, 3, false) " @ + " Gate.setportstate(gate, 4, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler Active Low 24 Bit.cs b/bricks/gen/newcode/Enabler Active Low 24 Bit.cs index 3cb1f7e..0847016 100644 --- a/bricks/gen/newcode/Enabler Active Low 24 Bit.cs +++ b/bricks/gen/newcode/Enabler Active Low 24 Bit.cs @@ -23,56 +23,56 @@ datablock fxDtsBrickData(LogicGate_EnablerAl24_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[49].state then " @ - " gate.ports[25]:setstate(gate.ports[1].state) " @ - " gate.ports[26]:setstate(gate.ports[2].state) " @ - " gate.ports[27]:setstate(gate.ports[3].state) " @ - " gate.ports[28]:setstate(gate.ports[4].state) " @ - " gate.ports[29]:setstate(gate.ports[5].state) " @ - " gate.ports[30]:setstate(gate.ports[6].state) " @ - " gate.ports[31]:setstate(gate.ports[7].state) " @ - " gate.ports[32]:setstate(gate.ports[8].state) " @ - " gate.ports[33]:setstate(gate.ports[9].state) " @ - " gate.ports[34]:setstate(gate.ports[10].state) " @ - " gate.ports[35]:setstate(gate.ports[11].state) " @ - " gate.ports[36]:setstate(gate.ports[12].state) " @ - " gate.ports[37]:setstate(gate.ports[13].state) " @ - " gate.ports[38]:setstate(gate.ports[14].state) " @ - " gate.ports[39]:setstate(gate.ports[15].state) " @ - " gate.ports[40]:setstate(gate.ports[16].state) " @ - " gate.ports[41]:setstate(gate.ports[17].state) " @ - " gate.ports[42]:setstate(gate.ports[18].state) " @ - " gate.ports[43]:setstate(gate.ports[19].state) " @ - " gate.ports[44]:setstate(gate.ports[20].state) " @ - " gate.ports[45]:setstate(gate.ports[21].state) " @ - " gate.ports[46]:setstate(gate.ports[22].state) " @ - " gate.ports[47]:setstate(gate.ports[23].state) " @ - " gate.ports[48]:setstate(gate.ports[24].state) " @ + " if not Gate.getportstate(gate, 49) then " @ + " Gate.setportstate(gate, 25, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 26, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 27, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 28, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 29, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 30, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 31, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 32, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 33, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 34, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 35, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 36, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 37, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 38, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 39, Gate.getportstate(gate, 15)) " @ + " Gate.setportstate(gate, 40, Gate.getportstate(gate, 16)) " @ + " Gate.setportstate(gate, 41, Gate.getportstate(gate, 17)) " @ + " Gate.setportstate(gate, 42, Gate.getportstate(gate, 18)) " @ + " Gate.setportstate(gate, 43, Gate.getportstate(gate, 19)) " @ + " Gate.setportstate(gate, 44, Gate.getportstate(gate, 20)) " @ + " Gate.setportstate(gate, 45, Gate.getportstate(gate, 21)) " @ + " Gate.setportstate(gate, 46, Gate.getportstate(gate, 22)) " @ + " Gate.setportstate(gate, 47, Gate.getportstate(gate, 23)) " @ + " Gate.setportstate(gate, 48, Gate.getportstate(gate, 24)) " @ " else " @ - " gate.ports[25]:setstate(false) " @ - " gate.ports[26]:setstate(false) " @ - " gate.ports[27]:setstate(false) " @ - " gate.ports[28]:setstate(false) " @ - " gate.ports[29]:setstate(false) " @ - " gate.ports[30]:setstate(false) " @ - " gate.ports[31]:setstate(false) " @ - " gate.ports[32]:setstate(false) " @ - " gate.ports[33]:setstate(false) " @ - " gate.ports[34]:setstate(false) " @ - " gate.ports[35]:setstate(false) " @ - " gate.ports[36]:setstate(false) " @ - " gate.ports[37]:setstate(false) " @ - " gate.ports[38]:setstate(false) " @ - " gate.ports[39]:setstate(false) " @ - " gate.ports[40]:setstate(false) " @ - " gate.ports[41]:setstate(false) " @ - " gate.ports[42]:setstate(false) " @ - " gate.ports[43]:setstate(false) " @ - " gate.ports[44]:setstate(false) " @ - " gate.ports[45]:setstate(false) " @ - " gate.ports[46]:setstate(false) " @ - " gate.ports[47]:setstate(false) " @ - " gate.ports[48]:setstate(false) " @ + " Gate.setportstate(gate, 25, false) " @ + " Gate.setportstate(gate, 26, false) " @ + " Gate.setportstate(gate, 27, false) " @ + " Gate.setportstate(gate, 28, false) " @ + " Gate.setportstate(gate, 29, false) " @ + " Gate.setportstate(gate, 30, false) " @ + " Gate.setportstate(gate, 31, false) " @ + " Gate.setportstate(gate, 32, false) " @ + " Gate.setportstate(gate, 33, false) " @ + " Gate.setportstate(gate, 34, false) " @ + " Gate.setportstate(gate, 35, false) " @ + " Gate.setportstate(gate, 36, false) " @ + " Gate.setportstate(gate, 37, false) " @ + " Gate.setportstate(gate, 38, false) " @ + " Gate.setportstate(gate, 39, false) " @ + " Gate.setportstate(gate, 40, false) " @ + " Gate.setportstate(gate, 41, false) " @ + " Gate.setportstate(gate, 42, false) " @ + " Gate.setportstate(gate, 43, false) " @ + " Gate.setportstate(gate, 44, false) " @ + " Gate.setportstate(gate, 45, false) " @ + " Gate.setportstate(gate, 46, false) " @ + " Gate.setportstate(gate, 47, false) " @ + " Gate.setportstate(gate, 48, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler Active Low 3 Bit.cs b/bricks/gen/newcode/Enabler Active Low 3 Bit.cs index cd2b7be..d3c5804 100644 --- a/bricks/gen/newcode/Enabler Active Low 3 Bit.cs +++ b/bricks/gen/newcode/Enabler Active Low 3 Bit.cs @@ -23,14 +23,14 @@ datablock fxDtsBrickData(LogicGate_EnablerAl3_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[7].state then " @ - " gate.ports[4]:setstate(gate.ports[1].state) " @ - " gate.ports[5]:setstate(gate.ports[2].state) " @ - " gate.ports[6]:setstate(gate.ports[3].state) " @ + " if not Gate.getportstate(gate, 7) then " @ + " Gate.setportstate(gate, 4, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 5, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 6, Gate.getportstate(gate, 3)) " @ " else " @ - " gate.ports[4]:setstate(false) " @ - " gate.ports[5]:setstate(false) " @ - " gate.ports[6]:setstate(false) " @ + " Gate.setportstate(gate, 4, false) " @ + " Gate.setportstate(gate, 5, false) " @ + " Gate.setportstate(gate, 6, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler Active Low 32 Bit.cs b/bricks/gen/newcode/Enabler Active Low 32 Bit.cs index e4ef5a7..6aebd72 100644 --- a/bricks/gen/newcode/Enabler Active Low 32 Bit.cs +++ b/bricks/gen/newcode/Enabler Active Low 32 Bit.cs @@ -23,72 +23,72 @@ datablock fxDtsBrickData(LogicGate_EnablerAl32_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[65].state then " @ - " gate.ports[33]:setstate(gate.ports[1].state) " @ - " gate.ports[34]:setstate(gate.ports[2].state) " @ - " gate.ports[35]:setstate(gate.ports[3].state) " @ - " gate.ports[36]:setstate(gate.ports[4].state) " @ - " gate.ports[37]:setstate(gate.ports[5].state) " @ - " gate.ports[38]:setstate(gate.ports[6].state) " @ - " gate.ports[39]:setstate(gate.ports[7].state) " @ - " gate.ports[40]:setstate(gate.ports[8].state) " @ - " gate.ports[41]:setstate(gate.ports[9].state) " @ - " gate.ports[42]:setstate(gate.ports[10].state) " @ - " gate.ports[43]:setstate(gate.ports[11].state) " @ - " gate.ports[44]:setstate(gate.ports[12].state) " @ - " gate.ports[45]:setstate(gate.ports[13].state) " @ - " gate.ports[46]:setstate(gate.ports[14].state) " @ - " gate.ports[47]:setstate(gate.ports[15].state) " @ - " gate.ports[48]:setstate(gate.ports[16].state) " @ - " gate.ports[49]:setstate(gate.ports[17].state) " @ - " gate.ports[50]:setstate(gate.ports[18].state) " @ - " gate.ports[51]:setstate(gate.ports[19].state) " @ - " gate.ports[52]:setstate(gate.ports[20].state) " @ - " gate.ports[53]:setstate(gate.ports[21].state) " @ - " gate.ports[54]:setstate(gate.ports[22].state) " @ - " gate.ports[55]:setstate(gate.ports[23].state) " @ - " gate.ports[56]:setstate(gate.ports[24].state) " @ - " gate.ports[57]:setstate(gate.ports[25].state) " @ - " gate.ports[58]:setstate(gate.ports[26].state) " @ - " gate.ports[59]:setstate(gate.ports[27].state) " @ - " gate.ports[60]:setstate(gate.ports[28].state) " @ - " gate.ports[61]:setstate(gate.ports[29].state) " @ - " gate.ports[62]:setstate(gate.ports[30].state) " @ - " gate.ports[63]:setstate(gate.ports[31].state) " @ - " gate.ports[64]:setstate(gate.ports[32].state) " @ + " if not Gate.getportstate(gate, 65) then " @ + " Gate.setportstate(gate, 33, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 34, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 35, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 36, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 37, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 38, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 39, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 40, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 41, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 42, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 43, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 44, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 45, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 46, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 47, Gate.getportstate(gate, 15)) " @ + " Gate.setportstate(gate, 48, Gate.getportstate(gate, 16)) " @ + " Gate.setportstate(gate, 49, Gate.getportstate(gate, 17)) " @ + " Gate.setportstate(gate, 50, Gate.getportstate(gate, 18)) " @ + " Gate.setportstate(gate, 51, Gate.getportstate(gate, 19)) " @ + " Gate.setportstate(gate, 52, Gate.getportstate(gate, 20)) " @ + " Gate.setportstate(gate, 53, Gate.getportstate(gate, 21)) " @ + " Gate.setportstate(gate, 54, Gate.getportstate(gate, 22)) " @ + " Gate.setportstate(gate, 55, Gate.getportstate(gate, 23)) " @ + " Gate.setportstate(gate, 56, Gate.getportstate(gate, 24)) " @ + " Gate.setportstate(gate, 57, Gate.getportstate(gate, 25)) " @ + " Gate.setportstate(gate, 58, Gate.getportstate(gate, 26)) " @ + " Gate.setportstate(gate, 59, Gate.getportstate(gate, 27)) " @ + " Gate.setportstate(gate, 60, Gate.getportstate(gate, 28)) " @ + " Gate.setportstate(gate, 61, Gate.getportstate(gate, 29)) " @ + " Gate.setportstate(gate, 62, Gate.getportstate(gate, 30)) " @ + " Gate.setportstate(gate, 63, Gate.getportstate(gate, 31)) " @ + " Gate.setportstate(gate, 64, Gate.getportstate(gate, 32)) " @ " else " @ - " gate.ports[33]:setstate(false) " @ - " gate.ports[34]:setstate(false) " @ - " gate.ports[35]:setstate(false) " @ - " gate.ports[36]:setstate(false) " @ - " gate.ports[37]:setstate(false) " @ - " gate.ports[38]:setstate(false) " @ - " gate.ports[39]:setstate(false) " @ - " gate.ports[40]:setstate(false) " @ - " gate.ports[41]:setstate(false) " @ - " gate.ports[42]:setstate(false) " @ - " gate.ports[43]:setstate(false) " @ - " gate.ports[44]:setstate(false) " @ - " gate.ports[45]:setstate(false) " @ - " gate.ports[46]:setstate(false) " @ - " gate.ports[47]:setstate(false) " @ - " gate.ports[48]:setstate(false) " @ - " gate.ports[49]:setstate(false) " @ - " gate.ports[50]:setstate(false) " @ - " gate.ports[51]:setstate(false) " @ - " gate.ports[52]:setstate(false) " @ - " gate.ports[53]:setstate(false) " @ - " gate.ports[54]:setstate(false) " @ - " gate.ports[55]:setstate(false) " @ - " gate.ports[56]:setstate(false) " @ - " gate.ports[57]:setstate(false) " @ - " gate.ports[58]:setstate(false) " @ - " gate.ports[59]:setstate(false) " @ - " gate.ports[60]:setstate(false) " @ - " gate.ports[61]:setstate(false) " @ - " gate.ports[62]:setstate(false) " @ - " gate.ports[63]:setstate(false) " @ - " gate.ports[64]:setstate(false) " @ + " Gate.setportstate(gate, 33, false) " @ + " Gate.setportstate(gate, 34, false) " @ + " Gate.setportstate(gate, 35, false) " @ + " Gate.setportstate(gate, 36, false) " @ + " Gate.setportstate(gate, 37, false) " @ + " Gate.setportstate(gate, 38, false) " @ + " Gate.setportstate(gate, 39, false) " @ + " Gate.setportstate(gate, 40, false) " @ + " Gate.setportstate(gate, 41, false) " @ + " Gate.setportstate(gate, 42, false) " @ + " Gate.setportstate(gate, 43, false) " @ + " Gate.setportstate(gate, 44, false) " @ + " Gate.setportstate(gate, 45, false) " @ + " Gate.setportstate(gate, 46, false) " @ + " Gate.setportstate(gate, 47, false) " @ + " Gate.setportstate(gate, 48, false) " @ + " Gate.setportstate(gate, 49, false) " @ + " Gate.setportstate(gate, 50, false) " @ + " Gate.setportstate(gate, 51, false) " @ + " Gate.setportstate(gate, 52, false) " @ + " Gate.setportstate(gate, 53, false) " @ + " Gate.setportstate(gate, 54, false) " @ + " Gate.setportstate(gate, 55, false) " @ + " Gate.setportstate(gate, 56, false) " @ + " Gate.setportstate(gate, 57, false) " @ + " Gate.setportstate(gate, 58, false) " @ + " Gate.setportstate(gate, 59, false) " @ + " Gate.setportstate(gate, 60, false) " @ + " Gate.setportstate(gate, 61, false) " @ + " Gate.setportstate(gate, 62, false) " @ + " Gate.setportstate(gate, 63, false) " @ + " Gate.setportstate(gate, 64, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler Active Low 4 Bit.cs b/bricks/gen/newcode/Enabler Active Low 4 Bit.cs index 7c4a907..5ccc432 100644 --- a/bricks/gen/newcode/Enabler Active Low 4 Bit.cs +++ b/bricks/gen/newcode/Enabler Active Low 4 Bit.cs @@ -23,16 +23,16 @@ datablock fxDtsBrickData(LogicGate_EnablerAl4_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[9].state then " @ - " gate.ports[5]:setstate(gate.ports[1].state) " @ - " gate.ports[6]:setstate(gate.ports[2].state) " @ - " gate.ports[7]:setstate(gate.ports[3].state) " @ - " gate.ports[8]:setstate(gate.ports[4].state) " @ + " if not Gate.getportstate(gate, 9) then " @ + " Gate.setportstate(gate, 5, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 6, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 7, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 8, Gate.getportstate(gate, 4)) " @ " else " @ - " gate.ports[5]:setstate(false) " @ - " gate.ports[6]:setstate(false) " @ - " gate.ports[7]:setstate(false) " @ - " gate.ports[8]:setstate(false) " @ + " Gate.setportstate(gate, 5, false) " @ + " Gate.setportstate(gate, 6, false) " @ + " Gate.setportstate(gate, 7, false) " @ + " Gate.setportstate(gate, 8, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler Active Low 48 Bit.cs b/bricks/gen/newcode/Enabler Active Low 48 Bit.cs index 15db825..11efcd3 100644 --- a/bricks/gen/newcode/Enabler Active Low 48 Bit.cs +++ b/bricks/gen/newcode/Enabler Active Low 48 Bit.cs @@ -23,104 +23,104 @@ datablock fxDtsBrickData(LogicGate_EnablerAl48_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[97].state then " @ - " gate.ports[49]:setstate(gate.ports[1].state) " @ - " gate.ports[50]:setstate(gate.ports[2].state) " @ - " gate.ports[51]:setstate(gate.ports[3].state) " @ - " gate.ports[52]:setstate(gate.ports[4].state) " @ - " gate.ports[53]:setstate(gate.ports[5].state) " @ - " gate.ports[54]:setstate(gate.ports[6].state) " @ - " gate.ports[55]:setstate(gate.ports[7].state) " @ - " gate.ports[56]:setstate(gate.ports[8].state) " @ - " gate.ports[57]:setstate(gate.ports[9].state) " @ - " gate.ports[58]:setstate(gate.ports[10].state) " @ - " gate.ports[59]:setstate(gate.ports[11].state) " @ - " gate.ports[60]:setstate(gate.ports[12].state) " @ - " gate.ports[61]:setstate(gate.ports[13].state) " @ - " gate.ports[62]:setstate(gate.ports[14].state) " @ - " gate.ports[63]:setstate(gate.ports[15].state) " @ - " gate.ports[64]:setstate(gate.ports[16].state) " @ - " gate.ports[65]:setstate(gate.ports[17].state) " @ - " gate.ports[66]:setstate(gate.ports[18].state) " @ - " gate.ports[67]:setstate(gate.ports[19].state) " @ - " gate.ports[68]:setstate(gate.ports[20].state) " @ - " gate.ports[69]:setstate(gate.ports[21].state) " @ - " gate.ports[70]:setstate(gate.ports[22].state) " @ - " gate.ports[71]:setstate(gate.ports[23].state) " @ - " gate.ports[72]:setstate(gate.ports[24].state) " @ - " gate.ports[73]:setstate(gate.ports[25].state) " @ - " gate.ports[74]:setstate(gate.ports[26].state) " @ - " gate.ports[75]:setstate(gate.ports[27].state) " @ - " gate.ports[76]:setstate(gate.ports[28].state) " @ - " gate.ports[77]:setstate(gate.ports[29].state) " @ - " gate.ports[78]:setstate(gate.ports[30].state) " @ - " gate.ports[79]:setstate(gate.ports[31].state) " @ - " gate.ports[80]:setstate(gate.ports[32].state) " @ - " gate.ports[81]:setstate(gate.ports[33].state) " @ - " gate.ports[82]:setstate(gate.ports[34].state) " @ - " gate.ports[83]:setstate(gate.ports[35].state) " @ - " gate.ports[84]:setstate(gate.ports[36].state) " @ - " gate.ports[85]:setstate(gate.ports[37].state) " @ - " gate.ports[86]:setstate(gate.ports[38].state) " @ - " gate.ports[87]:setstate(gate.ports[39].state) " @ - " gate.ports[88]:setstate(gate.ports[40].state) " @ - " gate.ports[89]:setstate(gate.ports[41].state) " @ - " gate.ports[90]:setstate(gate.ports[42].state) " @ - " gate.ports[91]:setstate(gate.ports[43].state) " @ - " gate.ports[92]:setstate(gate.ports[44].state) " @ - " gate.ports[93]:setstate(gate.ports[45].state) " @ - " gate.ports[94]:setstate(gate.ports[46].state) " @ - " gate.ports[95]:setstate(gate.ports[47].state) " @ - " gate.ports[96]:setstate(gate.ports[48].state) " @ + " if not Gate.getportstate(gate, 97) then " @ + " Gate.setportstate(gate, 49, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 50, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 51, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 52, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 53, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 54, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 55, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 56, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 57, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 58, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 59, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 60, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 61, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 62, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 63, Gate.getportstate(gate, 15)) " @ + " Gate.setportstate(gate, 64, Gate.getportstate(gate, 16)) " @ + " Gate.setportstate(gate, 65, Gate.getportstate(gate, 17)) " @ + " Gate.setportstate(gate, 66, Gate.getportstate(gate, 18)) " @ + " Gate.setportstate(gate, 67, Gate.getportstate(gate, 19)) " @ + " Gate.setportstate(gate, 68, Gate.getportstate(gate, 20)) " @ + " Gate.setportstate(gate, 69, Gate.getportstate(gate, 21)) " @ + " Gate.setportstate(gate, 70, Gate.getportstate(gate, 22)) " @ + " Gate.setportstate(gate, 71, Gate.getportstate(gate, 23)) " @ + " Gate.setportstate(gate, 72, Gate.getportstate(gate, 24)) " @ + " Gate.setportstate(gate, 73, Gate.getportstate(gate, 25)) " @ + " Gate.setportstate(gate, 74, Gate.getportstate(gate, 26)) " @ + " Gate.setportstate(gate, 75, Gate.getportstate(gate, 27)) " @ + " Gate.setportstate(gate, 76, Gate.getportstate(gate, 28)) " @ + " Gate.setportstate(gate, 77, Gate.getportstate(gate, 29)) " @ + " Gate.setportstate(gate, 78, Gate.getportstate(gate, 30)) " @ + " Gate.setportstate(gate, 79, Gate.getportstate(gate, 31)) " @ + " Gate.setportstate(gate, 80, Gate.getportstate(gate, 32)) " @ + " Gate.setportstate(gate, 81, Gate.getportstate(gate, 33)) " @ + " Gate.setportstate(gate, 82, Gate.getportstate(gate, 34)) " @ + " Gate.setportstate(gate, 83, Gate.getportstate(gate, 35)) " @ + " Gate.setportstate(gate, 84, Gate.getportstate(gate, 36)) " @ + " Gate.setportstate(gate, 85, Gate.getportstate(gate, 37)) " @ + " Gate.setportstate(gate, 86, Gate.getportstate(gate, 38)) " @ + " Gate.setportstate(gate, 87, Gate.getportstate(gate, 39)) " @ + " Gate.setportstate(gate, 88, Gate.getportstate(gate, 40)) " @ + " Gate.setportstate(gate, 89, Gate.getportstate(gate, 41)) " @ + " Gate.setportstate(gate, 90, Gate.getportstate(gate, 42)) " @ + " Gate.setportstate(gate, 91, Gate.getportstate(gate, 43)) " @ + " Gate.setportstate(gate, 92, Gate.getportstate(gate, 44)) " @ + " Gate.setportstate(gate, 93, Gate.getportstate(gate, 45)) " @ + " Gate.setportstate(gate, 94, Gate.getportstate(gate, 46)) " @ + " Gate.setportstate(gate, 95, Gate.getportstate(gate, 47)) " @ + " Gate.setportstate(gate, 96, Gate.getportstate(gate, 48)) " @ " else " @ - " gate.ports[49]:setstate(false) " @ - " gate.ports[50]:setstate(false) " @ - " gate.ports[51]:setstate(false) " @ - " gate.ports[52]:setstate(false) " @ - " gate.ports[53]:setstate(false) " @ - " gate.ports[54]:setstate(false) " @ - " gate.ports[55]:setstate(false) " @ - " gate.ports[56]:setstate(false) " @ - " gate.ports[57]:setstate(false) " @ - " gate.ports[58]:setstate(false) " @ - " gate.ports[59]:setstate(false) " @ - " gate.ports[60]:setstate(false) " @ - " gate.ports[61]:setstate(false) " @ - " gate.ports[62]:setstate(false) " @ - " gate.ports[63]:setstate(false) " @ - " gate.ports[64]:setstate(false) " @ - " gate.ports[65]:setstate(false) " @ - " gate.ports[66]:setstate(false) " @ - " gate.ports[67]:setstate(false) " @ - " gate.ports[68]:setstate(false) " @ - " gate.ports[69]:setstate(false) " @ - " gate.ports[70]:setstate(false) " @ - " gate.ports[71]:setstate(false) " @ - " gate.ports[72]:setstate(false) " @ - " gate.ports[73]:setstate(false) " @ - " gate.ports[74]:setstate(false) " @ - " gate.ports[75]:setstate(false) " @ - " gate.ports[76]:setstate(false) " @ - " gate.ports[77]:setstate(false) " @ - " gate.ports[78]:setstate(false) " @ - " gate.ports[79]:setstate(false) " @ - " gate.ports[80]:setstate(false) " @ - " gate.ports[81]:setstate(false) " @ - " gate.ports[82]:setstate(false) " @ - " gate.ports[83]:setstate(false) " @ - " gate.ports[84]:setstate(false) " @ - " gate.ports[85]:setstate(false) " @ - " gate.ports[86]:setstate(false) " @ - " gate.ports[87]:setstate(false) " @ - " gate.ports[88]:setstate(false) " @ - " gate.ports[89]:setstate(false) " @ - " gate.ports[90]:setstate(false) " @ - " gate.ports[91]:setstate(false) " @ - " gate.ports[92]:setstate(false) " @ - " gate.ports[93]:setstate(false) " @ - " gate.ports[94]:setstate(false) " @ - " gate.ports[95]:setstate(false) " @ - " gate.ports[96]:setstate(false) " @ + " Gate.setportstate(gate, 49, false) " @ + " Gate.setportstate(gate, 50, false) " @ + " Gate.setportstate(gate, 51, false) " @ + " Gate.setportstate(gate, 52, false) " @ + " Gate.setportstate(gate, 53, false) " @ + " Gate.setportstate(gate, 54, false) " @ + " Gate.setportstate(gate, 55, false) " @ + " Gate.setportstate(gate, 56, false) " @ + " Gate.setportstate(gate, 57, false) " @ + " Gate.setportstate(gate, 58, false) " @ + " Gate.setportstate(gate, 59, false) " @ + " Gate.setportstate(gate, 60, false) " @ + " Gate.setportstate(gate, 61, false) " @ + " Gate.setportstate(gate, 62, false) " @ + " Gate.setportstate(gate, 63, false) " @ + " Gate.setportstate(gate, 64, false) " @ + " Gate.setportstate(gate, 65, false) " @ + " Gate.setportstate(gate, 66, false) " @ + " Gate.setportstate(gate, 67, false) " @ + " Gate.setportstate(gate, 68, false) " @ + " Gate.setportstate(gate, 69, false) " @ + " Gate.setportstate(gate, 70, false) " @ + " Gate.setportstate(gate, 71, false) " @ + " Gate.setportstate(gate, 72, false) " @ + " Gate.setportstate(gate, 73, false) " @ + " Gate.setportstate(gate, 74, false) " @ + " Gate.setportstate(gate, 75, false) " @ + " Gate.setportstate(gate, 76, false) " @ + " Gate.setportstate(gate, 77, false) " @ + " Gate.setportstate(gate, 78, false) " @ + " Gate.setportstate(gate, 79, false) " @ + " Gate.setportstate(gate, 80, false) " @ + " Gate.setportstate(gate, 81, false) " @ + " Gate.setportstate(gate, 82, false) " @ + " Gate.setportstate(gate, 83, false) " @ + " Gate.setportstate(gate, 84, false) " @ + " Gate.setportstate(gate, 85, false) " @ + " Gate.setportstate(gate, 86, false) " @ + " Gate.setportstate(gate, 87, false) " @ + " Gate.setportstate(gate, 88, false) " @ + " Gate.setportstate(gate, 89, false) " @ + " Gate.setportstate(gate, 90, false) " @ + " Gate.setportstate(gate, 91, false) " @ + " Gate.setportstate(gate, 92, false) " @ + " Gate.setportstate(gate, 93, false) " @ + " Gate.setportstate(gate, 94, false) " @ + " Gate.setportstate(gate, 95, false) " @ + " Gate.setportstate(gate, 96, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler Active Low 5 Bit.cs b/bricks/gen/newcode/Enabler Active Low 5 Bit.cs index eaa1839..83e9728 100644 --- a/bricks/gen/newcode/Enabler Active Low 5 Bit.cs +++ b/bricks/gen/newcode/Enabler Active Low 5 Bit.cs @@ -23,18 +23,18 @@ datablock fxDtsBrickData(LogicGate_EnablerAl5_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[11].state then " @ - " gate.ports[6]:setstate(gate.ports[1].state) " @ - " gate.ports[7]:setstate(gate.ports[2].state) " @ - " gate.ports[8]:setstate(gate.ports[3].state) " @ - " gate.ports[9]:setstate(gate.ports[4].state) " @ - " gate.ports[10]:setstate(gate.ports[5].state) " @ + " if not Gate.getportstate(gate, 11) then " @ + " Gate.setportstate(gate, 6, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 7, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 8, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 9, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 10, Gate.getportstate(gate, 5)) " @ " else " @ - " gate.ports[6]:setstate(false) " @ - " gate.ports[7]:setstate(false) " @ - " gate.ports[8]:setstate(false) " @ - " gate.ports[9]:setstate(false) " @ - " gate.ports[10]:setstate(false) " @ + " Gate.setportstate(gate, 6, false) " @ + " Gate.setportstate(gate, 7, false) " @ + " Gate.setportstate(gate, 8, false) " @ + " Gate.setportstate(gate, 9, false) " @ + " Gate.setportstate(gate, 10, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler Active Low 6 Bit.cs b/bricks/gen/newcode/Enabler Active Low 6 Bit.cs index ef22823..f166bd4 100644 --- a/bricks/gen/newcode/Enabler Active Low 6 Bit.cs +++ b/bricks/gen/newcode/Enabler Active Low 6 Bit.cs @@ -23,20 +23,20 @@ datablock fxDtsBrickData(LogicGate_EnablerAl6_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[13].state then " @ - " gate.ports[7]:setstate(gate.ports[1].state) " @ - " gate.ports[8]:setstate(gate.ports[2].state) " @ - " gate.ports[9]:setstate(gate.ports[3].state) " @ - " gate.ports[10]:setstate(gate.ports[4].state) " @ - " gate.ports[11]:setstate(gate.ports[5].state) " @ - " gate.ports[12]:setstate(gate.ports[6].state) " @ + " if not Gate.getportstate(gate, 13) then " @ + " Gate.setportstate(gate, 7, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 8, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 9, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 10, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 11, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 6)) " @ " else " @ - " gate.ports[7]:setstate(false) " @ - " gate.ports[8]:setstate(false) " @ - " gate.ports[9]:setstate(false) " @ - " gate.ports[10]:setstate(false) " @ - " gate.ports[11]:setstate(false) " @ - " gate.ports[12]:setstate(false) " @ + " Gate.setportstate(gate, 7, false) " @ + " Gate.setportstate(gate, 8, false) " @ + " Gate.setportstate(gate, 9, false) " @ + " Gate.setportstate(gate, 10, false) " @ + " Gate.setportstate(gate, 11, false) " @ + " Gate.setportstate(gate, 12, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler Active Low 64 Bit.cs b/bricks/gen/newcode/Enabler Active Low 64 Bit.cs index a697c2a..92572d2 100644 --- a/bricks/gen/newcode/Enabler Active Low 64 Bit.cs +++ b/bricks/gen/newcode/Enabler Active Low 64 Bit.cs @@ -23,136 +23,136 @@ datablock fxDtsBrickData(LogicGate_EnablerAl64_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[129].state then " @ - " gate.ports[65]:setstate(gate.ports[1].state) " @ - " gate.ports[66]:setstate(gate.ports[2].state) " @ - " gate.ports[67]:setstate(gate.ports[3].state) " @ - " gate.ports[68]:setstate(gate.ports[4].state) " @ - " gate.ports[69]:setstate(gate.ports[5].state) " @ - " gate.ports[70]:setstate(gate.ports[6].state) " @ - " gate.ports[71]:setstate(gate.ports[7].state) " @ - " gate.ports[72]:setstate(gate.ports[8].state) " @ - " gate.ports[73]:setstate(gate.ports[9].state) " @ - " gate.ports[74]:setstate(gate.ports[10].state) " @ - " gate.ports[75]:setstate(gate.ports[11].state) " @ - " gate.ports[76]:setstate(gate.ports[12].state) " @ - " gate.ports[77]:setstate(gate.ports[13].state) " @ - " gate.ports[78]:setstate(gate.ports[14].state) " @ - " gate.ports[79]:setstate(gate.ports[15].state) " @ - " gate.ports[80]:setstate(gate.ports[16].state) " @ - " gate.ports[81]:setstate(gate.ports[17].state) " @ - " gate.ports[82]:setstate(gate.ports[18].state) " @ - " gate.ports[83]:setstate(gate.ports[19].state) " @ - " gate.ports[84]:setstate(gate.ports[20].state) " @ - " gate.ports[85]:setstate(gate.ports[21].state) " @ - " gate.ports[86]:setstate(gate.ports[22].state) " @ - " gate.ports[87]:setstate(gate.ports[23].state) " @ - " gate.ports[88]:setstate(gate.ports[24].state) " @ - " gate.ports[89]:setstate(gate.ports[25].state) " @ - " gate.ports[90]:setstate(gate.ports[26].state) " @ - " gate.ports[91]:setstate(gate.ports[27].state) " @ - " gate.ports[92]:setstate(gate.ports[28].state) " @ - " gate.ports[93]:setstate(gate.ports[29].state) " @ - " gate.ports[94]:setstate(gate.ports[30].state) " @ - " gate.ports[95]:setstate(gate.ports[31].state) " @ - " gate.ports[96]:setstate(gate.ports[32].state) " @ - " gate.ports[97]:setstate(gate.ports[33].state) " @ - " gate.ports[98]:setstate(gate.ports[34].state) " @ - " gate.ports[99]:setstate(gate.ports[35].state) " @ - " gate.ports[100]:setstate(gate.ports[36].state) " @ - " gate.ports[101]:setstate(gate.ports[37].state) " @ - " gate.ports[102]:setstate(gate.ports[38].state) " @ - " gate.ports[103]:setstate(gate.ports[39].state) " @ - " gate.ports[104]:setstate(gate.ports[40].state) " @ - " gate.ports[105]:setstate(gate.ports[41].state) " @ - " gate.ports[106]:setstate(gate.ports[42].state) " @ - " gate.ports[107]:setstate(gate.ports[43].state) " @ - " gate.ports[108]:setstate(gate.ports[44].state) " @ - " gate.ports[109]:setstate(gate.ports[45].state) " @ - " gate.ports[110]:setstate(gate.ports[46].state) " @ - " gate.ports[111]:setstate(gate.ports[47].state) " @ - " gate.ports[112]:setstate(gate.ports[48].state) " @ - " gate.ports[113]:setstate(gate.ports[49].state) " @ - " gate.ports[114]:setstate(gate.ports[50].state) " @ - " gate.ports[115]:setstate(gate.ports[51].state) " @ - " gate.ports[116]:setstate(gate.ports[52].state) " @ - " gate.ports[117]:setstate(gate.ports[53].state) " @ - " gate.ports[118]:setstate(gate.ports[54].state) " @ - " gate.ports[119]:setstate(gate.ports[55].state) " @ - " gate.ports[120]:setstate(gate.ports[56].state) " @ - " gate.ports[121]:setstate(gate.ports[57].state) " @ - " gate.ports[122]:setstate(gate.ports[58].state) " @ - " gate.ports[123]:setstate(gate.ports[59].state) " @ - " gate.ports[124]:setstate(gate.ports[60].state) " @ - " gate.ports[125]:setstate(gate.ports[61].state) " @ - " gate.ports[126]:setstate(gate.ports[62].state) " @ - " gate.ports[127]:setstate(gate.ports[63].state) " @ - " gate.ports[128]:setstate(gate.ports[64].state) " @ + " if not Gate.getportstate(gate, 129) then " @ + " Gate.setportstate(gate, 65, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 66, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 67, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 68, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 69, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 70, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 71, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 72, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 73, Gate.getportstate(gate, 9)) " @ + " Gate.setportstate(gate, 74, Gate.getportstate(gate, 10)) " @ + " Gate.setportstate(gate, 75, Gate.getportstate(gate, 11)) " @ + " Gate.setportstate(gate, 76, Gate.getportstate(gate, 12)) " @ + " Gate.setportstate(gate, 77, Gate.getportstate(gate, 13)) " @ + " Gate.setportstate(gate, 78, Gate.getportstate(gate, 14)) " @ + " Gate.setportstate(gate, 79, Gate.getportstate(gate, 15)) " @ + " Gate.setportstate(gate, 80, Gate.getportstate(gate, 16)) " @ + " Gate.setportstate(gate, 81, Gate.getportstate(gate, 17)) " @ + " Gate.setportstate(gate, 82, Gate.getportstate(gate, 18)) " @ + " Gate.setportstate(gate, 83, Gate.getportstate(gate, 19)) " @ + " Gate.setportstate(gate, 84, Gate.getportstate(gate, 20)) " @ + " Gate.setportstate(gate, 85, Gate.getportstate(gate, 21)) " @ + " Gate.setportstate(gate, 86, Gate.getportstate(gate, 22)) " @ + " Gate.setportstate(gate, 87, Gate.getportstate(gate, 23)) " @ + " Gate.setportstate(gate, 88, Gate.getportstate(gate, 24)) " @ + " Gate.setportstate(gate, 89, Gate.getportstate(gate, 25)) " @ + " Gate.setportstate(gate, 90, Gate.getportstate(gate, 26)) " @ + " Gate.setportstate(gate, 91, Gate.getportstate(gate, 27)) " @ + " Gate.setportstate(gate, 92, Gate.getportstate(gate, 28)) " @ + " Gate.setportstate(gate, 93, Gate.getportstate(gate, 29)) " @ + " Gate.setportstate(gate, 94, Gate.getportstate(gate, 30)) " @ + " Gate.setportstate(gate, 95, Gate.getportstate(gate, 31)) " @ + " Gate.setportstate(gate, 96, Gate.getportstate(gate, 32)) " @ + " Gate.setportstate(gate, 97, Gate.getportstate(gate, 33)) " @ + " Gate.setportstate(gate, 98, Gate.getportstate(gate, 34)) " @ + " Gate.setportstate(gate, 99, Gate.getportstate(gate, 35)) " @ + " Gate.setportstate(gate, 100, Gate.getportstate(gate, 36)) " @ + " Gate.setportstate(gate, 101, Gate.getportstate(gate, 37)) " @ + " Gate.setportstate(gate, 102, Gate.getportstate(gate, 38)) " @ + " Gate.setportstate(gate, 103, Gate.getportstate(gate, 39)) " @ + " Gate.setportstate(gate, 104, Gate.getportstate(gate, 40)) " @ + " Gate.setportstate(gate, 105, Gate.getportstate(gate, 41)) " @ + " Gate.setportstate(gate, 106, Gate.getportstate(gate, 42)) " @ + " Gate.setportstate(gate, 107, Gate.getportstate(gate, 43)) " @ + " Gate.setportstate(gate, 108, Gate.getportstate(gate, 44)) " @ + " Gate.setportstate(gate, 109, Gate.getportstate(gate, 45)) " @ + " Gate.setportstate(gate, 110, Gate.getportstate(gate, 46)) " @ + " Gate.setportstate(gate, 111, Gate.getportstate(gate, 47)) " @ + " Gate.setportstate(gate, 112, Gate.getportstate(gate, 48)) " @ + " Gate.setportstate(gate, 113, Gate.getportstate(gate, 49)) " @ + " Gate.setportstate(gate, 114, Gate.getportstate(gate, 50)) " @ + " Gate.setportstate(gate, 115, Gate.getportstate(gate, 51)) " @ + " Gate.setportstate(gate, 116, Gate.getportstate(gate, 52)) " @ + " Gate.setportstate(gate, 117, Gate.getportstate(gate, 53)) " @ + " Gate.setportstate(gate, 118, Gate.getportstate(gate, 54)) " @ + " Gate.setportstate(gate, 119, Gate.getportstate(gate, 55)) " @ + " Gate.setportstate(gate, 120, Gate.getportstate(gate, 56)) " @ + " Gate.setportstate(gate, 121, Gate.getportstate(gate, 57)) " @ + " Gate.setportstate(gate, 122, Gate.getportstate(gate, 58)) " @ + " Gate.setportstate(gate, 123, Gate.getportstate(gate, 59)) " @ + " Gate.setportstate(gate, 124, Gate.getportstate(gate, 60)) " @ + " Gate.setportstate(gate, 125, Gate.getportstate(gate, 61)) " @ + " Gate.setportstate(gate, 126, Gate.getportstate(gate, 62)) " @ + " Gate.setportstate(gate, 127, Gate.getportstate(gate, 63)) " @ + " Gate.setportstate(gate, 128, Gate.getportstate(gate, 64)) " @ " else " @ - " gate.ports[65]:setstate(false) " @ - " gate.ports[66]:setstate(false) " @ - " gate.ports[67]:setstate(false) " @ - " gate.ports[68]:setstate(false) " @ - " gate.ports[69]:setstate(false) " @ - " gate.ports[70]:setstate(false) " @ - " gate.ports[71]:setstate(false) " @ - " gate.ports[72]:setstate(false) " @ - " gate.ports[73]:setstate(false) " @ - " gate.ports[74]:setstate(false) " @ - " gate.ports[75]:setstate(false) " @ - " gate.ports[76]:setstate(false) " @ - " gate.ports[77]:setstate(false) " @ - " gate.ports[78]:setstate(false) " @ - " gate.ports[79]:setstate(false) " @ - " gate.ports[80]:setstate(false) " @ - " gate.ports[81]:setstate(false) " @ - " gate.ports[82]:setstate(false) " @ - " gate.ports[83]:setstate(false) " @ - " gate.ports[84]:setstate(false) " @ - " gate.ports[85]:setstate(false) " @ - " gate.ports[86]:setstate(false) " @ - " gate.ports[87]:setstate(false) " @ - " gate.ports[88]:setstate(false) " @ - " gate.ports[89]:setstate(false) " @ - " gate.ports[90]:setstate(false) " @ - " gate.ports[91]:setstate(false) " @ - " gate.ports[92]:setstate(false) " @ - " gate.ports[93]:setstate(false) " @ - " gate.ports[94]:setstate(false) " @ - " gate.ports[95]:setstate(false) " @ - " gate.ports[96]:setstate(false) " @ - " gate.ports[97]:setstate(false) " @ - " gate.ports[98]:setstate(false) " @ - " gate.ports[99]:setstate(false) " @ - " gate.ports[100]:setstate(false) " @ - " gate.ports[101]:setstate(false) " @ - " gate.ports[102]:setstate(false) " @ - " gate.ports[103]:setstate(false) " @ - " gate.ports[104]:setstate(false) " @ - " gate.ports[105]:setstate(false) " @ - " gate.ports[106]:setstate(false) " @ - " gate.ports[107]:setstate(false) " @ - " gate.ports[108]:setstate(false) " @ - " gate.ports[109]:setstate(false) " @ - " gate.ports[110]:setstate(false) " @ - " gate.ports[111]:setstate(false) " @ - " gate.ports[112]:setstate(false) " @ - " gate.ports[113]:setstate(false) " @ - " gate.ports[114]:setstate(false) " @ - " gate.ports[115]:setstate(false) " @ - " gate.ports[116]:setstate(false) " @ - " gate.ports[117]:setstate(false) " @ - " gate.ports[118]:setstate(false) " @ - " gate.ports[119]:setstate(false) " @ - " gate.ports[120]:setstate(false) " @ - " gate.ports[121]:setstate(false) " @ - " gate.ports[122]:setstate(false) " @ - " gate.ports[123]:setstate(false) " @ - " gate.ports[124]:setstate(false) " @ - " gate.ports[125]:setstate(false) " @ - " gate.ports[126]:setstate(false) " @ - " gate.ports[127]:setstate(false) " @ - " gate.ports[128]:setstate(false) " @ + " Gate.setportstate(gate, 65, false) " @ + " Gate.setportstate(gate, 66, false) " @ + " Gate.setportstate(gate, 67, false) " @ + " Gate.setportstate(gate, 68, false) " @ + " Gate.setportstate(gate, 69, false) " @ + " Gate.setportstate(gate, 70, false) " @ + " Gate.setportstate(gate, 71, false) " @ + " Gate.setportstate(gate, 72, false) " @ + " Gate.setportstate(gate, 73, false) " @ + " Gate.setportstate(gate, 74, false) " @ + " Gate.setportstate(gate, 75, false) " @ + " Gate.setportstate(gate, 76, false) " @ + " Gate.setportstate(gate, 77, false) " @ + " Gate.setportstate(gate, 78, false) " @ + " Gate.setportstate(gate, 79, false) " @ + " Gate.setportstate(gate, 80, false) " @ + " Gate.setportstate(gate, 81, false) " @ + " Gate.setportstate(gate, 82, false) " @ + " Gate.setportstate(gate, 83, false) " @ + " Gate.setportstate(gate, 84, false) " @ + " Gate.setportstate(gate, 85, false) " @ + " Gate.setportstate(gate, 86, false) " @ + " Gate.setportstate(gate, 87, false) " @ + " Gate.setportstate(gate, 88, false) " @ + " Gate.setportstate(gate, 89, false) " @ + " Gate.setportstate(gate, 90, false) " @ + " Gate.setportstate(gate, 91, false) " @ + " Gate.setportstate(gate, 92, false) " @ + " Gate.setportstate(gate, 93, false) " @ + " Gate.setportstate(gate, 94, false) " @ + " Gate.setportstate(gate, 95, false) " @ + " Gate.setportstate(gate, 96, false) " @ + " Gate.setportstate(gate, 97, false) " @ + " Gate.setportstate(gate, 98, false) " @ + " Gate.setportstate(gate, 99, false) " @ + " Gate.setportstate(gate, 100, false) " @ + " Gate.setportstate(gate, 101, false) " @ + " Gate.setportstate(gate, 102, false) " @ + " Gate.setportstate(gate, 103, false) " @ + " Gate.setportstate(gate, 104, false) " @ + " Gate.setportstate(gate, 105, false) " @ + " Gate.setportstate(gate, 106, false) " @ + " Gate.setportstate(gate, 107, false) " @ + " Gate.setportstate(gate, 108, false) " @ + " Gate.setportstate(gate, 109, false) " @ + " Gate.setportstate(gate, 110, false) " @ + " Gate.setportstate(gate, 111, false) " @ + " Gate.setportstate(gate, 112, false) " @ + " Gate.setportstate(gate, 113, false) " @ + " Gate.setportstate(gate, 114, false) " @ + " Gate.setportstate(gate, 115, false) " @ + " Gate.setportstate(gate, 116, false) " @ + " Gate.setportstate(gate, 117, false) " @ + " Gate.setportstate(gate, 118, false) " @ + " Gate.setportstate(gate, 119, false) " @ + " Gate.setportstate(gate, 120, false) " @ + " Gate.setportstate(gate, 121, false) " @ + " Gate.setportstate(gate, 122, false) " @ + " Gate.setportstate(gate, 123, false) " @ + " Gate.setportstate(gate, 124, false) " @ + " Gate.setportstate(gate, 125, false) " @ + " Gate.setportstate(gate, 126, false) " @ + " Gate.setportstate(gate, 127, false) " @ + " Gate.setportstate(gate, 128, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler Active Low 7 Bit.cs b/bricks/gen/newcode/Enabler Active Low 7 Bit.cs index 5630469..8cd5e0a 100644 --- a/bricks/gen/newcode/Enabler Active Low 7 Bit.cs +++ b/bricks/gen/newcode/Enabler Active Low 7 Bit.cs @@ -23,22 +23,22 @@ datablock fxDtsBrickData(LogicGate_EnablerAl7_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[15].state then " @ - " gate.ports[8]:setstate(gate.ports[1].state) " @ - " gate.ports[9]:setstate(gate.ports[2].state) " @ - " gate.ports[10]:setstate(gate.ports[3].state) " @ - " gate.ports[11]:setstate(gate.ports[4].state) " @ - " gate.ports[12]:setstate(gate.ports[5].state) " @ - " gate.ports[13]:setstate(gate.ports[6].state) " @ - " gate.ports[14]:setstate(gate.ports[7].state) " @ + " if not Gate.getportstate(gate, 15) then " @ + " Gate.setportstate(gate, 8, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 9, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 10, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 11, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 7)) " @ " else " @ - " gate.ports[8]:setstate(false) " @ - " gate.ports[9]:setstate(false) " @ - " gate.ports[10]:setstate(false) " @ - " gate.ports[11]:setstate(false) " @ - " gate.ports[12]:setstate(false) " @ - " gate.ports[13]:setstate(false) " @ - " gate.ports[14]:setstate(false) " @ + " Gate.setportstate(gate, 8, false) " @ + " Gate.setportstate(gate, 9, false) " @ + " Gate.setportstate(gate, 10, false) " @ + " Gate.setportstate(gate, 11, false) " @ + " Gate.setportstate(gate, 12, false) " @ + " Gate.setportstate(gate, 13, false) " @ + " Gate.setportstate(gate, 14, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler Active Low 8 Bit.cs b/bricks/gen/newcode/Enabler Active Low 8 Bit.cs index 6c66957..90198ca 100644 --- a/bricks/gen/newcode/Enabler Active Low 8 Bit.cs +++ b/bricks/gen/newcode/Enabler Active Low 8 Bit.cs @@ -23,24 +23,24 @@ datablock fxDtsBrickData(LogicGate_EnablerAl8_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[17].state then " @ - " gate.ports[9]:setstate(gate.ports[1].state) " @ - " gate.ports[10]:setstate(gate.ports[2].state) " @ - " gate.ports[11]:setstate(gate.ports[3].state) " @ - " gate.ports[12]:setstate(gate.ports[4].state) " @ - " gate.ports[13]:setstate(gate.ports[5].state) " @ - " gate.ports[14]:setstate(gate.ports[6].state) " @ - " gate.ports[15]:setstate(gate.ports[7].state) " @ - " gate.ports[16]:setstate(gate.ports[8].state) " @ + " if not Gate.getportstate(gate, 17) then " @ + " Gate.setportstate(gate, 9, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 10, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 11, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 8)) " @ " else " @ - " gate.ports[9]:setstate(false) " @ - " gate.ports[10]:setstate(false) " @ - " gate.ports[11]:setstate(false) " @ - " gate.ports[12]:setstate(false) " @ - " gate.ports[13]:setstate(false) " @ - " gate.ports[14]:setstate(false) " @ - " gate.ports[15]:setstate(false) " @ - " gate.ports[16]:setstate(false) " @ + " Gate.setportstate(gate, 9, false) " @ + " Gate.setportstate(gate, 10, false) " @ + " Gate.setportstate(gate, 11, false) " @ + " Gate.setportstate(gate, 12, false) " @ + " Gate.setportstate(gate, 13, false) " @ + " Gate.setportstate(gate, 14, false) " @ + " Gate.setportstate(gate, 15, false) " @ + " Gate.setportstate(gate, 16, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/Enabler Active Low 9 Bit.cs b/bricks/gen/newcode/Enabler Active Low 9 Bit.cs index fec257b..9bed531 100644 --- a/bricks/gen/newcode/Enabler Active Low 9 Bit.cs +++ b/bricks/gen/newcode/Enabler Active Low 9 Bit.cs @@ -23,26 +23,26 @@ datablock fxDtsBrickData(LogicGate_EnablerAl9_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " if not gate.ports[19].state then " @ - " gate.ports[10]:setstate(gate.ports[1].state) " @ - " gate.ports[11]:setstate(gate.ports[2].state) " @ - " gate.ports[12]:setstate(gate.ports[3].state) " @ - " gate.ports[13]:setstate(gate.ports[4].state) " @ - " gate.ports[14]:setstate(gate.ports[5].state) " @ - " gate.ports[15]:setstate(gate.ports[6].state) " @ - " gate.ports[16]:setstate(gate.ports[7].state) " @ - " gate.ports[17]:setstate(gate.ports[8].state) " @ - " gate.ports[18]:setstate(gate.ports[9].state) " @ + " if not Gate.getportstate(gate, 19) then " @ + " Gate.setportstate(gate, 10, Gate.getportstate(gate, 1)) " @ + " Gate.setportstate(gate, 11, Gate.getportstate(gate, 2)) " @ + " Gate.setportstate(gate, 12, Gate.getportstate(gate, 3)) " @ + " Gate.setportstate(gate, 13, Gate.getportstate(gate, 4)) " @ + " Gate.setportstate(gate, 14, Gate.getportstate(gate, 5)) " @ + " Gate.setportstate(gate, 15, Gate.getportstate(gate, 6)) " @ + " Gate.setportstate(gate, 16, Gate.getportstate(gate, 7)) " @ + " Gate.setportstate(gate, 17, Gate.getportstate(gate, 8)) " @ + " Gate.setportstate(gate, 18, Gate.getportstate(gate, 9)) " @ " else " @ - " gate.ports[10]:setstate(false) " @ - " gate.ports[11]:setstate(false) " @ - " gate.ports[12]:setstate(false) " @ - " gate.ports[13]:setstate(false) " @ - " gate.ports[14]:setstate(false) " @ - " gate.ports[15]:setstate(false) " @ - " gate.ports[16]:setstate(false) " @ - " gate.ports[17]:setstate(false) " @ - " gate.ports[18]:setstate(false) " @ + " Gate.setportstate(gate, 10, false) " @ + " Gate.setportstate(gate, 11, false) " @ + " Gate.setportstate(gate, 12, false) " @ + " Gate.setportstate(gate, 13, false) " @ + " Gate.setportstate(gate, 14, false) " @ + " Gate.setportstate(gate, 15, false) " @ + " Gate.setportstate(gate, 16, false) " @ + " Gate.setportstate(gate, 17, false) " @ + " Gate.setportstate(gate, 18, false) " @ " end " @ "end" ; diff --git a/bricks/gen/newcode/NAND 2 Bit.cs b/bricks/gen/newcode/NAND 2 Bit.cs index 8c0cb40..a57d9e7 100644 --- a/bricks/gen/newcode/NAND 2 Bit.cs +++ b/bricks/gen/newcode/NAND 2 Bit.cs @@ -23,9 +23,9 @@ datablock fxDtsBrickData(LogicGate_GateNand2_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " gate.ports[3]:setstate(not ( " @ - " gate.ports[1].state and " @ - " gate.ports[2].state " @ + " Gate.setportstate(gate, 3, not ( " @ + " Gate.getportstate(gate, 1) and " @ + " Gate.getportstate(gate, 2) " @ " )) " @ "end" ; diff --git a/bricks/gen/newcode/NAND 3 Bit.cs b/bricks/gen/newcode/NAND 3 Bit.cs index 38d7049..997ab72 100644 --- a/bricks/gen/newcode/NAND 3 Bit.cs +++ b/bricks/gen/newcode/NAND 3 Bit.cs @@ -23,10 +23,10 @@ datablock fxDtsBrickData(LogicGate_GateNand3_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " gate.ports[4]:setstate(not ( " @ - " gate.ports[1].state and " @ - " gate.ports[2].state and " @ - " gate.ports[3].state " @ + " Gate.setportstate(gate, 4, not ( " @ + " Gate.getportstate(gate, 1) and " @ + " Gate.getportstate(gate, 2) and " @ + " Gate.getportstate(gate, 3) " @ " )) " @ "end" ; diff --git a/bricks/gen/newcode/NAND 4 Bit.cs b/bricks/gen/newcode/NAND 4 Bit.cs index ed2665d..04473f2 100644 --- a/bricks/gen/newcode/NAND 4 Bit.cs +++ b/bricks/gen/newcode/NAND 4 Bit.cs @@ -23,11 +23,11 @@ datablock fxDtsBrickData(LogicGate_GateNand4_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " gate.ports[5]:setstate(not ( " @ - " gate.ports[1].state and " @ - " gate.ports[2].state and " @ - " gate.ports[3].state and " @ - " gate.ports[4].state " @ + " Gate.setportstate(gate, 5, not ( " @ + " Gate.getportstate(gate, 1) and " @ + " Gate.getportstate(gate, 2) and " @ + " Gate.getportstate(gate, 3) and " @ + " Gate.getportstate(gate, 4) " @ " )) " @ "end" ; diff --git a/bricks/gen/newcode/NAND 5 Bit.cs b/bricks/gen/newcode/NAND 5 Bit.cs index 6747449..2a8fdae 100644 --- a/bricks/gen/newcode/NAND 5 Bit.cs +++ b/bricks/gen/newcode/NAND 5 Bit.cs @@ -23,12 +23,12 @@ datablock fxDtsBrickData(LogicGate_GateNand5_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " gate.ports[6]:setstate(not ( " @ - " gate.ports[1].state and " @ - " gate.ports[2].state and " @ - " gate.ports[3].state and " @ - " gate.ports[4].state and " @ - " gate.ports[5].state " @ + " Gate.setportstate(gate, 6, not ( " @ + " Gate.getportstate(gate, 1) and " @ + " Gate.getportstate(gate, 2) and " @ + " Gate.getportstate(gate, 3) and " @ + " Gate.getportstate(gate, 4) and " @ + " Gate.getportstate(gate, 5) " @ " )) " @ "end" ; diff --git a/bricks/gen/newcode/NAND 6 Bit.cs b/bricks/gen/newcode/NAND 6 Bit.cs index b3fcfc5..e07573c 100644 --- a/bricks/gen/newcode/NAND 6 Bit.cs +++ b/bricks/gen/newcode/NAND 6 Bit.cs @@ -23,13 +23,13 @@ datablock fxDtsBrickData(LogicGate_GateNand6_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " gate.ports[7]:setstate(not ( " @ - " gate.ports[1].state and " @ - " gate.ports[2].state and " @ - " gate.ports[3].state and " @ - " gate.ports[4].state and " @ - " gate.ports[5].state and " @ - " gate.ports[6].state " @ + " Gate.setportstate(gate, 7, not ( " @ + " Gate.getportstate(gate, 1) and " @ + " Gate.getportstate(gate, 2) and " @ + " Gate.getportstate(gate, 3) and " @ + " Gate.getportstate(gate, 4) and " @ + " Gate.getportstate(gate, 5) and " @ + " Gate.getportstate(gate, 6) " @ " )) " @ "end" ; diff --git a/bricks/gen/newcode/NAND 7 Bit.cs b/bricks/gen/newcode/NAND 7 Bit.cs index 6f3b515..f9bdd9b 100644 --- a/bricks/gen/newcode/NAND 7 Bit.cs +++ b/bricks/gen/newcode/NAND 7 Bit.cs @@ -23,14 +23,14 @@ datablock fxDtsBrickData(LogicGate_GateNand7_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " gate.ports[8]:setstate(not ( " @ - " gate.ports[1].state and " @ - " gate.ports[2].state and " @ - " gate.ports[3].state and " @ - " gate.ports[4].state and " @ - " gate.ports[5].state and " @ - " gate.ports[6].state and " @ - " gate.ports[7].state " @ + " Gate.setportstate(gate, 8, not ( " @ + " Gate.getportstate(gate, 1) and " @ + " Gate.getportstate(gate, 2) and " @ + " Gate.getportstate(gate, 3) and " @ + " Gate.getportstate(gate, 4) and " @ + " Gate.getportstate(gate, 5) and " @ + " Gate.getportstate(gate, 6) and " @ + " Gate.getportstate(gate, 7) " @ " )) " @ "end" ; diff --git a/bricks/gen/newcode/NAND 8 Bit.cs b/bricks/gen/newcode/NAND 8 Bit.cs index cdcdcd8..812a43f 100644 --- a/bricks/gen/newcode/NAND 8 Bit.cs +++ b/bricks/gen/newcode/NAND 8 Bit.cs @@ -23,15 +23,15 @@ datablock fxDtsBrickData(LogicGate_GateNand8_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " gate.ports[9]:setstate(not ( " @ - " gate.ports[1].state and " @ - " gate.ports[2].state and " @ - " gate.ports[3].state and " @ - " gate.ports[4].state and " @ - " gate.ports[5].state and " @ - " gate.ports[6].state and " @ - " gate.ports[7].state and " @ - " gate.ports[8].state " @ + " Gate.setportstate(gate, 9, not ( " @ + " Gate.getportstate(gate, 1) and " @ + " Gate.getportstate(gate, 2) and " @ + " Gate.getportstate(gate, 3) and " @ + " Gate.getportstate(gate, 4) and " @ + " Gate.getportstate(gate, 5) and " @ + " Gate.getportstate(gate, 6) and " @ + " Gate.getportstate(gate, 7) and " @ + " Gate.getportstate(gate, 8) " @ " )) " @ "end" ; diff --git a/bricks/gen/newcode/NOR 2 Bit.cs b/bricks/gen/newcode/NOR 2 Bit.cs index cd8c856..d4d1d4d 100644 --- a/bricks/gen/newcode/NOR 2 Bit.cs +++ b/bricks/gen/newcode/NOR 2 Bit.cs @@ -23,9 +23,9 @@ datablock fxDtsBrickData(LogicGate_GateNor2_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " gate.ports[3]:setstate(not ( " @ - " gate.ports[1].state or " @ - " gate.ports[2].state " @ + " Gate.setportstate(gate, 3, not ( " @ + " Gate.getportstate(gate, 1) or " @ + " Gate.getportstate(gate, 2) " @ " )) " @ "end" ; diff --git a/bricks/gen/newcode/NOR 3 Bit.cs b/bricks/gen/newcode/NOR 3 Bit.cs index 9de9fda..e679f65 100644 --- a/bricks/gen/newcode/NOR 3 Bit.cs +++ b/bricks/gen/newcode/NOR 3 Bit.cs @@ -23,10 +23,10 @@ datablock fxDtsBrickData(LogicGate_GateNor3_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " gate.ports[4]:setstate(not ( " @ - " gate.ports[1].state or " @ - " gate.ports[2].state or " @ - " gate.ports[3].state " @ + " Gate.setportstate(gate, 4, not ( " @ + " Gate.getportstate(gate, 1) or " @ + " Gate.getportstate(gate, 2) or " @ + " Gate.getportstate(gate, 3) " @ " )) " @ "end" ; diff --git a/bricks/gen/newcode/NOR 4 Bit.cs b/bricks/gen/newcode/NOR 4 Bit.cs index 4db0e3e..4e0484c 100644 --- a/bricks/gen/newcode/NOR 4 Bit.cs +++ b/bricks/gen/newcode/NOR 4 Bit.cs @@ -23,11 +23,11 @@ datablock fxDtsBrickData(LogicGate_GateNor4_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " gate.ports[5]:setstate(not ( " @ - " gate.ports[1].state or " @ - " gate.ports[2].state or " @ - " gate.ports[3].state or " @ - " gate.ports[4].state " @ + " Gate.setportstate(gate, 5, not ( " @ + " Gate.getportstate(gate, 1) or " @ + " Gate.getportstate(gate, 2) or " @ + " Gate.getportstate(gate, 3) or " @ + " Gate.getportstate(gate, 4) " @ " )) " @ "end" ; diff --git a/bricks/gen/newcode/NOR 5 Bit.cs b/bricks/gen/newcode/NOR 5 Bit.cs index aaf35b9..a12e510 100644 --- a/bricks/gen/newcode/NOR 5 Bit.cs +++ b/bricks/gen/newcode/NOR 5 Bit.cs @@ -23,12 +23,12 @@ datablock fxDtsBrickData(LogicGate_GateNor5_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " gate.ports[6]:setstate(not ( " @ - " gate.ports[1].state or " @ - " gate.ports[2].state or " @ - " gate.ports[3].state or " @ - " gate.ports[4].state or " @ - " gate.ports[5].state " @ + " Gate.setportstate(gate, 6, not ( " @ + " Gate.getportstate(gate, 1) or " @ + " Gate.getportstate(gate, 2) or " @ + " Gate.getportstate(gate, 3) or " @ + " Gate.getportstate(gate, 4) or " @ + " Gate.getportstate(gate, 5) " @ " )) " @ "end" ; diff --git a/bricks/gen/newcode/NOR 6 Bit.cs b/bricks/gen/newcode/NOR 6 Bit.cs index a7b8345..1f6ecbf 100644 --- a/bricks/gen/newcode/NOR 6 Bit.cs +++ b/bricks/gen/newcode/NOR 6 Bit.cs @@ -23,13 +23,13 @@ datablock fxDtsBrickData(LogicGate_GateNor6_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " gate.ports[7]:setstate(not ( " @ - " gate.ports[1].state or " @ - " gate.ports[2].state or " @ - " gate.ports[3].state or " @ - " gate.ports[4].state or " @ - " gate.ports[5].state or " @ - " gate.ports[6].state " @ + " Gate.setportstate(gate, 7, not ( " @ + " Gate.getportstate(gate, 1) or " @ + " Gate.getportstate(gate, 2) or " @ + " Gate.getportstate(gate, 3) or " @ + " Gate.getportstate(gate, 4) or " @ + " Gate.getportstate(gate, 5) or " @ + " Gate.getportstate(gate, 6) " @ " )) " @ "end" ; diff --git a/bricks/gen/newcode/NOR 7 Bit.cs b/bricks/gen/newcode/NOR 7 Bit.cs index 39f68db..4ed60bb 100644 --- a/bricks/gen/newcode/NOR 7 Bit.cs +++ b/bricks/gen/newcode/NOR 7 Bit.cs @@ -23,14 +23,14 @@ datablock fxDtsBrickData(LogicGate_GateNor7_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " gate.ports[8]:setstate(not ( " @ - " gate.ports[1].state or " @ - " gate.ports[2].state or " @ - " gate.ports[3].state or " @ - " gate.ports[4].state or " @ - " gate.ports[5].state or " @ - " gate.ports[6].state or " @ - " gate.ports[7].state " @ + " Gate.setportstate(gate, 8, not ( " @ + " Gate.getportstate(gate, 1) or " @ + " Gate.getportstate(gate, 2) or " @ + " Gate.getportstate(gate, 3) or " @ + " Gate.getportstate(gate, 4) or " @ + " Gate.getportstate(gate, 5) or " @ + " Gate.getportstate(gate, 6) or " @ + " Gate.getportstate(gate, 7) " @ " )) " @ "end" ; diff --git a/bricks/gen/newcode/NOR 8 Bit.cs b/bricks/gen/newcode/NOR 8 Bit.cs index e30dde5..453e950 100644 --- a/bricks/gen/newcode/NOR 8 Bit.cs +++ b/bricks/gen/newcode/NOR 8 Bit.cs @@ -23,15 +23,15 @@ datablock fxDtsBrickData(LogicGate_GateNor8_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " gate.ports[9]:setstate(not ( " @ - " gate.ports[1].state or " @ - " gate.ports[2].state or " @ - " gate.ports[3].state or " @ - " gate.ports[4].state or " @ - " gate.ports[5].state or " @ - " gate.ports[6].state or " @ - " gate.ports[7].state or " @ - " gate.ports[8].state " @ + " Gate.setportstate(gate, 9, not ( " @ + " Gate.getportstate(gate, 1) or " @ + " Gate.getportstate(gate, 2) or " @ + " Gate.getportstate(gate, 3) or " @ + " Gate.getportstate(gate, 4) or " @ + " Gate.getportstate(gate, 5) or " @ + " Gate.getportstate(gate, 6) or " @ + " Gate.getportstate(gate, 7) or " @ + " Gate.getportstate(gate, 8) " @ " )) " @ "end" ; diff --git a/bricks/gen/newcode/OR 2 Bit.cs b/bricks/gen/newcode/OR 2 Bit.cs index 0c470f6..13547a1 100644 --- a/bricks/gen/newcode/OR 2 Bit.cs +++ b/bricks/gen/newcode/OR 2 Bit.cs @@ -23,9 +23,9 @@ datablock fxDtsBrickData(LogicGate_GateOr2_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " gate.ports[3]:setstate(( " @ - " gate.ports[1].state or " @ - " gate.ports[2].state " @ + " Gate.setportstate(gate, 3, ( " @ + " Gate.getportstate(gate, 1) or " @ + " Gate.getportstate(gate, 2) " @ " )) " @ "end" ; diff --git a/bricks/gen/newcode/OR 3 Bit.cs b/bricks/gen/newcode/OR 3 Bit.cs index 478d282..01984a3 100644 --- a/bricks/gen/newcode/OR 3 Bit.cs +++ b/bricks/gen/newcode/OR 3 Bit.cs @@ -23,10 +23,10 @@ datablock fxDtsBrickData(LogicGate_GateOr3_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " gate.ports[4]:setstate(( " @ - " gate.ports[1].state or " @ - " gate.ports[2].state or " @ - " gate.ports[3].state " @ + " Gate.setportstate(gate, 4, ( " @ + " Gate.getportstate(gate, 1) or " @ + " Gate.getportstate(gate, 2) or " @ + " Gate.getportstate(gate, 3) " @ " )) " @ "end" ; diff --git a/bricks/gen/newcode/OR 4 Bit.cs b/bricks/gen/newcode/OR 4 Bit.cs index 9681cab..1a39068 100644 --- a/bricks/gen/newcode/OR 4 Bit.cs +++ b/bricks/gen/newcode/OR 4 Bit.cs @@ -23,11 +23,11 @@ datablock fxDtsBrickData(LogicGate_GateOr4_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " gate.ports[5]:setstate(( " @ - " gate.ports[1].state or " @ - " gate.ports[2].state or " @ - " gate.ports[3].state or " @ - " gate.ports[4].state " @ + " Gate.setportstate(gate, 5, ( " @ + " Gate.getportstate(gate, 1) or " @ + " Gate.getportstate(gate, 2) or " @ + " Gate.getportstate(gate, 3) or " @ + " Gate.getportstate(gate, 4) " @ " )) " @ "end" ; diff --git a/bricks/gen/newcode/OR 5 Bit.cs b/bricks/gen/newcode/OR 5 Bit.cs index 41911d7..27c531b 100644 --- a/bricks/gen/newcode/OR 5 Bit.cs +++ b/bricks/gen/newcode/OR 5 Bit.cs @@ -23,12 +23,12 @@ datablock fxDtsBrickData(LogicGate_GateOr5_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " gate.ports[6]:setstate(( " @ - " gate.ports[1].state or " @ - " gate.ports[2].state or " @ - " gate.ports[3].state or " @ - " gate.ports[4].state or " @ - " gate.ports[5].state " @ + " Gate.setportstate(gate, 6, ( " @ + " Gate.getportstate(gate, 1) or " @ + " Gate.getportstate(gate, 2) or " @ + " Gate.getportstate(gate, 3) or " @ + " Gate.getportstate(gate, 4) or " @ + " Gate.getportstate(gate, 5) " @ " )) " @ "end" ; diff --git a/bricks/gen/newcode/OR 6 Bit.cs b/bricks/gen/newcode/OR 6 Bit.cs index 4f95a24..12d4999 100644 --- a/bricks/gen/newcode/OR 6 Bit.cs +++ b/bricks/gen/newcode/OR 6 Bit.cs @@ -23,13 +23,13 @@ datablock fxDtsBrickData(LogicGate_GateOr6_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " gate.ports[7]:setstate(( " @ - " gate.ports[1].state or " @ - " gate.ports[2].state or " @ - " gate.ports[3].state or " @ - " gate.ports[4].state or " @ - " gate.ports[5].state or " @ - " gate.ports[6].state " @ + " Gate.setportstate(gate, 7, ( " @ + " Gate.getportstate(gate, 1) or " @ + " Gate.getportstate(gate, 2) or " @ + " Gate.getportstate(gate, 3) or " @ + " Gate.getportstate(gate, 4) or " @ + " Gate.getportstate(gate, 5) or " @ + " Gate.getportstate(gate, 6) " @ " )) " @ "end" ; diff --git a/bricks/gen/newcode/OR 7 Bit.cs b/bricks/gen/newcode/OR 7 Bit.cs index f0fbd54..a7bb17c4 100644 --- a/bricks/gen/newcode/OR 7 Bit.cs +++ b/bricks/gen/newcode/OR 7 Bit.cs @@ -23,14 +23,14 @@ datablock fxDtsBrickData(LogicGate_GateOr7_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " gate.ports[8]:setstate(( " @ - " gate.ports[1].state or " @ - " gate.ports[2].state or " @ - " gate.ports[3].state or " @ - " gate.ports[4].state or " @ - " gate.ports[5].state or " @ - " gate.ports[6].state or " @ - " gate.ports[7].state " @ + " Gate.setportstate(gate, 8, ( " @ + " Gate.getportstate(gate, 1) or " @ + " Gate.getportstate(gate, 2) or " @ + " Gate.getportstate(gate, 3) or " @ + " Gate.getportstate(gate, 4) or " @ + " Gate.getportstate(gate, 5) or " @ + " Gate.getportstate(gate, 6) or " @ + " Gate.getportstate(gate, 7) " @ " )) " @ "end" ; diff --git a/bricks/gen/newcode/OR 8 Bit.cs b/bricks/gen/newcode/OR 8 Bit.cs index 5f7572c..6c10852 100644 --- a/bricks/gen/newcode/OR 8 Bit.cs +++ b/bricks/gen/newcode/OR 8 Bit.cs @@ -23,15 +23,15 @@ datablock fxDtsBrickData(LogicGate_GateOr8_Data){ logicInput = ""; logicUpdate = "return function(gate) " @ - " gate.ports[9]:setstate(( " @ - " gate.ports[1].state or " @ - " gate.ports[2].state or " @ - " gate.ports[3].state or " @ - " gate.ports[4].state or " @ - " gate.ports[5].state or " @ - " gate.ports[6].state or " @ - " gate.ports[7].state or " @ - " gate.ports[8].state " @ + " Gate.setportstate(gate, 9, ( " @ + " Gate.getportstate(gate, 1) or " @ + " Gate.getportstate(gate, 2) or " @ + " Gate.getportstate(gate, 3) or " @ + " Gate.getportstate(gate, 4) or " @ + " Gate.getportstate(gate, 5) or " @ + " Gate.getportstate(gate, 6) or " @ + " Gate.getportstate(gate, 7) or " @ + " Gate.getportstate(gate, 8) " @ " )) " @ "end" ; diff --git a/bricks/gen/newcode/XNOR 2 Bit.cs b/bricks/gen/newcode/XNOR 2 Bit.cs index 5431db2..a1de17f 100644 --- a/bricks/gen/newcode/XNOR 2 Bit.cs +++ b/bricks/gen/newcode/XNOR 2 Bit.cs @@ -24,9 +24,9 @@ datablock fxDtsBrickData(LogicGate_GateXnor2_Data){ logicUpdate = "return function(gate) " @ " local v = true " @ - " if gate.ports[1].state then v = not v end " @ - " if gate.ports[2].state then v = not v end " @ - " gate.ports[3]:setstate(v) " @ + " if Gate.getportstate(gate, 1) then v = not v end " @ + " if Gate.getportstate(gate, 2) then v = not v end " @ + " Gate.setportstate(gate, 3, v) " @ "end" ; logicGlobal = ""; diff --git a/bricks/gen/newcode/XNOR 3 Bit.cs b/bricks/gen/newcode/XNOR 3 Bit.cs index d522ee6..52f60e3 100644 --- a/bricks/gen/newcode/XNOR 3 Bit.cs +++ b/bricks/gen/newcode/XNOR 3 Bit.cs @@ -24,10 +24,10 @@ datablock fxDtsBrickData(LogicGate_GateXnor3_Data){ logicUpdate = "return function(gate) " @ " local v = true " @ - " if gate.ports[1].state then v = not v end " @ - " if gate.ports[2].state then v = not v end " @ - " if gate.ports[3].state then v = not v end " @ - " gate.ports[4]:setstate(v) " @ + " if Gate.getportstate(gate, 1) then v = not v end " @ + " if Gate.getportstate(gate, 2) then v = not v end " @ + " if Gate.getportstate(gate, 3) then v = not v end " @ + " Gate.setportstate(gate, 4, v) " @ "end" ; logicGlobal = ""; diff --git a/bricks/gen/newcode/XNOR 4 Bit.cs b/bricks/gen/newcode/XNOR 4 Bit.cs index 34daf7a..ad3769e 100644 --- a/bricks/gen/newcode/XNOR 4 Bit.cs +++ b/bricks/gen/newcode/XNOR 4 Bit.cs @@ -24,11 +24,11 @@ datablock fxDtsBrickData(LogicGate_GateXnor4_Data){ logicUpdate = "return function(gate) " @ " local v = true " @ - " if gate.ports[1].state then v = not v end " @ - " if gate.ports[2].state then v = not v end " @ - " if gate.ports[3].state then v = not v end " @ - " if gate.ports[4].state then v = not v end " @ - " gate.ports[5]:setstate(v) " @ + " if Gate.getportstate(gate, 1) then v = not v end " @ + " if Gate.getportstate(gate, 2) then v = not v end " @ + " if Gate.getportstate(gate, 3) then v = not v end " @ + " if Gate.getportstate(gate, 4) then v = not v end " @ + " Gate.setportstate(gate, 5, v) " @ "end" ; logicGlobal = ""; diff --git a/bricks/gen/newcode/XNOR 5 Bit.cs b/bricks/gen/newcode/XNOR 5 Bit.cs index 43949f0..b501fe0 100644 --- a/bricks/gen/newcode/XNOR 5 Bit.cs +++ b/bricks/gen/newcode/XNOR 5 Bit.cs @@ -24,12 +24,12 @@ datablock fxDtsBrickData(LogicGate_GateXnor5_Data){ logicUpdate = "return function(gate) " @ " local v = true " @ - " if gate.ports[1].state then v = not v end " @ - " if gate.ports[2].state then v = not v end " @ - " if gate.ports[3].state then v = not v end " @ - " if gate.ports[4].state then v = not v end " @ - " if gate.ports[5].state then v = not v end " @ - " gate.ports[6]:setstate(v) " @ + " if Gate.getportstate(gate, 1) then v = not v end " @ + " if Gate.getportstate(gate, 2) then v = not v end " @ + " if Gate.getportstate(gate, 3) then v = not v end " @ + " if Gate.getportstate(gate, 4) then v = not v end " @ + " if Gate.getportstate(gate, 5) then v = not v end " @ + " Gate.setportstate(gate, 6, v) " @ "end" ; logicGlobal = ""; diff --git a/bricks/gen/newcode/XNOR 6 Bit.cs b/bricks/gen/newcode/XNOR 6 Bit.cs index c03f87b..bae5301 100644 --- a/bricks/gen/newcode/XNOR 6 Bit.cs +++ b/bricks/gen/newcode/XNOR 6 Bit.cs @@ -24,13 +24,13 @@ datablock fxDtsBrickData(LogicGate_GateXnor6_Data){ logicUpdate = "return function(gate) " @ " local v = true " @ - " if gate.ports[1].state then v = not v end " @ - " if gate.ports[2].state then v = not v end " @ - " if gate.ports[3].state then v = not v end " @ - " if gate.ports[4].state then v = not v end " @ - " if gate.ports[5].state then v = not v end " @ - " if gate.ports[6].state then v = not v end " @ - " gate.ports[7]:setstate(v) " @ + " if Gate.getportstate(gate, 1) then v = not v end " @ + " if Gate.getportstate(gate, 2) then v = not v end " @ + " if Gate.getportstate(gate, 3) then v = not v end " @ + " if Gate.getportstate(gate, 4) then v = not v end " @ + " if Gate.getportstate(gate, 5) then v = not v end " @ + " if Gate.getportstate(gate, 6) then v = not v end " @ + " Gate.setportstate(gate, 7, v) " @ "end" ; logicGlobal = ""; diff --git a/bricks/gen/newcode/XNOR 7 Bit.cs b/bricks/gen/newcode/XNOR 7 Bit.cs index e229f7a..017acdf 100644 --- a/bricks/gen/newcode/XNOR 7 Bit.cs +++ b/bricks/gen/newcode/XNOR 7 Bit.cs @@ -24,14 +24,14 @@ datablock fxDtsBrickData(LogicGate_GateXnor7_Data){ logicUpdate = "return function(gate) " @ " local v = true " @ - " if gate.ports[1].state then v = not v end " @ - " if gate.ports[2].state then v = not v end " @ - " if gate.ports[3].state then v = not v end " @ - " if gate.ports[4].state then v = not v end " @ - " if gate.ports[5].state then v = not v end " @ - " if gate.ports[6].state then v = not v end " @ - " if gate.ports[7].state then v = not v end " @ - " gate.ports[8]:setstate(v) " @ + " if Gate.getportstate(gate, 1) then v = not v end " @ + " if Gate.getportstate(gate, 2) then v = not v end " @ + " if Gate.getportstate(gate, 3) then v = not v end " @ + " if Gate.getportstate(gate, 4) then v = not v end " @ + " if Gate.getportstate(gate, 5) then v = not v end " @ + " if Gate.getportstate(gate, 6) then v = not v end " @ + " if Gate.getportstate(gate, 7) then v = not v end " @ + " Gate.setportstate(gate, 8, v) " @ "end" ; logicGlobal = ""; diff --git a/bricks/gen/newcode/XNOR 8 Bit.cs b/bricks/gen/newcode/XNOR 8 Bit.cs index 0ea1dcb..91426df 100644 --- a/bricks/gen/newcode/XNOR 8 Bit.cs +++ b/bricks/gen/newcode/XNOR 8 Bit.cs @@ -24,15 +24,15 @@ datablock fxDtsBrickData(LogicGate_GateXnor8_Data){ logicUpdate = "return function(gate) " @ " local v = true " @ - " if gate.ports[1].state then v = not v end " @ - " if gate.ports[2].state then v = not v end " @ - " if gate.ports[3].state then v = not v end " @ - " if gate.ports[4].state then v = not v end " @ - " if gate.ports[5].state then v = not v end " @ - " if gate.ports[6].state then v = not v end " @ - " if gate.ports[7].state then v = not v end " @ - " if gate.ports[8].state then v = not v end " @ - " gate.ports[9]:setstate(v) " @ + " if Gate.getportstate(gate, 1) then v = not v end " @ + " if Gate.getportstate(gate, 2) then v = not v end " @ + " if Gate.getportstate(gate, 3) then v = not v end " @ + " if Gate.getportstate(gate, 4) then v = not v end " @ + " if Gate.getportstate(gate, 5) then v = not v end " @ + " if Gate.getportstate(gate, 6) then v = not v end " @ + " if Gate.getportstate(gate, 7) then v = not v end " @ + " if Gate.getportstate(gate, 8) then v = not v end " @ + " Gate.setportstate(gate, 9, v) " @ "end" ; logicGlobal = ""; diff --git a/bricks/gen/newcode/XOR 2 Bit.cs b/bricks/gen/newcode/XOR 2 Bit.cs index f4d4c65..be76007 100644 --- a/bricks/gen/newcode/XOR 2 Bit.cs +++ b/bricks/gen/newcode/XOR 2 Bit.cs @@ -24,9 +24,9 @@ datablock fxDtsBrickData(LogicGate_GateXor2_Data){ logicUpdate = "return function(gate) " @ " local v = false " @ - " if gate.ports[1].state then v = not v end " @ - " if gate.ports[2].state then v = not v end " @ - " gate.ports[3]:setstate(v) " @ + " if Gate.getportstate(gate, 1) then v = not v end " @ + " if Gate.getportstate(gate, 2) then v = not v end " @ + " Gate.setportstate(gate, 3, v) " @ "end" ; logicGlobal = ""; diff --git a/bricks/gen/newcode/XOR 3 Bit.cs b/bricks/gen/newcode/XOR 3 Bit.cs index 97f2698..19ce99b 100644 --- a/bricks/gen/newcode/XOR 3 Bit.cs +++ b/bricks/gen/newcode/XOR 3 Bit.cs @@ -24,10 +24,10 @@ datablock fxDtsBrickData(LogicGate_GateXor3_Data){ logicUpdate = "return function(gate) " @ " local v = false " @ - " if gate.ports[1].state then v = not v end " @ - " if gate.ports[2].state then v = not v end " @ - " if gate.ports[3].state then v = not v end " @ - " gate.ports[4]:setstate(v) " @ + " if Gate.getportstate(gate, 1) then v = not v end " @ + " if Gate.getportstate(gate, 2) then v = not v end " @ + " if Gate.getportstate(gate, 3) then v = not v end " @ + " Gate.setportstate(gate, 4, v) " @ "end" ; logicGlobal = ""; diff --git a/bricks/gen/newcode/XOR 4 Bit.cs b/bricks/gen/newcode/XOR 4 Bit.cs index a99fbec..f21ac3d 100644 --- a/bricks/gen/newcode/XOR 4 Bit.cs +++ b/bricks/gen/newcode/XOR 4 Bit.cs @@ -24,11 +24,11 @@ datablock fxDtsBrickData(LogicGate_GateXor4_Data){ logicUpdate = "return function(gate) " @ " local v = false " @ - " if gate.ports[1].state then v = not v end " @ - " if gate.ports[2].state then v = not v end " @ - " if gate.ports[3].state then v = not v end " @ - " if gate.ports[4].state then v = not v end " @ - " gate.ports[5]:setstate(v) " @ + " if Gate.getportstate(gate, 1) then v = not v end " @ + " if Gate.getportstate(gate, 2) then v = not v end " @ + " if Gate.getportstate(gate, 3) then v = not v end " @ + " if Gate.getportstate(gate, 4) then v = not v end " @ + " Gate.setportstate(gate, 5, v) " @ "end" ; logicGlobal = ""; diff --git a/bricks/gen/newcode/XOR 5 Bit.cs b/bricks/gen/newcode/XOR 5 Bit.cs index be17598..8730b16 100644 --- a/bricks/gen/newcode/XOR 5 Bit.cs +++ b/bricks/gen/newcode/XOR 5 Bit.cs @@ -24,12 +24,12 @@ datablock fxDtsBrickData(LogicGate_GateXor5_Data){ logicUpdate = "return function(gate) " @ " local v = false " @ - " if gate.ports[1].state then v = not v end " @ - " if gate.ports[2].state then v = not v end " @ - " if gate.ports[3].state then v = not v end " @ - " if gate.ports[4].state then v = not v end " @ - " if gate.ports[5].state then v = not v end " @ - " gate.ports[6]:setstate(v) " @ + " if Gate.getportstate(gate, 1) then v = not v end " @ + " if Gate.getportstate(gate, 2) then v = not v end " @ + " if Gate.getportstate(gate, 3) then v = not v end " @ + " if Gate.getportstate(gate, 4) then v = not v end " @ + " if Gate.getportstate(gate, 5) then v = not v end " @ + " Gate.setportstate(gate, 6, v) " @ "end" ; logicGlobal = ""; diff --git a/bricks/gen/newcode/XOR 6 Bit.cs b/bricks/gen/newcode/XOR 6 Bit.cs index 20cf6e8..2e3d2ec 100644 --- a/bricks/gen/newcode/XOR 6 Bit.cs +++ b/bricks/gen/newcode/XOR 6 Bit.cs @@ -24,13 +24,13 @@ datablock fxDtsBrickData(LogicGate_GateXor6_Data){ logicUpdate = "return function(gate) " @ " local v = false " @ - " if gate.ports[1].state then v = not v end " @ - " if gate.ports[2].state then v = not v end " @ - " if gate.ports[3].state then v = not v end " @ - " if gate.ports[4].state then v = not v end " @ - " if gate.ports[5].state then v = not v end " @ - " if gate.ports[6].state then v = not v end " @ - " gate.ports[7]:setstate(v) " @ + " if Gate.getportstate(gate, 1) then v = not v end " @ + " if Gate.getportstate(gate, 2) then v = not v end " @ + " if Gate.getportstate(gate, 3) then v = not v end " @ + " if Gate.getportstate(gate, 4) then v = not v end " @ + " if Gate.getportstate(gate, 5) then v = not v end " @ + " if Gate.getportstate(gate, 6) then v = not v end " @ + " Gate.setportstate(gate, 7, v) " @ "end" ; logicGlobal = ""; diff --git a/bricks/gen/newcode/XOR 7 Bit.cs b/bricks/gen/newcode/XOR 7 Bit.cs index 5b1a7bd..fbbded0 100644 --- a/bricks/gen/newcode/XOR 7 Bit.cs +++ b/bricks/gen/newcode/XOR 7 Bit.cs @@ -24,14 +24,14 @@ datablock fxDtsBrickData(LogicGate_GateXor7_Data){ logicUpdate = "return function(gate) " @ " local v = false " @ - " if gate.ports[1].state then v = not v end " @ - " if gate.ports[2].state then v = not v end " @ - " if gate.ports[3].state then v = not v end " @ - " if gate.ports[4].state then v = not v end " @ - " if gate.ports[5].state then v = not v end " @ - " if gate.ports[6].state then v = not v end " @ - " if gate.ports[7].state then v = not v end " @ - " gate.ports[8]:setstate(v) " @ + " if Gate.getportstate(gate, 1) then v = not v end " @ + " if Gate.getportstate(gate, 2) then v = not v end " @ + " if Gate.getportstate(gate, 3) then v = not v end " @ + " if Gate.getportstate(gate, 4) then v = not v end " @ + " if Gate.getportstate(gate, 5) then v = not v end " @ + " if Gate.getportstate(gate, 6) then v = not v end " @ + " if Gate.getportstate(gate, 7) then v = not v end " @ + " Gate.setportstate(gate, 8, v) " @ "end" ; logicGlobal = ""; diff --git a/bricks/gen/newcode/XOR 8 Bit.cs b/bricks/gen/newcode/XOR 8 Bit.cs index f4b20b0..8fe4a93 100644 --- a/bricks/gen/newcode/XOR 8 Bit.cs +++ b/bricks/gen/newcode/XOR 8 Bit.cs @@ -24,15 +24,15 @@ datablock fxDtsBrickData(LogicGate_GateXor8_Data){ logicUpdate = "return function(gate) " @ " local v = false " @ - " if gate.ports[1].state then v = not v end " @ - " if gate.ports[2].state then v = not v end " @ - " if gate.ports[3].state then v = not v end " @ - " if gate.ports[4].state then v = not v end " @ - " if gate.ports[5].state then v = not v end " @ - " if gate.ports[6].state then v = not v end " @ - " if gate.ports[7].state then v = not v end " @ - " if gate.ports[8].state then v = not v end " @ - " gate.ports[9]:setstate(v) " @ + " if Gate.getportstate(gate, 1) then v = not v end " @ + " if Gate.getportstate(gate, 2) then v = not v end " @ + " if Gate.getportstate(gate, 3) then v = not v end " @ + " if Gate.getportstate(gate, 4) then v = not v end " @ + " if Gate.getportstate(gate, 5) then v = not v end " @ + " if Gate.getportstate(gate, 6) then v = not v end " @ + " if Gate.getportstate(gate, 7) then v = not v end " @ + " if Gate.getportstate(gate, 8) then v = not v end " @ + " Gate.setportstate(gate, 9, v) " @ "end" ; logicGlobal = ""; diff --git a/bricks/gen/newicons/Demux 1 Bit Vertical.png b/bricks/gen/newicons/Demux 1 Bit Vertical.png new file mode 100644 index 0000000..4dd7030 Binary files /dev/null and b/bricks/gen/newicons/Demux 1 Bit Vertical.png differ diff --git a/bricks/gen/newicons/Demux 2 Bit Vertical.png b/bricks/gen/newicons/Demux 2 Bit Vertical.png new file mode 100644 index 0000000..cf04fb1 Binary files /dev/null and b/bricks/gen/newicons/Demux 2 Bit Vertical.png differ diff --git a/bricks/gen/newicons/Demux 3 Bit Vertical.png b/bricks/gen/newicons/Demux 3 Bit Vertical.png new file mode 100644 index 0000000..53659f4 Binary files /dev/null and b/bricks/gen/newicons/Demux 3 Bit Vertical.png differ diff --git a/bricks/gen/newicons/Demux 4 Bit Vertical.png b/bricks/gen/newicons/Demux 4 Bit Vertical.png new file mode 100644 index 0000000..68c05b1 Binary files /dev/null and b/bricks/gen/newicons/Demux 4 Bit Vertical.png differ diff --git a/bricks/gen/newicons/Demux 5 Bit Vertical.png b/bricks/gen/newicons/Demux 5 Bit Vertical.png new file mode 100644 index 0000000..c0bfa36 Binary files /dev/null and b/bricks/gen/newicons/Demux 5 Bit Vertical.png differ diff --git a/bricks/gen/newicons/Demux 6 Bit Vertical.png b/bricks/gen/newicons/Demux 6 Bit Vertical.png new file mode 100644 index 0000000..4921f7e Binary files /dev/null and b/bricks/gen/newicons/Demux 6 Bit Vertical.png differ diff --git a/bricks/inputs/keyboard-input.lua b/bricks/inputs/keyboard-input.lua index 0d6d2aa..b174128 100644 --- a/bricks/inputs/keyboard-input.lua +++ b/bricks/inputs/keyboard-input.lua @@ -20,5 +20,5 @@ return function(gate, argv) end queueBit(false) - gate:queue(0) + Gate.queue(gate, 0) end diff --git a/bricks/inputs/keyboard-update.lua b/bricks/inputs/keyboard-update.lua index 7f902fc..1cacf44 100644 --- a/bricks/inputs/keyboard-update.lua +++ b/bricks/inputs/keyboard-update.lua @@ -2,9 +2,9 @@ return function(gate) if #gate.queueBits~=0 then local bit = table.remove(gate.queueBits, #gate.queueBits) - gate.ports[1]:setstate(bit) - gate:queue(1) + Gate.setportstate(gate, 1, bit) + Gate.queue(gate, 1) else - gate.ports[1]:setstate(false) + Gate.setportstate(gate, 1, false) end end diff --git a/bricks/inputs/switch-input.lua b/bricks/inputs/switch-input.lua index 12392ff..c50a75e 100644 --- a/bricks/inputs/switch-input.lua +++ b/bricks/inputs/switch-input.lua @@ -1,11 +1,11 @@ return function(gate, argv) if #argv == 1 then - gate.ports[1]:setstate(toboolean(argv[1])) - gate.ports[2]:setstate(toboolean(argv[1])) + gate.switchstate = toboolean(argv[1]) else - gate.ports[1]:setstate(not gate.ports[1].state) - gate.ports[2]:setstate(not gate.ports[2].state) + gate.switchstate = not gate.switchstate end - gate:cb(bool_to_int[gate.ports[1].state]) + Gate.setportstate(gate, 1, gate.switchstate) + Gate.setportstate(gate, 2, gate.switchstate) + Gate.cb(gate, bool_to_int[gate.ports[1].state]) end diff --git a/bricks/inputs/switch.cs b/bricks/inputs/switch.cs index 1e3c9ff..3d8dbc7 100644 --- a/bricks/inputs/switch.cs +++ b/bricks/inputs/switch.cs @@ -14,6 +14,7 @@ datablock fxDTSBrickData(LogicGate_Switch_Data) isLogicGate = 1; isLogicInput = 1; + logicInit = "return function(gate) gate.switchstate = false end"; logicInput = lualogic_readfile($LuaLogic::Path @ "bricks/inputs/switch-input.lua"); numLogicPorts = 2; diff --git a/bricks/math/8bitAdder.cs b/bricks/math/8bitAdder.cs index 3eb7c20..a095ac9 100644 --- a/bricks/math/8bitAdder.cs +++ b/bricks/math/8bitAdder.cs @@ -16,16 +16,20 @@ datablock fxDTSBrickData(LogicGate_8bitAdder_Data) logicUIName = "8bit Adder"; logicUIDesc = ""; - logicUpdate = "return function(gate) local c = bool_to_int[gate.ports[17].state] " @ -"local a = 0 " @ -"local b = 0 " @ -"for i = 1, 8 do " @ - "a = bool_to_int[gate.ports[i].state] " @ - "b = bool_to_int[gate.ports[i+8].state] " @ - "gate.ports[i+17]:setstate(bit.bxor(bit.bxor(a, b), c) == 1) " @ - "c = bit.bor(bit.band(a, b), bit.band(c, bit.bor(a, b))) " @ -"end " @ -"gate.ports[26]:setstate(c == 1) end"; + logicUpdate = + "return function(gate) " @ + " local c = bool_to_int[Gate.getportstate(gate, 17)] " @ + " local a = 0 " @ + " local b = 0 " @ + " for i = 1, 8 do " @ + " a = bool_to_int[Gate.getportstate(gate, i )] " @ + " b = bool_to_int[Gate.getportstate(gate, i+8)] " @ + " Gate.setportstate(gate, i+17, bit.bxor(bit.bxor(a, b), c) == 1) " @ + " c = bit.bor(bit.band(a, b), bit.band(c, bit.bor(a, b))) " @ + " end " @ + " Gate.setportstate(gate, 26, c == 1) " @ + "end" + ; numLogicPorts = 26; diff --git a/bricks/math/8bitDivider.cs b/bricks/math/8bitDivider.cs index 8f99aa9..357ca2a 100644 --- a/bricks/math/8bitDivider.cs +++ b/bricks/math/8bitDivider.cs @@ -15,28 +15,32 @@ datablock fxDTSBrickData(LogicGate_8bitDivider_Data) logicUIName = "8bit Divider"; logicUIDesc = "Divides A by B"; - - logicUpdate = "return function(gate) local a, b, n = 0, 0 " @ -"for i = 1, 8 do " @ - "local n = 2^(i-1) " @ - "a = a + bool_to_int[gate.ports[i].state] * n " @ - "b = b + bool_to_int[gate.ports[i+8].state] * n " @ -"end " @ -"if b ~= 0 then " @ - "local q = math.floor(a/b) " @ - "local r = a-q*b " @ - "for i = 1, 8 do " @ - "local n = 2^(i-1) " @ - "gate.ports[i+16]:setstate(bit.band(q, n) > 0) " @ - "gate.ports[i+24]:setstate(bit.band(r, n) > 0) " @ - "end " @ -"else " @ - "for i = 1, 8 do " @ - "gate.ports[i+16]:setstate(false) " @ - "gate.ports[i+24]:setstate(false) " @ - "end " @ -"end end"; - + + logicUpdate = + "return function(gate) " @ + " local a, b, n = 0, 0 " @ + " for i = 1, 8 do " @ + " local n = 2^(i-1) " @ + " a = a + bool_to_int[Gate.getportstate(gate, i )] * n " @ + " b = b + bool_to_int[Gate.getportstate(gate, i+8)] * n " @ + " end " @ + " if b ~= 0 then " @ + " local q = math.floor(a/b) " @ + " local r = a-q*b " @ + " for i = 1, 8 do " @ + " local n = 2^(i-1) " @ + " Gate.setportstate(gate, i+16, bit.band(q, n) > 0) " @ + " Gate.setportstate(gate, i+24, bit.band(r, n) > 0) " @ + " end " @ + " else " @ + " for i = 1, 8 do " @ + " Gate.setportstate(gate, i+16, false) " @ + " Gate.setportstate(gate, i+24, false) " @ + " end " @ + " end " @ + "end" + ; + numLogicPorts = 32; logicPortType[0] = 1; diff --git a/bricks/math/8bitMultiplier.cs b/bricks/math/8bitMultiplier.cs index 5999678..788ff15 100644 --- a/bricks/math/8bitMultiplier.cs +++ b/bricks/math/8bitMultiplier.cs @@ -16,17 +16,20 @@ datablock fxDTSBrickData(LogicGate_8bitMultiplier_Data) logicUIName = "8bit Multiplier"; logicUIDesc = "Multiplies A by B"; - logicUpdate = "return function(gate) local a, b = 0, 0 " @ -"local sum = 0 " @ -"for i = 1, 8 do " @ - "a = a + bool_to_int[gate.ports[i].state] * 2^(i-1) " @ - "b = b + bool_to_int[gate.ports[i+8].state] * 2^(i-1) " @ -"end " @ -"local sum = a * b " @ -"for i = 1, 16 do " @ - "gate.ports[i+16]:setstate(bit.band(sum, 2^(i-1)) > 0) " @ -"end end"; - + logicUpdate = + "return function(gate) local a, b = 0, 0 " @ + " local sum = 0 " @ + " for i = 1, 8 do " @ + " a = a + bool_to_int[Gate.getportstate(gate, i )] * 2^(i-1) " @ + " b = b + bool_to_int[Gate.getportstate(gate, i+8)] * 2^(i-1) " @ + " end " @ + " local sum = a * b " @ + " for i = 1, 16 do " @ + " Gate.setportstate(gate, i+16, bit.band(sum, 2^(i-1)) > 0) " @ + " end " @ + "end" + ; + numLogicPorts = 32; logicPortType[0] = 1; diff --git a/bricks/math/8bitSubtractor.cs b/bricks/math/8bitSubtractor.cs index 50f9c85..d154fd5 100644 --- a/bricks/math/8bitSubtractor.cs +++ b/bricks/math/8bitSubtractor.cs @@ -12,23 +12,27 @@ datablock fxDTSBrickData(LogicGate_8bitSubtractor_Data) isLogic = true; isLogicGate = true; isLogicInput = false; - + logicUIName = "8bit Subtractor"; logicUIDesc = "Subtracts B from A"; - - logicUpdate = "return function(gate) local c = bool_to_int[gate.ports[17].state] " @ -"local a = 0 " @ -"local b = 0 " @ -"for i = 1, 8 do " @ - "a = bool_to_int[gate.ports[i].state] " @ - "b = bool_to_int[gate.ports[i+8].state] " @ - "gate.ports[i+17]:setstate(bit.bxor(bit.bxor(a, b), c) == 1) " @ - "c = bit.bor(bit.bor(bit.band(bool_to_int[a == 0], b), bit.band(bool_to_int[a == 0], c)), bit.band(b, c)) " @ -"end " @ -"gate.ports[26]:setstate(c == 1) end"; - + + logicUpdate = + "return function(gate) " @ + " local c = bool_to_int[Gate.getportstate(gate, 17)] " @ + " local a = 0 " @ + " local b = 0 " @ + " for i = 1, 8 do " @ + " a = bool_to_int[Gate.getportstate(gate, i )] " @ + " b = bool_to_int[Gate.getportstate(gate, i+8)] " @ + " Gate.setportstate(gate, i+17, bit.bxor(bit.bxor(a, b), c) == 1) " @ + " c = bit.bor(bit.bor(bit.band(bool_to_int[a == 0], b), bit.band(bool_to_int[a == 0], c)), bit.band(b, c)) " @ + " end " @ + " Gate.setportstate(gate, 26, c == 1) " @ + "end" + ; + numLogicPorts = 26; - + logicPortType[0] = 1; logicPortPos[0] = "-1 -1 0"; logicPortDir[0] = 3; diff --git a/bricks/math/FullAdder.cs b/bricks/math/FullAdder.cs index 28edebd..13a0f02 100644 --- a/bricks/math/FullAdder.cs +++ b/bricks/math/FullAdder.cs @@ -15,11 +15,15 @@ datablock fxDTSBrickData(LogicGate_FullAdder_Data) logicUIName = "Full Adder"; logicUIDesc = "Adds A and B with carry in"; - - logicUpdate = "return function(gate) local a, b, c = bool_to_int[gate.ports[1].state], bool_to_int[gate.ports[2].state], bool_to_int[gate.ports[3].state] " @ -"gate.ports[4]:setstate(bit.bxor(bit.bxor(a, b), c) == 1) " @ -"gate.ports[5]:setstate(bit.bor(bit.bor(bit.band(b, c), bit.band(a, c)), bit.band(a, b)) == 1) end"; - + + logicUpdate = + "return function(gate) " @ + " local a, b, c = bool_to_int[Gate.getportstate(gate, 1)], bool_to_int[Gate.getportstate(gate, 2)], bool_to_int[Gate.getportstate(gate, 3)] " @ + " Gate.setportstate(gate, 4, bit.bxor(bit.bxor(a, b), c) == 1) " @ + " Gate.setportstate(gate, 5, bit.bor(bit.bor(bit.band(b, c), bit.band(a, c)), bit.band(a, b)) == 1) " @ + "end" + ; + numLogicPorts = 5; logicPortType[0] = 1; diff --git a/bricks/math/HalfAdder.cs b/bricks/math/HalfAdder.cs index e4091e6..45f0688 100644 --- a/bricks/math/HalfAdder.cs +++ b/bricks/math/HalfAdder.cs @@ -15,10 +15,14 @@ datablock fxDTSBrickData(LogicGate_HalfAdder_Data) logicUIName = "Half Adder"; logicUIDesc = "Adds A and B"; - - logicUpdate = "return function(gate) gate.ports[3]:setstate(bit.bxor(bool_to_int[gate.ports[1].state], bool_to_int[gate.ports[2].state]) == 1) " @ -"gate.ports[4]:setstate(gate.ports[1].state and gate.ports[2].state) end"; - + + logicUpdate = + "return function(gate) " @ + " Gate.setportstate(gate, 3, bit.bxor(bool_to_int[Gate.getportstate(gate, 1)], bool_to_int[Gate.getportstate(gate, 2)]) == 1) " @ + " Gate.setportstate(gate, 4, Gate.getportstate(gate, 1) and Gate.getportstate(gate, 2)) " @ + "end" + ; + numLogicPorts = 4; logicPortType[0] = 1; diff --git a/bricks/outputs/pixel3-update.lua b/bricks/outputs/pixel3-update.lua index 310764c..3d26e97 100644 --- a/bricks/outputs/pixel3-update.lua +++ b/bricks/outputs/pixel3-update.lua @@ -1,4 +1,4 @@ return function(gate) - gate:cb(gate.ports[1].state and 1 or 0) + Gate.cb(gate, Gate.getportstate(gate, 1) and 1 or 0) end diff --git a/bricks/outputs/pixel3.cs b/bricks/outputs/pixel3.cs index 25638f7..72f80a2 100644 --- a/bricks/outputs/pixel3.cs +++ b/bricks/outputs/pixel3.cs @@ -42,6 +42,8 @@ datablock fxDtsBrickData(LogicGate_Pixel3Upsidedown_Data : LogicGate_Pixel3_Data logicUiName = "Pixel Upside Down"; + logicUpdate = lualogic_readfile($LuaLogic::Path @ "bricks/outputs/pixel3-update.lua"); + logicPortPos[0] = "0 0 1"; }; lualogic_registergatedefinition("LogicGate_Pixel3Upsidedown_Data"); @@ -49,3 +51,6 @@ lualogic_registergatedefinition("LogicGate_Pixel3Upsidedown_Data"); function LogicGate_Pixel3Upsidedown_Data::LuaLogic_Callback(%data, %brick, %state){ LogicGate_Pixel3_Data::LuaLogic_Callback(%data, %brick, %state); } + +$ND::ManualSymmetryZ["Logic Pixel" ] = "Logic Pixel Upside Down"; +$ND::ManualSymmetryZ["Logic Pixel Upside Down"] = "Logic Pixel" ; diff --git a/bricks/outputs/text2-update.lua b/bricks/outputs/text2-update.lua index 83e323c..8b720f2 100644 --- a/bricks/outputs/text2-update.lua +++ b/bricks/outputs/text2-update.lua @@ -24,7 +24,7 @@ local function getBit(gate, val) local printid = gate.valReceived local printname = textbrick2_idxToPrint[printid] - gate:cb(printname) + Gate.cb(gate, printname) --print("", "set print", string.format("%02x", printid), printname) end @@ -37,7 +37,7 @@ local function getBit(gate, val) end local function changeTo(gate, val) - local tick = gate:gettick() + local tick = Gate.gettick(gate) local ticks = tick-gate.lastTickChanged local bits = math.min(ticks, 10) @@ -49,9 +49,9 @@ local function changeTo(gate, val) end return function(gate) - if gate.ports[1]:isrising() then + if Gate.getportisrising(gate, 1) then changeTo(gate, 0) - elseif gate.ports[1]:isfalling() then + elseif Gate.getportisfalling(gate, 2) then changeTo(gate, 1) end end diff --git a/bricks/special/EventGate-update.lua b/bricks/special/EventGate-update.lua index e7d8c89..88b8cc2 100644 --- a/bricks/special/EventGate-update.lua +++ b/bricks/special/EventGate-update.lua @@ -1,4 +1,4 @@ return function(gate) - gate:cb(bool_to_int[gate.ports[1].state]) + Gate.cb(gate, bool_to_int[Gate.getportstate(gate, 1)]) end