4234140165
Sandbox: Fix incorrect assumption that wire net ignores output pegs
...
In fact, if a wire is connected to an output peg,
it has the same net state as the output peg.
The net then changes between the wire and the input peg that it connects to.
2022-11-11 20:07:48 -06:00
da9d0fe09b
Sandbox::insert_component: Fix missing peg-net xref update
2022-11-11 20:04:45 -06:00
c6d7e57c59
Keep track of circuit/net states.
2022-11-09 21:47:50 -06:00
70f2a170b6
Create dense allocator for net IDs.
...
Ensures that the net indexes are a contiguous range, which Logic World assumes.
2022-11-08 22:44:54 -06:00
934055d060
Sandbox: Refactor to use ObjectStore for components/wires
...
And don't directly map raw IDs to sandbox, reallocate and remap.
2022-11-08 20:01:41 -06:00
df7150ed83
Implement remove_component
2022-11-06 20:05:32 -06:00
5d063859d9
Rename cluster -> net
2022-11-06 19:22:57 -06:00
a1966cfc70
Implement remove_wire transaction
2022-11-06 19:21:44 -06:00
717f3bcd89
Fix inaccurate todo
...
Clusters don't become empty by removing a wire.
2022-11-06 18:25:06 -06:00
d9f6311ae1
Sandbox: Add savefile loading
2022-11-06 15:03:25 -06:00
84a7cdccc2
Add Sandbox -> Blotter serialization
2022-11-06 12:39:08 -06:00
21a9011c44
Add Sandbox editor with add_component/add_wire transactions
2022-11-06 12:18:52 -06:00
17da3f8653
v6: Fix missing PegType export
2022-11-06 12:18:28 -06:00
b8ee173868
Add Delayer component data
2022-10-30 00:39:05 -05:00
9ca398af11
Refactor internal I/O helpers into traits
2022-10-30 00:29:14 -05:00
57cf820ac0
Add data parser for circuit boards
2022-10-28 22:54:14 -05:00
6cc08354b5
Add some conveniences for migration
2022-10-28 22:04:30 -05:00
070276a2f5
Add v5->v6 migration/conversion
2022-10-28 21:58:07 -05:00
2705447574
Add V6 parser with integer coordinates
2022-10-28 21:49:37 -05:00
a23fa3cc40
Refactor to v5/io/error modules
2022-10-28 21:25:04 -05:00
8219f968f5
Convert to a public API for now
2021-10-23 22:55:20 -05:00
0e8edad446
Add zero-dependency writer
2021-10-23 22:16:40 -05:00
0940cca801
Rewriting with zero dependencies
2021-10-23 21:54:15 -05:00
54e0e1ba11
Differentiate between null and empty custom component data
2021-07-08 12:52:35 -05:00
50dea19207
Update to official Blotter v5 format
2021-07-08 12:45:27 -05:00
975a626c12
Fix header magic bytes
2021-06-29 21:30:55 -05:00
43a6170eb8
Replace u8 with bool/zero_one and add SaveType enum
2021-06-29 00:21:50 -05:00
67beb6d062
Initial commit
2021-06-28 23:56:19 -05:00