Implemented that each road, node in managers will be stored as pointers (allocated in heap)

This commit is contained in:
2026-04-29 10:46:32 +02:00
parent 37e2f36ae9
commit fc67fe3d7e
5 changed files with 26 additions and 13 deletions

View File

@@ -5,7 +5,7 @@ const c = @import("constants.zig");
const Simulator = @import("simulator.zig").Simulator;
// TODO PLANS
// Implement that roads, nodes in managers will be stored as pointers (allocated in heap)
// Implement that each road, node in managers will be stored as pointers (allocated in heap)
// So when appending causes the list to relocate, nothing will have to change
// since the allocated nodes/roads will remain where they were
// Additionally add more robust error and test handling