Wrote a potentially buggy algorithm
This algorithm is designed to find the distance of a certain region, however it may have been better to do a quick check, rather than worrying how many regions were loaded at once.
This commit is contained in:
@@ -87,6 +87,7 @@ protected:
|
||||
void RequestRegion(int x, int y);
|
||||
|
||||
//utilities
|
||||
int CheckBufferDistance(Region* const);
|
||||
void UpdateMap();
|
||||
void ForNearbyRegions(std::function<void (Region* const)> func);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user