rename some variables and begin compiled sim c code

This commit is contained in:
Redo0
2021-05-25 21:23:51 -05:00
parent 09e65faec4
commit 968613a3fc
6 changed files with 25 additions and 45 deletions

View File

@@ -38,14 +38,14 @@ function Port.isrising(port)
if port.group == nil then
return false
end
return port.group.state and (port.group.updatetick == GSim.currenttick)
return port.group.state and (port.group.update_tick == GSim.current_tick)
end
function Port.isfalling(port)
if port.group == nil then
return false
end
return port.group.state == false and (port.updatetick == GSim.currenttick)
return port.group.state == false and (port.group.update_tick == GSim.current_tick)
end
function Port.getgate(port)