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

@@ -5,7 +5,7 @@ function Group.new()
local o = {
state = false,
fxstate = false,
updatetick = 0,
update_tick = 0,
wires = {},
out_ports = {},
in_ports = {},
@@ -179,7 +179,7 @@ function Group.setstate(group, state)
local sim = GSim
group.state = state
group.updatetick = sim.currenttick
group.update_tick = sim.current_tick
for k, gate in ipairs(group.gates_update) do
Simulation.queuegate(sim, gate)