-
Notifications
You must be signed in to change notification settings - Fork 2
Devlog
I was thinking maybe I should redo how the prototypes are structured, so I made some graphs. It turns out the prototypes and its data are actually arranged very nicely - for reference a prototype exists for each type, i.e., each level of assembly machine, each sprite, and a data is allocated for each prototype placed.
I am not happy with the data structures used to store conveyors and inserters to be updated. Conveyor data is currently stored per chunk, limiting maximum length of conveyor groups to 32 and making the logic for placement and removal more complex accounting for chunks. It would be better off being stored in a global table since it has to iterate through all of them anyways to update them, though it presents challenges on rendering the conveyors.
For fun, here are some scary graphs of project dependencies for the tile renderer and a commonly used header: