Update Libft, switch to using IDs for objects
authorLukáš Jiřiště <gymnazium.jiriste@gmail.com>
Wed, 18 Dec 2024 12:14:36 +0000 (13:14 +0100)
committerLukáš Jiřiště <gymnazium.jiriste@gmail.com>
Wed, 18 Dec 2024 12:14:36 +0000 (13:14 +0100)
commitf325a97118154c87b9da4a93f6a0ef14b3187566
tree2b7efaa46e154b8857eb8139c1dbd1fad71786a6
parenta6cc5a5d44b06c7bb75b51feee04f17659ff6bed
Update Libft, switch to using IDs for objects

The ft_vec_find functions were updated, which necessitated some changes
in the code.
So now the nodes and MOSFETs use unique IDs instead of just their index
in the main vectors. Some hardening was done while switching.
Some minor bugs might also be present in this commit.
12 files changed:
Libft
inc/FET_sim.h
src/build_helper.c
src/c_addfet.c
src/c_addnode.c
src/c_bind.c
src/c_connect.c
src/c_draw.c
src/c_setnode.c
src/colors.c
src/main.c
src/text.c