summaryrefslogtreecommitdiff
path: root/mesecons_gates
diff options
context:
space:
mode:
Diffstat (limited to 'mesecons_gates')
-rw-r--r--mesecons_gates/init.lua3
-rw-r--r--mesecons_gates/textures/jeija_gate_and.pngbin0 -> 233 bytes
-rw-r--r--mesecons_gates/textures/jeija_gate_diode.pngbin0 -> 231 bytes
-rw-r--r--mesecons_gates/textures/jeija_gate_nand.pngbin0 -> 251 bytes
-rw-r--r--mesecons_gates/textures/jeija_gate_not.pngbin0 -> 241 bytes
-rw-r--r--mesecons_gates/textures/jeija_gate_off.pngbin0 -> 195 bytes
-rw-r--r--mesecons_gates/textures/jeija_gate_on.pngbin0 -> 195 bytes
-rw-r--r--mesecons_gates/textures/jeija_gate_xor.pngbin0 -> 245 bytes
8 files changed, 2 insertions, 1 deletions
diff --git a/mesecons_gates/init.lua b/mesecons_gates/init.lua
index 1a9ee83..51ed4af 100644
--- a/mesecons_gates/init.lua
+++ b/mesecons_gates/init.lua
@@ -23,7 +23,8 @@ function gate_get_input_rules_twoinputs(node)
return gate_rotate_rules(node)
end
-function update_gate(pos)
+function update_gate(pos, node, rulename, newstate)
+ yc_update_real_portstates(pos, node, rulename, newstate)
gate = get_gate(pos)
L = rotate_ports(
yc_get_real_portstates(pos),
diff --git a/mesecons_gates/textures/jeija_gate_and.png b/mesecons_gates/textures/jeija_gate_and.png
new file mode 100644
index 0000000..0ddc043
--- /dev/null
+++ b/mesecons_gates/textures/jeija_gate_and.png
Binary files differ
diff --git a/mesecons_gates/textures/jeija_gate_diode.png b/mesecons_gates/textures/jeija_gate_diode.png
new file mode 100644
index 0000000..ffa403f
--- /dev/null
+++ b/mesecons_gates/textures/jeija_gate_diode.png
Binary files differ
diff --git a/mesecons_gates/textures/jeija_gate_nand.png b/mesecons_gates/textures/jeija_gate_nand.png
new file mode 100644
index 0000000..0e4294e
--- /dev/null
+++ b/mesecons_gates/textures/jeija_gate_nand.png
Binary files differ
diff --git a/mesecons_gates/textures/jeija_gate_not.png b/mesecons_gates/textures/jeija_gate_not.png
new file mode 100644
index 0000000..939fb76
--- /dev/null
+++ b/mesecons_gates/textures/jeija_gate_not.png
Binary files differ
diff --git a/mesecons_gates/textures/jeija_gate_off.png b/mesecons_gates/textures/jeija_gate_off.png
new file mode 100644
index 0000000..44017b0
--- /dev/null
+++ b/mesecons_gates/textures/jeija_gate_off.png
Binary files differ
diff --git a/mesecons_gates/textures/jeija_gate_on.png b/mesecons_gates/textures/jeija_gate_on.png
new file mode 100644
index 0000000..47028a8
--- /dev/null
+++ b/mesecons_gates/textures/jeija_gate_on.png
Binary files differ
diff --git a/mesecons_gates/textures/jeija_gate_xor.png b/mesecons_gates/textures/jeija_gate_xor.png
new file mode 100644
index 0000000..afbd6ab
--- /dev/null
+++ b/mesecons_gates/textures/jeija_gate_xor.png
Binary files differ