remove debug prints
This commit is contained in:
		| @@ -45,6 +45,7 @@ function LogicGate_TextBrick2_Data::LuaLogic_Callback(%data, %brick, %arg) { | ||||
| datablock fxDtsBrickData(LogicGate_TextBrick2Top2_Data : LogicGate_TextBrick2_Data) { | ||||
| 	brickFile = $LuaLogic::Path @ "bricks/blb/ScreenTop.blb"; | ||||
| 	uiName = "Text Brick Right"; | ||||
| 	logicGlobal = ""; | ||||
| 	logicPortPos[0] = "0 0 0"; | ||||
| }; | ||||
| lualogic_registergatedefinition("LogicGate_TextBrick2Top2_Data"); | ||||
| @@ -55,6 +56,7 @@ function LogicGate_TextBrick2Top2_Data::LuaLogic_Callback(%data, %brick, %arg) { | ||||
| datablock fxDtsBrickData(LogicGate_TextBrick2Bottom2_Data : LogicGate_TextBrick2_Data) { | ||||
| 	brickFile = $LuaLogic::Path @ "bricks/blb/ScreenBottom.blb"; | ||||
| 	uiName = "Text Brick Left"; | ||||
| 	logicGlobal = ""; | ||||
| 	logicPortPos[0] = "0 0 0"; | ||||
| }; | ||||
| lualogic_registergatedefinition("LogicGate_TextBrick2Bottom2_Data"); | ||||
|   | ||||
| @@ -2,8 +2,6 @@ | ||||
| local function getBit(gate, val) | ||||
| 	local gatedata = Gate.getdata(gate) | ||||
| 	 | ||||
| 	print("text brick bit "..val.." of "..textbrick2_bitsNeeded) | ||||
| 	 | ||||
| 	if gatedata.listenState=="wait" then | ||||
| 		if val==1 then | ||||
| 			gatedata.listenState = "getbits" | ||||
| @@ -19,7 +17,6 @@ local function getBit(gate, val) | ||||
| 	elseif gatedata.listenState=="terminate" then | ||||
| 		if val==1 then | ||||
| 			local v = gatedata.valReceived | ||||
| 			print("text brick received "..v) | ||||
| 			local iscolor = math.floor(v/512)==1 -- first bit | ||||
| 			if iscolor then | ||||
| 				local printdomain = (math.floor(v/128)%2)==1 and "terminal" or "terminalInv" -- 8th lowest bit | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Redo
					Redo