Change t_mosfet to remember node id instead of ptr
authorLukáš Jiřiště <gymnazium.jiriste@gmail.com>
Sun, 4 Feb 2024 13:01:48 +0000 (14:01 +0100)
committerLukáš Jiřiště <gymnazium.jiriste@gmail.com>
Sun, 4 Feb 2024 13:01:48 +0000 (14:01 +0100)
commitd03a1205f99244550c784b4c8c2694ae643f0278
tree9a81bd985816a1df83033deb00815fa97e0ab738
parent177290fdf2d5ade31cf84a0ffb2a03dcf9bfb2ce
Change t_mosfet to remember node id instead of ptr

This prevents looking for node id when drawing.
Some changes were present when I started this change. I can't really
tell, what they were, but from the diffs it looks like just 2 or 3 minor
cosmetic changes. Sorry.
TODO
inc/FET_sim.h
src/build_helper.c
src/c_addfet.c
src/c_bind.c
src/colors.c
src/main.c
src/sim_main.c
src/sim_node.c
src/text.c