Optimization: instant wires
This commit is contained in:
@@ -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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user