Optimization: instant wires

This commit is contained in:
Dejvino
2026-03-01 17:03:20 +01:00
parent 6fe8488994
commit fbf1b36652
2 changed files with 105 additions and 81 deletions
+4
View File
@@ -146,6 +146,10 @@ private:
std::vector<std::pair<int, int>> _processing_order;
void rebuildProcessingOrder_locked();
bool isConnected(int tx, int ty, int from_x, int from_y);
int32_t getInput(int tx, int ty, int from_x, int from_y, int depth = 0);
int32_t getSummedInput(int x, int y, GridCell& c, int depth = 0);
// Internal random number generator
int32_t _random();
};